This is an auto-filed bug because net-libs/pjproject fails to compile. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. If you think that a different summary clarifies the issue better, feel free to change it. Attached build log and emerge --info. NOTE: If you need further logs, feel free to ask.
Created attachment 641450 [details] build.log build log and emerge --info
Hi Agostino, I'm very much unable to reproduce this ... on my system pjproject is using gcc to link, which correctly handles -Wl ... on your system it's attempting to invoke ???-ld directly. Do you happen to have LD= in your environment which the ./configure may pick up on? Because that's the ONLY way I get to reproduce: LD=/bin/false USE="-* ipv6 ssl" ebuild pjproject-2.9-r2.ebuild clean compile Results in: /bin/false -o ../lib/libpj.so.2 \ ... So if you have LD in your environment set to x86_64-pc-linux-gnu-ld that would explain the failure. As I see it there is one of two possibilities: 1. This isn't a bug as the build system is honouring your wishes to use x86_64-pc-linux-gnu-ld for linking. 2. I need to set LD=$(tc-getCC) Kind Regards, Jaco
Hi Jaco, yes I have LD set in make.conf that points to ld.
Hi, Please unset LD, and re-open if you can reproduce without LD being explicitly set. Kind Regards, Jaco
Unfortunately this is not invalid... The goal of these type of bugs is be able to compile for example with another compiler/linker like Clang/LLVM. To to it I have to set LD/CC and so on in make.conf.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e60793bb055448f0933c709034185fc45d5cb363 commit e60793bb055448f0933c709034185fc45d5cb363 Author: Jaco Kroon <jaco@uls.co.za> AuthorDate: 2020-07-07 20:19:45 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-07-20 09:01:20 +0000 net-libs/pjproject: fix invalid LD build issue. Closes: https://bugs.gentoo.org/725090 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/16630 Signed-off-by: Joonas Niilola <juippis@gentoo.org> net-libs/pjproject/pjproject-2.9-r2.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)