Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 901967 - sci-libs/caffe2-1.13.1-r4 fails during install - rm: cannot remove '/dev/shm/portage/sci-libs/caffe2-1.13.1-r4/image/var/tmp': No such file or directory
Summary: sci-libs/caffe2-1.13.1-r4 fails during install - rm: cannot remove '/dev/shm/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-03-17 17:17 UTC by Larry Pyeatt
Modified: 2023-09-14 17:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Pyeatt 2023-03-17 17:17:09 UTC
Fixed by changing 
caffe2-1.13.1-r4.ebuild:181:   rm -r "${ED}"/var/tmp || die
to 
caffe2-1.13.1-r4.ebuild:181:   rm -rf "${ED}"/var/tmp || die
and rebuilding the manifest.
Comment 1 Larry the Git Cow gentoo-dev 2023-03-17 18:47:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5569e6c21c3020ed6c15c175063ec5633564b53f

commit 5569e6c21c3020ed6c15c175063ec5633564b53f
Author:     Larry D. Pyeatt <larry.pyeatt@sdsmt.edu>
AuthorDate: 2023-03-17 17:47:50 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-03-17 18:46:38 +0000

    sci-libs/caffe2: sci-libs/caffe2-1.13.1-r4 fails during install - rm: cannot remove '/dev/shm/portage/sci-libs/caffe2-1.13.1-r4/image/var/tmp': No such file or directory
    
    Closes: https://bugs.gentoo.org/901967
    Signed-off-by: Larry D. Pyeatt <larry.pyeatt@sdsmt.edu>
    Closes: https://github.com/gentoo/gentoo/pull/30187
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-libs/caffe2/caffe2-1.13.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Ellen Emilia Anna Zscheile 2023-09-14 17:12:48 UTC
When $PORTAGE_TMPDIR is modified in make.conf, the package still installs stuff into a temporary directory...

--- /tmp/
--- /tmp/portage/
--- /tmp/portage/sci-libs/
--- /tmp/portage/sci-libs/caffe2-2.0.1-r4/
--- /tmp/portage/sci-libs/caffe2-2.0.1-r4/work/
--- /tmp/portage/sci-libs/caffe2-2.0.1-r4/work/pytorch-2.0.1/
--- /tmp/portage/sci-libs/caffe2-2.0.1-r4/work/pytorch-2.0.1/functorch/
>>> /tmp/portage/sci-libs/caffe2-2.0.1-r4/work/pytorch-2.0.1/functorch/functorch.so