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

Bug 778794

Summary: net-libs/ldns-1.7.1-r2 - /.../ld: cannot find -lldns
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, orbea, sam
Priority: Normal Keywords: PATCH, UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 765709    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-libs:ldns-1.7.1-r2:20210327-205725.log
temp.tar.bz2
https://github.com/NLnetLabs/ldns/pull/126

Description Toralf Förster gentoo-dev 2021-03-27 21:03:25 UTC
rdlibtool: lconf: found "/var/tmp/portage/net-libs/ldns-1.7.1-r2/work/ldns-1.7.1-abi_x86_64.amd64/libtool".
rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/linktest.o -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lssl -lcrypto -lldns -o .libs/linktest
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lldns
collect2: error: ld returned 1 exit status
rdlibtool: exec error upon slbt_exec_link_create_executable(), line 1614: (see child process error messages).
rdlibtool: < returned to > slbt_exec_link(), line 1934.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20210318-090503

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.50.0
  [2]   rust-1.50.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.17.1 [icedtea-8]
2)	IcedTea JDK 3.16.0 [icedtea-bin-8]
3)	OpenJDK 8.282_p08 [openjdk-8]
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8 
  [3]   openjdk-8 
  [4]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Mar 27 20:20:42 UTC 2021

emerge -qpvO net-libs/ldns
[ebuild  N    ] net-libs/ldns-1.7.1-r2  USE="dane ecdsa -doc -ed25519 -ed448 -gost (-libressl) -python -static-libs -vim-syntax" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-03-27 21:03:26 UTC
Created attachment 695172 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-27 21:03:27 UTC
Created attachment 695175 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-27 21:03:29 UTC
Created attachment 695178 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-27 21:03:30 UTC
Created attachment 695181 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-27 21:03:32 UTC
Created attachment 695184 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-27 21:03:33 UTC
Created attachment 695187 [details]
net-libs:ldns-1.7.1-r2:20210327-205725.log
Comment 7 Toralf Förster gentoo-dev 2021-03-27 21:03:34 UTC
Created attachment 695190 [details]
temp.tar.bz2
Comment 8 orbea 2021-03-28 22:58:50 UTC
Created attachment 695727 [details, diff]
https://github.com/NLnetLabs/ldns/pull/126

Patch against the upstream git that at least fixes some of the problems. The existing ldns-1.7.1-Makefile.patch patch would need to be rebased against this.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-01 11:45:56 UTC
Fixed in 1.8.0, I believe. Thanks orbea!