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

Bug 240616

Summary: media-sound/beast-0.7.1-r1 - error: 'strcmp' was not declared in this scope
Product: Gentoo Linux Reporter: Dave <dliana>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Severity: normal CC: sound, telefrancisco
Priority: High    
Version: 2008.0   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: build.log
emerge --info

Description Dave 2008-10-08 23:12:51 UTC
mv -f .deps/birnetcpu.Tpo .deps/birnetcpu.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DBIRNET_LOG_DOMAIN=\"BIRNET\" -I. -I.. -I.. -I.. -I. -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -D_BIRNET_SOURCE_EXTENSIONS -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wno-deprecated -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -Wall -Wdeprecated -Wno-cast-qual -ftracer -finline-functions -fno-keep-static-consts -fmessage-length=155 -MT birnetmsg.lo -MD -MP -MF .deps/birnetmsg.Tpo -c -o birnetmsg.lo
libtool: compile:  i686-pc-linux-gnu-g++ -DBIRNET_LOG_DOMAIN=\"BIRNET\" -I. -I.. -I.. -I.. -I. -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_BIRNET_SOURCE_EXTENSIONS -march=pentium4 -O2 -fomit-frame-pointer -pipe -Wno-deprecated -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -Wall -Wdeprecated -Wno-cast-qual -ftracer -finline-functions -fno-keep-static-consts -fmessage-length=155 -MT birnetmsg.lo -MD -MP -MF .deps/birnetmsg.Tpo -c  -fPIC -DPIC -o .libs/birnetmsg.o In static member function 'static Birnet::Msg::Type Birnet::Msg::register_type(const char*, Birnet::Msg::Type, const char*)': error: 'strcmp' was not declared in this scope error: 'memcpy' was not declared in this scope error: 'memset' was not declared in this scope In static member function 'static void Birnet::Msg::key_list_change_L(const Birnet::String&, bool)': error: 'strstr' was not declared in this scope In function 'Birnet::String Birnet::prgname(bool)': error: 'strrchr' was not declared in this scope
make[3]: *** [birnetmsg.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/beast-0.7.1-r1/work/beast-0.7.1/birnet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/beast-0.7.1-r1/work/beast-0.7.1/birnet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/beast-0.7.1-r1/work/beast-0.7.1'
make: *** [all] Error 2
 * ERROR: media-sound/beast-0.7.1-r1 failed.
 * Call stack:
 *, line   49:  Called src_compile
 * environment, line 2560:  Called die
 * The specific snippet of code:
 * emake || die "make failed"
 * The die message:
 * make failed
Comment 1 Dave 2008-10-08 23:13:17 UTC
Created attachment 167680 [details]
Comment 2 Dave 2008-10-08 23:13:39 UTC
Created attachment 167682 [details]
emerge --info
Comment 3 Francisco José Cañizares Santofimia 2008-11-01 14:09:33 UTC
Same here in a x86 system.
Comment 4 Francisco José Cañizares Santofimia 2008-11-02 11:21:57 UTC
This bug happens in GCC 4.3 and is solved in Debian:

The direct URL for the patch that solves *the compilation problem* is:;filename=beast_gcc43.diff;att=1;bug=455281
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2008-11-02 14:59:31 UTC
+  02 Nov 2008; Peter Alfredsen <>
+  +files/beast-0.7.1-gcc43.patch, beast-0.7.1-r1.ebuild:
+  Fix bug 240616 (gcc-4.3), thanks to Francisco José Cañizares Santofimia
+  <> and bug 243000 (update-mime-database collision).