Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499516 - media-libs/gstreamer on armv7a-hardfloat-linux-gnueabi - /usr/lib/libgobject-2.0.so: file not recognized: File format not recognized
Summary: media-libs/gstreamer on armv7a-hardfloat-linux-gnueabi - /usr/lib/libgobject-...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-01-27 23:38 UTC by James Le Cuirot
Modified: 2015-12-01 22:25 UTC (History)
0 users

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


Attachments
gstreamer-cross-compile.patch (gstreamer-cross-compile.patch,1.08 KB, patch)
2014-01-27 23:38 UTC, James Le Cuirot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Le Cuirot gentoo-dev 2014-01-27 23:38:09 UTC
Created attachment 368930 [details, diff]
gstreamer-cross-compile.patch

Same deal as bug #499270. Fails to build when cross-compiling because libtool tries to relink and adds -L/usr/lib to the flags. Using elibtoolize fixes it. The attached patch fixes the oldest (0.10.36, needed by Bluez 4) and the newest (1.2.0). I tried one other version (1.0.10) and that was affected too so it looks like all the versions in the tree are affected.
Comment 1 James Le Cuirot gentoo-dev 2014-01-27 23:44:24 UTC
Damn, looks like this also applies to gst-plugins-base and probably the rest too. New bug report needed?
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-01-28 15:16:30 UTC
I came across this kind of "fix" in other ebuilds and I never figured out why upstream always release bugged libtool ?

Is is something we patch on Gentoo ?
Comment 3 James Le Cuirot gentoo-dev 2014-01-28 15:20:26 UTC
Yes, look at /usr/portage/eclass/ELT-patches/cross/link-ROOT. My own cross-building scripts have allowed me to build more than most people seem to manage so I'm encountering this problem on more and more packages. I am reluctant to file a whole string of bug reports so I was going to ask about it in #gentoo-embedded.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-12-27 15:14:06 UTC
So did you get an answer on #-embedded ? It this is required on so many packages, maybe we should just have package managers apply this all the time ?
Comment 5 James Le Cuirot gentoo-dev 2014-12-27 21:55:38 UTC
Wow, has it really been 11 months? I never did ask them because other things took priority like becoming a dev. Nearly crossed that bridge now. But yes, I was implying that this should be applied all the time. Having said that, I've since noticed that we only have relink patches for libtool 1.4. The latest version is now 2.4. You'd think this would no longer be an issue but I guess plenty of software still ships with 1.4.
Comment 6 James Le Cuirot gentoo-dev 2015-12-01 22:25:22 UTC
(In reply to James Le Cuirot from comment #5)
> Having said that,
> I've since noticed that we only have relink patches for libtool 1.4. The
> latest version is now 2.4. You'd think this would no longer be an issue but
> I guess plenty of software still ships with 1.4.

Ignore what I said there, I was looking at the wrong patch. cross/link-ROOT is the relevant one and it still applies against 2.4. I'm going to raise this subject on the mailing list now.