Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351522 - app-arch/unzip-6.0-r1:failed to build in Gentoo Prefix for linux environment
Summary: app-arch/unzip-6.0-r1:failed to build in Gentoo Prefix for linux environment
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 09:25 UTC by yegle
Modified: 2011-02-01 10:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yegle 2011-01-13 09:25:04 UTC
unzip failed to build in Gentoo Prefix for Linux environment

>>> Compiling source in /home/yegle/gentoo/var/tmp/portage/app-arch/unzip-6.0-r1/work/unzip60 ...
make -f unix/Makefile linux_noasm 
make unzips CC="x86_64-pc-linux-gnu-gcc" LD="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native  -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DLARGE_FILE_SUPPORT -Wall"
make[1]: Entering directory `/home/yegle/gentoo/var/tmp/portage/app-arch/unzip-6.0-r1/work/unzip60'
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native  -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DLARGE_FILE_SUPPORT -Wall -I. -Ibzip2 -DUNIX    -DNO_LCHMOD -DUSE_BZIP2 -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DLARGE_FILE_SUPPORT unzip.c
In file included from unzpriv.h:2227,
                 from unzip.h:718,
                 from unzip.c:68:
globals.h:146:21: error: bzlib.h: No such file or directory
unzip.c: In function ‘show_version_info’:
unzip.c:2555: warning: implicit declaration of function ‘BZ2_bzlibVersion’
unzip.c:2555: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
make[1]: *** [unzip.o] Error 1
make[1]: Leaving directory `/home/yegle/gentoo/var/tmp/portage/app-arch/unzip-6.0-r1/work/unzip60'
make: *** [linux_noasm] Error 2
emake failed
 * ERROR: app-arch/unzip-6.0-r1 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  62:  Called src_compile
 *   environment, line 2738:  Called die
 * The specific snippet of code:
 *       emake -f unix/Makefile ${TARGET} || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =app-arch/unzip-6.0-r1',
 * the complete build log and the output of 'emerge -pqv =app-arch/unzip-6.0-r1'.
 * The complete build log is located at '/home/yegle/gentoo/var/tmp/portage/app-arch/unzip-6.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/home/yegle/gentoo/var/tmp/portage/app-arch/unzip-6.0-r1/temp/environment'.
 * S: '/home/yegle/gentoo/var/tmp/portage/app-arch/unzip-6.0-r1/work/unzip60'

bzlib.h locates at /home/yegle/gentoo/usr/include/bzlib.h



Reproducible: Always

Steps to Reproduce:




=================================================================
System uname: Linux-2.6.32-25-server-x86_64-Intel-R-_Xeon-R-_CPU_X3430_@_2.40GHz-with-debian-squeeze-sid
Timestamp of tree: Mon, 10 Jan 2011 00:42:33 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.7.1-r00.1
sys-devel/autoconf:  2.68
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.51.0.11
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.4
sys-devel/make:      3.82
Repositories:

gentoo_prefix
    location: /home/yegle/gentoo/usr/portage
    sync: rsync://rsync.prefix.freens.org/gentoo-portage-prefix
    priority: -1000

ABI="amd64"
ACCEPT_KEYWORDS="~amd64 ~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-O2 -pipe -march=native"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/portage /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-O2 -pipe -march=native"
DEFAULT_ABI="default"
DEFAULT_PATH="/home/yegle/gentoo/usr/sbin:/home/yegle/gentoo/usr/bin:/home/yegle/gentoo/sbin:/home/yegle/gentoo/bin"
DISTDIR="/home/yegle/gentoo/usr/portage/distfiles"
EDITOR="/home/yegle/gentoo/usr/bin/vi"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-av --keep-going"
EMERGE_WARNING_DELAY="10"
EPREFIX="/home/yegle/gentoo"
EROOT="/home/yegle/gentoo/"
EXTRA_PATH="/usr/bin:/bin"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/home/yegle/gentoo/usr/bin/wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
HG="/home/yegle/gentoo/usr/bin/hg"
HISTCONTROL="ignoreboth"
HOME="/home/yegle"
INFOPATH="/home/yegle/gentoo/usr/share/info:/home/yegle/gentoo/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.51.0.11/info"
INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux"
LANG="en_US.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,-O1"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LOGNAME="yegle"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00: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:ca=30;41: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:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=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:*.svg=01;35:*.svgz=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:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=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:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/yegle"
MANPATH="/home/yegle/gentoo/usr/share/man:/home/yegle/gentoo/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.51.0.11/man:/usr/share/man"
MULTILIB_ABIS="amd64"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OLDPWD="/var/mail/yegle"
PAGER="/home/yegle/gentoo/usr/bin/less"
PATH="/home/yegle/gentoo/usr/bin:/home/yegle/gentoo/bin:/home/yegle/gentoo/opt/bin:/home/yegle/gentoo/usr/sbin:/home/yegle/gentoo/sbin:/usr/bin:/bin"
PHP_TARGETS="php5-3"
PKGDIR="/home/yegle/gentoo/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/home/yegle/gentoo/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/home/yegle/gentoo/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/home/yegle/gentoo/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="yegle@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="yegle"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="100"
PORTAGE_GROUP="users"
PORTAGE_INST_GID="100"
PORTAGE_INST_UID="1137"
PORTAGE_PYM_PATH="/home/yegle/gentoo/usr/lib/portage/pym"
PORTAGE_ROOT_USER="yegle"
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="-1"
PORTAGE_SANDBOX_COMPAT_LEVEL="22"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/home/yegle/gentoo/var/tmp"
PORTAGE_USER="yegle"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/home/yegle/gentoo/usr/portage"
PORTDIR_OVERLAY=""
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/yegle"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="/home/yegle/gentoo/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/home/yegle/gentoo/opt/bin"
RPMDIR="/home/yegle/gentoo/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SHELL="/home/yegle/gentoo/bin/bash"
SHLVL="2"
SSH_CLIENT="121.0.29.231 39391 22"
SSH_CONNECTION="121.0.29.231 39391 184.105.128.93 22"
SSH_TTY="/dev/pts/0"
STAGE1_USE="nptl nptlonly unicode"
SYMLINK_LIB=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
TERM="xterm"
USE="amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap ncurses nptl nptlonly openmp pcre perl pppd prefix python readline session sse sse2 ssl sysfs tcpd unicode vim-syntax xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
USER="yegle"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l"
XDG_SESSION_COOKIE="af60521a972c3861f414086d4cb784f7-1294908549.799609-1005511762"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
XZ_OPT="--memory=max"
_="/home/yegle/gentoo/usr/bin/emerge"
Comment 1 Fabian Groffen gentoo-dev 2011-01-16 15:24:43 UTC
I cannot reproduce this with unzip-6.0-r2
Comment 2 yegle 2011-01-16 15:31:48 UTC
(In reply to comment #1)
> I cannot reproduce this with unzip-6.0-r2
> 

Am I missing something? I can only find unzip-6.0-r1 from Gentoo Prefix's portage tree.

After eix-sync:

$ eix unzip
[I] app-arch/unzip
     Available versions:  (~*)5.52-r2 (~*)6.0-r1 {bzip2 unicode}
     Installed versions:  6.0-r1(01:28:29 AM 01/13/2011)(unicode -bzip2)
     Homepage:            http://www.info-zip.org/
     Description:         unzipper for pkzip-compressed files

Comment 3 Fabian Groffen gentoo-dev 2011-01-16 15:34:10 UTC
I just added that version, so it'll take some time before it shows up for you, sorry forgot to tell that
Comment 4 yegle 2011-01-18 06:29:58 UTC
(In reply to comment #3)
> I just added that version, so it'll take some time before it shows up for you,
> sorry forgot to tell that
> 

Same error with unzip-6.0-r2. I can only compile unzip with -bzip2 use flag.
Comment 5 yegle 2011-01-31 15:12:33 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I just added that version, so it'll take some time before it shows up for you,
> > sorry forgot to tell that
> > 
> 
> Same error with unzip-6.0-r2. I can only compile unzip with -bzip2 use flag.
> 

I've found a workaround:
Add CFLAGS="-I${EPREFIX}/usr/include" into make.conf

@ Fabian Groffen
If you can compile unzip successfully, then you have bzip2.h in /usr/include/. I think this is the reason.
Comment 6 Fabian Groffen gentoo-dev 2011-01-31 16:20:00 UTC
You are not bootstrapping, are you?
Comment 7 yegle 2011-01-31 16:29:22 UTC
(In reply to comment #6)
> You are not bootstrapping, are you?
> 

I installed Gentoo Prefix in Ubuntu 10.04, is this the reason why you can compile without problem but I can't?
Comment 8 Fabian Groffen gentoo-dev 2011-01-31 16:31:06 UTC
please post the full output of:

 echo "main () { }" | gcc -x c -v -
Comment 9 yegle 2011-02-01 08:09:14 UTC
(In reply to comment #8)
> please post the full output of:
> 
>  echo "main () { }" | gcc -x c -v -
> 

EPREFIX=/home/yegle/gentoo

yegle@november ~ $  echo "main () { }" | gcc -x c -v -
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
COLLECT_GCC_OPTIONS='-v' '-mtune=generic'
 /usr/lib/gcc/x86_64-linux-gnu/4.4.3/cc1 -quiet -v - -D_FORTIFY_SOURCE=2 -quiet -dumpbase - -mtune=generic -auxbase - -version -fstack-protector -o /tmp/cccmVixT.s
GNU C (Ubuntu 4.4.3-4ubuntu5) version 4.4.3 (x86_64-linux-gnu)
	compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version 2.4.2-p1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../x86_64-linux-gnu/include"
ignoring nonexistent directory "/usr/include/x86_64-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
 /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include-fixed
 /usr/include
End of search list.
GNU C (Ubuntu 4.4.3-4ubuntu5) version 4.4.3 (x86_64-linux-gnu)
	compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version 2.4.2-p1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 2129e1a56226bd6e8f7af5e0a3ff467d
COLLECT_GCC_OPTIONS='-v' '-mtune=generic'
 as -V -Qy -o /tmp/ccgWz1d3.o /tmp/cccmVixT.s
GNU assembler version 2.20.51.0.11 (x86_64-pc-linux-gnu) using BFD version (Linux/GNU Binutils) 2.20.51.0.11.20100810
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.4.3/:/usr/lib/gcc/x86_64-linux-gnu/4.4.3/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.4.3/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.4.3/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.4.3/:/usr/lib/gcc/x86_64-linux-gnu/4.4.3/:/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-mtune=generic'
 /usr/lib/gcc/x86_64-linux-gnu/4.4.3/collect2 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=both -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.4.3/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../.. /tmp/ccgWz1d3.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.4.3/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crtn.o
yegle@november ~ $ which gcc
/usr/bin/gcc
Comment 10 Fabian Groffen gentoo-dev 2011-02-01 08:11:50 UTC
you're obviously not using your prefix compiler :)

What does gcc-config -l show?  Try re-setting your compiler (gcc-config 1) and reemerging unzip.
Comment 11 yegle 2011-02-01 08:29:43 UTC
(In reply to comment #10)
> you're obviously not using your prefix compiler :)
> 
> What does gcc-config -l show?  Try re-setting your compiler (gcc-config 1) and
> reemerging unzip.
> 

Thank you! This solved my problem.

This should be added to the Gentoo Prefix guide :-)
Comment 12 Fabian Groffen gentoo-dev 2011-02-01 10:09:25 UTC
Well, it should have been set for you automatically.  Somehow this went wrong for you, which is in any case unrelated to this bug.