It is not possible to emerge the next library: sys-libs/libstdc++-v3-3.3.6 Reproducible: Always Steps to Reproduce: # emerge libstdc++-v3 -atv Actual Results: These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] sys-libs/libstdc++-v3-3.3.6 USE="nls nptl -build (-multilib)" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] Expected Results: In file included from /usr/include/stdio.h:839, from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/tsystem.h:72, from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/crtstuff.c:62: /usr/include/bits/stdio.h: In function `vprintf': In file included from /usr/include/stdio.h:839, from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/tsystem.h:72, from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/crtstuff.c:62: /usr/include/bits/stdio.h: In function `vprintf': /usr/include/bits/stdio.h:36: error: syntax error before "__restrict__" /usr/include/bits/stdio.h: In function `getchar': /usr/include/bits/stdio.h:43: error: syntax error before "__restrict__" /usr/include/bits/stdio.h:36: error: syntax error before "__restrict__"/usr/include/bits/stdio.h:69: confused by earlier errors, bailing out In file included from /usr/include/stdio.h:839, from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/tsystem.h:72, from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/crtstuff.c:62: /usr/include/bits/stdio.h: In function `vprintf': /usr/include/bits/stdio.h:36: error: syntax error before "__restrict__" /usr/include/bits/stdio.h: In function `getchar': /usr/include/bits/stdio.h: In function `getchar': /usr/include/bits/stdio.h:43: error: syntax error before "__restrict__" /usr/include/bits/stdio.h:43: error: syntax error before "__restrict__" make[1]: *** [crtbegin.o] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/include/bits/stdio.h:69: confused by earlier errors, bailing out /usr/include/bits/stdio.h:69: confused by earlier errors, bailing out make[1]: *** [crtbeginT.o] Error 1 In file included from /usr/include/stdio.h:839, from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/tsystem.h:72, from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/crtstuff.c:62: /usr/include/bits/stdio.h: In function `vprintf': /usr/include/bits/stdio.h:36: error: syntax error before "__restrict__" /usr/include/bits/stdio.h: In function `getchar': /usr/include/bits/stdio.h:43: error: syntax error before "__restrict__" /usr/include/bits/stdio.h:69: confused by earlier errors, bailing out make[1]: *** [crtbeginS.o] Error 1 make[1]: *** [crtend.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc' make: *** [all-gcc] Error 2 * * ERROR: sys-libs/libstdc++-v3-3.3.6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3017: Called die * The specific snippet of code: * S="${WORKDIR}/build" emake all-target-libstdc++-v3 LIBPATH="${LIBPATH}" BOOT_CFLAGS="${CFLAGS}" STAGE1_CFLAGS="-O" || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-libs:libstdc++-v3-3.3.6:20080313-152850.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/temp/environment'. * # emerge --info Portage 2.1.4.4 (default-linux/ppc/ppc64/2007.0/64bit-userland/server/power5, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9 ppc64) ================================================================= System uname: 2.6.23-gentoo-r9 ppc64 POWER5 (gr) Timestamp of tree: Thu, 13 Mar 2008 01:47:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="ppc64" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" ARCH="ppc64" AUTOCLEAN="yes" CBUILD="powerpc64-unknown-linux-gnu" CDEFINE_ppc64="__powerpc64__" CFLAGS="-O2 -pipe -mtune=power5 -mcpu=power5" CFLAGS_ppc64="-m64" CHOST="powerpc64-unknown-linux-gnu" CHOST_ppc64="powerpc64-unknown-linux-gnu" CLEAN_DELAY="5" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CVS_RSH="ssh" CXXFLAGS="-O2 -pipe -mtune=power5 -mcpu=power5" DEFAULT_ABI="ppc64" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" ELIBC="glibc" EMERGE_DEFAULT_OPTS="-atv" EMERGE_WARNING_DELAY="10" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}" GCC_SPECS="" GENTOO_MIRRORS="http://gentoo.inf.elte.hu/ http://gentoo.inode.at/ http://gentoo.osuosl.org/" HISTCONTROL="ignorespace" HOME="/root" HTTP_PROXY="http://localhost:5865" INFOPATH="/usr/share/info:/usr/share/binutils-data/powerpc64-unknown-linux-gnu/2.18/info:/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.1.2/info" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LANG="hu_HU.UTF-8" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LC_ALL="hu_HU.UTF-8" LDFLAGS_ppc64="-m elf64ppc" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LIBDIR_ppc64="lib64" LINGUAS="hu en" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:" MAKEOPTS="-j5" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/powerpc64-unknown-linux-gnu/2.18/man:/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.1.2/man:/usr/lib64/php5/man/" MC_SID="10572" MC_TMPDIR="/tmp/mc-root" MULTILIB_ABIS="ppc64" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|eclipse-3)" OLDPWD="/root" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.1.2" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib64/portage/bin" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="log warn error" PORTAGE_ELOG_MAILFROM="portage@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save_summary echo" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_IUSE="^(3dfx|3dnow|3dnowext|acpi|adabas|alpha|alsa_cards_ad1816a|alsa_cards_ad1848|alsa_cards_adlib|alsa_cards_als100|alsa_cards_armaaci|alsa_cards_at91-soc|alsa_cards_at91-soc-eti-b1-wm8731|alsa_cards_au1x00|alsa_cards_azt2320|alsa_cards_cmi8330|alsa_cards_cs4231|alsa_cards_cs4231-lib|alsa_cards_cs4232|alsa_cards_cs4236|alsa_cards_dt019x|alsa_cards_es1688|alsa_cards_es18xx|alsa_cards_es968|alsa_cards_gusclassic|alsa_cards_gusextreme|alsa_cards_gusmax|alsa_cards_harmony|alsa_cards_interwave|alsa_cards_interwave-stb|alsa_cards_miro|alsa_cards_msnd-pinnacle|alsa_cards_opl3sa2|alsa_cards_opti92x-ad1848|alsa_cards_opti92x-cs4231|alsa_cards_opti93x|alsa_cards_pxa2xx-i2sound|alsa_cards_pxa2xx-soc|alsa_cards_pxa2xx-soc-corgi|alsa_cards_pxa2xx-soc-poodle|alsa_cards_pxa2xx-soc-spitz|alsa_cards_pxa2xx-soc-tosa|alsa_cards_sa11xx-uda1341ts|alsa_cards_sb16|alsa_cards_sb16_csp|alsa_cards_sb8|alsa_cards_sbawe|alsa_cards_sgalaxy|alsa_cards_sscape|alsa_cards_sun-amd7930|alsa_cards_sun-cs4231|alsa_cards_sun-dbri|alsa_cards_wavefront|amd64|aqua|arm|audit|avi|beagle|birdstep|bmp|bmpx|bootstrap|build|cg|chasen|clvm|cman|coreaudio|crosscompile_opts_.*|db2|dbmaker|dell|diet|directfb|dmi|dvb|elibc_.*|elibc_Darwin|elibc_DragonFly|elibc_FreeBSD|elibc_NetBSD|elibc_OpenBSD|elibc_glibc|elibc_uclibc|empress|empress-bcs|emul-linux-x86|esoob|fdftk|filepro|firebird|frontbase|graphlcd|gulm|hddtemp|hppa|ia64|icc|icc-pgo|ifc|infopipe|informix|ingres|input_devices_vmmouse|interbase|ivtv|kernel_.*|kernel_Darwin|kernel_FreeBSD|kernel_linux|kqemu|krb4|lcd_devices_graphlcd|lcd_devices_lph7508|lcd_devices_luise|lcd_devices_m50530|lcd_devices_noritake|lcd_devices_routerboard|lcd_devices_sed1330|lcd_devices_sed1520|lcd_devices_stv5730|lcd_devices_svga|lcd_devices_t6963|lm_sensors|m68k|macbook|mbrola|mips|mmx|mmxext|mono|mpd|mplayer-bin|multilib|mzscheme|n32|n64|netbeans|networkmanager|nvidia|nvram|nvtv|ocamlopt|oci8|oci8-instant-client|oracle7|osp|p2p|pam_console|pbbuttonsd|pcmcia|pda|pfpro|pike|ppc|ppc64|ppcsha1|prelude|psyco|pyste|rar|real|s390|selinux|sh|solid|sparc|sparc-fbsd|sse|sse2|ssse3|svga|sybase|sybase-ct|tcc|uclibc|ultra1|userland_.*|userland_BSD|userland_Darwin|userland_GNU|video_cards_amd|video_cards_apm|video_cards_ark|video_cards_chips|video_cards_cirrus|video_cards_cyrix|video_cards_fglrx|video_cards_glint|video_cards_i128|video_cards_i740|video_cards_i810|video_cards_impact|video_cards_imstt|video_cards_neomagic|video_cards_newport|video_cards_nsc|video_cards_nvidia|video_cards_rendition|video_cards_s3|video_cards_s3virge|video_cards_savage|video_cards_siliconmotion|video_cards_sis|video_cards_sunbw2|video_cards_suncg14|video_cards_suncg3|video_cards_suncg6|video_cards_sunffb|video_cards_sunleo|video_cards_suntcx|video_cards_tdfx|video_cards_tga|video_cards_trident|video_cards_tseng|video_cards_vermilion|video_cards_vesa|video_cards_vga|video_cards_via|video_cards_vmware|video_cards_voodoo|video_cards_xgi|vis|win32codecs|x86|x86-fbsd|xmlrpc|xmms|yellownet|zrtp)$" PORTAGE_NICENESS="15" PORTAGE_PYM_PATH="/usr/lib64/portage/pym" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="3" PORTAGE_TMPDIR="/var/tmp" PORTAGE_USE="elibc_glibc kernel_linux ppc64 userland_GNU" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PORT_LOGDIR="/var/log/portage" PWD="/" PYTHONPATH="/usr/lib64/portage/pym" RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}" ROOT="/" ROOTPATH="/opt/bin:/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.1.2" RPMDIR="/usr/portage/rpm" SHELL="/bin/bash" SHLVL="4" SSH_CLIENT="172.16.3.205 1338 22" SSH_CONNECTION="172.16.3.205 1338 172.16.3.240 22" SSH_TTY="/dev/pts/3" STAGE1_USE="unicode nptl nptlonly" STY="7800.pts-3.huinfoppc64" SYMLINK_LIB="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" TERM="screen" TERMCAP="SC|screen|VT 100/ANSI X3.64 virtual terminal:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ :li#45:co#126:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\ :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\ :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\ :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\ :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\ :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ :vb=\Eg:G0:as=\E(0:ae=\E(B:\ :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\ :po=\E[5i:pf=\E[4i:Z0=\E[?3h:Z1=\E[?3l:k0=\E[10~:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\ :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:\ :F2=\E[24~:F3=\E[2P:F4=\E[2Q:F5=\E[2R:F6=\E[2S:\ :F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:kb=^H:\ :K2=\EOE:kB=\E[Z:kF=\E[1;2B:kR=\E[1;2A:*4=\E[3;2~:\ :*7=\E[1;2F:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:\ :%e=\E[5;2~:%i=\E[1;2C:kh=\E[1~:@1=\E[1~:kH=\E[4~:\ :@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:\ :kd=\EOB:kr=\EOC:kl=\EOD:km:" USE="acl ads apache2 bash-completion berkdb bzip2 cdinstall cli cracklib crypt ctype dedicated dri examples fortran gd gdbm gpm ibm iconv ipv6 isdnlog kerberos ldap mailwrapper midi mudflap mysql ncurses nls nptl nptlonly odbc openmp pam pcre perl php png postgres ppc64 pppd python readline reflection samba session slang snmp spl sqlite sqlite3 ssl swat tcpd threads truetype unicode vhosts winbind xml xorg zip zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu en" USERLAND="GNU" VIDEO_CARDS="dummy fbdev mach64 mga nv r128 radeon vega" USER="root" USERLAND="GNU" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" VIDEO_CARDS="dummy fbdev mach64 mga nv r128 radeon vega" WINDOW="0" _="/usr/bin/emerge"
please use sys-libs/libstdc++-v3-bin ( we should make libstdc++-v3 -ppc64 ... )
Use sys-libs/libstdc++-v3-bin; this will never work on ppc64. *** This bug has been marked as a duplicate of bug 97977 *** *** This bug has been marked as a duplicate of bug 97977 ***
Thanks Jakub! I would have liked to install the "oracle-instantclient-basic" (need phpoci8), though depends onto the "sys-libs/libstdc++-v3-3.3.6". I installed the "sys-libs/libstdc++-v3-bin" though. # emerge oracle-instantclient-basic These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N f ] dev-db/oracle-instantclient-basic-10.2.0.3 0 kB [ebuild N ] sys-libs/libstdc++-v3-3.3.6 USE="nls nptl -build (-multilib)" 0 kB Total: 2 packages (2 new), Size of downloads: 0 kB Fetch Restriction: 1 package Would you like to merge these packages? [Yes/No] Then this to forget truth?