Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans@topic.nl>
To: Ross Burton <ross.burton@intel.com>,
	"openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: Re: SDK does not contain pkg-config files
Date: Thu, 1 Aug 2019 11:17:00 +0000	[thread overview]
Message-ID: <b2880fb2-75a4-825a-6bbf-8a07df8cce55@topic.nl> (raw)
In-Reply-To: <487ea47b-1db4-8c95-c0ad-661a56ccc07a@intel.com>

On 31-07-19 15:29, Ross Burton wrote:
> On 31/07/2019 14:22, Mike Looijmans wrote:
>> Well, that's at least good to know.
>>
>> I'm on the "thud" branch currently, so I hope this isn't something that got
>> fixed only recently.
>>
>> I'll try some simple images first. I gather there's no particular magic
>> incantation I need to put into my image recipe to get the pkg-config files
>> into the SDK sysroot?
> 
> Right, they're just in the -dev packages.  I'd try building a 
> core-image-minimal SDK to verify that works, as I suspect you've done 
> something in your image to break the SDK.

I think I found it.

The image installs the dropbear SSH server, and the openssh-sftp-server. These 
seem to cause a conflict, and then ALL the "-dev" packages get skipped.

The warning looks like this (I removed some sensitive information and a list 
of a few hundred package names):


WARNING: prolira-delirium-image-1.0-r0 do_populate_sdk: Unable to install 
packages. Command '.../..-image/1.0-r0/recipe-sysroot-native/usr/bin/opkg 
--volatile-cache -f ... --force_postinstall --prefer-arch-to-version   install 
... binutils-dev liblzo2-dev ... libaio-dev' returned 1:
Collected errors:
  * Solver encountered 1 problem(s):
  * Problem 1/1:
  *   - package openssh-dev-7.8p1+git-r0.cortexa9t2hf-neon requires openssh = 
7.8p1+git-r0, but none of the providers can be installed
  *
  * Solution 1:
  *   - allow deinstallation of packagegroup-core-ssh-dropbear-1.0-r1.all

  *   - do not ask to install a package providing dropbear-dev

  *   - do not ask to install a package providing 
packagegroup-core-ssh-dropbear-dev

  * Solution 2:
  *   - do not ask to install a package providing openssh-dev



If I remove "openssh-sftp-server" from the packages, the warning (which should 
have been an error?) disappears and the resulting SDK properly contains all 
the pkg-config files again.

I wonder if there's a proper fix to prevent this, i.e. break the link between 
openssh-sftp-server and openssh-dev.

  reply	other threads:[~2019-08-01 11:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-31  5:47 SDK does not contain pkg-config files Mike Looijmans
2019-07-31 12:37 ` Ross Burton
2019-07-31 13:22   ` Mike Looijmans
2019-07-31 13:29     ` Ross Burton
2019-08-01 11:17       ` Mike Looijmans [this message]
2019-08-02  5:17         ` Khem Raj

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=b2880fb2-75a4-825a-6bbf-8a07df8cce55@topic.nl \
    --to=mike.looijmans@topic.nl \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /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