Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: vapier@g.o
Subject: Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency
Date: Wed, 29 Aug 2012 22:14:45
Message-Id: 20120830001434.4e8dd908@pomiocik.lan
In Reply to: Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency by Mike Frysinger
1 On Wed, 29 Aug 2012 18:05:19 -0400
2 Mike Frysinger <vapier@g.o> wrote:
3
4 > On Wed, Aug 29, 2012 at 6:02 PM, Michał Górny wrote:
5 > > On Wed, 29 Aug 2012 17:50:16 -0400 Mike Frysinger wrote:
6 > >> On Wed, Aug 29, 2012 at 5:42 PM, Michał Górny wrote:
7 > >> > In other words, pkg-config is only used when no other criteria
8 > >> > allows it to classify the particular .la file as suitable for
9 > >> > removal or not. Sadly, it's rather, ehm, unfriendly to ebuild
10 > >> > developers who obviously don't even read the relevant part.
11 > >> >
12 > >> > Do you have any ideas how we can improve that?
13 > >>
14 > >> before the func executes pkg-config, run `has virtual/pkgconfig
15 > >> ${DEPEND}` and spit an eqawarn if it's not found
16 > >
17 > > Ciaran will shot at me for doing that.
18 >
19 > it isn't violating anything and can find real bugs. i don't see a
20 > problem here.
21
22 It is violating the Holy PMS.
23
24 > >> > One thing that comes into my mind is finally making pkgconfig
25 > >> > a required, implicit part of toolchain (or @system). Since we
26 > >> > have pkgconf now, this is more feasible than before.
27 > >>
28 > >> i don't think making it part of the toolchain makes sense. i'd
29 > >> rather not add it to @system simply to keep a few packages from
30 > >> sometimes failing.
31 > >
32 > > I'd add it to @system because a lot of packages actually need to
33 > > DEPEND on pkgconfig because they use libraries using .pc files. And
34 > > the number is going to increase, hopefully.
35 >
36 > sure, but keeping things in @system doesn't make much sense:
37 > - there's a penalty (as noted in old threads)
38 > - it isn't actually required at runtime, so it's bloat on reduced
39 > systems
40
41 I think it's practically the same as compiler.
42
43 Also, a quick look at !ddep shows over 7000 reverse dependencies. That
44 looks like a bigger penalty to me.
45
46 --
47 Best regards,
48 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency Mike Frysinger <vapier@g.o>