FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 11-29-2008, 04:24 PM
Panu Matilainen
 
Default Heads-up: Enabling generation of pkg-config requires

Just a heads-up, I'm (finally) enabling the generation of automatic
pkg-config and libtool requires in rpm. Provides for these have been
generated since first rpm 4.6.0 alpha hit rawhide, so with a bit of luck,
all/most involved packages have been rebuilt since then and already have
the needed provides for satisfying the new requires.


But if you see unsatisfied dependencies on pkgconfig(foo) and
libtool(foo), request a rebuild of the dependant package, that's all it
should take. Except if you happen to hit a big chain of pkg-config using
packages that haven't been rebuilt in several months, or bugs in the
dependency generation, or buggy pkg-config .pc files...


- Panu -

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 11-29-2008, 04:59 PM
"Dan Nicholson"
 
Default Heads-up: Enabling generation of pkg-config requires

On Sat, Nov 29, 2008 at 9:24 AM, Panu Matilainen
<pmatilai@laiskiainen.org> wrote:
>
> Just a heads-up, I'm (finally) enabling the generation of automatic
> pkg-config and libtool requires in rpm. Provides for these have been
> generated since first rpm 4.6.0 alpha hit rawhide, so with a bit of luck,
> all/most involved packages have been rebuilt since then and already have the
> needed provides for satisfying the new requires.
>
> But if you see unsatisfied dependencies on pkgconfig(foo) and libtool(foo),
> request a rebuild of the dependant package, that's all it should take.
> Except if you happen to hit a big chain of pkg-config using packages that
> haven't been rebuilt in several months, or bugs in the dependency
> generation, or buggy pkg-config .pc files...

Can I please take this opportunity to point out that the pkg-config in
fedora is broken specifically because of using pkgconfig autoreqprovs.
Specifically, this patch is used:

http://cvs.fedoraproject.org/viewvc/rpms/pkgconfig/devel/pkg-config-0.21-requires-private-fix.patch?view=log

This breaks the use of Requires.private in .pc files. The reason it
was added (as far as I can tell) is because the pkgconfig autoprovides
didn't take only added the Requires information. When package b has
package a in Requires.private, rpm does not add pkgconfig(a) as
required to package b. See this bug:

https://bugzilla.redhat.com/show_bug.cgi?id=224148

And a follow up I opened which has patches which fix this:

https://bugzilla.redhat.com/show_bug.cgi?id=426106

Please, please, take a look at this. What fedora is doing is broken
and making it difficult for people that really want to use
Requires.private in their projects.

--
Dan

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 12-01-2008, 04:57 PM
Todd Zullinger
 
Default Heads-up: Enabling generation of pkg-config requires

Panu Matilainen wrote:
> Just a heads-up, I'm (finally) enabling the generation of automatic
> pkg-config and libtool requires in rpm. Provides for these have been
> generated since first rpm 4.6.0 alpha hit rawhide, so with a bit of
> luck, all/most involved packages have been rebuilt since then and
> already have the needed provides for satisfying the new requires.
>
> But if you see unsatisfied dependencies on pkgconfig(foo) and
> libtool(foo), request a rebuild of the dependant package, that's all
> it should take. Except if you happen to hit a big chain of
> pkg-config using packages that haven't been rebuilt in several
> months, or bugs in the dependency generation, or buggy pkg-config
> .pc files...

A recent build of gtkpod failed to install libgpod-devel¹, which
requires pkgconfig(gobject-2.0). Shouldn't glib2-devel provide that?
It's certainly been rebuilt recently, yet the only pkgconfig provides
it has is pkgconfig(glib-2.0). The latest glib2-devel package has a
number of .pc files though:

$ rpm -qpl glib2-devel-2.19.1-2.fc11.i386.rpm | grep '.pc$'
/usr/lib/pkgconfig/gio-2.0.pc
/usr/lib/pkgconfig/gio-unix-2.0.pc
/usr/lib/pkgconfig/glib-2.0.pc
/usr/lib/pkgconfig/gmodule-2.0.pc
/usr/lib/pkgconfig/gmodule-export-2.0.pc
/usr/lib/pkgconfig/gmodule-no-export-2.0.pc
/usr/lib/pkgconfig/gobject-2.0.pc
/usr/lib/pkgconfig/gthread-2.0.pc

So, is this a bug in the libgpod packaging or in the rpm pkgconfig
provides stuff?

¹ http://koji.fedoraproject.org/koji/getfile?taskID=966791&name=root.log

--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
Abstainer, n.: A weak person who yields to the temptation of denying
himself a pleasure.
-- Ambrose Bierce, "The Devil's Dictionary"

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 12-01-2008, 06:02 PM
Panu Matilainen
 
Default Heads-up: Enabling generation of pkg-config requires

On Mon, 1 Dec 2008, Todd Zullinger wrote:


Panu Matilainen wrote:

Just a heads-up, I'm (finally) enabling the generation of automatic
pkg-config and libtool requires in rpm. Provides for these have been
generated since first rpm 4.6.0 alpha hit rawhide, so with a bit of
luck, all/most involved packages have been rebuilt since then and
already have the needed provides for satisfying the new requires.

But if you see unsatisfied dependencies on pkgconfig(foo) and
libtool(foo), request a rebuild of the dependant package, that's all
it should take. Except if you happen to hit a big chain of
pkg-config using packages that haven't been rebuilt in several
months, or bugs in the dependency generation, or buggy pkg-config
.pc files...


A recent build of gtkpod failed to install libgpod-devel¹, which
requires pkgconfig(gobject-2.0). Shouldn't glib2-devel provide that?
It's certainly been rebuilt recently, yet the only pkgconfig provides
it has is pkgconfig(glib-2.0). The latest glib2-devel package has a
number of .pc files though:

$ rpm -qpl glib2-devel-2.19.1-2.fc11.i386.rpm | grep '.pc$'
/usr/lib/pkgconfig/gio-2.0.pc
/usr/lib/pkgconfig/gio-unix-2.0.pc
/usr/lib/pkgconfig/glib-2.0.pc
/usr/lib/pkgconfig/gmodule-2.0.pc
/usr/lib/pkgconfig/gmodule-export-2.0.pc
/usr/lib/pkgconfig/gmodule-no-export-2.0.pc
/usr/lib/pkgconfig/gobject-2.0.pc
/usr/lib/pkgconfig/gthread-2.0.pc

So, is this a bug in the libgpod packaging or in the rpm pkgconfig
provides stuff?


Bug in rpm pkgconfig generation, see
https://bugzilla.redhat.com/show_bug.cgi?id=473814


- Panu -

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 04:24 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org