Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 139657

Summary: libusb compile fails with errors in a new installation
Product: Gentoo Linux Reporter: rainer <rbachl>
Component: New packagesAssignee: Alastair Tse (RETIRED) <liquidx>
Status: RESOLVED FIXED    
Severity: normal CC: cems, kllba, sascha-gentoo-bugzilla
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: list of information : missing docbook ebuild
Find missing ebuild to libusb with use="doc"

Description rainer 2006-07-08 05:44:09 UTC
!!! ERROR: dev-libs/libusb-0.1.10a failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_install
  ebuild.sh, line 1013:   Called src_install
  libusb-0.1.10a.ebuild, line 44:   Called die

!!! (no error message)

The same happens when trying to emerge usbutils. The error happens when following the normal installation procedure from the manual for AMD64 at the step when emerging coldplug.

# emerge --info
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r12 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.gentoo.gr.jp ftp://ftp.romnet.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --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="amd64 X a52 aac acpi aim alsa apache apache2 apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts blas bluetooth bzip2 cdparanoia cdr cli crypt cups curl curlwrappers dga dio directfb dlloader doc dri dts dvb dvd dvdr dvdread eds emacs emacs-w3 emboss emul-linux-x86 encode esd ethereal evo examples exif fastcgi fbcon ffmpeg fftw flac foomaticdb fortran ftp ggi gif ginac glut gnome gphoto2 gpm gstreamer gtk gtk2 gtk2html hal icq idn ieee1394 imagemagick imap imlib ipv6 isdnlog jabber java javascript jikes jpeg jpeg2k kde kdeenablefinal lapack lcms ldap leim libedit libwww lirc lm_sensors lzw lzw-tiff mad madwifi mikmod mime mng mnogosearch mono mp3 mpeg mpi msn mule mysql mysqli nas ncurses nls nptl nsplugin nvidia ogg oggvorbis ole openal opengl osc oscar oss pam pcre pdf pdflib perl php plotutils png pppd python qt qt3 qt4 quicktime radius readline reflection samba scanner sdl session sockets socks5 spell spl ssl symlink szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts usb v4l vcd vhosts vorbis wifi xface xine xml xml2 xmlrpc xmms xorg xosd xpm xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vga video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carlos Eduardo Santos 2006-08-02 07:47:57 UTC
i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/crtbeginS.o  .libs/usbpp.o  -lusb -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../.. /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../crtn.o  -march=pentium-m -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.2
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lusb
collect2: ld returned 1 exit status
distcc[2457] ERROR: compile (null) on localhost failed
make[2]: *** [libusbpp.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libusb-0.1.10a/work/libusb-0.1.10a'
make: *** [all] Error 2

!!! ERROR: dev-libs/libusb-0.1.10a failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  libusb-0.1.10a.ebuild, line 37:   Called die


Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://192.168.0.1/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cli crypt cups dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nsplugin offensive ogg opengl pam pcre pdflib perl png pppd python quicktime readline reflection samba sdl session spell spl sse sse2 tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xprint xv zlib elibc_glibc input_devices_evdev input_devices_i810 input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Vande Vonder Andre 2006-08-30 00:06:42 UTC
Created attachment 95433 [details]
list of information : missing docbook ebuild 

!! I don't have lot of time to continue analyze and test, sorry
I re-install two machine (X86_32 and X86_64), I have exactly same problem.
Stage1 with use="unicode" only, reboot complete use on make.conf. -> emerge -uDN system.

First (for test) emerge coldplug (see list), libusb fails.

Based on list of docbook retreived from emerge -uDN (seel list), I use ebuild merge all of these (one shot). Retry Emerge coldplug -> libusb OK

I not promise, if I have a time to re-install one (under) to find missing ebuild, I do.

Regards
Comment 3 Vande Vonder Andre 2006-08-30 00:09:21 UTC
Comment on attachment 95433 [details]
list of information : missing docbook ebuild 

I base the info on bug 66172, these bug are same
Comment 4 Vande Vonder Andre 2006-09-01 13:57:01 UTC
Created attachment 95677 [details]
Find missing ebuild to libusb with use="doc"

Solution : add dep in ebuild to docbook-sgml-utils (speed solution!!!) not long term probably
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2006-09-02 04:07:09 UTC
thanks for tracking it down. i've added the dependency to the libusb ebuilds
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2006-09-02 04:08:26 UTC
*** Bug 66172 has been marked as a duplicate of this bug. ***