Bug 231089 - sys-apps/sg3_utils ebuild not installing symlink to libsgutils.so
|
Bug#:
231089
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: anm.mlist01@limuru.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: sys-apps/sg3_utils ebuild not installing symlink to libsgutils.so
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-07-07 18:40 0000
|
On installing sys-apps/sg3_utils-1.26-r1 if you do a ldconfig -p|grep sgutils
you will see that you get the following:-
libsgutils2.so.2 (libc6,x86-64) => /usr/lib/libsgutils2.so.2
libsgutils2.so (libc6,x86-64) => /usr/lib/libsgutils2.so
libsgutils.so.1 (libc6,x86-64) => /usr/lib/libsgutils.so.1
Note the missing "libsgutils.so (libc6,x86-64) => /usr/lib/libsgutils.so" line.
This only becomes a problem when later trying to emerge
media-libs/libipoddevice-0.5.3 which end up producing a configure error:-
configure: error: Error! You need to have libsgutils.
because libsgutils.so was not found.
Reproducible: Always
Steps to Reproduce:
1. emerge =sys-apps/sg3_utils-1.26-r1
2. emerge =media-libs/libipoddevice-0.5.3
3.
Actual Results:
checking for sg_ll_inquiry in -lsgutils... no
configure: error: Error! You need to have libsgutils.
!!! Please attach the following file when seeking support:
!!!
/var/tmp/portage/media-libs/libipoddevice-0.5.3/work/libipoddevice-0.5.3/config.log
*
* ERROR: media-libs/libipoddevice-0.5.3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 173: Called econf
* ebuild.sh, line 526: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if
relevant.
* A complete build log is located at
'/var/log/portage/media-libs:libipoddevice-0.5.3:20080707-183243.log'.
* The ebuild environment file is located at
'/var/tmp/portage/media-libs/libipoddevice-0.5.3/temp/environment'.
*
Expected Results:
successful emerge.
Temporary work around
(cd /usr/lib64; ln -s libsgutils.so.1.0.0 libsgutils.so) && ldconfig &&
ldconfig -p|grep sgutils
emerge --info in followup attachment.
Recommend changing summary to:
media-libs/libipoddevice does not compile against >=sys-apps/sg3_utils-1.26
A clarification: >=sys-apps/sg3_utils-1.26 will not install libsgutils.so* at
all. The libsgutils.so.1 mentioned in the description is a preserved lib from
<sys-apps/sg3_utils-1.26. From the sg3_utils changelog, version 1.26:
- switch primary build to ubuntu environment, rename
library to libsgutils2 to avoid clash
The library name for sg3_utils has changed to libsgutils2, but applications are
still trying to link against libsgutils. I recommend patching libipoddevice to
recognize the new library name.
with regards to this bug, will someone please advise wether there be a case for
creating a metabug about the library.
banshee with use=ipod
ipodsleuth etc are also affected as at this date
the same workaround about symlinks applies here too.
after that they compile fine
Can someone create a patch/ebuild for podsleuth?
It's failing with the same error, preventing me to install banshee with ipod
support..
currently, jusst mask the newer versionb as a workaround
echo '>=sys-apps/sg3_utils-1.26' >> /etc/portage/package.mask
fixed with sg3_utils-1.27