Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475272 - =media-video/handbrake-0.9.9 - Fails after 'touch' comand during emerge.
Summary: =media-video/handbrake-0.9.9 - Fails after 'touch' comand during emerge.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-29 22:59 UTC by Guy
Modified: 2013-06-30 20:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
handbrake 0.9.9 build log (build.log,14.19 KB, text/x-log)
2013-06-29 22:59 UTC, Guy
Details
Test case: USE="-gtk" emerge =media-video-0.9.9 build log (build.log,7.43 KB, text/x-log)
2013-06-29 23:10 UTC, Guy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guy 2013-06-29 22:59:14 UTC
Created attachment 352280 [details]
handbrake 0.9.9 build log

From build log:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
touch gtk/.stamp.configure
make: Leaving directory `/var/tmp/portage/media-video/handbrake-0.9.9/work/HandBrake-0.9.9/build'
 * ERROR: media-video/handbrake-0.9.9 failed (compile phase):
 *   emake failed


# emerge --info '=media-video/handbrake-0.9.9'
Portage 2.2.0_alpha185 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.9.7 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.9.7-x86_64-AMD_Phenom-tm-_9600_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     7650756 total,   1131700 free
KiB Swap:    2047996 total,   2047804 free
Timestamp of tree: Fri, 28 Jun 2013 23:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5, 3.2.5, 3.3.2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo zugaina x11 sping multimedia local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.3 AdobeFlash-11.x Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/x11 /var/lib/layman/sping /var/lib/layman/multimedia /usr/local/portage"
SYNC="rsync://192.168.1.11/gentoo-portage"
USE="10bit 3dnow 3dnowext X a52 aac aalib accessibility acl acpi aio alsa amd64 amr anthy ao apache2 audiofile avahi bash-completion berkdb bindist bluetooth bonjour boost branding bzip2 cairo cdda cdio cdr chm cjk cli consolekit cracklib crypt css cups curl curlwrappers cxx dbus dga dia directfb dri dts dv dvd dvdr dynamic emboss encode exif expat fam fat fbcon ffmpeg fftw firefox flac flash fontconfig foomaticdb fortran ftp gcj gd gdbm gif gimp glib gmp gnutls gpac gphoto2 gpm graphviz gs gstreamer gtk hddtemp hdri html ibus iconv icu id3tag idea imagemagick imap imlib immqt-bc inkjar inotify ipfilter ipv6 irc jabber java javascript jbig jpeg jpeg2k kde kerberos kipi lame lcms libcaca libnotify libsamplerate libvisual linphone live lm_sensors lzo m17n-lib mad matroska midi mikmod mjpeg mmap mmx mmxext mng modules mono mp3 mp4 mpeg mpi mplayer msn msql mudflap multilib multiuser musepack mysql mysqli nas ncurses network nfs nls nptl nsplugin ntfs odbc offensive ogg ogm openexr opengl openmp oscar pam pango pcre pda pdf perl php plotutils plugins png policykit posix postscript ppds pppd private-headers ps pulseaudio python q32 qt3support qt4 quicktime rar raster raw rdesktop readline recode regex reiser4 reiserfs restrict-javascript rle rss rtc ruby samba sasl scanner schroedinger scim sdk sdl semantic-desktop sensord session sftp sharedmem sift simplexml sndfile snmp soap sockets sox speex spell sqlite sse sse2 ssl startup-notification subversion svg swat sysfs syslog t1lib taglib tcl tcpd tga theora threads tidy tiff timidity tk toolbar tools transcode truetype udev udisks unicode upower usb utils vala vcd vdr video vorbis wav wavpack webkit winbind wmf wxwidgets x264 xanim xcb xcomposite xft xine xinerama xml xmlrpc xorg xosd xpm xscreensaver xv xvid xvmc yaepg yahoo zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon minolta konica" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


# emerge -pqv '=media-video/handbrake-0.9.9'
[ebuild     U ] media-video/handbrake-0.9.9 [0.9.5_p4039] USE="ffmpeg%* gstreamer%* gtk -fdk% (-css%*)"
Comment 1 Guy 2013-06-29 23:10:13 UTC
Created attachment 352282 [details]
Test case: USE="-gtk" emerge =media-video-0.9.9 build log

Test case: USE="-gtk" also fails with completely different issue. From the build log;


/usr/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -march=opteron -O2 -pipe -DUSE_FF_MPEG2 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -Iinclude -c ../libhb/denoise.c -o libhb/denoise.o
/usr/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -march=opteron -O2 -pipe -DUSE_FF_MPEG2 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -Iinclude -c ../libhb/audio_resample.c -o libhb/audio_resample.o
/usr/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -march=opteron -O2 -pipe -DUSE_FF_MPEG2 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -Iinclude -c ../libhb/bd.c -o libhb/bd.o
/usr/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -march=opteron -O2 -pipe -DUSE_FF_MPEG2 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -Iinclude -c ../libhb/batch.c -o libhb/batch.o
/usr/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -march=opteron -O2 -pipe -DUSE_FF_MPEG2 -D__LIBHB__ -DUSE_PTHREAD -DSYS_LINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I./libhb/ -Iinclude -c ../libhb/work.c -o libhb/work.o
In file included from ../libhb/internal.h:10:0,
                 from ../libhb/common.h:99,
                 from ../libhb/hb.h:18,
                 from ../libhb/denoise.c:19:
../libhb/hbffmpeg.h:12:38: fatal error: libavutil/channel_layout.h: No such file or directory
compilation terminated.
In file included from ../libhb/internal.h:10:0,
                 from ../libhb/common.h:99,
                 from ../libhb/audio_resample.c:10:
../libhb/hbffmpeg.h:12:38: fatal error: libavutil/channel_layout.h: No such file or directory
compilation terminated.
make: *** [libhb/denoise.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [libhb/audio_resample.o] Error 1
In file included from ../libhb/internal.h:10:0,
                 from ../libhb/common.h:99,
                 from ../libhb/hb.h:18,
                 from ../libhb/batch.c:10:
../libhb/hbffmpeg.h:12:38: fatal error: libavutil/channel_layout.h: No such file or directory
compilation terminated.
make: *** [libhb/batch.o] Error 1
In file included from ../libhb/internal.h:10:0,
                 from ../libhb/common.h:99,
                 from ../libhb/hb.h:18,
                 from ../libhb/bd.c:10:
../libhb/hbffmpeg.h:12:38: fatal error: libavutil/channel_layout.h: No such file or directory
compilation terminated.
make: *** [libhb/bd.o] Error 1
In file included from ../libhb/internal.h:10:0,
                 from ../libhb/common.h:99,
                 from ../libhb/hb.h:18,
                 from ../libhb/work.c:10:
../libhb/hbffmpeg.h:12:38: fatal error: libavutil/channel_layout.h: No such file or directory
compilation terminated.
make: *** [libhb/work.o] Error 1
make: Leaving directory `/var/tmp/portage/media-video/handbrake-0.9.9/work/HandBrake-0.9.9/build'
 * ERROR: media-video/handbrake-0.9.9 failed (compile phase):
 *   emake failed
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-30 08:04:02 UTC
Which version of libav / ffmpeg are you using?

(Seems I should get the build log to list that, I find I need to ask this a lot)
Comment 3 Guy 2013-06-30 15:45:38 UTC
(In reply to Tom Wijsman (TomWij) from comment #2)
> Which version of libav / ffmpeg are you using?
> 
> (Seems I should get the build log to list that, I find I need to ask this a
> lot)

Good question and something I didn't think to check.

[I] media-video/ffmpeg
     Available versions:  0.10.7 (~)1.0.6 (~)1.0.7{tbz2} [M](~)1.2.1 [M]**9999 {3dnow 3dnowext X aac aacplus alsa altivec amr amrenc avx bindist bluray +bzip2 cdio celt cpudetection debug dirac doc +encode examples faac fdk flite fontconfig frei0r gnutls gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k libass libcaca libsoxr libv4l mmx mmxext modplug mp3 neon network openal openssl opus oss pic pulseaudio quvi rtmp schroedinger sdl speex ssse3 static-libs test theora threads truetype twolame v4l vaapi vdpau vis vorbis vpx wavpack x264 xvid +zlib FFTOOLS="+aviocat +cws2fws +ffescape +ffeval +ffhash +fourcc2pixfmt +graph2dot +ismindex +pktdumper +qt-faststart +trasher"}
     Installed versions:  1.0.7{tbz2}(05:57:17 PM 06/19/2013)(3dnow 3dnowext X aac alsa amr bindist bzip2 cdio encode fontconfig gnutls hardcoded-tables jpeg2k libcaca mmx mmxext mp3 network opus pulseaudio schroedinger sdl speex theora threads truetype vorbis x264 xvid zlib -aacplus -altivec -avx -bluray -celt -cpudetection -debug -doc -examples -faac -fdk -flite -frei0r -gsm -iec61883 -ieee1394 -jack -libass -libv4l -modplug -neon -openal -openssl -oss -pic -rtmp -ssse3 -static-libs -test -twolame -v4l -vaapi -vdpau -vis -vpx FFTOOLS="aviocat cws2fws ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher")
     Homepage:            http://ffmpeg.org/
     Description:         Complete solution to record, convert and stream audio and video. Includes libavcodec.


I don't have libav installed.

I'll unmask ffmpeg-1.12.1 and try again. I had thought that >handbrake-9.6 was dependendant on >=ffmpeg-1.12.0 based on reading about difficulties installing handbreak so assumed that when handbrake was unmasked, ffmpeg was upgraded as part of world update. My bad.

I'll let you know results after unmasking ffmpeg-1.12.1/
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-30 19:14:40 UTC
Yes, you need at least 1.2.1; I blocked the older ones yesterday, it used to not be able to choose them but the virtual dependency was changed.
Comment 5 Guy 2013-06-30 20:15:06 UTC
Test case: # eix media-video/ffmpeg
[I] media-video/ffmpeg
     Available versions:  0.10.7 (~)1.0.6 (~)1.0.7{tbz2} {M}(~)1.2.1{tbz2} {M}**9999 {3dnow 3dnowext X aac aacplus alsa altivec amr amrenc avx bindist bluray +bzip2 cdio celt cpudetection debug dirac doc +encode examples faac fdk flite fontconfig frei0r gnutls gsm +hardcoded-tables +iconv iec61883 ieee1394 jack jpeg2k libass libcaca libsoxr libv4l mmx mmxext modplug mp3 neon network openal openssl opus oss pic pulseaudio quvi rtmp schroedinger sdl speex ssse3 static-libs test theora threads truetype twolame v4l vaapi vdpau vis vorbis vpx wavpack x264 xvid +zlib FFTOOLS="+aviocat +cws2fws +ffescape +ffeval +ffhash +fourcc2pixfmt +graph2dot +ismindex +pktdumper +qt-faststart +trasher"}
     Installed versions:  1.2.1{tbz2}(01:32:33 PM 06/30/2013)(3dnow 3dnowext X aac alsa amr bindist bzip2 cdio encode fontconfig gnutls hardcoded-tables iconv jpeg2k libcaca mmx mmxext mp3 network opus pulseaudio schroedinger sdl speex theora threads truetype vorbis x264 xvid zlib -aacplus -altivec -avx -bluray -celt -cpudetection -debug -doc -examples -faac -fdk -flite -frei0r -gsm -iec61883 -ieee1394 -jack -libass -libsoxr -libv4l -modplug -neon -openal -openssl -oss -pic -rtmp -ssse3 -static-libs -test -twolame -v4l -vaapi -vdpau -vis -vpx FFTOOLS="aviocat cws2fws ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher")
     Homepage:            http://ffmpeg.org/
     Description:         Complete solution to record, convert and stream audio and video. Includes libavcodec.


# emerge =media-video/handbrake-0.9.9
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-video/handbrake-0.9.9
>>> Installing (1 of 1) media-video/handbrake-0.9.9
>>> Jobs: 1 of 1 complete                           Load avg: 9.29, 9.23, 8.37
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.


SUCCESS!  {thank you}
As a user, I'm going to go out on a limb and stick my foot in my mouth and _guess_ that the "virtual/ffmpeg-9" entry is fooling the handbrake-0.9.9 ebuild into thinking that the ffmpeg version >= 1.12.0 is satisfied when, in fact, it is not satisfied.


Tom W., please modified description or close as you deem appropriate.

And thank you very, very much. Been looking forward to this for a long time.
Comment 6 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-30 20:56:47 UTC
Yes, because the version in the virtual was changed it broken; yesterday I resolved that by blocking the broken versions from the handbrake package. From "Timestamp of tree: Fri, 28 Jun 2013 23:00:01 +0000" in your `emerge --info` I can tell your system was in a state between those two moments, therefore seeing the problem. As you unmasked the newer ffmpeg and / or synced, this can be considered as fixed.