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.
Created attachment 159812 [details] emerge --info
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.
Created attachment 159856 [details, diff] media-libs/libipoddevice patch to recognize libsgutils2
Created attachment 159857 [details] New media-libs/libipoddevice ebuild with patch
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