fbdesk doesn't build with gcc-3.3.1-r1 Reproducible: Always Steps to Reproduce: 1. Make sure you have gcc-3.3.1-r1 (~x86) 2. emerge fbdesk Actual Results: setup unpack >>> Unpacking source... >>> Unpacking fbdesk-1.1.2.tar.gz to /var/tmp/portage/fbdesk-1.1.2/work >>> Source unpacked. compile configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for i686-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD-compatible install... /bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking command to parse nm output... ok checking how to run the C++ preprocessor... g++ -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... no checking if we can lock with hard links... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking whether time.h and sys/time.h may both be included... yes checking return type of signal handlers... void checking for sigaction... yes checking for strcasestr... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking whether to build support for the XShape extension... yes checking for XShapeCombineShape in -lXext... yes checking for X11/extensions/shape.h... yes checking for XpmReadFileToPixmap in -lXpm... yes checking whether to include verbose debugging code... no checking whether to have Xft support... yes checking for xft-config... /usr/X11R6/bin/xft-config checking Xft UTF-8 support... yes checking whether to have Xmb (multibyte font, utf-8) support... yes checking for libpng-config... /usr/bin/libpng-config fbdesk version 1.1.2 configured successfully. Using '/usr' for installation. Using 'g++' for C++ compiler. Building with '-Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12' for C++ compiler flags. configure: creating ./config.status config.status: creating Makefile config.status: creating version.h config.status: creating src/Makefile config.status: creating src/FbTk/Makefile config.status: creating config.h config.status: executing default-1 commands cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands make all-recursive make[1]: Entering directory `/var/tmp/portage/fbdesk-1.1.2/work/fbdesk-1.1.2' Making all in src make[2]: Entering directory `/var/tmp/portage/fbdesk-1.1.2/work/fbdesk-1.1.2/src' Making all in FbTk make[3]: Entering directory `/var/tmp/portage/fbdesk-1.1.2/work/fbdesk-1.1.2/src/FbTk' source='App.cc' object='App.o' libtool=no \ depfile='.deps/App.Po' tmpdepfile='.deps/App.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o App.o `test -f App.cc || echo './'`App.cc source='Color.cc' object='Color.o' libtool=no \ depfile='.deps/Color.Po' tmpdepfile='.deps/Color.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o Color.o `test -f Color.cc || echo './'`Color.cc source='EventManager.cc' object='EventManager.o' libtool=no \ depfile='.deps/EventManager.Po' tmpdepfile='.deps/EventManager.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o EventManager.o `test -f EventManager.cc || echo './'`EventManager.cc source='FbWindow.cc' object='FbWindow.o' libtool=no \ depfile='.deps/FbWindow.Po' tmpdepfile='.deps/FbWindow.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o FbWindow.o `test -f FbWindow.cc || echo './'`FbWindow.cc source='Font.cc' object='Font.o' libtool=no \ depfile='.deps/Font.Po' tmpdepfile='.deps/Font.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o Font.o `test -f Font.cc || echo './'`Font.cc source='XFontImp.cc' object='XFontImp.o' libtool=no \ depfile='.deps/XFontImp.Po' tmpdepfile='.deps/XFontImp.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o XFontImp.o `test -f XFontImp.cc || echo './'`XFontImp.cc source='XftFontImp.cc' object='XftFontImp.o' libtool=no \ depfile='.deps/XftFontImp.Po' tmpdepfile='.deps/XftFontImp.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o XftFontImp.o `test -f XftFontImp.cc || echo './'`XftFontImp.cc source='XmbFontImp.cc' object='XmbFontImp.o' libtool=no \ depfile='.deps/XmbFontImp.Po' tmpdepfile='.deps/XmbFontImp.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o XmbFontImp.o `test -f XmbFontImp.cc || echo './'`XmbFontImp.cc source='ImageControl.cc' object='ImageControl.o' libtool=no \ depfile='.deps/ImageControl.Po' tmpdepfile='.deps/ImageControl.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o ImageControl.o `test -f ImageControl.cc || echo './'`ImageControl.cc source='MenuTheme.cc' object='MenuTheme.o' libtool=no \ depfile='.deps/MenuTheme.Po' tmpdepfile='.deps/MenuTheme.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o MenuTheme.o `test -f MenuTheme.cc || echo './'`MenuTheme.cc source='Menu.cc' object='Menu.o' libtool=no \ depfile='.deps/Menu.Po' tmpdepfile='.deps/Menu.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o Menu.o `test -f Menu.cc || echo './'`Menu.cc source='MenuItem.cc' object='MenuItem.o' libtool=no \ depfile='.deps/MenuItem.Po' tmpdepfile='.deps/MenuItem.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o MenuItem.o `test -f MenuItem.cc || echo './'`MenuItem.cc source='TextureRender.cc' object='TextureRender.o' libtool=no \ depfile='.deps/TextureRender.Po' tmpdepfile='.deps/TextureRender.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o TextureRender.o `test -f TextureRender.cc || echo './'`TextureRender.cc source='Theme.cc' object='Theme.o' libtool=no \ depfile='.deps/Theme.Po' tmpdepfile='.deps/Theme.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o Theme.o `test -f Theme.cc || echo './'`Theme.cc source='Texture.cc' object='Texture.o' libtool=no \ depfile='.deps/Texture.Po' tmpdepfile='.deps/Texture.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o Texture.o `test -f Texture.cc || echo './'`Texture.cc source='Timer.cc' object='Timer.o' libtool=no \ depfile='.deps/Timer.Po' tmpdepfile='.deps/Timer.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o Timer.o `test -f Timer.cc || echo './'`Timer.cc source='StringUtil.cc' object='StringUtil.o' libtool=no \ depfile='.deps/StringUtil.Po' tmpdepfile='.deps/StringUtil.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o StringUtil.o `test -f StringUtil.cc || echo './'`StringUtil.cc source='Text.cc' object='Text.o' libtool=no \ depfile='.deps/Text.Po' tmpdepfile='.deps/Text.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o Text.o `test -f Text.cc || echo './'`Text.cc rm -f libFbTk.a ar cru libFbTk.a App.o Color.o EventManager.o FbWindow.o Font.o XFontImp.o XftFontImp.o XmbFontImp.o ImageControl.o MenuTheme.o Menu.o MenuItem.o TextureRender.o Theme.o Color.o Texture.o Timer.o StringUtil.o Text.o ranlib libFbTk.a make[3]: Leaving directory `/var/tmp/portage/fbdesk-1.1.2/work/fbdesk-1.1.2/src/FbTk' make[3]: Entering directory `/var/tmp/portage/fbdesk-1.1.2/work/fbdesk-1.1.2/src' source='FbDesk.cc' object='fbdesk-FbDesk.o' libtool=no \ depfile='.deps/fbdesk-FbDesk.Po' tmpdepfile='.deps/fbdesk-FbDesk.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -IFbTk -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o fbdesk-FbDesk.o `test -f FbDesk.cc || echo './'`FbDesk.cc source='Icon.cc' object='fbdesk-Icon.o' libtool=no \ depfile='.deps/fbdesk-Icon.Po' tmpdepfile='.deps/fbdesk-Icon.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -IFbTk -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o fbdesk-Icon.o `test -f Icon.cc || echo './'`Icon.cc source='main.cc' object='fbdesk-main.o' libtool=no \ depfile='.deps/fbdesk-main.Po' tmpdepfile='.deps/fbdesk-main.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -IFbTk -Wno-deprecated -march=pentium2 -O3 -pipe -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -c -o fbdesk-main.o `test -f main.cc || echo './'`main.cc Icon.cc: In constructor `FbDesk::Icon::Icon(const std::string&, const std::string&, const std::string&)': Icon.cc:79: error: `assert' undeclared (first use this function) Icon.cc:79: error: (Each undeclared identifier is reported only once for each function it appears in.) Icon.cc: In member function `void FbDesk::Icon::redrawLabel()': Icon.cc:166: error: `assert' undeclared (first use this function) Icon.cc: In member function `void FbDesk::Icon::updateLabel()': Icon.cc:185: error: `assert' undeclared (first use this function) make[3]: *** [fbdesk-Icon.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/fbdesk-1.1.2/work/fbdesk-1.1.2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/fbdesk-1.1.2/work/fbdesk-1.1.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/fbdesk-1.1.2/work/fbdesk-1.1.2' make: *** [all] Error 2 !!! ERROR: x11-misc/fbdesk-1.1.2 failed. !!! Function src_compile, Line 22, Exitcode 2 !!! (no error message)
Created attachment 17742 [details, diff] patch to fix this problem. This is caused by two instances of #include <assert.h> not being included. This patch includes them. :-)
How do I apply this patch? Sorry, but I'm not a programmer and have never messed with an ebuild. Or better yet, when will this be in portage?
bumped version to 1.1.5, fixes the build issue. closing.