Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] 2011.02 pkg-config problems?
Date: Thu, 10 Mar 2011 12:17:43 +0100	[thread overview]
Message-ID: <8762rr8bs8.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <WC20110307121409.5600B6@terrafix.co.uk> (Joe Woodward's message of "Mon, 07 Mar 2011 12:14:09 +0000")

>>>>> "Joe" == Joe Woodward <jw@terrafix.co.uk> writes:

Hi,

 Joe> {TARGET}/home/MYBUILDUSERNAME/PATH/TO/BUILD/FOLDER/ON/HOST/MARCHINE/\
 Joe>   ./output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/\
 Joe>   ./share/fonts/X11/100dpi ...and so on

 Joe> Has any else experienced this?

 Joe> I'm fairly certain its due to the bumping of pkg-config and
 Joe> tweaks to it's --sysroot patches.

 Joe> Any ideas about what to do?

Thanks for reporting this. The problem is that pkg-config doesn't have
any explicit support for cross compilation, so we have to guess if a
given variable refers to a target path or a host path. For this specific
problem you could work around it by passing an explicit
--with-fontrootdir=/usr/share/fonts/X11 to the configure step of the
xfonts packages, but I have fixed pkg-config in git to only prepend the
sysroot location when the includedir + libdir variables are requested,
and not all variables like we did for 2011.02:

http://git.buildroot.net/buildroot/commit/?id=117a8ea0eaabe

-- 
Bye, Peter Korsgaard

  parent reply	other threads:[~2011-03-10 11:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-07 12:14 [Buildroot] 2011.02 pkg-config problems? Joe Woodward
2011-03-09 12:08 ` Joe Woodward
2011-03-10 11:17 ` Peter Korsgaard [this message]
2011-03-10 11:26   ` Thomas Petazzoni
2011-03-10 11:37     ` Peter Korsgaard

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=8762rr8bs8.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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