Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128466 - media-video/totem-1.4.0 fails with --as-needed
Summary: media-video/totem-1.4.0 fails with --as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2006-04-01 20:58 UTC by Josh Nichols (RETIRED)
Modified: 2006-05-11 16:39 UTC (History)
2 users (show)

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

totem-1.4.0 log (9595-totem-1.4.0.log,102.28 KB, text/plain)
2006-04-01 20:58 UTC, Josh Nichols (RETIRED)
totem-1.2.1-asneeded.patch (totem-1.2.1-asneeded.patch,3.23 KB, patch)
2006-04-02 06:31 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
totem-1.4.0-asneeded.patch (totem-1.4.0-asneeded.patch,3.54 KB, patch)
2006-04-02 10:45 UTC, Josh Nichols (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Nichols (RETIRED) gentoo-dev 2006-04-01 20:58:16 UTC
linking fails with excessive unresolved symbols. They seem to all related to gstreamer and gconf, which suggests that totem isn't actually linking against these, when it should be.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-04-01 20:58:52 UTC
Created attachment 83681 [details]
totem-1.4.0 log
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-02 05:56:28 UTC
It's an ordering problem, I'll see to take a look.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-02 06:31:39 UTC
Created attachment 83710 [details, diff]

Okay, seems like totem systematically use the wrong linking order on every single linking.

The attached patch reorders the linking so that --as-needed should work as intended, at least I hope so.
If there are still linking failures, they are likely caused by gstreamer not being compatible with --as-needed itself, in which case we have to check the libraries themselves, shouldn't be difficult tho.

Give the patch a try and tell me if it behaves :)
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-04-02 10:45:15 UTC
Created attachment 83731 [details, diff]

Updated patch for 1.4.0.
Comment 5 Patrizio Bassi 2006-04-14 00:54:47 UTC
patch is perfect, works on 1.4.0
Comment 6 Sander Sweers 2006-04-23 02:45:26 UTC
Thanks, it behaves :) Tested mp3, ogg, wav, flac and an avi with xvid video and mp3 audio playback. Also the goom visualation plugin works, nice!
Comment 7 Luke Fisher 2006-04-30 06:44:03 UTC
Patch for 1.40 works fine for xine-lib backend too (1.1.2_pre)
Comment 8 John N. Laliberte (RETIRED) gentoo-dev 2006-05-11 16:39:00 UTC
thanks, in cvs and in upstream bug.