[OE-core] "Can't install perl-soap-lite-1.20-r0 at all: no package provides /bin/env" ??

Christopher Larson clarson at kergoth.com
Sun Nov 6 16:03:57 UTC 2016


On Sun, Nov 6, 2016 at 4:28 AM, Robert P. J. Day <rpjday at crashcourse.ca>
wrote:

>   currently writing my first batch of perl recipes, fairly mindlessly
> plagiarizing from existing recipes, first bunch worked fine, then i
> whipped together a recipe for SOAP::Lite from here:
>
>   https://metacpan.org/pod/SOAP::Lite
>
> built fine, but when i tried to add the perl-soap-lite-1.20-r0.all.rpm
> to my core-image-minimal build, i got:
>
>   Computing transaction...error: Can't install \
>     perl-soap-lite-1.20-r0 at all: no package provides /bin/env
>
> sure enough, that rpm has that dependency:
>
>   $ rpm -qpR perl-soap-lite-1.20-r0.all.rpm
>   /bin/env
>   /usr/bin/env
>   perl
>   $
>
> and when i fire up my "qemuppc" session for that core-image-minimal
> image, there is indeed no /bin/env file (hence the error), but there
> is:
>
>   /usr/bin/env -> /bin/busybox.nosuid
>
> so ... what is the proper solution for this? i suspect i'm going to
> run into this issue again in upcoming recipes, so i'd love to resolve
> it in a minimally hacky way.
>

Sounds like there’s a script in that package with a #!/bin/env, which is
wrong.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161106/51c81d5d/attachment-0002.html>


More information about the Openembedded-core mailing list