I'm using gcc3.3 and bbcd fails to emerge with this message: Texture.cc: In member function `Pixmap BTexture::render(unsigned int, unsigned int, long unsigned int)': Texture.cc:195: error: `assert' undeclared (first use this function) Texture.cc:195: error: (Each undeclared identifier is reported only once for each function it appears in.) distcc[31427] ERROR: compile on localhost failed with exit code 1 make: *** [Texture.o] Error 1 make: *** Waiting for unfinished jobs.... Color.cc: In member function `void BColor::parseColorName()': Color.cc:93: error: `assert' undeclared (first use this function) Color.cc:93: error: (Each undeclared identifier is reported only once for each function it appears in.) Color.cc: In member function `void BColor::allocate()': Color.cc:124: error: `assert' undeclared (first use this function) Color.cc: In member function `void BColor::deallocate()': Color.cc:176: error: `assert' undeclared (first use this function) distcc[31421] ERROR: compile on localhost failed with exit code 1 Reproducible: Always Steps to Reproduce: 1. emerge gcc3.3 2. emerge bbcd 3. Actual Results: bbcd fails to emerge Expected Results: emerge of bbcd should have emerged successfully Portage 2.0.48-r1 (default-x86-1.4, gcc-3.3, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://highlander/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline arts java X gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl acpi acpi4linux alsa gtk2 mozcalendar mozilla ruby samba tcltk tetex usb xosd" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer" CXXFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j7" AUTOCLEAN="yes" SYNC="rsync://highlander/gentoo-portage" FEATURES="sandbox ccache distcc"
Created attachment 14153 [details, diff] patches to allow bbcd to compile These two patches add #include <assert.h> to the appropriate files.
Its been well over a month since I sent this bug upstream, with no fix. Please note that the patch attached here is garbled, could someone please reattach or clue me into which two files are in need of an #include <assert.h>?
Greetings Sorry that the patch got garbled like that. The files that need assert.h are Color.cc and Texture.cc.
fixed.