Summary: | app-arch/unzip-6.0-r1:failed to build in Gentoo Prefix for linux environment | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | yegle <cnyegle> |
Component: | Current packages | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
yegle
2011-01-13 09:25:04 UTC
I cannot reproduce this with unzip-6.0-r2 (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 I just added that version, so it'll take some time before it shows up for you, sorry forgot to tell that (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. (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. You are not bootstrapping, are you? (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? please post the full output of: echo "main () { }" | gcc -x c -v - (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 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. (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 :-) Well, it should have been set for you automatically. Somehow this went wrong for you, which is in any case unrelated to this bug. |