Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285783 - media-video/camstream-20070315 has parallel make issues
Summary: media-video/camstream-20070315 has parallel make issues
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
: 285784 285786 285789 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-20 22:32 UTC by Simon C. Ion
Modified: 2010-02-06 22:25 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon C. Ion 2009-09-20 22:32:19 UTC
camstream fails to build.

Reproducible: Always

Steps to Reproduce:
1. emerge =media-video/camstream-20070315

Actual Results:  
The build failed with the following error:

make[2]: Leaving directory `/var/tmp/portage/media-video/camstream-20070315/work/camstream-070315/ccvt'
Making all in tracer
make[2]: Entering directory `/var/tmp/portage/media-video/camstream-20070315/work/camstream-070315/tracer'
/usr/qt/3/bin/uic -o TraceWindow.h TraceWindow.ui
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/qt/3/include    -O2 -march=prescott -pipe -ggdb -MT TraceModule.o -MD -MP -MF .deps/TraceModule.Tpo -c -o TraceModule.o TraceModule.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/qt/3/include    -O2 -march=prescott -pipe -ggdb -MT TraceFunction.o -MD -MP -MF .deps/TraceFunction.Tpo -c -o TraceFunction.o TraceFunction.cpp
In file included from TraceModule.cpp:8:
TraceManager.h:10:25: error: TraceWindow.h: No such file or directory
/usr/qt/3/bin/moc -o TraceManager.moc.cpp TraceManager.h
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/qt/3/include    -O2 -march=prescott -pipe -ggdb -MT TraceManager.o -MD -MP -MF .deps/TraceManager.Tpo -c -o TraceManager.o TraceManager.cpp
In file included from TraceModule.cpp:8:
TraceManager.h:21: error: ISO C++ forbids declaration of ‘CTraceWindowDlg’ with no type
TraceManager.h:21: error: expected ‘;’ before ‘*’ token
make[2]: *** [TraceModule.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/TraceFunction.Tpo .deps/TraceFunction.Po
mv -f .deps/TraceManager.Tpo .deps/TraceManager.Po
make[2]: Leaving directory `/var/tmp/portage/media-video/camstream-20070315/work/camstream-070315/tracer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/camstream-20070315/work/camstream-070315'
make: *** [all] Error 2
 * 
 * ERROR: media-video/camstream-20070315 failed.


Expected Results:  
A successful build.

The file in question *seems* to be present in the camstream work directory.
After the build failed, I performed the following actions:

# cd /var/tmp/portage/media-video/camstream-20070315/work
# find ./ -name TraceWindow.h
./camstream-070315/tracer/TraceWindow.h
# ls -l camstream-070315/tracer/TraceWindow.h 
-rw-r--r-- 1 portage portage 1440 2009-09-20 17:15 camstream-070315/tracer/TraceWindow.h

******************
Here's my emerge --info output:
******************

Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo i686)
=================================================================
System uname: Linux-2.6.31-gentoo-i686-Intel-R-_Core-TM-_Duo_CPU_L2400_@_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 19 Sep 2009 08:30:01 +0000
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.4.4-r15, 2.5.4-r3, 2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 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.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -ggdb"
CHOST="i686-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 /var/bind /var/lib/hsqldb"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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/layman/kde-testing /usr/local/portage/layman/sunrise /usr/local/portage/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa avahi bash-completion berkdb bzip2 caps cdr cli consolekit cracklib crypt cups dbus dri dvd ffmpeg flac fortran gdbm gpm gtk hal iconv ieee1394 inotify ipv6 isdnlog java jpeg kde kerberos lame ldap mad matroska mmx mp3 mudflap mysql ncurses networkmanager nls nptl nptlonly offensive ogg opengl openmp pam pcmcia pcre perl png policykit postgres pppd pulseaudio python qt qt3support qt4 readline reflection samba sasl sdl session slp sndfile speex spell spl sse sse2 sse3 ssl svg sysfs tcpd theora tiff truetype unicode usb v4l2 vim-syntax vorbis wifi win32codecs wireless x86 xattr xinerama xml xorg xv xvid zeroconf zlib" ALSA_CARDS="hda-intel usb-audio" 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="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ulrich Müller gentoo-dev 2009-09-20 22:42:00 UTC
*** Bug 285784 has been marked as a duplicate of this bug. ***
Comment 2 Ulrich Müller gentoo-dev 2009-09-20 22:42:04 UTC
*** Bug 285786 has been marked as a duplicate of this bug. ***
Comment 3 Ulrich Müller gentoo-dev 2009-09-20 22:42:08 UTC
*** Bug 285789 has been marked as a duplicate of this bug. ***
Comment 4 Rafał Mużyło 2009-09-20 22:57:04 UTC
Looking at the build.log, my first guess would be, that it's
a parallel make failure: header probably doesn't exist yet,
when the compilation starts.
Would have to look at the Makefiles to confirm.
Comment 5 Simon C. Ion 2009-09-23 00:08:39 UTC
Unsetting MAKEOPTS (it was previously "-j3") results in a successful merge. Thanks!

Additionally, I'm terribly sorry about all of the duplicate bugs. I had a brain fart while dealing with an error that Bugzilla threw at me after reporting the bug, and failed to scroll down the page to see if my bug had been successfully submitted. :(
Comment 6 Andrew Savchenko gentoo-dev 2009-09-26 07:41:40 UTC
The same problem here. -j1 helps, but this is still a bug 8-). Currently I patch ebuild to use -j1, but the preferable way is to fix Makefile dependencies.

$ emerge --info
Portage 2.2_rc41 (default/linux/x86/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30.4-hitomi i686)
=================================================================
System uname: Linux-2.6.30.4-hitomi-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 21 Sep 2009 09:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.6.3, 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.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -m32 --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=512 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -fomit-frame-pointer -mfpmath=sse -pipe"
CHOST="i686-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 /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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 /etc/udev/rules.d"
CXXFLAGS="-march=core2 -m32 --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=512 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -fomit-frame-pointer -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=core2 -m32 --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=512 -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -fomit-frame-pointer -mfpmath=sse -pipe"
GENTOO_MIRRORS=" ftp://bircoph/distributive/gentoo/portage ftp://orionis/distributions/1Linux/gentoo/portage ftp://ftp.chg.ru/pub/Linux/gentoo http://mirror.yandex.ru/gentoo-distfiles  ftp://ftp.corbina.net/pub/Linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://mirror.netcologne.de/gentoo"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en ja"
MAKEOPTS="-j8"
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/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns afs aften aim alsa amr amrnb amrwb ao audiofile bash-completion bcmath binfilter blas bluetooth branding bzip2 cairo calendar canna caps ccache cddb cdinstall cdparanoia cdr chasen cjk cli clisp colordiff cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx cyrillic dbus device-mapper dga dia dirac directfb djvu dmx doc dri dts dv dvd dvdr dvdread dvi eap-sim editor elf encode enscript ermt examples exif expat faac faad fbcon festival ffmpeg fftw firefox flac fontconfig foomaticdb fortran fpx freetds freetype ftp gcj gcrypt gd gdbm geoip ggi gif gimp ginac git glibc-omitfp glut gmp gnuplot gnutls gpgme gphoto2 gpm gps graphviz gs gsl gsm gtk gucharmap h224 h281 h323 hdf5 hdri iceweasel iconv icq icu id3tag idn imagemagick imap imlib immqt-bc inkjar ipod iproute2 ipv6 isdnlog jabber jack jadetex java6 javascript jbig jingle jpeg jpeg2k kdehiddenvisibility kerberos keyscrub kpathsea kqemu ladspa lame lapack lash latex lcms ldap libcaca libnotify libsamplerate libwww logrotate lzo mad maildir mailwrapper matroska mbox md5sum mhash mikmod mime mjpeg mmap mmx mng modplug mp3 mpeg mplayer mppe-mppc msn mudflap musepack musicbrainz mysql mysqli nas ncurses netcdf network network-cron nls nntp nocd nodrm nptl nptlonly nsplugin nuv objc objc++ offensive ogg openal openexr opengl openmp oscar otr pam pango pcntl pcre pda pdf perl pgf plotutils png pop posix postproc postscript ppds pppd pronounce pstricks pth qt3 qt3support qt4 quicktime raw rdesktop readline recode reflection restrict-javascript rle rrdtool samba savedconfig scanner schroedinger sdl session sharedmem shorten sip sipim slang slp smi smime smp sms smtp sndfile sockets socks5 soundtouch sox sparse speex spell spl sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion supernodal svg svga sysfs syslog szip t1lib taglib tcpd theora threads tiff timezone timidity tordns truetype twolame type3 unicode usb v4l v4l2 vamp vcd vhook videos vim vim-syntax vnc vorbis wav wavpack wifi win32codecs wireshark wmf x264 x86 xattr xcb xface xft xinerama xorg xosd xpm xprint xrandr xscreensaver xv xvid yahoo yaz ziffy zlib" ALSA_CARDS="hda-intel" 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="authz_host dir mime" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en ja" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Andrew Savchenko gentoo-dev 2009-09-26 07:42:28 UTC
This is odd, but just recompilation with -j8 and previously used ccache helps too.
Comment 8 Patrick Kursawe (RETIRED) gentoo-dev 2010-02-06 22:24:10 UTC
Removed camstream from the tree because it depends Qt3 which is considered deprecated.
Comment 9 Patrick Kursawe (RETIRED) gentoo-dev 2010-02-06 22:24:59 UTC
Hm, "fixed" does not describe it correctly... re-opening to close it as "wontfix"