Bug 41042 - flac xmms plugin does not install correctly on amd64
|
Bug#:
41042
|
Product: Gentoo Linux
|
Version: 1.4
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: eradicator@gentoo.org
|
Reported By: bcs26@cornell.edu
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: flac xmms plugin does not install correctly on amd64
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-02-09 16:31 0000
|
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.
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.
Created an attachment (id=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.
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!
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!