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

Bug 830510

Summary: net-dns/unbound-1.14.0 - configure: error: systemd enabled but libsystemd not found
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: RESOLVED FIXED    
Severity: normal CC: mschiff, sam, whissi
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-dns:unbound-1.14.0:20220103-032128.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-01-03 09:06:45 UTC
checking for strptime... yes
checking whether strptime works... yes
checking for SYSTEMD... no
checking for SYSTEMD_DAEMON... no
configure: error: systemd enabled but libsystemd not found

!!! Please attach the following file when seeking support:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4_abi32+64-20220103-010011

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
  [3]   ruby30 (with Rubygems)
php cli:

  HEAD of ::gentoo
commit 1eb85aef168718f17eea82155b29689b9927fb26
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 3 01:35:11 2022 +0000

    2022-01-03 01:35:09 UTC

emerge -qpvO net-dns/unbound
[ebuild  N    ] net-dns/unbound-1.14.0  USE="ecdsa http2 systemd tfo -debug -dnscrypt -dnstap -ecs -gost -python -redis (-selinux) -static-libs -test -threads" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-01-03 09:06:46 UTC
Created attachment 761169 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-03 09:06:47 UTC
Created attachment 761170 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-01-03 09:06:49 UTC
Created attachment 761171 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-01-03 09:06:50 UTC
Created attachment 761172 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-01-03 09:06:51 UTC
Created attachment 761173 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-03 09:06:52 UTC
Created attachment 761174 [details]
net-dns:unbound-1.14.0:20220103-032128.log
Comment 7 Toralf Förster gentoo-dev 2022-01-03 09:06:53 UTC
Created attachment 761175 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-03 09:16:36 UTC
We're currently doing $(use_enable systemd) in multilib_src_configure, so the dependency is currently wrong.

Interestingly, for the 32-bit case, libunbound is linked against libsystemd, I just don't see what it's for there.

But I can't actually see anywhere in the code (at a quick glance) other than the daemon which uses it, so it would make sense to do $(multilib_native_use_enable systemd) instead and keep the dep as-is.

I was going to just fix this but I'll leave it to the maintainers given I'm unclear about purpose and may be missing something.