Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306451 - libusb-0.1.12-r7 unable to read SONAME from libusb.so
Summary: libusb-0.1.12-r7 unable to read SONAME from libusb.so
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-22 22:03 UTC by Yuri Vasilevski (RETIRED)
Modified: 2010-02-22 23:46 UTC (History)
1 user (show)

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 Yuri Vasilevski (RETIRED) gentoo-dev 2010-02-22 22:03:19 UTC
I get en error in the ebuild right after make install on:
[[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}";

Reproducible: Always

Actual Results:  
>>> Emerging (1 of 1) dev-libs/libusb-0.1.12-r7
 * libusb-0.1.12.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                      [ ok ]
 * CPV:  dev-libs/libusb-0.1.12-r7
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU

...

make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r7/work/libusb-0.1.12/doc'
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libusb-0.1.12-r7/work/libusb-0.1.12/doc'
 * ERROR: dev-libs/libusb-0.1.12-r7 failed:
 *   unable to read SONAME from libusb.so
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_install
 *   environment, line 2861:  Called gen_usr_ldscript '-a' 'usb'
 *   environment, line 1955:  Called die
 * The specific snippet of code:
 *                       [[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}";
Comment 1 Yuri Vasilevski (RETIRED) gentoo-dev 2010-02-22 22:05:15 UTC
Adding abcd@g.o as it was his commit :-)
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-22 23:19:29 UTC
Does -r6 work fine? I don't see why the change in -r7 should have introduced this behaviour.
Comment 3 Yuri Vasilevski (RETIRED) gentoo-dev 2010-02-22 23:34:48 UTC
Actually it does not compile anymore, but I have it emerged :-S

# emerge --info
Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11-r1, 2.6.32-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r5-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 22 Feb 2010 21:35:01 +0000
app-shells/bash:     4.1_p2
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -Os -fomit-frame-pointer -pipe -static"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -Os -fomit-frame-pointer -pipe -static"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="X acl acpi alsa amd64 avahi bash-completion berkdb bzip2 cairo cleartype cli consolekit cracklib crypt cups cxx dbus djvu dri fam fortran fuse gdbm glitz gnome gnome-keyring gnutls gpm gstreamer gtk hal iconv ipv6 jpeg libnotify lzma mmx modules mudflap multilib nautilus ncurses nls nptl nptlonly opengl openmp pam pcre perl png policykit pppd pulseaudio python readline reflection secure-delete session snmp spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode webdav webkit xattr xcb 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 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Yuri Vasilevski (RETIRED) gentoo-dev 2010-02-22 23:46:10 UTC
Sorry for the trouble, but I'm stupid

I forgot to remove -static from CFLAGS after playing with zabbix.