Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179854 - dev-util/cppunit-1.12.0 build fails with examples USE flag
Summary: dev-util/cppunit-1.12.0 build fails with examples USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 176279
  Show dependency tree
 
Reported: 2007-05-26 10:42 UTC by Vasilis Lourdas
Modified: 2007-05-26 11:43 UTC (History)
0 users

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 Vasilis Lourdas 2007-05-26 10:42:35 UTC
cppunit-1.12.0 fails to build in case the examples USE flag is enabled. Disable it and the emerge succeeds.

mv -f libqttestrunnerd.a ../../lib/
i686-pc-linux-gnu-g++ -c -pipe -Wall -W -g  -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -I../../include -I/usr/qt/3/include -o .obj_debug/ExampleTestCases.o ExampleTestCases.cpp
../../include/cppunit/extensions/TestFixtureFactory.h:17: warning: ‘class CppUnit::TestFixtureFactory’ has virtual functions but non-virtual destructor
../../include/cppunit/extensions/TestFixtureFactory.h: In instantiation of ‘CppUnit::ConcretTestFixtureFactory<ExampleTestCases>’:
ExampleTestCases.h:20:   instantiated from here
../../include/cppunit/extensions/TestFixtureFactory.h:30: warning: ‘class CppUnit::ConcretTestFixtureFactory<ExampleTestCases>’ has virtual functions but non-virtual destructor
i686-pc-linux-gnu-g++ -c -pipe -Wall -W -g  -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -I../../include -I/usr/qt/3/include -o .obj_debug/Main.o Main.cpp
In file included from ../../include/cppunit/ui/qt/QtTestRunner.h:10,
                 from ../../include/cppunit/ui/qt/TestRunner.h:9,
                 from Main.cpp:2:
../../include/cppunit/ui/qt/Config.h:21:32: warning: no newline at end of file
i686-pc-linux-gnu-g++  -o qt_example .obj_debug/ExampleTestCases.o .obj_debug/Main.o    -L/usr/qt/3/lib -L/usr/X11R6/lib -L../../lib -lqttestrunnerd -lcppunit -lqt-mt -lXext -lX11 -lm
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lcppunit
collect2: ld returned 1 exit status
make: *** [qt_example] Error 1

!!! ERROR: dev-util/cppunit-1.12.0 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  cppunit-1.12.0.ebuild, line 51:   Called die

!!! emake 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/dev-util/cppunit-1.12.0/temp/build.log'.

emerge --info
Portage 2.1.2.7 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 26 May 2007 09:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="ftp://ftp.uoi.gr/mirror/OS/gentoo/ ftp://ftp.physics.auth.gr/pub/mirrors/gentoo/ ftp://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.tds.net/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://mirror.bih.net.ba/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ "
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acct acl acpi alsa apache2 artswrappersuid asf bash-completion berkdb bitmap-fonts bluetooth branding bzip2 bzlib cairo caps cdr charconv chm cli cracklib crypt css ctype cups curl dba dbus dlloader dmi doc dri dts dvd dvdr dvdread effects emboss encode esd examples exif expat fam fbcon ffmpeg firefox flac flatfile foomaticdb fortran ftp gcj gd gdbm gif gimp gimpprint glx gmp gnomedb gnutls gocr gphoto2 gpm gstreamer gtk hal hddtemp howl iconv imagemagick imap imlib innodb isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms ldap libg++ libsamplerate libwww lm_sensors mad maildir mailwrapper mhash midi mikmod mime mmx mmxext motif mozbranding mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mudflap multiuser mysql mysqli ncurses newspr nls no-old-linux nodrm nomalloccheck nptl nptlonly nsplugin nvidia objc odbc offensive ogg opengl openmp pam pch pcntl pcre pdf pear perl php pic plugin png posix postgres ppds pppd python qt3 qt4 quicktime rar rdesktop readline recode reflection ruby sasl scanner sdl server session simplexml slang sndfile soap sockets speex spell spl spreadsheet sqlite sse ssl subtitles subversion svg svga symlink tcltk tcpd tetex threads tidy tiff tokenizer tools truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vda visualization vorbis win32codecs wmf wv wxgtk1 x86 xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xv xvid xvmc zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-05-26 11:43:41 UTC
Fixed in CVS. Please resync and install as usual. Thanks!