* "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ??
@ 2016-11-06 11:28 Robert P. J. Day
2016-11-06 16:03 ` Christopher Larson
2016-11-06 18:01 ` Tim Orling
0 siblings, 2 replies; 7+ messages in thread
From: Robert P. J. Day @ 2016-11-06 11:28 UTC (permalink / raw)
To: OE Core mailing list
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@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
========================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ??
2016-11-06 11:28 "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ?? Robert P. J. Day
@ 2016-11-06 16:03 ` Christopher Larson
2016-11-06 16:31 ` Robert P. J. Day
2016-11-06 18:01 ` Tim Orling
1 sibling, 1 reply; 7+ messages in thread
From: Christopher Larson @ 2016-11-06 16:03 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: OE Core mailing list
[-- Attachment #1: Type: text/plain, Size: 1339 bytes --]
On Sun, Nov 6, 2016 at 4:28 AM, Robert P. J. Day <rpjday@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@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
[-- Attachment #2: Type: text/html, Size: 1949 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ??
2016-11-06 16:03 ` Christopher Larson
@ 2016-11-06 16:31 ` Robert P. J. Day
0 siblings, 0 replies; 7+ messages in thread
From: Robert P. J. Day @ 2016-11-06 16:31 UTC (permalink / raw)
To: Christopher Larson; +Cc: OE Core mailing list
[-- Attachment #1: Type: text/plain, Size: 2761 bytes --]
On Sun, 6 Nov 2016, Christopher Larson wrote:
>
> On Sun, Nov 6, 2016 at 4:28 AM, Robert P. J. Day <rpjday@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@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.
dang, i should have thought of that ... and, yes, after fetching and
unpacking source (no patches yet):
$ grep -r "/bin/env" *
bin/stubmaker.pl:#!/usr/bin/env perl
bin/SOAPsh.pl:#!/bin/env perl
examples/XMLRPC/xmlrpc.daemon:#!/usr/bin/env perl
examples/XMLRPC/xmlrpc.cgi:#!/usr/bin/env perl
t/15-daemon.t:#!/bin/env perl
t/17-mod_soap.t:#!/bin/env perl
t/05-customxml.t:#!/bin/env perl
t/03-server.t:#!/bin/env perl
t/04-attach.t:#!/bin/env perl
t/11-cgi.t:#!/bin/env perl
t/02-payload.t:#!/bin/env perl
t/12-cgi_https.t:#!/bin/env perl
t/24-wsdl.t:#!/bin/env perl
t/14-cgi_apache.t:#!/bin/env perl
t/23-ppm.t:#!/bin/env perl
t/01-core.t:#!/bin/env perl
t/13-mod_perl.t:#!/bin/env perl
t/22-interop_apache.t:#!/bin/env perl
t/19-apachesoap.t:#!/bin/env perl
t/08-schema.t:#!/bin/env perl
t/06-modules.t:#!/bin/env perl
t/21-public.t:#!/bin/env perl
$
is the obvious solution to just patch all those "/bin/env" to
"/usr/bin/env"?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ??
2016-11-06 11:28 "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ?? Robert P. J. Day
2016-11-06 16:03 ` Christopher Larson
@ 2016-11-06 18:01 ` Tim Orling
2016-11-06 18:16 ` Robert P. J. Day
1 sibling, 1 reply; 7+ messages in thread
From: Tim Orling @ 2016-11-06 18:01 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: OE Core mailing list
[-- Attachment #1: Type: text/plain, Size: 2554 bytes --]
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@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
[-- Attachment #2: Type: text/html, Size: 3986 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ??
2016-11-06 18:01 ` Tim Orling
@ 2016-11-06 18:16 ` Robert P. J. Day
2016-11-06 19:11 ` Tim Orling
0 siblings, 1 reply; 7+ messages in thread
From: Robert P. J. Day @ 2016-11-06 18:16 UTC (permalink / raw)
To: Tim Orling; +Cc: OE Core mailing list
[-- Attachment #1: Type: text/plain, Size: 747 bytes --]
On Sun, 6 Nov 2016, Tim Orling wrote:
> https://github.com/redhotpenguin/soaplite/search?utf8=✓&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.
that's what i did, fixed the problem.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ??
2016-11-06 18:16 ` Robert P. J. Day
@ 2016-11-06 19:11 ` Tim Orling
2016-11-06 19:18 ` Robert P. J. Day
0 siblings, 1 reply; 7+ messages in thread
From: Tim Orling @ 2016-11-06 19:11 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: OE Core mailing list
[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]
I created a ticket https://rt.cpan.org/Ticket/Display.html?id=118654
And sent a pull request https://github.com/redhotpenguin/soaplite/pull/28
Should be merged/released shortly as maintainer is already in contact.
Cheers.
--Tim
On Sun, Nov 6, 2016 at 10:16 AM, Robert P. J. Day <rpjday@crashcourse.ca>
wrote:
> On Sun, 6 Nov 2016, Tim Orling wrote:
>
> > 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.
>
> that's what i did, fixed the problem.
>
> rday
>
> --
>
> ========================================================================
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
>
> Twitter: http://twitter.com/rpjday
> LinkedIn: http://ca.linkedin.com/in/rpjday
> ========================================================================
>
[-- Attachment #2: Type: text/html, Size: 2196 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ??
2016-11-06 19:11 ` Tim Orling
@ 2016-11-06 19:18 ` Robert P. J. Day
0 siblings, 0 replies; 7+ messages in thread
From: Robert P. J. Day @ 2016-11-06 19:18 UTC (permalink / raw)
To: Tim Orling; +Cc: OE Core mailing list
On Sun, 6 Nov 2016, Tim Orling wrote:
> I created a ticket https://rt.cpan.org/Ticket/Display.html?id=118654
> And sent a pull request
> https://github.com/redhotpenguin/soaplite/pull/28
>
> Should be merged/released shortly as maintainer is already in
> contact.
that was quick, thanks. as a temporary fix, i just added a patch
that mindlessly changed every "/bin/env" to "/usr/bin/env", and that
did the trick. i suspect that's pretty much what your patch does.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-11-06 19:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-06 11:28 "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ?? Robert P. J. Day
2016-11-06 16:03 ` Christopher Larson
2016-11-06 16:31 ` Robert P. J. Day
2016-11-06 18:01 ` Tim Orling
2016-11-06 18:16 ` Robert P. J. Day
2016-11-06 19:11 ` Tim Orling
2016-11-06 19:18 ` Robert P. J. Day
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.