make[2]: Leaving directory '/var/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0' make[1]: Leaving directory '/var/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0' make-policy-file: warning: cannot find udev policy template in default locations make-policy-file: warning: use --template option to specify a file * ERROR: media-gfx/iscan-data-1.39.0.1::gentoo failed (install phase): * (no error message) * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-j4-20220216-224816 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.1 * clang/llvm (if any): /usr/lib/llvm/13 13.0.1 Python 3.9.10 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.58.1 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11] Available Java Virtual Machines: [1] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.4 [2] php8.0 [3] php8.1 * HEAD of ::gentoo commit 9ae2121baa62851ed511e874b70df69527720cb4 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Feb 18 07:52:01 2022 +0000 2022-02-18 07:51:57 UTC emerge -qpvO media-gfx/iscan-data [ebuild N ] media-gfx/iscan-data-1.39.0.1 USE="udev"
Created attachment 765349 [details] emerge-info.txt
Created attachment 765350 [details] emerge-history.txt
Created attachment 765351 [details] environment
Created attachment 765352 [details] etc.portage.tar.bz2
Created attachment 765353 [details] logs.tar.bz2
Created attachment 765354 [details] media-gfx:iscan-data-1.39.0.1:20220218-084610.log
Created attachment 765355 [details] temp.tar.bz2
This patch fixes the issue. Was able to successfully emerge and use this package. --- ./iscan-data-1.39.0.1.ebuild 2019-06-05 10:09:59.000000000 +0200 +++ ./iscan-data-1.39.0.1.fixed.ebuild 2022-04-27 21:50:17.000000000 +0200 @@ -37,6 +37,7 @@ "${D}/usr/$(get_libdir)/iscan-data/make-policy-file" \ --force --mode udev \ -d "${D}/usr/share/iscan-data/epkowa.desc" \ + --template "${D}/usr/share/iscan-data/fdi.xsl" \ -o "${D}${rulesdir}/99-iscan.rules" || die fi }
Just ran into this. Applying the patch in comment #8 worked for me.
I believe I am hitting this bug now. It's really weird to hit a bug in the install phase. If the patch works why has it not been implemented in the ebuild? >>> Source compiled. >>> Test phase [not enabled]: media-gfx/iscan-data-1.39.0.1 >>> Install media-gfx/iscan-data-1.39.0.1 into /tmp/portage/media-gfx/iscan-data-1.39.0.1/image * Some profiles automatically enable udev which will cause install * to fail if media-gfx/sane-backends is not already installed. make -j8 -l5 DESTDIR=/tmp/portage/media-gfx/iscan-data-1.39.0.1/image install Making install in policy make[1]: Entering directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0/policy' make[2]: Entering directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0/policy' test -z "/usr/lib64/iscan-data" || /usr/bin/mkdir -p "/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/lib64/iscan-data" test -z "/usr/share/iscan-data" || /usr/bin/mkdir -p "/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data" /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'sled10.custom.fdi' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/sled10.custom.fdi' /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c 'make-policy-file' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/lib64/iscan-data/make-policy-file' /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'fdi.xsl' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/fdi.xsl' make[2]: Leaving directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0/policy' make[1]: Leaving directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0/policy' make[1]: Entering directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0' make[2]: Entering directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/iscan-data" || /usr/bin/mkdir -p "/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data" test -z "/usr/share/iscan-data" || /usr/bin/mkdir -p "/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data" /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'usb' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/usb' /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'epkowa.desc' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/epkowa.desc' /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'scsi' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/scsi' /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 'fs-blacklist' '/tmp/portage/media-gfx/iscan-data-1.39.0.1/image/usr/share/iscan-data/fs-blacklist' make install-data-hook make[3]: Entering directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0' if test ! -d /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//usr/share/iscan-data/device; then \ /usr/bin/mkdir -p /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//usr/share/iscan-data/device; \ fi /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 ./device/*.xml \ /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//usr/share/iscan-data/device if test x'yes' != x && test -f ./matching; then \ if test ! -d /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//var/lib/lib/iscan-data; then \ /usr/bin/mkdir -p /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//var/lib/lib/iscan-data; \ fi; \ /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c -m 644 ./matching /tmp/portage/media-gfx/iscan-data-1.39.0.1/image//var/lib/lib/iscan-data/; \ fi make[3]: Leaving directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0' make[2]: Leaving directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0' make[1]: Leaving directory '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0' make-policy-file: warning: cannot find udev policy template in default locations make-policy-file: warning: use --template option to specify a file * ERROR: media-gfx/iscan-data-1.39.0.1::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_install * environment, line 1228: Called die * The specific snippet of code: * "${D}/usr/$(get_libdir)/iscan-data/make-policy-file" --force --mode udev -d "${D}/usr/share/iscan-data/epkowa.desc" -o "${D}${rulesdir}/99-iscan.rules" || die; * * If you need support, post the output of `emerge --info '=media-gfx/iscan-data-1.39.0.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/iscan-data-1.39.0.1::gentoo'`. * The complete build log is located at '/tmp/portage/media-gfx/iscan-data-1.39.0.1/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/media-gfx/iscan-data-1.39.0.1/temp/environment'. * Working directory: '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0' * S: '/tmp/portage/media-gfx/iscan-data-1.39.0.1/work/iscan-data-1.39.0' >>> Failed to emerge media-gfx/iscan-data-1.39.0.1, Log file: >>> '/tmp/portage/media-gfx/iscan-data-1.39.0.1/temp/build.log'
same here, patched ebuild builds well.