When building app-admin/rsyslog-8.2502.0 with USE="-curl" and net-misc/curl not installed, the build fails at the configure stage with: checking for curl/curl.h... no checking for libcurl >= 7.40.0... no configure: error: Package requirements (libcurl >= 7.40.0) were not met: Package 'libcurl' not found Installing net-misc/curl makes it build, and one can then emerge --depclean net-misc/curl again, but the library is preserved due to imdocker.so: !!! existing preserved libs: >>> package: net-misc/curl-8.12.1 * - /usr/lib64/libcurl.so.4 * - /usr/lib64/libcurl.so.4.8.0 * used by /usr/lib64/rsyslog/imdocker.so (app-admin/rsyslog-8.2502.0) # for so in /usr/lib64/rsyslog/*.so; do if ldd $so | grep curl; then echo $so; fi; done libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007f7faca6d000) /usr/lib64/rsyslog/imdocker.so This could be a regression of bug 646262. Reproducible: Always Portage 3.0.67 (python 3.11.11-final-0, default/linux/amd64/23.0/split-usr/hardened, gcc-14, glibc-2.41-r1, 6.13.7-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.13.7-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-glibc2.41 KiB Mem: 65734352 total, 1908036 free KiB Swap: 67042300 total, 51526764 free Timestamp of repository gentoo: Sun, 30 Mar 2025 11:45:00 +0000 Head commit of repository gentoo: d45394982170040d1dda50995c285a703dee9099 sh bash 5.2_p37 ld GNU ld (Gentoo 2.44 p1) 2.44.0 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo, 1.17-r2::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.7.0::gentoo dev-lang/perl: 5.40.1::gentoo dev-lang/python: 3.11.11_p2::gentoo, 3.12.2_p1::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/openrc: 0.61::gentoo sys-apps/sandbox: 2.46::gentoo sys-devel/binutils: 2.44::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20250301::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.41-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 3 sync-rsync-extra-opts: --timeout=10 --ipv6 sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/ossec/etc /var/ossec/etc/" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /var/ossec/etc/shared/" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --keep-going --quiet-build=y --backtrack=30 --verbose-conflicts --usepkg --binpkg-respect-use=y --binpkg-changed-deps=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="sv_SE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=10 --ipv6" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="acl amd64 bzip2 cet crypt gdbm hardened iconv idn ipv6 libtirpc multilib ncurses nls openmp pam pcre pic pie readline seccomp split-usr ssl ssp test-rust unicode xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US en-GB sv" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="19" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= app-admin/rsyslog-8.2502.0::gentoo was built with the following: USE="-clickhouse -curl -dbi -debug -doc -elasticsearch gcrypt -gnutls -imhttp -impcap -jemalloc -kafka -kerberos -kubernetes -mdblookup -mongodb -mysql -normalize -omhttp -omhttpfs -omudpspoof openssl -postgres -rabbitmq -redis -relp -rfc3195 -rfc5424hmac -snmp ssl -systemd -test -usertools uuid -xxhash -zeromq" ABI_X86="(64)" CFLAGS="-march=native -O2 -pipe -std=gnu17"
Created attachment 923372 [details] build.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35da66ae0fe9628417d00d68079584786133aaec commit 35da66ae0fe9628417d00d68079584786133aaec Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2025-03-31 21:13:26 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2025-03-31 21:33:22 +0000 app-admin/rsyslog: add imdocker USE flag Closes: https://bugs.gentoo.org/952976 Signed-off-by: Maciej Barć <xgqt@gentoo.org> app-admin/rsyslog/metadata.xml | 1 + .../rsyslog/{rsyslog-8.2502.0.ebuild => rsyslog-8.2502.0-r1.ebuild} | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-)