Looking at my build.log, at the end of the compile phase are a few lines where the package tries to make the man documentation from a manual.xml file. It doesn't fail in the compile phase, strangely, because XMLTO is set to ":" (just a colon) in the Makefile[1], and apparently ": is a shell builtin that is basically equivalent to the true command". It fails later in the install phase when it fails to find the expected man files. Emerging app-text/xmlto (adding it to the DEPEND section) fixed the issue. (app-text/xmlto doesn't require the "text" USE flag here.) (The configure stage did check for xmlto, and didn't find it, but continued anyways.) [1] : --searchpath /var/tmp/portage/media-gfx/zbar-0.20.1-r1/work/zbar-0.20.1-abi_x86_64.amd64/doc -m /var/tmp/portage/media-gfx/zbar-0.20.1-r1/work/ zbar-0.20.1/doc/style.xsl --skip-validation -o doc/man man /var/tmp/portage/media-gfx/zbar-0.20.1-r1/work/zbar-0.20.1/doc/manual.xml
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fc3d20f5c50f937d0ae33d30e4f23f95fb021c8 commit 3fc3d20f5c50f937d0ae33d30e4f23f95fb021c8 Author: Yury Martynov <email@linxon.ru> AuthorDate: 2020-04-23 14:40:43 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-04-26 13:36:46 +0000 media-gfx/zbar: bump to 0.23.1 Closes: https://bugs.gentoo.org/719068 Closes: https://bugs.gentoo.org/680520 Closes: https://bugs.gentoo.org/687752 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Yury Martynov <email@linxon.ru> Closes: https://github.com/gentoo/gentoo/pull/15486 Signed-off-by: Joonas Niilola <juippis@gentoo.org> media-gfx/zbar/Manifest | 1 + ....23.1_fix_leftover_on_shell_compatibility.patch | 24 +++ .../zbar/files/zbar-0.23.1_fix_unittest.patch | 78 +++++++ media-gfx/zbar/zbar-0.23.1.ebuild | 224 +++++++++++++++++++++ 4 files changed, 327 insertions(+)