From: "Urs Fässler" <urs.fassler@bbv.ch>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
Andreas Oberritter <obi@opendreambox.org>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] openssh: resolve install conflict with openssh-sftp-server-dev
Date: Mon, 24 Sep 2018 15:26:20 +0200 [thread overview]
Message-ID: <1537795580.13947.1.camel@bbv.ch> (raw)
In-Reply-To: <ed51b3579be101e9d2f711ef9f94d16029981f92.camel@linuxfoundation.org>
On Wed, 2018-09-19 at 09:01 -0700, Richard Purdie wrote:
> On Wed, 2018-09-19 at 17:11 +0200, Andreas Oberritter wrote:
> > On Wed, 19 Sep 2018 08:41:35 +0200
> > Urs Fässler <urs.fassler@bbv.ch> wrote:
> >
> > > Image generation fails with the configuration:
> > > EXTRA_IMAGE_FEATURES = "ssh-server-dropbear eclipse-debug dev-
> > > pkgs"
> > > This is due the dependency eclipse-debug -> openssh-sftp-server ->
> > > openssh-dev -> openssh. openssh can not be installed since it
> > > conflicts
> > > with dropbear.
> >
> > That's odd. Why does openssh-sftp-server depend on openssh-dev?
> > Does
> > openssh-dev contain a file which it shouldn't, e.g. a dynamically
> > loaded module/plug-in?
>
> It doesn't, its the fact that "dev-pkgs" are requested in
> IMAGE_FEATURES. "openssh-dev" would be the default for openssh
> packages
> and dropbear-dev would be the default for dropbear packages.
>
> The patch here doesn't sound correct. I'm wondering if the correct
> fix
> is for ${PN}-dev should not depend on ${PN} and whether that
> would fix
> the problem?
The dependency from ${PN}-dev to ${PN} seems to be the default behavior
in Yocto. I don't know the consequences when we change this for
openssh. But it helps in my case.
(I added RDEPENDS_${PN}-dev = "", didn't found a better way)
Another workaround is, when I don't allow the generation of an empty
${PN}-dev package. I have the same considerations as with the previous
idea.
I see the problem that dev-pkgs automatically installs openssh-dev if I
select the openssh-sftp-server.
The nice solution would be to tell Yocto not to install openssh-dev
when openssh-sftp-server and dev-pkgs is configured. But I have no idea
if or how this is possible.
Unfortunately I didn't found a recipe where this problem is also
solved.
Kind Regards
Urs
next prev parent reply other threads:[~2018-09-24 20:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-19 6:41 [PATCH] openssh: resolve install conflict with openssh-sftp-server-dev Urs Fässler
2018-09-19 15:11 ` Andreas Oberritter
2018-09-19 16:01 ` Richard Purdie
2018-09-24 13:26 ` Urs Fässler [this message]
2018-09-25 13:05 ` Urs Fässler
2018-09-25 13:54 ` richard.purdie
2018-10-01 15:07 ` Urs Fässler
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=1537795580.13947.1.camel@bbv.ch \
--to=urs.fassler@bbv.ch \
--cc=obi@opendreambox.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.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