読者です 読者をやめる 読者になる 読者になる

self-build-* の自己診断スクリプトを試作中

self-build 系のパッケージは、self-build-mplayer, self-build-ffmpeg, self-build-vlc, self-build-avidemux, self-build-kino あたりになると、さらに上流の self-build-* パッケージにたくさん依存していて、環境によってはビルドが失敗することがある。

そんなときに何がビルドできていてどこまで入っているのか、簡単にチェックできるスクリプトを試作しております。

こんな感じのレポートを作成します。

$ check-self-build-packages.sh
======================================================================
  SELF-BUILD SYSTEM REPORT
	DATE:		Sun Mar 21 01:40:31 JST 2010
	HOSTNAME:	seed64.local
	OS:		Vine Linux 6.0 (+VineSeed) (Haut Brion)
	KERNEL:		Linux seed64.local 2.6.32-7vl6 #1 SMP Sun Jan 24 15:32:50 JST 2010 x86_64 x86_64 x86_64 GNU/Linux
	%_arch:		x86_64
======================================================================

self-build-a52dec: self-build-a52dec-0.7.4-6vl6.noarch
	a52dec-0.7.4-6vl6.x86_64:	OK
	a52dec-devel-0.7.4-6vl6.x86_64:	OK
self-build-avidemux: self-build-avidemux-2.5.2-2vl6.noarch
	avidemux-2.5.2-2vl6.x86_64:	OK
	avidemux-cli-2.5.2-2vl6.x86_64:	OK
	avidemux-gtk-2.5.2-2vl6.x86_64:	OK
	avidemux-devel-2.5.2-2vl6.x86_64:	OK
self-build-dgen-sdl: self-build-dgen-sdl-1.23-2vl6.noarch
	dgen-sdl-1.23-2vl6.x86_64:	OK
self-build-faac: self-build-faac-1.28-7vl6.noarch
	faac-1.28-7vl6.x86_64:	OK
	faac-devel-1.28-7vl6.x86_64:	OK
self-build-faad2: self-build-faad2-2.7-4vl6.noarch
	faad2-2.7-4vl6.x86_64:	OK
	faad2-devel-2.7-4vl6.x86_64:	OK
self-build-fceux: self-build-fceux-2.1.0a-3vl6.noarch
	fceux-2.1.0a-3vl6.x86_64:	OK
self-build-ffmpeg: self-build-ffmpeg-0.5-8.20100216vl6.x86_64
	ffmpeg-0.5-8.20100216vl6.x86_64:	OK
	ffmpeg-libs-0.5-8.20100216vl6.x86_64:	OK
	ffmpeg-devel-0.5-8.20100216vl6.x86_64:	OK
self-build-ffmpeg-mh: self-build-ffmpeg-mh-0.33-12vl6.noarch
	ffmpeg-mh-0.33-12vl6.x86_64:	OK
self-build-ffmpeg2theora: self-build-ffmpeg2theora-0.25-2vl6.noarch
	ffmpeg2theora-0.25-2vl6.x86_64:	OK
self-build-gens: self-build-gens-2.15.5-2vl5.noarch
	gens-2.15.5-2vl6.x86_64:	Fail
self-build-gpac: self-build-gpac-0.4.5-8vl6.noarch
	gpac-0.4.5-8vl6.x86_64:	OK
	gpac-libs-0.4.5-8vl6.x86_64:	OK
	gpac-devel-0.4.5-8vl6.x86_64:	OK
	gpac-devel-static-0.4.5-8vl6.x86_64:	OK
self-build-gstreamer-plugins-bad: self-build-gstreamer-plugins-bad-0.10.18-1vl6.noarch
	gstreamer-plugins-bad-0.10.18-1vl6.x86_64:	OK
	gstreamer-plugins-bad-devel-0.10.18-1vl6.x86_64:	OK
self-build-gstreamer-plugins-ffmpeg: self-build-gstreamer-plugins-ffmpeg-0.10.10-1vl6.noarch
	gstreamer-plugins-ffmpeg-0.10.10-1vl6.x86_64:	OK
self-build-gstreamer-plugins-ugly: self-build-gstreamer-plugins-ugly-0.10.14-1vl6.noarch
	gstreamer-plugins-ugly-0.10.14-1vl6.x86_64:	OK
self-build-k9copy: パッケージ self-build-k9copy はインストールされていません。
E: no found /usr/share/self-build-k9copy/k9copy.spec
self-build-kino: self-build-kino-1.3.4-2vl6.noarch
	kino-1.3.4-2vl6.x86_64:	OK
	kino-devel-1.3.4-2vl6.x86_64:	OK
self-build-lame: self-build-lame-3.98.3-1vl6.x86_64
	lame-3.98.3-1vl6.x86_64:	OK
	lame-mp3x-3.98.3-1vl6.x86_64:	OK
	lame-devel-3.98.3-1vl6.x86_64:	OK
self-build-libdca: self-build-libdca-0.0.5-4vl6.noarch
	libdca-0.0.5-4vl6.x86_64:	OK
	libdca-devel-0.0.5-4vl6.x86_64:	OK
	libdca-tools-0.0.5-4vl6.x86_64:	OK
self-build-libdvbpsi: self-build-libdvbpsi-0.1.6-2vl6.noarch
	libdvbpsi-0.1.6-2vl6.x86_64:	OK
	libdvbpsi-devel-0.1.6-2vl6.x86_64:	OK
self-build-libdvdcss: self-build-libdvdcss-1.2.10-3vl6.noarch
	libdvdcss2-1.2.10-3vl6.x86_64:	OK
	libdvdcss2-devel-1.2.10-3vl6.x86_64:	OK
self-build-libdvdnav: self-build-libdvdnav-4.1.3-5vl6.noarch
	libdvdnav-4.1.3-5vl6.x86_64:	OK
	libdvdnav-devel-4.1.3-5vl6.x86_64:	OK
self-build-libmad: self-build-libmad-0.15.1b-7vl6.noarch
	libmad-0.15.1b-7vl6.x86_64:	OK
	libmad-devel-0.15.1b-7vl6.x86_64:	OK
self-build-libmp4v2: self-build-libmp4v2-1.9.1-4vl6.noarch
	libmp4v2-1.9.1-4vl6.x86_64:	OK
	libmp4v2-devel-1.9.1-4vl6.x86_64:	OK
self-build-libmpeg2: self-build-libmpeg2-0.5.1-4vl6.noarch
	libmpeg2-0.5.1-4vl6.x86_64:	OK
	mpeg2dec-0.5.1-4vl6.x86_64:	OK
	libmpeg2-devel-0.5.1-4vl6.x86_64:	OK
self-build-libquicktime: self-build-libquicktime-1.1.4-2vl6.noarch
	libquicktime-1.1.4-2vl6.x86_64:	OK
	libquicktime-devel-1.1.4-2vl6.x86_64:	OK
self-build-mplayer: self-build-mplayer-1.0-31.20100317vl6.noarch
	mplayer-1.0-31.20100317vl6.x86_64:	OK
self-build-mplayer-codecs: self-build-mplayer-codecs-20071007-6vl6.x86_64
	mplayer-codecs-20071007-6vl6.x86_64:	OK
self-build-vlc: self-build-vlc-1.0.5-3vl6.x86_64
	vlc-1.0.5-3vl6.x86_64:	OK
	vlc-devel-1.0.5-3vl6.x86_64:	OK
self-build-x264: self-build-x264-0.0.0-13.20100216vl6.x86_64
	x264-0.0.0-13.20100216vl6.x86_64:	OK
	x264-devel-0.0.0-13.20100216vl6.x86_64:	OK
self-build-xine-lib-extras: self-build-xine-lib-extras-1.1.16.3-3vl6.noarch
	xine-lib-extras-1.1.16.3-3vl6.x86_64:	OK
	xine-lib-mad-1.1.16.3-3vl6.x86_64:	OK
	xine-lib-faad-1.1.16.3-3vl6.x86_64:	OK
	xine-lib-a52dec-1.1.16.3-3vl6.x86_64:	OK
self-build-xvidcore: self-build-xvidcore-1.2.1-4vl6.x86_64
	xvidcore-1.2.1-4vl6.x86_64:	OK
	xvidcore-devel-1.2.1-4vl6.x86_64:	OK

======================================================================
  SUMMARY
W: The following packages may have some errors: 
 self-build-k9copy
E: No one of the following packages have been installed: 
 gens-2.15.5-2vl6.x86_64
RECOMMEND: You should rebuild the following packages: 
 self-build-gens
======================================================================

あと、必要そうな情報ってなんだろうか?