| |
04-08-2009
|
#1 (permalink)
| | Just Joined!
Join Date: Apr 2009
Posts: 5
| Failure To Emerge libusb I'm attempting to install Gnome, through Portage, and it crashes on trying to emerge libusb. I've tried compiling libusb by source, and by emerging it specifically, and I've searched online for anything related to my problem, but I can't find anything. To make matters worse, I'm new to Gentoo, and Linux in general, so I'm lost.
Here's the error message
[33;01m*[0m QA Notice: Missing gen_usr_ldscript for libusb.so
[33;01m*[0m QA Notice: Missing gen_usr_ldscript for libusbpp.so
[31;01m*[0m
[31;01m*[0m ERROR: dev-libs/libusb-0.1.12-r1 failed.
[31;01m*[0m Call stack:
[31;01m*[0m misc-functions.sh, line 717: Called install_qa_check
[31;01m*[0m misc-functions.sh, line 329: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m [[ ${abort} == "yes" ]] && die "add those ldscripts"
[31;01m*[0m The die message:
[31;01m*[0m add those ldscripts
I think that's the relevant portion. If more is needed, I am happy to oblige. Can anyone help me?
Thanks. |
|
|
04-08-2009
|
#2 (permalink)
| | Linux Engineer
Join Date: Nov 2007 Location: Córdoba (Spain)
Posts: 1,495
| We need to see more of the error. That last part is useless portage speech. The real compilation error is above that. |
| |
04-08-2009
|
#3 (permalink)
| | Just Joined!
Join Date: Apr 2009
Posts: 5
| I don't know specifically which portion you need, so here is the whole log. Yes, I know, its long. Sorry about that. Code: >>> Unpacking source...
>>> Unpacking libusb-0.1.12.tar.gz to /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work
[32;01m*[0m Applying 0.1.12-fbsd.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running eautoreconf in '/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12' ...
[32;01m*[0m Running aclocal ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running libtoolize --copy --force --automake ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running aclocal ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running autoconf ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running autoheader ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running automake --add-missing --copy --foreign ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running elibtoolize in: libusb-0.1.12
[32;01m*[0m Applying install-sh-1.5.6.patch ...
[32;01m*[0m Applying sed-1.5.6.patch ...
>>> Source unpacked in /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work
>>> Compiling source in /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12 ...
* econf: updating libusb-0.1.12/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating libusb-0.1.12/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-debug --disable-build-docs --libdir /usr/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/i486-pc-linux-gnu/bin/ld
checking if the linker (/usr/i486-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i486-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... no
checking for i686-pc-linux-gnu-c++... no
checking for i686-pc-linux-gnu-gpp... no
checking for i686-pc-linux-gnu-aCC... no
checking for i686-pc-linux-gnu-CC... no
checking for i686-pc-linux-gnu-cxx... no
checking for i686-pc-linux-gnu-cc++... no
checking for i686-pc-linux-gnu-cl.exe... no
checking for i686-pc-linux-gnu-FCC... no
checking for i686-pc-linux-gnu-KCC... no
checking for i686-pc-linux-gnu-RCC... no
checking for i686-pc-linux-gnu-xlC_r... no
checking for i686-pc-linux-gnu-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for i686-pc-linux-gnu-g77... no
checking for i686-pc-linux-gnu-xlf... no
checking for i686-pc-linux-gnu-f77... no
checking for i686-pc-linux-gnu-frt... no
checking for i686-pc-linux-gnu-pgf77... no
checking for i686-pc-linux-gnu-cf77... no
checking for i686-pc-linux-gnu-fort77... no
checking for i686-pc-linux-gnu-fl32... no
checking for i686-pc-linux-gnu-af77... no
checking for i686-pc-linux-gnu-xlf90... no
checking for i686-pc-linux-gnu-f90... no
checking for i686-pc-linux-gnu-pgf90... no
checking for i686-pc-linux-gnu-pghpf... no
checking for i686-pc-linux-gnu-epcf90... no
checking for i686-pc-linux-gnu-gfortran... no
checking for i686-pc-linux-gnu-g95... no
checking for i686-pc-linux-gnu-xlf95... no
checking for i686-pc-linux-gnu-f95... no
checking for i686-pc-linux-gnu-fort... no
checking for i686-pc-linux-gnu-ifort... no
checking for i686-pc-linux-gnu-ifc... no
checking for i686-pc-linux-gnu-efc... no
checking for i686-pc-linux-gnu-pgf95... no
checking for i686-pc-linux-gnu-lf95... no
checking for i686-pc-linux-gnu-ftn... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i486-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i486-pc-linux-gnu/bin/ld
checking if the linker (/usr/i486-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i486-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i486-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/i486-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for what USB OS support... Linux
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for i686-pc-linux-gnu-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for memmove... yes
checking for pkg-config... /usr/bin/pkg-config
checking if we should build the documentation... no
checking for Doxygen tools... checking for dot... not found
checking for doxygen... not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating libusb.spec
config.status: creating libusb-config
config.status: creating libusb.pc
config.status: creating tests/Makefile
config.status: creating README
config.status: creating INSTALL.libusb
config.status: creating usb.h
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
make -j3
make all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12'
Making all in .
make[2]: Entering directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12'
depbase=`echo usb.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT usb.lo -MD -MP -MF $depbase.Tpo -c -o usb.lo usb.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo error.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT error.lo -MD -MP -MF $depbase.Tpo -c -o error.lo error.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo descriptors.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT descriptors.lo -MD -MP -MF $depbase.Tpo -c -o descriptors.lo descriptors.c &&\
mv -f $depbase.Tpo $depbase.Plo
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -fPIC -DPIC -o .libs/usb.o
gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o
gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -fPIC -DPIC -o .libs/descriptors.o
gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
depbase=`echo linux.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT linux.lo -MD -MP -MF $depbase.Tpo -c -o linux.lo linux.c &&\
mv -f $depbase.Tpo $depbase.Plo
gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1
gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -fPIC -DPIC -o .libs/linux.o
gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1
depbase=`echo usbpp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -MT usbpp.lo -MD -MP -MF $depbase.Tpo -c -o usbpp.lo usbpp.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
g++ -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs/usbpp.o
/bin/sh ./libtool --tag=CC --mode=link gcc -O2 -march=i686 -pipe -Wall -version-info 8:4:4 -release 0.1 -export-dynamic -Wl,-O1 -o libusb.la -rpath /usr/lib usb.lo error.lo descriptors.lo linux.lo
gcc -shared .libs/usb.o .libs/error.o .libs/descriptors.o .libs/linux.o -march=i686 -Wl,-O1 -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.4
(cd .libs && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4)
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so)
ar cru .libs/libusb.a usb.o error.o descriptors.o linux.o
ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
g++ -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CXX --mode=link g++ -O2 -march=i686 -pipe -version-info 8:4:4 -release 0.1 -export-dynamic -lusb -Wl,-O1 -o libusbpp.la -rpath /usr/lib usbpp.lo
g++ -shared -nostdlib /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../crti.o /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/crtbeginS.o .libs/usbpp.o -Wl,--rpath -Wl,/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/.libs /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/.libs/libusb.so -L/usr/lib/gcc/i486-pc-linux-gnu/4.1.2 -L/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/lib -L/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../crtn.o -march=i686 -Wl,-O1 -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
(cd .libs && rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4)
(cd .libs && rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so)
ar cru .libs/libusbpp.a usbpp.o
ranlib .libs/libusbpp.a
creating libusbpp.la
(cd .libs && rm -f libusbpp.la && ln -s ../libusbpp.la libusbpp.la)
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12'
Making all in tests
make[2]: Entering directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/tests'
depbase=`echo testlibusb.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I.. -I.. -O2 -march=i686 -pipe -Wall -MT testlibusb.o -MD -MP -MF $depbase.Tpo -c -o testlibusb.o testlibusb.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo descriptor_test.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -march=i686 -pipe -MT descriptor_test.o -MD -MP -MF $depbase.Tpo -c -o descriptor_test.o descriptor_test.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo id_test.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -march=i686 -pipe -MT id_test.o -MD -MP -MF $depbase.Tpo -c -o id_test.o id_test.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo find_hubs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -march=i686 -pipe -MT find_hubs.o -MD -MP -MF $depbase.Tpo -c -o find_hubs.o find_hubs.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo find_mice.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -march=i686 -pipe -MT find_mice.o -MD -MP -MF $depbase.Tpo -c -o find_mice.o find_mice.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo get_resolution.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -march=i686 -pipe -MT get_resolution.o -MD -MP -MF $depbase.Tpo -c -o get_resolution.o get_resolution.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo hub_strings.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -march=i686 -pipe -MT hub_strings.o -MD -MP -MF $depbase.Tpo -c -o hub_strings.o hub_strings.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo driver_name.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -march=i686 -pipe -MT driver_name.o -MD -MP -MF $depbase.Tpo -c -o driver_name.o driver_name.cpp &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -march=i686 -pipe -Wall -Wl,-O1 -o testlibusb testlibusb.o ../libusb.la
/bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -march=i686 -pipe -Wl,-O1 -o descriptor_test descriptor_test.o ../libusbpp.la
mkdir .libs
gcc -O2 -march=i686 -pipe -Wall -Wl,-O1 -o .libs/testlibusb testlibusb.o ../.libs/libusb.so
/bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -march=i686 -pipe -Wl,-O1 -o id_test id_test.o ../libusbpp.la
creating testlibusb
/bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -march=i686 -pipe -Wl,-O1 -o find_hubs find_hubs.o ../libusbpp.la
g++ -O2 -march=i686 -pipe -Wl,-O1 -o .libs/descriptor_test descriptor_test.o ../.libs/libusbpp.so /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/.libs/libusb.so
creating descriptor_test
/bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -march=i686 -pipe -Wl,-O1 -o find_mice find_mice.o ../libusbpp.la
g++ -O2 -march=i686 -pipe -Wl,-O1 -o .libs/id_test id_test.o ../.libs/libusbpp.so /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/.libs/libusb.so
creating id_test
/bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -march=i686 -pipe -Wl,-O1 -o get_resolution get_resolution.o ../libusbpp.la
g++ -O2 -march=i686 -pipe -Wl,-O1 -o .libs/find_hubs find_hubs.o ../.libs/libusbpp.so /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/.libs/libusb.so
creating find_hubs
/bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -march=i686 -pipe -Wl,-O1 -o hub_strings hub_strings.o ../libusbpp.la
g++ -O2 -march=i686 -pipe -Wl,-O1 -o .libs/find_mice find_mice.o ../.libs/libusbpp.so /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/.libs/libusb.so
creating find_mice
g++ -O2 -march=i686 -pipe -Wl,-O1 -o .libs/get_resolution get_resolution.o ../.libs/libusbpp.so /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/.libs/libusb.so
/bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -march=i686 -pipe -Wl,-O1 -o driver_name driver_name.o ../libusbpp.la
g++ -O2 -march=i686 -pipe -Wl,-O1 -o .libs/hub_strings hub_strings.o ../.libs/libusbpp.so /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/.libs/libusb.so
creating get_resolution
creating hub_strings
g++ -O2 -march=i686 -pipe -Wl,-O1 -o .libs/driver_name driver_name.o ../.libs/libusbpp.so /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/.libs/libusb.so
creating driver_name
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/tests'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/doc'
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12'
>>> Source compiled.
>>> Test phase [not enabled]: dev-libs/libusb-0.1.12-r1
>>> Install libusb-0.1.12-r1 into /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image/ category dev-libs
make -j3 -j1 DESTDIR=/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image/ install
Making install in .
make[1]: Entering directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12'
make[2]: Entering directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12'
test -z "/usr/bin" || /bin/mkdir -p "/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/bin"
/usr/bin/install -c 'libusb-config' '/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/bin/libusb-config'
test -z "/usr/lib" || /bin/mkdir -p "/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib"
/bin/sh ./libtool --mode=install /usr/bin/install -c 'libusb.la' '/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusb.la'
/usr/bin/install -c .libs/libusb-0.1.so.4.4.4 /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusb-0.1.so.4.4.4
(cd /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib && { ln -s -f libusb-0.1.so.4.4.4 libusb-0.1.so.4 || { rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.4 libusb-0.1.so.4; }; })
(cd /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib && { ln -s -f libusb-0.1.so.4.4.4 libusb.so || { rm -f libusb.so && ln -s libusb-0.1.so.4.4.4 libusb.so; }; })
/usr/bin/install -c .libs/libusb.lai /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusb.la
/usr/bin/install -c .libs/libusb.a /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusb.a
chmod 644 /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusb.a
ranlib /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusb.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c 'libusbpp.la' '/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusbpp.la'
libtool: install: warning: relinking `libusbpp.la'
(cd /var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12; /bin/sh ./libtool --tag=CXX --mode=relink g++ -O2 -march=i686 -pipe -version-info 8:4:4 -release 0.1 -export-dynamic -lusb -Wl,-O1 -o libusbpp.la -rpath /usr/lib usbpp.lo -inst-prefix-dir /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image/)
g++ -shared -nostdlib /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../crti.o /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/crtbeginS.o .libs/usbpp.o -L/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib -L/usr/lib -lusb -L/usr/lib/gcc/i486-pc-linux-gnu/4.1.2 -L/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/lib -L/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../crtn.o -march=i686 -Wl,-O1 -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.4
/usr/bin/install -c .libs/libusbpp-0.1.so.4.4.4T /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusbpp-0.1.so.4.4.4
(cd /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib && { ln -s -f libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4 || { rm -f libusbpp-0.1.so.4 && ln -s libusbpp-0.1.so.4.4.4 libusbpp-0.1.so.4; }; })
(cd /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib && { ln -s -f libusbpp-0.1.so.4.4.4 libusbpp.so || { rm -f libusbpp.so && ln -s libusbpp-0.1.so.4.4.4 libusbpp.so; }; })
/usr/bin/install -c .libs/libusbpp.lai /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusbpp.la
/usr/bin/install -c .libs/libusbpp.a /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusbpp.a
chmod 644 /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusbpp.a
ranlib /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/libusbpp.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
test -z "/usr/include" || /bin/mkdir -p "/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/include"
/usr/bin/install -c -m 644 'usbpp.h' '/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/include/usbpp.h'
test -z "/usr/include" || /bin/mkdir -p "/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/include"
/usr/bin/install -c -m 644 'usb.h' '/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/include/usb.h'
test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/pkgconfig"
/usr/bin/install -c -m 644 'libusb.pc' '/var/tmp/portage/dev-libs/libusb-0.1.12-r1/image//usr/lib/pkgconfig/libusb.pc'
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12'
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12'
Making install in tests
make[1]: Entering directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/tests'
make[2]: Entering directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/tests'
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/tests'
Making install in doc
make[1]: Entering directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/doc'
make[2]: Entering directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/doc'
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r1/work/libusb-0.1.12/doc'
>>> Completed installing libusb-0.1.12-r1 into /var/tmp/portage/dev-libs/libusb-0.1.12-r1/image/
strip: strip --strip-unneeded -R .comment
lib/libusb-0.1.so.4.4.4
lib/libusbpp-0.1.so.4.4.4
usr/lib/libusb.a
usr/lib/libusbpp.a
removing executable bit: usr/lib/libusb.la
removing executable bit: usr/lib/libusbpp.la
[33;01m*[0m QA Notice: Missing gen_usr_ldscript for libusb.so
[33;01m*[0m QA Notice: Missing gen_usr_ldscript for libusbpp.so
[31;01m*[0m
[31;01m*[0m ERROR: dev-libs/libusb-0.1.12-r1 failed.
[31;01m*[0m Call stack:
[31;01m*[0m misc-functions.sh, line 717: Called install_qa_check
[31;01m*[0m misc-functions.sh, line 329: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m [[ ${abort} == "yes" ]] && die "add those ldscripts"
[31;01m*[0m The die message:
[31;01m*[0m add those ldscripts
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/log/portage/dev-libs:libusb-0.1.12-r1:20090407-045940.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/libusb-0.1.12-r1/temp/environment'.
[31;01m*[0m
|
| |
04-08-2009
|
#4 (permalink)
| | Linux Engineer
Join Date: Nov 2007 Location: Córdoba (Spain)
Posts: 1,495
| Strange, it seems to build ok but then dies for some reason.
Please, post the output of "emerge --info" as well. |
| |
04-09-2009
|
#5 (permalink)
| | Just Joined!
Join Date: Apr 2009
Posts: 5
| Here is the output of emerge --info.
Thanks for taking an interest in my issue, too. Code: Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.0
Timestamp of tree: Sat, 04 Apr 2009 20:00:05 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python: 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r1
sys-devel/automake: 1.7.9-r1, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://gentoo.mirrors.tera-byte.com/ http://gentoo.mirrors.tera-byte.com/"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit X aac aalib acl aiglx alsa apache2 apm applet aqua_theme artworkextra audiofile avahi avi berkdb bigger-fonts bitmap-fonts bluetooth bzip2 cairo ccache cddb cdparanoia cdr cdrom cli cracklib crypt css ctype curl dba dbus dhcp dri dvb dvd dvdr dvdread edb eds emboss emerald encode esd ethereal exif expat fame fastbuild fbcon firefox flac force-cgi-redirect fortran ftp gd gdbm gif glitz glut glx gmp gnome gpm gstreamer gtk gtk2 gtkhtml gzip hal hddtemp iconv idn ieee1394 imlib injection ipv6 isdnlog jabber java jpeg jpeg2k lcms ldap libg++ libwww lm_sensors logitech-mouse loop-aes mad madwifi mdnsresponder-compat memlimit menubar midi mikmod mjpeg mmx mmxext mng mp3 mp4live mpeg mpeg2 mplayer mudflap musepack mysql mythtv nautilus ncurses nls nptl nptlonly nsplugin nvidia nvram ogg oggvorbis opengl openmp pango pcre pdf pdflib perl png posix pppd python qt3support quicktime readline reflection reiserfs rhythmbox sdl session simplexml slang smp sndfile soap sockets sox speedo spell spl sse sse-filters sse2 ssl svg svga symlink sysfs syslog tcltk tcpd theora tiff timidity tokenizer transcode truetype truetype-fonts type1 type1-fonts udev unicode usb utf8 v4l v4l2 vcd vcdimager videos vidix vorbis win32codecs wma wma123 wxwindows x86 xcd xcomposite xine xinerama xkb xml xml2 xorg xpm xscreensaver xsl xv zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
| |
04-09-2009
|
#6 (permalink)
| | Linux Engineer
Join Date: Nov 2007 Location: Córdoba (Spain)
Posts: 1,495
| Your emerge info is ok and you are using a sane profile. Well, gen_usr_ldscript, which seems to be the problem here, is a function contained into an eclass. Eclasses are libraries of functions that portage uses internally, you don't usually have to worry a lot about them, except when something bad happens.
I've looked into bugs.gentoo.org and I can't see anyone having your problem, which is strange since libusb is a very usual package that a lot of people install for one or another purpose. So I must presume that it's something specific to your installation.
I think that the problem could be caused by an overlay. If you installed an overlay which has an eclass which overrides the one that contains this function, then the problem could lie there. I am not sure, but it's the only thing I can think of right now.
Did you install any overlay either manually or using layman? I see that you have a portage overlay defined, try this command and let us know if it reports anything: Code: grep -r gen_usr_ldscript /usr/local/portage/*
In any case, try to put a '#' in front of the line that starts with 'PORTDIR_OVERLAY" in your /etc/make.conf, and run the emerge command again to see if it changes anything at all. |
| |
04-09-2009
|
#7 (permalink)
| | Just Joined!
Join Date: Apr 2009
Posts: 5
| Hey, that worked! It finished the installation without crashing.
When I installed Gentoo, a guide suggested I use those options for my make.conf, specific to my hardware. I didn't know exactly what they all meant, but I figured that I might as well. I had no idea that could be a problem. I'm going to look into what all the other options mean now, as to prevent this from happening in the future.
Thanks for all your help! |
| |
04-09-2009
|
#8 (permalink)
| | Linux Engineer
Join Date: Nov 2007 Location: Córdoba (Spain)
Posts: 1,495
| Quote:
Originally Posted by EndlessEmergency Hey, that worked! It finished the installation without crashing.
When I installed Gentoo, a guide suggested I use those options for my make.conf, specific to my hardware. I didn't know exactly what they all meant, but I figured that I might as well. I had no idea that could be a problem. I'm going to look into what all the other options mean now, as to prevent this from happening in the future.
Thanks for all your help! | The PORTDIR_OVERLAY variable holds the name of a directory where you can store "overlays", which are nothing but complements for portage. Those complements are collections of ebuilds that let you install additional software in Gentoo. You can put packages there by hand, or you can use "layman", which is a famous tool to manage these overlays. Maybe you installed the desktop-effects overlay to get the latest compiz, or some kde overlay to get the latest kde packages, I don't know. To be sure what happened I would need to know more details about your overlays. The problem is that one of this overlays had an eclass that was overriding an official eclass from the original portage tree. That can cause sometimes (rarely) side effects like the one you experienced.
In any case, I am glad that we found the problem.  |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |