>>> Source compiled. >>> Test phase [not enabled]: app-crypt/ssss-0.5.7-r1 >>> Install app-crypt/ssss-0.5.7-r1 into /var/tmp/portage/app-crypt/ssss-0.5.7-r1/image !!! doman: ssss.1 does not exist * ERROR: app-crypt/ssss-0.5.7-r1::gentoo failed (install phase): * doman failed * * If you need support, post the output of `emerge --info '=app-crypt/ssss-0.5.7-r1::gentoo'`, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_hardened-20240926-145007 UNMASKED: /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15 Requested by sam The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang/llvm (if any): clang version 18.1.8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/19 19.1.0 Python 3.12.6 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.81.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): (none found) go version go1.23.1 linux/amd64 HEAD of ::gentoo commit 18a549b532b385a904d16d934e3e9332125e422c Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Sep 28 16:21:19 2024 +0000 2024-09-28 16:21:19 UTC emerge -qpvO =app-crypt/ssss-0.5.7-r1 [ebuild N ] app-crypt/ssss-0.5.7-r1
Created attachment 904087 [details] emerge-info.txt
Created attachment 904088 [details] app-crypt:ssss-0.5.7-r1:20240928-171837.log
Created attachment 904089 [details] emerge-history.txt
Created attachment 904090 [details] environment
Created attachment 904091 [details] etc.clang.tar.xz
Created attachment 904092 [details] etc.portage.tar.xz
Created attachment 904093 [details] qlist-info.txt.xz
Created attachment 904094 [details] temp.tar.xz
if [ -e ssss.1 ]; then cp ssss.1 ssss-split.1; cp ssss.1 ssss-combine.1; fi /bin/sh: line 1: which: command not found WARNING: xmlmantohtml not found, skipping generation of HTML documentation.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e645be244bf14076147cfc22d39df4ae80cf1d44 commit e645be244bf14076147cfc22d39df4ae80cf1d44 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2024-09-28 20:50:59 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2024-09-28 20:51:37 +0000 app-crypt/ssss: don't use which Closes: https://bugs.gentoo.org/940450 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> app-crypt/ssss/{ssss-0.5.7-r1.ebuild => ssss-0.5.7-r2.ebuild} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
+ # Don't use 'which' + sed -e 's/-O2/$(CFLAGS) -lgmp $(LDFLAGS)/g' -e '/strip/d' -e 's/which/type -P/g' -i Makefile || die This will not work! "type -P" is not valid in scripts or Makefiles unless they explicitly use /bin/bash. I just added a comment to that effect yesterday on the tracker issue. P.S. Is there a reason to avoid submitting an upstream PR with a fix and instead patching it in the ebuild?
(In reply to Eli Schwartz from comment #11) > + # Don't use 'which' > + sed -e 's/-O2/$(CFLAGS) -lgmp $(LDFLAGS)/g' -e '/strip/d' -e 's/which/type > -P/g' -i Makefile || die > > > This will not work! "type -P" is not valid in scripts or Makefiles unless > they explicitly use /bin/bash. Sure? I just wonder, since I do not saw any error message or any other errors during test?
This is tracked by bug 526268. It depends on app-alternatives/sh -- many people leave the default USE flags in place, many people instead have USE=dash
I confirm that replacing 'type -P' by 'command -v' allows app-crypt/ssss to install successfully on a system with /bin/sh -> dash.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f2662e2d5507fdf1fb487c0a5fcdee834dde66 commit 77f2662e2d5507fdf1fb487c0a5fcdee834dde66 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2024-12-23 20:16:18 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2024-12-23 20:16:18 +0000 app-crypt/ssss: replace 'type -P' by 'command -v' Closes: https://bugs.gentoo.org/940450 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> app-crypt/ssss/{ssss-0.5.7-r2.ebuild => ssss-0.5.7-r3.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)