Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] pkgconfig confusion
@ 2009-04-17  9:56 Sven Neumann
  2009-04-17 10:25 ` Sven Neumann
  2009-04-17 14:18 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Sven Neumann @ 2009-04-17  9:56 UTC (permalink / raw)
  To: buildroot

Hi,

I've tried to update to the latest buildroot snapshot today and ran into
a problem with pkg-config:

>>> pkgconfig undefined Extracting
gzip: /home/sven/buildroot-new/dl/pkgconfig-undefined.tar.gz: No such
file or directory
tar: This does not look like a tar archive

So I had a look at package/pkgconfig/pkgconfig.mk and found that it
defines all variables with the PKG_CONFIG prefix instead of using
PKGCONFIG. Changing this seems to fix the problem (see attached diff).
Alternatively one could rename pkgconfig/pkgconfig.mk to
pkg-config/pkg-config.mk.


Sven


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkgconfig.diff
Type: text/x-patch
Size: 3283 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090417/a1823cac/attachment.bin>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] pkgconfig confusion
  2009-04-17  9:56 [Buildroot] pkgconfig confusion Sven Neumann
@ 2009-04-17 10:25 ` Sven Neumann
  2009-04-17 14:18 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Sven Neumann @ 2009-04-17 10:25 UTC (permalink / raw)
  To: buildroot

Hi,

On Fri, 2009-04-17 at 11:56 +0200, Sven Neumann wrote:
> Hi,
> 
> I've tried to update to the latest buildroot snapshot today and ran into
> a problem with pkg-config:
> 
> >>> pkgconfig undefined Extracting
> gzip: /home/sven/buildroot-new/dl/pkgconfig-undefined.tar.gz: No such
> file or directory
> tar: This does not look like a tar archive
> 
> So I had a look at package/pkgconfig/pkgconfig.mk and found that it
> defines all variables with the PKG_CONFIG prefix instead of using
> PKGCONFIG. Changing this seems to fix the problem (see attached diff).
> Alternatively one could rename pkgconfig/pkgconfig.mk to
> pkg-config/pkg-config.mk.

Actually, the patch from my last mail changes a bit too much.
PKG_CONFIG_HOST_DIR and PKG_CONFIG_HOST_BINARY must not be changed as
other packages use these variables. Perhaps the best solution is really
to rename the package from pkgconfig to pkg-config.


Sven

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] pkgconfig confusion
  2009-04-17  9:56 [Buildroot] pkgconfig confusion Sven Neumann
  2009-04-17 10:25 ` Sven Neumann
@ 2009-04-17 14:18 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2009-04-17 14:18 UTC (permalink / raw)
  To: buildroot

>>>>> "Sven" == Sven Neumann <s.neumann@phase-zero.de> writes:

 Sven> Hi,
 Sven> I've tried to update to the latest buildroot snapshot today and ran into
 Sven> a problem with pkg-config:

 >>>> pkgconfig undefined Extracting
 Sven> gzip: /home/sven/buildroot-new/dl/pkgconfig-undefined.tar.gz: No such
 Sven> file or directory
 Sven> tar: This does not look like a tar archive

This is pkg-config for the target. Is that really what you want?

 Sven> So I had a look at package/pkgconfig/pkgconfig.mk and found that it
 Sven> defines all variables with the PKG_CONFIG prefix instead of using
 Sven> PKGCONFIG. Changing this seems to fix the problem (see attached diff).
 Sven> Alternatively one could rename pkgconfig/pkgconfig.mk to
 Sven> pkg-config/pkg-config.mk.

Yes, the correct fix looks to be renaming the dir / file and the
AUTOTARGETS line.

Will fix.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-17 14:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-17  9:56 [Buildroot] pkgconfig confusion Sven Neumann
2009-04-17 10:25 ` Sven Neumann
2009-04-17 14:18 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox