Gentoo Archives: gentoo-dev

From: Michael <kensington@×××××××××××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Implicit system dependencies
Date: Wed, 24 Aug 2011 09:52:57
Message-Id: j32hje$bap$1@dough.gmane.org
In Reply to: [gentoo-dev] Re: Implicit system dependencies by "Diego Elio Pettenò"
1 Diego Elio Pettenò wrote:
2
3 > Il giorno mar, 23/08/2011 alle 05.21 +1000, Michael ha scritto:
4 >>
5 >> Any thoughts to as how far I should go with filing bugs regarding
6 >> this
7 >> issue?
8 >
9 > Please if you're going to file bugs about this, do so only on a system
10 > built with _forced_ --as-needed, otherwise you're going to hit a long
11 > list of false positives (gpgstats seems to be one of those, since it
12 > does not use symbols from libassuan or gpg-error, even though it links
13 > to those on your system.
14 >
15 > Especially since I'm not sure most fo the developers would know how to
16 > confirm your reports (hint: scanelf -n on the files on a system that is
17 > built with forced --as-needed, I can provide such data myself from the
18 > tinderbox).
19 >
20
21 Fair enough, sorry for the bugspam, and thanks for the tip.
22
23 While I now see that gpgstats does not actually depend on libassuan or gpg-
24 error, the build process still fails without them:
25
26 x86_64-pc-linux-gnu-g++ -Wl,--hash-style=gnu -Wl,--as-needed -Wall -W
27 error.o utils.o array.o iarray.o s.o -o gpgstats `gpgme-config --libs`
28 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-
29 gnu/bin/ld: cannot find -lassuan
30 collect2: ld returned 1 exit status
31 make: *** [gpgstats] Error 1
32 emake failed
33
34 Is /this/ considered to be a bug? Do I just write a patch to stop linking
35 against libs that aren't needed?
36
37 Best regards,
38 Michael

Replies

Subject Author
[gentoo-dev] Re: Implicit system dependencies "Diego Elio Pettenò" <flameeyes@g.o>