Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ??
Date: Sun, 6 Nov 2016 06:28:35 -0500 (EST)	[thread overview]
Message-ID: <alpine.LFD.2.20.1611060625550.19174@localhost.localdomain> (raw)


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



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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-06 11:28 Robert P. J. Day [this message]
2016-11-06 16:03 ` "Can't install perl-soap-lite-1.20-r0@all: no package provides /bin/env" ?? 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

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.1611060625550.19174@localhost.localdomain \
    --to=rpjday@crashcourse.ca \
    --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