Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 703912

Summary: net-dns/pdns-recursor-4.2.1 : /.../ld: cannot find -lpsx
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-dns:pdns-recursor-4.2.1:20191226-205557.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-12-26 21:24:08 UTC
libtool: link: x86_64-pc-linux-gnu-g++ -DSYSCONFDIR=\"/etc/powerdns\" -DPKGLIBDIR=\"/usr/lib64/pdns-recursor\" -DLOCALSTATEDIR=\"/var/run\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -Wall -g -O2 -O2 -pipe -march=native -pie -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--as-needed -o pdns_recursor arguments.o base32.o base64.o capabilities.o dns.o dns_random.o dnslabeltext.o dnsname.o dnsparser.o dnsrecords.o dnssecinfra.o dnswriter.o ednsoptions.o ednssubnet.o filterpo.o gettime.o gss_context.o iputils.o ixfr.o json.o logger.o lua-base4.o lua-recursor4.o lwres.o misc.o mtasker_context.o negcache.o nsecrecords.o opensslsigners.o pdns_recursor.o pollmplexer.o protobuf.o pubsuffix.o pubsuffixloader.o qtype.o rcpgenerator.o rec-carbon.o rec-lua-conf.o rec-protobuf.o rec-snmp.o rec_channel.o rec_channel_rec.o recpacketcache.o recursor_cache.o reczones.o remote_logger.o resolver.o responsestats.o rpzloader.o secpoll-recursor.o sillyrecords.o snmp-agent.o sortlist.o syncres.o threadname.o tsigverifier.o unix_utility.o uuid-utils.o validate.o validate-recursor.o version.o webserver.o ws-api.o ws-recursor.o xpf.o zoneparser-tng.o epollmplexer.o -Wl,-wrap -Wl,pthread_create  ./ext/yahttp/yahttp/.libs/libyahttp.a ./ext/json11/.libs/libjson11.a -lcrypto -lsystemd -lboost_system-mt ./ext/probds/.libs/libprobds.a -lcap -lpsx //usr/lib64//liblua.so -ldl -lm -lpthread -pthread -Wl,-rpath -Wl,/usr/lib64/ -Wl,-rpath -Wl,usr/lib64/
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpsx
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1337: pdns_recursor] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-dns/pdns-recursor-4.2.1/work/pdns-recursor-4.2.1'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20191221-021510

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 26 Dec 2019 19:05:37 +0000

emerge -qpvO net-dns/pdns-recursor
[ebuild  N    ] net-dns/pdns-recursor-4.2.1  USE="systemd -debug -libressl -luajit -protobuf -snmp -sodium"
Comment 1 Toralf Förster gentoo-dev 2019-12-26 21:24:10 UTC
Created attachment 600846 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-26 21:24:13 UTC
Created attachment 600848 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-12-26 21:24:16 UTC
Created attachment 600850 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-12-26 21:24:19 UTC
Created attachment 600852 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-12-26 21:24:22 UTC
Created attachment 600854 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-26 21:24:25 UTC
Created attachment 600856 [details]
net-dns:pdns-recursor-4.2.1:20191226-205557.log
Comment 7 Toralf Förster gentoo-dev 2019-12-26 21:24:28 UTC
Created attachment 600858 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-12-28 09:41:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85e0c20c96c6260e927eef41fe0aae42fcf11cb6

commit 85e0c20c96c6260e927eef41fe0aae42fcf11cb6
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-12-28 09:41:03 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-12-28 09:41:03 +0000

    sys-libs/libcap: Don't remove libpsx.a or -lpsx fails for consumers
    
    Attempt to fix build with LTO
    
    Bug: https://bugs.gentoo.org/702516
    Closes: https://bugs.gentoo.org/703912
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../libcap/files/libcap-2.29-build-system-fixes.patch   | 17 +++++++++++++++--
 .../{libcap-2.29.ebuild => libcap-2.29-r1.ebuild}       |  4 +++-
 2 files changed, 18 insertions(+), 3 deletions(-)