Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 832759

Summary: dev-vcs/rcs-5.10.1 - rm: cannot remove .../rcs: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Aaron W. Swenson <titanofold>
Status: RESOLVED FIXED    
Severity: normal CC: ago, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 862612    
Attachments: emerge-info.txt
dev-vcs:rcs-5.10.1:20220205-162533.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-02-05 16:30:16 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2022-02-05 16:30:17 UTC
Created attachment 764405 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-02-05 16:30:19 UTC
Created attachment 764406 [details]
dev-vcs:rcs-5.10.1:20220205-162533.log
Comment 3 Toralf Förster gentoo-dev 2022-02-05 16:30:20 UTC
Created attachment 764407 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-02-05 16:30:22 UTC
Created attachment 764408 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-02-05 16:30:23 UTC
Created attachment 764409 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-02-05 16:30:24 UTC
Created attachment 764410 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-02-05 16:30:25 UTC
Created attachment 764411 [details]
temp.tar.bz2
Comment 8 OKUMURA N. Shin-ya 2022-02-20 09:00:04 UTC
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).
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-01 03:25:59 UTC
(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}.
Comment 10 Larry the Git Cow gentoo-dev 2022-08-01 03:27:04 UTC
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(-)
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-02 01:43:20 UTC
*** Bug 862654 has been marked as a duplicate of this bug. ***