!!! dolib: libdm/ioctl/libdevmapper.a does not exist * ERROR: sys-fs/lvm2-2.03.14::gentoo failed (install phase): * dolib failed * * If you need support, post the output of `emerge --info '=sys-fs/lvm2-2.03.14::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/lvm2-2.03.14::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-fs/lvm2-2.03.14/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/lvm2-2.03.14/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/lvm2-2.03.14/work/LVM2.2.03.14' * S: '/var/tmp/portage/sys-fs/lvm2-2.03.14/work/LVM2.2.03.14' * QA Notice: file does not exist: * * dolib: libdm/ioctl/libdevmapper.a does not exist
Portage 3.0.28 (python 3.9.9-final-0, default/linux/amd64/17.1, gcc-11.2.0, glibc-2.34-r2, 5.14.10-gentoo x86_64) ================================================================= System uname: Linux-5.14.10-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_X_990_@_3.47GHz-with-glibc2.34 KiB Mem: 49404008 total, 14334788 free KiB Swap: 25690108 total, 25145380 free Timestamp of repository gentoo: Wed, 17 Nov 2021 19:45:01 +0000 Head commit of repository gentoo: 240689875666bb96251830eb989d6cf93b21a2b3 sh bash 5.1_p8 ld GNU ld (Gentoo 2.37_p1 p1) 2.37 distcc 3.4 x86_64-pc-linux-gnu [disabled] ccache version 4.5 [enabled] app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r5::gentoo dev-lang/python: 2.7.18_p13::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo dev-lang/rust: 1.56.1::gentoo dev-util/ccache: 4.5::gentoo dev-util/cmake: 3.21.4::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.8::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r1::gentoo sys-devel/gcc: 11.2.0::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r2::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: --compress --exclude-from=/etc/portage/rsync_excludes --new-compress sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 bl4ckb0x location: /usr/local/portage masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mfpmath=sse,387 -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/teamspeak3-server/ts3server.ini /etc/teamspeak3-server/ts3server_mariadb.ini /etc/teamspeak3-server/tsdns_settings.ini /opt/fhem /usr/share/gnupg/qualified.txt /var/lib/fhem" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -mfpmath=sse,387 -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-frecord-gcc-switches" GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/" INSTALL_MASK="/etc/systemd/* /etc/xinetd.d/* /usr/lib/systemd/system/*" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--sort-common -Wl,-z,now" LINGUAS="de de_DE" MAKEOPTS="-j13 -l12" PKGDIR="/var/cache/binpkgs" PORTAGE_BUNZIP2_COMMAND="pbunzip2" PORTAGE_BZIP2_COMMAND="pbzip2" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-9e" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--compress --exclude-from=/etc/portage/rsync_excludes --new-compress" 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" USE="X aalib acl alsa amd64 avahi berkdb bzip2 cairo caps cddb cdinstall cjk cracklib crypt cups curl cvs cxx dbus dedicated dga djvu elogind encode exif fbcon ffmpeg fftw filecaps flac flite fontconfig ftp gd gif git gmp gnutls gphoto2 gpm graphviz gsm gstreamer iconv icu idn imagemagick imap imlib inotify introspection ipv6 java javascript jbig jemalloc jit joystick jpeg jpeg2k latex lcms ldap libcaca libglvnd libnotify libsamplerate lm-sensors luajit lz4 lzma lzo magic maildir mbox mhash mikmod mmap mng modplug mp3 mysql mysqli ncurses nls nntp nptl offensive ogg openal openexr opengl openmp orc oss pam pcre pdf perl pie png policykit posix postproc postscript pulseaudio python qt4 qt5 raw readline rtmp samba scanner sdl seccomp session slang sndfile sockets sound speex spell split-usr sqlite ssl subversion suid svg symlink syslog tcpd theora threads tiff timidity truetype udev unicode upnp usb v4l vaapi vcd vdpau verify-sig vhosts vim-syntax vnc vorbis wavpack webkit webp wmf x264 xattr xcb xface xft xml xmlrpc xmp xmpp xpm xscreensaver xv xvid zeroconf zip zlib zsh-completion zstd" ABI_X86="32 64" COLLECTD_PLUGINS="buddyinfo capabilities cgroups check_uptime connectivity conntrack contextswitch cpu cpufreq cpusleep df disk dns entropy ethstat exec filecount hddtemp hugepages interface ipc iptables irq java load memory mysql netlink nfs nginx numa openvpn pcie_errors ping postgresql procevent processes protocols rrdcached sensors serial smart swap syslog tcpconns thermal turbostat unixsock uptime users" CPU_FLAGS_X86="aes mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2" CURL_SSL="openssl" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="lua5-2 lua5-3 lua5-4" NGINX_MODULES_HTTP="access addition auth_basic autoindex brotli browser charset fancyindex fastcgi geo geoip geoip2 gunzip gzip headers_more limit_conn proxy realip referer rewrite sticky stub_status upstream_keepalive vhost_traffic_status" NGINX_MODULES_STREAM="access geo geoip geoip2 limit_conn realip return ssl_preread" PHP_TARGETS="php7-4 php8-0" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon" Unset: CC, CPPFLAGS, CTARGET, CXX, PORTAGE_BINHOST, RUSTFLAGS
Created attachment 752022 [details] build.log
[ebuild U ] sys-fs/lvm2-2.03.14::gentoo [2.02.188-r2::gentoo] USE="readline static-libs -device-mapper-only -lvm2create-initrd% -sanlock (-selinux) -static -systemd -thin -udev (-lvm2create_initrd%)" 0 KiB
Ran into this as well. USE=static gets past this issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d58f912e7c3d7f2bdf74d7fd18ab8669cdb480ec commit d58f912e7c3d7f2bdf74d7fd18ab8669cdb480ec Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-11-22 17:49:10 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-11-22 17:49:10 +0000 sys-fs/lvm2: set REQUIRED_USE="static-libs? ( static )" This is necessary to ensure we get static libs without applying ${P}-always-make-static-libdm.patch. Closes: https://bugs.gentoo.org/824262 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-fs/lvm2/lvm2-2.03.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)