Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 285786

Summary: media-video/camstream-20070315 fails to build: faulty include path suspected
Product: Gentoo Linux Reporter: Simon C. Ion <simoncion>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Simon C. Ion 2009-09-20 22:34:03 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:04 UTC

*** This bug has been marked as a duplicate of bug 285783 ***