All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ross Burton <ross.burton@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2] elfutils: add PACKAGECONFIG for compression algorithms
Date: Tue, 15 Oct 2019 11:55:31 +0100	[thread overview]
Message-ID: <84b5c0f5-e790-84e4-967c-6eace1f673ba@intel.com> (raw)
In-Reply-To: <1571123420-sup-6304@galangal.danc.bne.opengear.com>

On 15/10/2019 08:21, Dan Callaghan wrote:
> Poky has "bzip2-native" in ASSUME_PROVIDED. Presumably, this is because
> bzip2 (the command line program) is a required host tool and so there is
> no need to build bzip2-native just to get a working bzip2 program.
> 
> However that also means that bzip2-native libraries and headers are
> silently omitted from the recipe-sysroot-native for elfutils-native,
> even though it depends on bzip2-native. On our Jenkins, which has a very
> minimal build environment and lacks the bzip2 headers, elfutils-native
> fails to configure:
> 
>      | checking for library containing BZ2_bzdopen... no
>      | configure: error: missing -lbz2 for --with-bzlib
> 
> It seems to me the real problem here is that "bzip2-native" does not
> really belong in ASSUME_PROVIDED. Recipes can assume that the host
> provides the bzip2 *command* but not necessarily its headers and
> libraries.
> 
> So now I am not quite sure what to do...

If you need bzip-native for the libraries, DEPEND on 
bzip2-replacement-native.

Ross


  parent reply	other threads:[~2019-10-15 10:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15  5:48 [PATCH] elfutils: add PACKAGECONFIG for compression algorithms Dan Callaghan
2019-10-15  6:01 ` Dan Callaghan
2019-10-15  6:15 ` [PATCH v2] " Dan Callaghan
2019-10-15  6:59   ` Jacob Kroon
2019-10-15  7:21     ` Dan Callaghan
2019-10-15  7:46       ` Jacob Kroon
2019-10-15 10:55       ` Ross Burton [this message]
2019-10-15 22:46         ` Dan Callaghan
2019-10-16 10:10           ` Ross Burton
2019-10-17  0:46             ` Randy MacLeod
2019-10-16 12:14           ` Richard Purdie
2019-10-15 22:44   ` [PATCH v3] " Dan Callaghan
2019-10-22 12:53     ` Richard Purdie
2019-10-29 20:00       ` Ross Burton
2019-10-29 20:18     ` Adrian Bunk
2019-10-29 20:51       ` Ross Burton
2019-10-29 21:46       ` Dan Callaghan
2019-10-30 23:05         ` Ross Burton
2019-10-16  0:02 ` ✗ patchtest: failure for elfutils: add PACKAGECONFIG for compression algorithms (rev3) Patchwork

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=84b5c0f5-e790-84e4-967c-6eace1f673ba@intel.com \
    --to=ross.burton@intel.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 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.