Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Andre McCurdy <armccurdy@gmail.com>
Cc: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/3] pbzip2: add initial recipe, pbzip2 v1.1.12
Date: Sat, 27 Jun 2015 08:14:40 +0100	[thread overview]
Message-ID: <1435389280.10583.40.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAJ86T=VpxtnCn=HvFRoy_uQs__OJF=ErzpnPf5S1N+6J0=c65A@mail.gmail.com>

On Fri, 2015-06-26 at 16:06 -0700, Andre McCurdy wrote:
> On Fri, Jun 26, 2015 at 3:47 PM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > On Fri, 2015-06-26 at 23:35 +0100, Richard Purdie wrote:
> >> On Thu, 2015-06-25 at 12:46 -0700, Andre McCurdy wrote:
> >> > Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
> >> > ---
> >> >  meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb | 27 +++++++++++++++++++++++++++
> >> >  1 file changed, 27 insertions(+)
> >> >  create mode 100644 meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb
> >> >
> >> > diff --git a/meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb b/meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb
> >> > new file mode 100644
> >> > index 0000000..fb70d0c
> >> > --- /dev/null
> >> > +++ b/meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb
> >> > @@ -0,0 +1,27 @@
> >> > +SUMMARY = "PBZIP2 is a parallel implementation of bzip2"
> >> > +DESCRIPTION = "PBZIP2 is a parallel implementation of the bzip2 block-sorting \
> >> > +file compressor that uses pthreads and achieves near-linear speedup on SMP \
> >> > +machines. The output of this version is fully compatible with bzip2 v1.0.2 or \
> >> > +newer (ie: anything compressed with pbzip2 can be decompressed with bzip2)."
> >> > +HOMEPAGE = "http://compression.ca/pbzip2/"
> >> > +SECTION = "console/utils"
> >> > +LICENSE = "BSD"
> >> > +LIC_FILES_CHKSUM = "file://COPYING;md5=4c4f2edec9679d5abef3514a816b54a4"
> >> > +
> >> > +DEPENDS = "bzip2"
> >>
> >> http://errors.yoctoproject.org/Errors/Details/12617/
> >>
> >> probably as bzip2-native is in ASSUME_PROVIDED at a guess and the bzip2
> >> headers weren't installed :/.
> >>
> >> We might have to force this to build bzip2-native, the only issue with
> >> that is installing bzip2 itself into the sysroot will cause a race like
> >> we've had with tar and gzip :(. We might have to teach it to install the
> >> libs but not the binaries in the native case (and do a PROVIDES +=
> >> "bzip2-replacement-native" or something so we can depend on the right
> >> thing.
> >
> > Turns out we've been here before. We can fix this with:
> >
> > DEPENDS_append_class-native = " bzip2-replacement-native"
> >
> > I'll send out a patch.
> 
> Thanks.
> 
> I'm wondering why I haven't seen an issue though - no build errors
> here and I don't have any bzip2 headers on the host.

Something else must have built bzip2-replacement-native then and it was
just luck. If you cleansstate bzip2-replacement-native and
pbzip2-native, then just built the latter you should see it.

Cheers,

Richard



      reply	other threads:[~2015-06-27  7:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-25 19:46 [PATCH 1/3] pbzip2: add initial recipe, pbzip2 v1.1.12 Andre McCurdy
2015-06-25 19:46 ` [PATCH 2/3] image_types.bbclass: use pbzip2 for images requiring bz2 compression Andre McCurdy
2015-06-25 19:46 ` [PATCH 3/3] populate_sdk_base.bbclass: use pbzip2 to compress SDK tarfiles Andre McCurdy
2015-06-26 22:35 ` [PATCH 1/3] pbzip2: add initial recipe, pbzip2 v1.1.12 Richard Purdie
2015-06-26 22:47   ` Richard Purdie
2015-06-26 23:06     ` Andre McCurdy
2015-06-27  7:14       ` Richard Purdie [this message]

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=1435389280.10583.40.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=armccurdy@gmail.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