Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Christopher Larson <clarson@kergoth.com>
Cc: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: Re: "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ??
Date: Sun, 6 Nov 2016 11:31:29 -0500 (EST)	[thread overview]
Message-ID: <alpine.LFD.2.20.1611061125090.6660@localhost.localdomain> (raw)
In-Reply-To: <CABcZANneDWqsPA8HEDCes7uKvvBVPTKhzk8w78g5a38SgxWxGw@mail.gmail.com>

[-- 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
========================================================================

  reply	other threads:[~2016-11-06 16:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.20.1611061125090.6660@localhost.localdomain \
    --to=rpjday@crashcourse.ca \
    --cc=clarson@kergoth.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox