else \ rm -rf rcs.htp; exit 1; \ fi make: Leaving directory '/var/tmp/portage/dev-vcs/rcs-5.10.1/work/rcs-5.10.1/doc' rm: cannot remove '/var/tmp/portage/dev-vcs/rcs-5.10.1/image/usr/share/doc/rcs': No such file or directory * ERROR: dev-vcs/rcs-5.10.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_systemd-j4-20220203-120005 ------------------------------------------------------------------- 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 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] 2) Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit c67dcd32f7d6982f6cb4c2cb0894f06ea1ca31cc Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Feb 5 15:51:57 2022 +0000 2022-02-05 15:51:56 UTC emerge -qpvO dev-vcs/rcs [ebuild N ] dev-vcs/rcs-5.10.1 USE="doc"
Created attachment 764405 [details] emerge-info.txt
Created attachment 764406 [details] dev-vcs:rcs-5.10.1:20220205-162533.log
Created attachment 764407 [details] emerge-history.txt
Created attachment 764408 [details] environment
Created attachment 764409 [details] etc.portage.tar.bz2
Created attachment 764410 [details] logs.tar.bz2
Created attachment 764411 [details] temp.tar.bz2
Why is 'rm -R "${ED}"/usr/share/doc/rcs || die' necessary? I just deleted the line from the ebuild, then it seems correctly work (AFAIK).
(In reply to OKUMURA N. Shin-ya from comment #8) > Why is 'rm -R "${ED}"/usr/share/doc/rcs || die' necessary? > I just deleted the line from the ebuild, then it seems correctly work > (AFAIK). I imagine it was there because the build system previously didn't respect ${docdir}.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88c3f5c267c2fd85898bd21b23fe6d617c0273e8 commit 88c3f5c267c2fd85898bd21b23fe6d617c0273e8 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-01 03:26:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-01 03:26:52 +0000 dev-vcs/rcs: fix USE=doc install Closes: https://bugs.gentoo.org/832759 Signed-off-by: Sam James <sam@gentoo.org> dev-vcs/rcs/rcs-5.10.1.ebuild | 1 - 1 file changed, 1 deletion(-)
*** Bug 862654 has been marked as a duplicate of this bug. ***