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

Tim Orling ticotimo at gmail.com
Sun Nov 6 18:01:36 UTC 2016


https://github.com/redhotpenguin/soaplite/search?utf8=✓&q=%2Fbin%2Fenv
<https://github.com/redhotpenguin/soaplite/search?utf8=%E2%9C%93&q=%2Fbin%2Fenv>

It's only for the tests (in the ${S}/t directory by convention for perl
modules). I would try just doing sed to /usr/bin/env on all those.

Cheers.

--Tim

On Sun, Nov 6, 2016 at 3: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.
>
> rday
>
> p.s. now that i think about it, why would a package have a dependency
> on *both* /bin/env and /usr/bin/env? isn't that sort of redundant?
>
> p.p.s. i searched for the phrase "no package provides /bin/env" as a
> first attempt, and i weirdly got this:
>
> https://www.google.ca/search?q=%22no+package+provides+/bin/
> env%22&ie=utf-8&oe=utf-8&gws_rd=cr&ei=jBMfWJ20JIfZjwTKzarIBg
>
> never heard of that website before, and no other matches. seems a bit
> odd.
>
> --
>
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                         http://crashcourse.ca
>
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161106/eb56a288/attachment-0002.html>


More information about the Openembedded-core mailing list