Summary: | sci-electronics/systemc-2.2.0 fails to compile with gcc 4.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Iwan Aucamp <aucampia> |
Component: | Current packages | Assignee: | The Soldering-Iron Brotherhood <sci-electronics> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | aucampia |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 |
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-glibc2.0 Timestamp of tree: Mon, 08 Jun 2009 18:30:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 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.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--bwlimit=10" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/lottanzb /usr/portage/local/layman/science /usr/portage/local/layman/dev-zero /usr/portage/local/layman/sabayon /usr/portage/local/layman/sunrise /usr/portage-local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X accessibility acl bash-completion berkdb bzip2 cli cracklib crypt cups cxx dbus doc dri ffmpeg fortran gdbm gecko gpm hal iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python readline reflection session slit spl ssl sysfs tcpd toolbar unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS Also, the exact same thing happens with sci-electronics/systemc-2.2_beta20060605
g++ -I. -I. -I. -I../../../src -Wall -DSC_INCLUDE_FX -O2 -march=i686 -pipe -c -o sc_utils_ids.o `test -f 'sc_utils_ids.cpp' || echo './'`sc_utils_ids.cpp
sc_utils_ids.cpp: In function 'int sc_core::initialize()':
sc_utils_ids.cpp:107: error: 'getenv' is not a member of 'std'
sc_utils_ids.cpp:108: error: 'strcmp' was not declared in this scope
sc_utils_ids.cpp: At global scope:
sc_utils_ids.cpp:116: warning: 'sc_core::forty_two' defined but not used
make[2]: *** [sc_utils_ids.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-electronics/systemc-2.2_beta20060605/work/systemc-2.2.05jun06_beta/src/sysc/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-electronics/systemc-2.2_beta20060605/work/systemc-2.2.05jun06_beta/src/sysc'
make: *** [all-recursive] Error 1
*
* ERROR: sci-electronics/systemc-2.2_beta20060605 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 1107: Called die
* The specific snippet of code:
* emake || die "Compilation failed"
* The die message:
* Compilation 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/sci-electronics/systemc-2.2_beta20060605/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-electronics/systemc-2.2_beta20060605/temp/environment'.
*
>>> Failed to emerge sci-electronics/systemc-2.2_beta20060605, Log file:
That beta is the older version. *** This bug has been marked as a duplicate of bug 252623 *** |
g++ -I. -I. -I. -I../../../src -Wall -DSC_INCLUDE_FX -O2 -march=i686 -pipe -c -o sc_utils_ids.o `test -f 'sc_utils_ids.cpp' || echo './'`sc_utils_ids.cpp sc_utils_ids.cpp: In function 'int sc_core::initialize()': sc_utils_ids.cpp:110: error: 'getenv' is not a member of 'std' sc_utils_ids.cpp:111: error: 'strcmp' was not declared in this scope sc_utils_ids.cpp: At global scope: sc_utils_ids.cpp:119: warning: 'sc_core::forty_two' defined but not used make[2]: *** [sc_utils_ids.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sci-electronics/systemc-2.2.0/work/systemc-2.2.0/src/sysc/utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-electronics/systemc-2.2.0/work/systemc-2.2.0/src/sysc' make: *** [all-recursive] Error 1 * * ERROR: sci-electronics/systemc-2.2.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 1105: Called die * The specific snippet of code: * emake || die "Compilation failed" * The die message: * Compilation 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/sci-electronics/systemc-2.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/systemc-2.2.0/temp/environment'. * >>> Failed to emerge sci-electronics/systemc-2.2.0, Log file: Reproducible: Always Steps to Reproduce: 1. unmask sci-electronics/systemc-2.2.0 2. emerge sci-electronics/systemc Actual Results: compile failed Expected Results: compile should succeed