I tried to build btg-0.9.7, but it fails. make[3]: Entering directory `/mnt/data1/tmp/portage/net-p2p/btg-0.9.7/work/btg-0 .9.7/external/ini' /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_ CONFIG_H -I. -I../.. -pthread -march=athlon64 -O2 -pipe -DNDEBUG -DBTG_DEBUG= 0 -DBTG_VERSION="0.9.7" -DBTG_BUILD="0.9.7" -march=athlon64 -O2 -pipe -c -o cdat afile.lo cdatafile.cpp mkdir .libs x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -march=athlon64 -O 2 -pipe -DNDEBUG -DBTG_DEBUG=0 -DBTG_VERSION=0.9.7 -DBTG_BUILD=0.9.7 -march=athl on64 -O2 -pipe -c cdatafile.cpp -fPIC -DPIC -o .libs/cdatafile.o cdatafile.cpp: In member function ‘void CDataFile::SetFileName(t_Str)’: cdatafile.cpp:112: warning: deprecated conversion from string constant to ‘char* ’ cdatafile.cpp: In member function ‘bool CDataFile::Load(t_Str)’: cdatafile.cpp:145: error: ‘memset’ was not declared in this scope cdatafile.cpp:191: warning: deprecated conversion from string constant to ‘char* ’ cdatafile.cpp: In member function ‘bool CDataFile::Save()’: cdatafile.cpp:210: warning: deprecated conversion from string constant to ‘char* ’ cdatafile.cpp:216: warning: deprecated conversion from string constant to ‘char* ’ cdatafile.cpp:237: warning: deprecated conversion from string constant to ‘char* ’ cdatafile.cpp:244: warning: deprecated conversion from string constant to ‘char* ’ cdatafile.cpp:259: warning: deprecated conversion from string constant to ‘char* ’ cdatafile.cpp:267: warning: deprecated conversion from string constant to ‘char* ’ cdatafile.cpp: In member function ‘float CDataFile::GetFloat(t_Str, t_Str)’: cdatafile.cpp:436: error: ‘atof’ was not declared in this scope cdatafile.cpp: In member function ‘int CDataFile::GetInt(t_Str, t_Str)’: cdatafile.cpp:447: error: ‘INT_MIN’ was not declared in this scope cdatafile.cpp:449: error: ‘atoi’ was not declared in this scope cdatafile.cpp: In member function ‘bool CDataFile::CreateSection(t_Str, t_Str)’: cdatafile.cpp:544: warning: deprecated conversion from string constant to ‘char* ’ cdatafile.cpp: In function ‘int CompareNoCase(t_Str, t_Str)’: cdatafile.cpp:718: error: ‘strcasecmp’ was not declared in this scope cdatafile.cpp: In function ‘int WriteLn(std::fstream&, char*, ...)’: cdatafile.cpp:754: error: ‘memset’ was not declared in this scope cdatafile.cpp: In function ‘void Report(e_DebugLevel, char*, ...)’: cdatafile.cpp:783: error: ‘memset’ was not declared in this scope make[3]: *** [cdatafile.lo] Error 1 make[3]: Leaving directory `/mnt/data1/tmp/portage/net-p2p/btg-0.9.7/work/btg-0. 9.7/external/ini' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/data1/tmp/portage/net-p2p/btg-0.9.7/work/btg-0. 9.7/external' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/data1/tmp/portage/net-p2p/btg-0.9.7/work/btg-0. 9.7' make: *** [all] Error 2 * * ERROR: net-p2p/btg-0.9.7 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2435: Called die * The specific snippet of code: * emake || die * The die message: * (no error message) Reproducible: Always Steps to Reproduce: 1. USE="gtk ncurses session" emerge net-p2p/btg Actual Results: It fails to build Expected Results: It would have installed btg-0.9.7 on my system emerge --info Portage 2.1.6.6 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081 201-r1, 2.6.26-gentoo x86_64) ================================================================= System uname: Linux-2.6.26-gentoo-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with- glibc2.2.5 Timestamp of tree: Sun, 18 Jan 2009 12:45:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.2 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/config" 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-rebuil d /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfpe rms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.switch .ch/mirror/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en en_GB nl" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu de=/local --exclude=/packages" PORTAGE_TMPDIR="/mnt/data1/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /home/stefan/test/ebuilds" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 apache2 arts audiofile b ash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dga dri dvd dvdr dvdread eds emboss emul-linux-x86 encode esd evo exif ffmpeg firefox flac fortran ftp gd gdbm gif gnome gnutls gphoto2 gstreamer gtk hal iconv ipv6 isdnlog jabber jpeg jpeg2k kde libnotify lm_sensors mad maildir m idi mikmod mime mmx mng mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nspl ugin ogg openal opengl openmp osc oss pam pcre pdf perl php png posix ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl seamonkey session sp ell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype un icode usb utempter vhosts vorbis wmf xml xorg xpm xulrunner xv xvid zlib" ALSA_C ARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 e ns1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-aud io via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dsh are dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mma p_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="acti ons alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default au thn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_us er autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ex t_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_conne ct proxy_http rewrite setenvif so speling status unique_id userdir usertrack vho st_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse void" KERNEL="linux" LCD_D EVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" L INGUAS="en en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia nv dummy vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MA KEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 179123 [details, diff] patches btg 0.9.7 for gcc43 Hopefully patches btg-0.9.7 to compile with gcc43, at least works for me.
Looking like a regular gcc43 issue I'd imagine this is not amd64-specific but also present on other platforms. I also wonder if btg-0.9.7 is important enough piece of software to warrant a blocker against bug #198121 ?
I tested the patch and now the build succeeds. I filed the bugreport against AMD64, because that's the system I use and didn't test it on any other system. So if this patch gets added to the repository we can close this bug.
I think this bug should block 198121 because that's what they want.
(In reply to comment #3) > I filed the bugreport against AMD64, because that's the system I use and > didn't test it on any other system. Sorry, I didn't mean my earlier short comment as criticism of the submitted report, it was meant more as a new observation in addition to the original knowledge. Your original report was very good, with all the information necessary and known at filing time -- and no clutter. If only all submissions came with sufficient information like this one. :)
+ 16 Feb 2009; Peter Alfredsen <loki_val@gentoo.org> + +files/btg-0.9.7-gcc43.patch, btg-0.9.7.ebuild: + Add gcc-4.3 patch per bug 255604. Thanks to Arttu Valo + <arttuv69@gmail.com> for patch and TigerP <gentoo-tigerp@tigerp.net> for + report. +