Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41042 - flac xmms plugin does not install correctly on amd64
Summary: flac xmms plugin does not install correctly on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 16:31 UTC by Bryan Silverthorn
Modified: 2004-06-14 14:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
log of flac emerge (flac.log,188.01 KB, text/plain)
2004-04-01 09:54 UTC, Jason Huebel (RETIRED)
Details
Patch 1 of 2 from Fedora (flac-1.1.0-m4.patch,2.37 KB, patch)
2004-06-10 09:37 UTC, Karl-Johan Karlsson
Details | Diff
Patch 2 of 2 from Fedora (flac-1.1.0-libtool.patch,3.74 KB, patch)
2004-06-10 09:37 UTC, Karl-Johan Karlsson
Details | Diff
Ebuild using the Fedora patches (flac-1.1.0-r2.ebuild,1.58 KB, text/plain)
2004-06-10 09:40 UTC, Karl-Johan Karlsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Silverthorn 2004-02-09 16:31:08 UTC
On amd64, emerging flac-1.1.0 with the xmms USE flag does not appear to correctly install the flac xmms plugin (it is not available in the xmms plugin menu, and xmms will not play flac files). libxmms-flac.a and libxmms-flac.la seem to be the only flac-related files present in /usr/lib/xmms/Input/. All other plugins install a shared object (.so) file in addition to the .la file, and no .a archive. Other plugins _are_ present in the xmms menu, so xmms plugin functionality works.

On x86, the flac-1.1.0 ebuild _does_ install a libxmms-flac.so shared object into /usr/lib/xmms/Input/, and the plugin works correctly and appears in the menu.
Comment 1 Dylan Carlson (RETIRED) gentoo-dev 2004-03-09 19:26:42 UTC
It appears that the plugin needs the stuff in src/plugin_common, src/share/grabbag, src/share/gain_analysis, src/share/utf8 ... but that stuff isn't getting installed so naturally the plugin fails when xmms tries to load it.
Comment 2 Jason Huebel (RETIRED) gentoo-dev 2004-04-01 09:54:55 UTC
Created attachment 28514 [details]
log of flac emerge

Looks like plugin_common is being skipped for some reason... Then you get this
when building plugin_xmms:

*** Warning: This library needs some functionality provided by
../../src/plugin_common/l
ibplugin_common.a.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by
../../src/share/grabbag/l
ibgrabbag.a.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by
../../src/share/gain_anal
ysis/libgain_analysis.a.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by
../../src/share/utf8/libu
tf8.a.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
rm -fr .libs/libxmms-flac.la .libs/libxmms-flac.* .libs/libxmms-flac.*

*** Warning: This library needs some functionality provided by -lstdc++.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libxmms-flac.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
Comment 3 Jason Huebel (RETIRED) gentoo-dev 2004-04-01 10:19:04 UTC
Running autogen.sh before compiling now gives this error, but libplugin_common is compiling now:

*** Warning: Linking the shared library libxmms-flac.la against the
*** static library ../../src/plugin_common/libplugin_common.a is not portable!

*** Warning: Linking the shared library libxmms-flac.la against the
*** static library ../../src/share/grabbag/libgrabbag.a is not portable!

*** Warning: Linking the shared library libxmms-flac.la against the
*** static library ../../src/share/gain_analysis/libgain_analysis.a is not portable!

*** Warning: Linking the shared library libxmms-flac.la against the
*** static library ../../src/share/utf8/libutf8.a is not portable!
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2004-05-22 06:22:42 UTC
well, building works perfectly here (CFLAGS="-O2 -fPIC -pipe"), but have a look:

/usr/lib/xmms/Input/libxmms-flac.a
/usr/lib/xmms/Input/libxmms-flac.la

huh? where's the .so and why do we have .a at all? Yes, USE="-static" was used!
Comment 5 Karl-Johan Karlsson 2004-06-10 09:36:34 UTC
Applying the patches from Fedora mentioned at <URL:http://sourceforge.net/tracker/index.php?func=detail&aid=913238&group_id=13478&atid=113478> (and added as attachments here) solves this problem too.
Comment 6 Karl-Johan Karlsson 2004-06-10 09:37:21 UTC
Created attachment 33032 [details, diff]
Patch 1 of 2 from Fedora
Comment 7 Karl-Johan Karlsson 2004-06-10 09:37:56 UTC
Created attachment 33033 [details, diff]
Patch 2 of 2 from Fedora
Comment 8 Karl-Johan Karlsson 2004-06-10 09:40:11 UTC
Created attachment 33035 [details]
Ebuild using the Fedora patches
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-14 14:19:28 UTC
fixed in cvs. thanks.