Openembedded Core Discussions
 help / color / mirror / Atom feed
* gst-plugins-bad and EXTRA_OECONF
@ 2013-02-26  8:57 Samuel Stirtzel
  2013-02-27 16:09 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Samuel Stirtzel @ 2013-02-26  8:57 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Hi,

recently my builds fail with obscure errors like:
gst-plugins-bad:
| /usr/lib/x86_64-linux-gnu/libxml2.so: file not recognized: File
format not recognized
| collect2: error: ld returned 1 exit status


This is caused by sdl-config from my buildhost, though gst-plugins-bad
has EXTRA_OECONF += "... --disable-sdl ... --disable-orc"

It seems to be ignored:
checking for ORC... yes
checking for usable orcc...
/work/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/orcc
...
configure: *** checking feature: SDL plug-in ***
configure: *** for plug-ins: sdlvideosink sdlaudiosink ***
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 0.11.0... cross compiling; assumed OK...
yes
configure: *** These plugins will be built: sdlvideosink sdlaudiosink



Maybe anyone can reproduce this error with:
bitbake -ccleansstate libsdl gst-plugins-bad && bitbake gst-plugins-bad
(eventually manual deletion of sdl-config in
<sysroot-target>/usr/bin/crosscripts is necessary)

Is this a known bug?


--
Regards
Samuel



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gst-plugins-bad and EXTRA_OECONF
  2013-02-26  8:57 gst-plugins-bad and EXTRA_OECONF Samuel Stirtzel
@ 2013-02-27 16:09 ` Burton, Ross
  2013-02-27 18:46   ` Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2013-02-27 16:09 UTC (permalink / raw)
  To: Samuel Stirtzel; +Cc: Patches and discussions about the oe-core layer

On 26 February 2013 08:57, Samuel Stirtzel <s.stirtzel@googlemail.com> wrote:
> This is caused by sdl-config from my buildhost, though gst-plugins-bad
> has EXTRA_OECONF += "... --disable-sdl ... --disable-orc"

I tried replicating by bitbaking libsdl and then gst-plugins-bad, but
it still disabled the SDL plugins.  What version of oe-core are you
using, and do you have any other layers that could be involved?

Ross



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gst-plugins-bad and EXTRA_OECONF
  2013-02-27 16:09 ` Burton, Ross
@ 2013-02-27 18:46   ` Koen Kooi
  2013-02-28  7:20     ` Samuel Stirtzel
  0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2013-02-27 18:46 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Patches, about the oe-core layer

On Wed, 2013-02-27 at 16:09 +0000, Burton, Ross wrote:
> On 26 February 2013 08:57, Samuel Stirtzel <s.stirtzel@googlemail.com> wrote:
> > This is caused by sdl-config from my buildhost, though gst-plugins-bad
> > has EXTRA_OECONF += "... --disable-sdl ... --disable-orc"
> 
> I tried replicating by bitbaking libsdl and then gst-plugins-bad, but
> it still disabled the SDL plugins.  What version of oe-core are you
> using, and do you have any other layers that could be involved?

I know angstrom overrides the OE-core recipes to enable or and other
plugins:

[koen@rrMBP meta-angstrom]$ cat
recipes-tweaks/gstreamer/gst-plugins-bad_0.10.23.bbappend 
PRINC := "${@int(PRINC) + 2}"
DEPENDS += "orc orc-native"
EXTRA_OECONF =  "--disable-directfb --disable-examples --disable-vdpau
--disable-apexsink --enable-experimental --enable-orc"






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gst-plugins-bad and EXTRA_OECONF
  2013-02-27 18:46   ` Koen Kooi
@ 2013-02-28  7:20     ` Samuel Stirtzel
  2013-02-28 10:29       ` Ross Burton
  0 siblings, 1 reply; 5+ messages in thread
From: Samuel Stirtzel @ 2013-02-28  7:20 UTC (permalink / raw)
  To: Koen Kooi; +Cc: Patches and discussions about the oe-core layer

2013/2/27 Koen Kooi <koen@dominion.thruhere.net>:
> On Wed, 2013-02-27 at 16:09 +0000, Burton, Ross wrote:
>> On 26 February 2013 08:57, Samuel Stirtzel <s.stirtzel@googlemail.com> wrote:
>> > This is caused by sdl-config from my buildhost, though gst-plugins-bad
>> > has EXTRA_OECONF += "... --disable-sdl ... --disable-orc"
>>
>> I tried replicating by bitbaking libsdl and then gst-plugins-bad, but
>> it still disabled the SDL plugins.  What version of oe-core are you
>> using, and do you have any other layers that could be involved?
>
> I know angstrom overrides the OE-core recipes to enable or and other
> plugins:
>
> [koen@rrMBP meta-angstrom]$ cat
> recipes-tweaks/gstreamer/gst-plugins-bad_0.10.23.bbappend
> PRINC := "${@int(PRINC) + 2}"
> DEPENDS += "orc orc-native"
> EXTRA_OECONF =  "--disable-directfb --disable-examples --disable-vdpau
> --disable-apexsink --enable-experimental --enable-orc"
>

Seems like I missed the missing "--disable-sdl",
should I send a patch that adds libsdl to the DEPENDS of this
.bbappend? Or would you prefer a "--disable-sdl" here?

This issue was a bit irritating, since I built the same image for some
time now and suddenly it breaks without any changes in the related .bb
or .bbappend...


-- 
Regards
Samuel



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gst-plugins-bad and EXTRA_OECONF
  2013-02-28  7:20     ` Samuel Stirtzel
@ 2013-02-28 10:29       ` Ross Burton
  0 siblings, 0 replies; 5+ messages in thread
From: Ross Burton @ 2013-02-28 10:29 UTC (permalink / raw)
  To: Samuel Stirtzel; +Cc: Koen Kooi, Patches, about the oe-core layer

On Thursday, 28 February 2013 at 07:20, Samuel Stirtzel wrote:
> Seems like I missed the missing "--disable-sdl",
> should I send a patch that adds libsdl to the DEPENDS of this
> .bbappend? Or would you prefer a "--disable-sdl" here?
> 
> This issue was a bit irritating, since I built the same image for some
> time now and suddenly it breaks without any changes in the related .bb
> or .bbappend...


This is why I've had reworking the GStreamer plugin configuration on my todo list for a while.  Something along the lines of massive use of PACKAGECONFIG should make this sort of problem disappear.

Ross



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-28 10:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-26  8:57 gst-plugins-bad and EXTRA_OECONF Samuel Stirtzel
2013-02-27 16:09 ` Burton, Ross
2013-02-27 18:46   ` Koen Kooi
2013-02-28  7:20     ` Samuel Stirtzel
2013-02-28 10:29       ` Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox