Created attachment 564318 [details] config.log trying to update, libblockdev fails for me, as the ebuild doesn't disable devmapper during configure phase while I don't have devmapper installed # emerge -avuDN --with-bdeps=y --backtrack=30 --keep-going world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-libs/libblockdev-2.20-r1::gentoo [2.14-r1::gentoo] USE="-bcache -cryptsetup -dmraid -doc -escrow% -kbd -lvm -test -vdo%" PYTHON_SINGLE_TARGET="python3_6 -python2_7% -python3_4 -python3_5 (-python3_7)" PYTHON_TARGETS="python2_7%* python3_6 -python3_4 -python3_5 (-python3_7)" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-libs/libblockdev-2.20-r1::gentoo * libblockdev-2.20-1.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking libblockdev-2.20-1.tar.gz to /var/tmp/portage/sys-libs/libblockdev-2.20-r1/work >>> Source unpacked in /var/tmp/portage/sys-libs/libblockdev-2.20-r1/work >>> Preparing source in /var/tmp/portage/sys-libs/libblockdev-2.20-r1/work/libblockdev-2.20-1 ... * Running eautoreconf in '/var/tmp/portage/sys-libs/libblockdev-2.20-r1/work/libblockdev-2.20-1' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf --force ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: libblockdev-2.20-1/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-libs/libblockdev-2.20-r1/work/libblockdev-2.20-1 ... * econf: updating libblockdev-2.20-1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libblockdev-2.20-1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libblockdev-2.20-r1 --htmldir=/usr/share/doc/libblockdev-2.20-r1/html --with-sysroot=/ --libdir=/usr/lib64 --with-btrfs --with-fs --with-part --without-mpath --without-nvdimm --disable-tests --without-bcache --without-crypto --without-dmraid --without-gtk-doc --without-escrow --without-lvm --without-lvm-dbus --without-kbd --without-vdo --without-python2 --with-python3 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for python version... 3.6 checking for python platform... linux checking for python script directory... ${prefix}/lib64/python3.6/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python3.6/site-packages checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for gobject-introspection... yes checking for python3... /var/tmp/portage/sys-libs/libblockdev-2.20-r1/temp/python3.6/bin/python3 checking for dlfcn.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking linux/random.h usability... yes checking linux/random.h presence... yes checking for linux/random.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for glib-2.0 >= 2.42.2... yes checking for gobject-2.0 >= 2.42.2... yes checking for gio-2.0 >= 2.42.2... yes checking for libudev >= 216... yes checking for libkmod >= 19... yes checking for devmapper >= 1.02.93... no checking for libparted >= 3.1... yes checking for mount >= 2.23.0... yes checking for blkid >= 2.23.0... yes checking for bytesize >= 0.1... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/plugins/Makefile config.status: creating src/plugins/fs/Makefile config.status: creating src/utils/Makefile config.status: creating src/utils/blockdev-utils.pc config.status: creating src/lib/Makefile config.status: creating src/lib/plugin_apis/Makefile config.status: creating src/lib/blockdev.c config.status: creating src/lib/blockdev.pc config.status: creating src/python/Makefile config.status: creating src/python/gi/Makefile config.status: creating src/python/gi/overrides/Makefile config.status: creating include/Makefile config.status: creating include/blockdev/Makefile config.status: creating docs/Makefile config.status: creating docs/libblockdev-docs.xml config.status: creating dist/Makefile config.status: creating dist/libblockdev.spec config.status: creating scripts/Makefile config.status: creating data/Makefile config.status: creating data/conf.d/Makefile config.status: executing depfiles commands config.status: executing libtool commands *** Libblockdev encountered the following issues during configuration: No package 'devmapper' found *** Libblockdev will not successfully build without these missing dependencies
simply configuring without dm fixes the failure for me: --- /usr/portage/sys-libs/libblockdev/libblockdev-2.20-r1.ebuild 2019-02-07 00:09:40.000000000 +0100 +++ libblockdev-2.20-r1.ebuild 2019-02-09 10:38:45.453919335 +0100 @@ -15,7 +15,7 @@ LICENSE="LGPL-2+" SLOT="0" KEYWORDS="alpha amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 sparc x86" -IUSE="bcache +cryptsetup dmraid doc escrow lvm kbd test vdo" +IUSE="bcache +cryptsetup device-mapper dmraid doc escrow lvm kbd test vdo" RDEPEND=" >=dev-libs/glib-2.42.2 @@ -72,6 +72,7 @@ $(use_enable test tests) $(use_with bcache) $(use_with cryptsetup crypto) + $(use_with device-mapper dm) $(use_with dmraid) $(use_with doc gtk-doc) $(use_with escrow)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d4a6baf0fb4fb56c4a7e9bedadc4ab095793125 commit 6d4a6baf0fb4fb56c4a7e9bedadc4ab095793125 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-02-23 12:11:42 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-02-23 12:12:33 +0000 sys-libs/libblockdev: Revbump to backport two fixes. - Reset xdg environment - Added "device-mapper" USE flag Closes: https://bugs.gentoo.org/623992 Closes: https://bugs.gentoo.org/677534 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../{libblockdev-2.20-r1.ebuild => libblockdev-2.20-r2.ebuild} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a092a118d843b0f7fa4fecd800bbba83e55120 commit 04a092a118d843b0f7fa4fecd800bbba83e55120 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-02-23 12:06:46 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-02-23 12:12:32 +0000 sys-libs/libblockdev: Bump to version 2.21 - Reset xdg environment - Added "device-mapper" USE flag - Added "tools" USE flag Bug: https://bugs.gentoo.org/623992 Bug: https://bugs.gentoo.org/677534 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-libs/libblockdev/Manifest | 1 + sys-libs/libblockdev/libblockdev-2.21.ebuild | 104 +++++++++++++++++++++++++++ sys-libs/libblockdev/metadata.xml | 6 +- 3 files changed, 109 insertions(+), 2 deletions(-)