I tried to emerge avidemux-2.4.4-r2 with flags "aac aften alsa dts mp3 qt4 truetype vorbis x264 xv xvid -amrnb -esd -gtk -jack -libsamplerate (-arts%)", but got this errors: * Context: * Source: Colors * Context: * Source: Root privileges are required to perform this operation. * Context: * Source: _Trellis quantization * Context: * Source: P_rocess chroma Updating '/var/tmp/portage/media-video/avidemux-2.4.4-r2/work/avidemux_2.4.4_build/po/avidemux_ca.qm'... Generated 1508 translation(s) (0 finished and 1508 unfinished) Ignored 780 untranslated source text(s) [ 88%] Generating avidemux_cs.xml Generating /var/tmp/portage/media-video/avidemux-2.4.4-r2/work/avidemux_2.4.4_build/po/avidemux_cs.xml from /var/tmp/portage/media-video/avidemux-2.4.4-r2/work/avidemux_2.4.4/po/avidemux_cs.ts [ 88%] [ 88%] Generating avidemux_cs.qm Building C object avidemux/ADM_libraries/ADM_lavcodec/CMakeFiles/ADM_lavcodec.dir/qdm2.o Generating /var/tmp/portage/media-video/avidemux-2.4.4-r2/work/avidemux_2.4.4_build/po/avidemux_cs.qm from /var/tmp/portage/media-video/avidemux-2.4.4-r2/work/avidemux_2.4.4_build/po/avidemux_cs.xml lrelease error: Parse error at /var/tmp/portage/media-video/avidemux-2.4.4-r2/work/avidemux_2.4.4_build/po/avidemux_cs.xml:1:0: Premature end of document. make[2]: *** [po/avidemux_cs.qm] Error 1 make[2]: *** Waiting for unfinished jobs.... Reproducible: Always Steps to Reproduce: 1. emerge -avu avidemux 2. 3. Actual Results: [ 95%] Building C object avidemux/ADM_libraries/ADM_lavcodec/CMakeFiles/ADM_lavcodec.dir/i386/fft_3dn.o Linking C static library libADM_lavcodec.a [ 95%] Built target ADM_lavcodec make: *** [all] Error 2 * * ERROR: media-video/avidemux-2.4.4-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2878: Called cmake-utils_src_compile * environment, line 760: Called cmake-utils_src_make * environment, line 839: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-video/avidemux-2.4.4-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/avidemux-2.4.4-r2/temp/environment'. * Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.28-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 05 Jun 2009 02:30:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -msse4.1 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -msse4.1 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl alsa amd64 bash-completion berkdb bzip2 cli cracklib crypt cups dbus dri dvd dvdr exif fam flac fortran gdbm hal iconv inotify isdnlog jpeg jpeg2k lm_sensors midi mmx mng mp3 mp4 mudflap multilib musepack mysql ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python qt4 readline reflection semantic-desktop session smp spl sse sse2 ssl ssse3 svg sysfs tcpd threads tiff unicode vdpau vorbis webkit x264 xcomposite xorg xv zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic auth_digest autoindex authn_file authz_host authz_user deflate dir filter headers log_config mime mime_magic setenvif negotiation rewrite status userdir" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia none" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please try again with MAKEOPTS="-j1".
(In reply to comment #1) > Please try again with MAKEOPTS="-j1". Ok, setting MAKEOPTS to -j1 resolve this problem. Thanks!
Why is this bug here "RESOLVED FIXED"? Having users add MAKEOPTS=-j1 is useful to diagnose the issue, but not even a serious workaround. And there has been no change to the ebuild, so the bug hit me today as well, for avidemux_ca.xml. So now we know it's a parallel build thingy, can we get this reopened and either have the ebuild add the -j1 (workaround) or find and resolve the cause of this problem (proper solution)?
@reporter: Please never mark bugs as fixed. Invalid is ok if you notice that it was something with your system. It's first fixed if there is a fix in the tree. @Martin: Sorry, didn't notice it.
OK, the issue surfaces in ${S}/po/CMakeFiles/qmfiles.dir/build.make where there are two rules for each of 16 locales. The first builds *.xml from *.ts while the latter builds *.qm from *.xml using lrelease, but only lists *.ts as a dependency, causing these rules to be run while *.xml is still in the making. The question remains where these rules come from. The file was generated by cmake, but no file in /usr/share/cmake even mentions lrelease, and neither does any file from the qt-core package which provides the qmake binary, or qt-gui which provides the lrelease binary. So we need to find the templates for these rules.
Created attachment 194443 [details, diff] Fix dependency This should fix it. At least the make file looks sane to me. Running ebuild in a loop right now, just to be sure.
Reported upstream: http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2771&group_id=1402
*** Bug 272975 has been marked as a duplicate of this bug. ***
(In reply to comment #6) > Created an attachment (id=194443) [edit] > Fix dependency Thank you so much! This patch has been applied now. Reopen this bug if the problem reappears.