Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832213 - net-dns/nsd-4.3.9[-ssl]: edns.c:(.text+<snip>): undefined reference to CRYPTO_memcmp
Summary: net-dns/nsd-4.3.9[-ssl]: edns.c:(.text+<snip>): undefined reference to CRYPTO...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-28 14:26 UTC by Toralf Förster
Modified: 2022-01-28 15:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.66 KB, text/plain)
2022-01-28 14:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,172.10 KB, text/plain)
2022-01-28 14:26 UTC, Toralf Förster
Details
environment (environment,77.36 KB, text/plain)
2022-01-28 14:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.19 KB, application/x-bzip)
2022-01-28 14:26 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,16.56 KB, application/x-bzip)
2022-01-28 14:26 UTC, Toralf Förster
Details
net-dns:nsd-4.3.9:20220128-040139.log (net-dns:nsd-4.3.9:20220128-040139.log,26.90 KB, text/plain)
2022-01-28 14:26 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.58 KB, application/x-bzip)
2022-01-28 14:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-01-28 14:26:29 UTC
too long lines were shrinked:

/bin/sed -e 's,@prefix\@,/usr,g' -e 's,@exec_prefix\@,/usr,g' -e 's,@sbindir\@,/usr/sbin,g' -e 's,@configdir\@,/etc/nsd,g' -e 's,@zonesdir\@,/var/lib/nsd,g' -e 's,@chrootdir\@,,g' -e 's,@pidfile\@,/run/nsd/nsd.pid,g' -e 's,@logfile\@,/var/log/nsd.log,g' -e 's,@dbfile\@,/var/db/nsd/nsd.db,g' -e 's,@x
x86_64-pc-linux-gnu-gcc -I. -pipe -march=native -fno-diagnostics-color -O2 -W -Wall -Wextra -Wdeclaration-after-statement -I/usr/include/google -c dnstap/dnstap.pb-c.c
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -W -Wall -Wextra -Wdeclaration-after-statement -I/usr/include/google -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o nsd-control answer.o axfr.o buffer.o configlexer.o configparser.o dname.o dns.o edns.o iterat
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: edns.o: in function `cookie_verify':
edns.c:(.text+0x6a3): undefined reference to `CRYPTO_memcmp'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: edns.c:(.text+0x6f3): undefined reference to `CRYPTO_memcmp'
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4-20220126-135546

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.58.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit f9ac5c346a780e91fcd430172a493e162c1298a7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jan 28 02:50:05 2022 +0000

    2022-01-28 02:50:00 UTC

emerge -qpvO net-dns/nsd
[ebuild  N    ] net-dns/nsd-4.3.9  USE="bind8-stats dnstap ipv6 libevent mmap nsec3 ratelimit root-server runtime-checks systemd -minimal-responses -munin -ssl"
Comment 1 Toralf Förster gentoo-dev 2022-01-28 14:26:30 UTC
Created attachment 763801 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-28 14:26:31 UTC
Created attachment 763802 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-01-28 14:26:32 UTC
Created attachment 763803 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-01-28 14:26:33 UTC
Created attachment 763804 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-01-28 14:26:34 UTC
Created attachment 763805 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-28 14:26:35 UTC
Created attachment 763806 [details]
net-dns:nsd-4.3.9:20220128-040139.log
Comment 7 Toralf Förster gentoo-dev 2022-01-28 14:26:36 UTC
Created attachment 763807 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-01-28 15:46:45 UTC
The bug has been closed via the following commit(s):

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

commit a27323c9c5ee56359c8a3418dd2b83df0ba4c896
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2022-01-28 15:45:55 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2022-01-28 15:46:26 +0000

    net-dns/nsd: Fixed build with USE="-ssl"
    
    Closes: https://bugs.gentoo.org/832213
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-dns/nsd/files/nsd-4.3.9-no_ssl.patch | 22 ++++++++++++++++++++++
 net-dns/nsd/nsd-4.3.9.ebuild             |  4 +++-
 2 files changed, 25 insertions(+), 1 deletion(-)