[OE-core] Perl 'native' path

Randy MacLeod randy.macleod at windriver.com
Thu Nov 29 06:01:54 UTC 2012


On 12-11-27 11:57 AM, Nicolas Dechesne wrote:
> hi,
>
> i am getting the following build error:
> ...
> i am trying to setup some daily builds on some corporate administrated
> machines... and what happens is that dpkg-scanpackage perl script has
> this:
>
> $ more sysroots/x86_64-linux/usr/bin/dpkg-scanpackages
> #!/usr/local/bin/perl
>
> So in turns my build will attempt to use whatever I have in
> /usr/local/bin (AFAIU), which is problematic in my case as this points
> to a corporate version (/apps/perl), which then leads to build
> failure.

Yes, it seems that dpkg-scanpackages needs to be fixed.

> I would expect all scripts to use the perl-native binary, instead, and
> search for Perl modules in the sysroot folder.
>
> does that make any sense?
Your explanation makes sense.

>is there something wrong with what I am
> doing (beyond using a corporate server which I can't administrate ;-)

I believe that using .debs in itself puts you in a less
tested environment; nonetheless, it should work.
Can you patch it?

Oh and I'm just curious, does an rpm system not work for you?

>
> thx
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>

-- 
# Randy MacLeod




More information about the Openembedded-core mailing list