All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Koen Kooi <koen@dominion.thruhere.net>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] pango: add libpng to DEPENDS
Date: Tue, 16 Apr 2013 11:08:26 +0100	[thread overview]
Message-ID: <1366106906.8670.93.camel@ted> (raw)
In-Reply-To: <EDFD893A-99B8-4C91-86DB-FFD37D78200E@dominion.thruhere.net>

On Tue, 2013-04-16 at 11:59 +0200, Koen Kooi wrote:
> Op 16 apr. 2013, om 11:54 heeft Richard Purdie <richard.purdie@linuxfoundation.org> het volgende geschreven:
> 
> > On Tue, 2013-04-16 at 11:10 +0200, Koen Kooi wrote:
> >> Pango links indirectly to libpng through the cairo-png dependency, but
> >> does encode the libpng version in its .la files. Changing libpng
> >> versions will make a rebuild fail, so let's cheat a bit to let sstate
> >> rebuild pango as well to get around this.
> >> 
> >> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> >> ---
> >> meta/recipes-graphics/pango/pango.inc | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > This doesn't follow. If pango -> cairo -> libpng and libpng changes,
> > both cairo and pango will rebuild.
> 
> If it did get rebuilt it still had references to non-existent
> libpng16  .la in its .la files.

Autotools/libtool being broken then, the DEPENDS change might appear to
help but it doesn't, only way to deal with it is either the change below
or to clean the recipe in question.

> > What might be the problem is that autotools (or more likely libtool)
> > isn't rebuilding correctly. This was solved with the separate build
> > directory code. Have you enabled that?
> 
> Not that I know off. How do I do that?

http://git.yoctoproject.org/cgit.cgi/poky/commit/meta-yocto?id=9e366e153234114ab3c51e4bb8e3452593f64070

It was was made opt in since people didn't want it as the default. I've
made it the default for poky as I believe its a good thing and helps
cases like this.

The only downside is that to change to this you need a clean build
directory as autotools throws a fit about this change when you re-run
configure on an existing directory. Nothing we can do about that one,
its autotools :(.

Cheers,

Richard




  reply	other threads:[~2013-04-16 10:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-16  9:10 [PATCH] pango: add libpng to DEPENDS Koen Kooi
2013-04-16  9:54 ` Richard Purdie
2013-04-16  9:59   ` Koen Kooi
2013-04-16 10:08     ` Richard Purdie [this message]
2013-04-16 10:15       ` Koen Kooi

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=1366106906.8670.93.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=koen@dominion.thruhere.net \
    --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.