Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686536 - sys-apps/systemd-241-r1[nat]: meson.build:1072:8: ERROR: Dependency "libiptc" not found, tried pkgconfig and cmake
Summary: sys-apps/systemd-241-r1[nat]: meson.build:1072:8: ERROR: Dependency "libiptc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-22 09:53 UTC by Garry Filakhtov
Modified: 2019-07-10 19:18 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Garry Filakhtov 2019-05-22 09:53:56 UTC
systemd build with nat flag enabled fails when building system in separate root:

Dependency libiptc found: NO (tried pkgconfig and cmake)

meson.build:1072:8: ERROR:  Dependency "libiptc" not found, tried pkgconfig and cmake

A full log can be found at /var/tmp/portage/sys-apps/systemd-241-r1/work/systemd-241-abi_x86_64.amd64/meson-logs/meson-log.txt
 * ERROR: sys-apps/systemd-241-r1::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 4587:  Called multilib-minimal_src_configure
 *   environment, line 2886:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 3113:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2816:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2814:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  629:  Called multilib-minimal_abi_src_configure
 *   environment, line 2880:  Called multilib_src_configure
 *   environment, line 3343:  Called meson_src_configure '--localstatedir=/var' '-Dpamlibdir=/lib64/security' '-Dbashcompletiondir=/usr/share/bash-completion/completions' '-Dsplit-usr=false' '-Drootprefix=/usr' '-Dsysvinit-path=' '-Dsysvrcnd-path=' '-Dtelinit-path=/lib/sysvinit/telinit' '-Defi=true' '-Dima=true' '-Dacl=true' '-Dapparmor=false' '-Daudit=false' '-Dlibcryptsetup=false' '-Dlibcurl=false' '-Delfutils=false' '-Dgcrypt=true' '-Dgnu-efi=false' '-Defi-libdir=/usr/lib64' '-Dmicrohttpd=false' '-Dgnutls=false' '-Dimportd=false' '-Dbzip2=false' '-Dzlib=false' '-Dkmod=false' '-Dlz4=true' '-Dxz=false' '-Dlibiptc=true' '-Dpam=false' '-Dpcre2=false' '-Dpolkit=false' '-Dqrencode=false' '-Dseccomp=true' '-Dselinux=false' '-Ddbus=false' '-Dxkbcommon=false' '-Dkill-path=/bin/kill' '-Dntp-servers=0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org' '-Ddefault-kill-user-processes=false' '-Dbacklight=true' '-Dbinfmt=true' '-Dcoredump=true' '-Denvironment-d=true' '-Dfirstboot=true' '-Dhibernate=true' '-Dhostnamed=true' '-Dhwdb=true' '-Dldconfig=true' '-Dlocaled=true' '-Dman=true' '-Dnetworkd=true' '-Dquotacheck=true' '-Drandomseed=true' '-Drfkill=true' '-Dsysusers=true' '-Dtimedated=true' '-Dtimesyncd=true' '-Dtmpfiles=true' '-Dvconsole=true' '-Dlibidn2=false' '-Dlibidn=false'
 *   environment, line 2716:  Called die
 * The specific snippet of code:
 *       tc-env_build "$@" || die
 *
 * If you need support, post the output of `emerge --info '=sys-apps/systemd-241-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/systemd-241-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/systemd-241-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/systemd-241-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/systemd-241-r1/work/systemd-241-abi_x86_64.amd64'
 * S: '/var/tmp/portage/sys-apps/systemd-241-r1/work/systemd-241'

this happens because iptables is not marked as a build time dependency
Comment 1 Alexander Tsoy 2019-05-23 09:36:56 UTC
For some reason ${COMMON_DEPEND} was removed from DEPEND here:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a196aca92ea613e4bede8579947dbfcbdefd559a
Comment 2 Larry the Git Cow gentoo-dev 2019-07-10 19:18:26 UTC
The bug has been closed via the following commit(s):

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

commit 00836d82034a9c252a90a0e31f48e930c04ae6f0
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-07-10 19:16:46 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-07-10 19:18:21 +0000

    sys-apps/systemd: restore DEPEND="${COMMON_DEPEND}"
    
    Closes: https://bugs.gentoo.org/686536
    Package-Manager: Portage-2.3.68, Repoman-2.3.16_p2
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/systemd/systemd-242-r6.ebuild | 14 +++++++-------
 sys-apps/systemd/systemd-9999.ebuild   | 14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)