* [Buildroot] 2011.02 pkg-config problems?
@ 2011-03-07 12:14 Joe Woodward
2011-03-09 12:08 ` Joe Woodward
2011-03-10 11:17 ` Peter Korsgaard
0 siblings, 2 replies; 5+ messages in thread
From: Joe Woodward @ 2011-03-07 12:14 UTC (permalink / raw)
To: buildroot
Since moving from the 2010.11 release to the 2011.02 release I've had
problems with some files destined for the target ending up in rather
strange places.
For example, when doing a Xorg or TinyX build (with GTK/Pango/Cairo)
the X fonts used to be place in:
{TARGET}/usr/share/fonts/X11/100dpi
{TARGET}/usr/share/fonts/X11/75dpi
{TARGET}/usr/share/fonts/X11/misc ...and so on
But now they end up in:
{TARGET}/home/MYBUILDUSERNAME/PATH/TO/BUILD/FOLDER/ON/HOST/MARCHINE/\
./output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/\
./share/fonts/X11/100dpi ...and so on
Has any else experienced this?
I'm fairly certain its due to the bumping of pkg-config and
tweaks to it's --sysroot patches.
Any ideas about what to do?
Cheers,
Joe
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] 2011.02 pkg-config problems?
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
1 sibling, 0 replies; 5+ messages in thread
From: Joe Woodward @ 2011-03-09 12:08 UTC (permalink / raw)
To: buildroot
Some more information:
My build machine is running Ubuntu 10.04 (Lucid).
Also, attached is a config that shows the problem when built using a
stock 2011.02 Buildroot.
Cheers,
Joe
-----Original Message-----
From: "Joe Woodward" <jw@terrafix.co.uk>
To: buildroot at busybox.net
Date: Mon, 07 Mar 2011 12:14:09 +0000
Subject: [Buildroot] 2011.02 pkg-config problems?
> Since moving from the 2010.11 release to the 2011.02 release I've had
> problems with some files destined for the target ending up in rather
> strange places.
>
> For example, when doing a Xorg or TinyX build (with GTK/Pango/Cairo)
> the X fonts used to be place in:
>
> {TARGET}/usr/share/fonts/X11/100dpi
> {TARGET}/usr/share/fonts/X11/75dpi
> {TARGET}/usr/share/fonts/X11/misc ...and so on
>
> But now they end up in:
>
> {TARGET}/home/MYBUILDUSERNAME/PATH/TO/BUILD/FOLDER/ON/HOST/MARCHINE/\
> ./output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/\
> ./share/fonts/X11/100dpi ...and so on
>
> Has any else experienced this?
>
> I'm fairly certain its due to the bumping of pkg-config and
> tweaks to it's --sysroot patches.
>
> Any ideas about what to do?
>
> Cheers,
> Joe
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testconfig
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110309/0c44821d/attachment-0001.ksh>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] 2011.02 pkg-config problems?
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
2011-03-10 11:26 ` Thomas Petazzoni
1 sibling, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2011-03-10 11:17 UTC (permalink / raw)
To: buildroot
>>>>> "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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] 2011.02 pkg-config problems?
2011-03-10 11:17 ` Peter Korsgaard
@ 2011-03-10 11:26 ` Thomas Petazzoni
2011-03-10 11:37 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2011-03-10 11:26 UTC (permalink / raw)
To: buildroot
On Thu, 10 Mar 2011 12:17:43 +0100
Peter Korsgaard <jacmet@uclibc.org> wrote:
> 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
Maybe we need to release 2011.02.1 with this fix ?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] 2011.02 pkg-config problems?
2011-03-10 11:26 ` Thomas Petazzoni
@ 2011-03-10 11:37 ` Peter Korsgaard
0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2011-03-10 11:37 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> On Thu, 10 Mar 2011 12:17:43 +0100
Thomas> Peter Korsgaard <jacmet@uclibc.org> wrote:
>> 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
Thomas> Maybe we need to release 2011.02.1 with this fix ?
Possibly. Lets give it a few days and see if anything else shows
up.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-03-10 11:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-03-10 11:26 ` Thomas Petazzoni
2011-03-10 11:37 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox