Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847877 - x11-themes/adwaita-icon-theme-42.0_p2 fails to compile: rm: cannot remove Adwaita: No such file or directory
Summary: x11-themes/adwaita-icon-theme-42.0_p2 fails to compile: rm: cannot remove Adw...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-28 06:53 UTC by Agostino Sarubbo
Modified: 2022-05-29 10:48 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,442.13 KB, text/plain)
2022-05-28 06:53 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-05-28 06:53:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-themes/adwaita-icon-theme-42.0_p2 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-05-28 06:53:47 UTC
Created attachment 781154 [details]
build.log

build log and emerge --info
Comment 2 Joonas Niilola gentoo-dev 2022-05-29 06:45:17 UTC
I think this is a situation where 'rm -rf' could be called - albeit it is a bit dangerous when touching EROOT. I don't really know the problem why this was added, but maybe 'find -type l' can be utilized to remove symlinks if that's the problem? 

Currently gnome can't be installed for new ~unstable systems due to this (not to forget about tinderboxing efforts.)
Comment 3 Joonas Niilola gentoo-dev 2022-05-29 08:47:33 UTC
... or maybe you can utilize has_version or REPLACING_VERSIONS here somehow, wrapping the check inside those.
Comment 4 Pacho Ramos gentoo-dev 2022-05-29 10:28:06 UTC
It is use to prevent bug 834600

Otherwise people will need to manually remove the old dir and re-do the symlink
Comment 5 Larry the Git Cow gentoo-dev 2022-05-29 10:48:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dc7507c70d477bcb12614393d7a8a840808a517

commit 1dc7507c70d477bcb12614393d7a8a840808a517
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2022-05-29 10:46:50 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2022-05-29 10:48:12 +0000

    x11-themes/adwaita-icon-theme: Fix logic to remove old directory
    
    Thanks-to: Agostino Sarubbo
    Thanks-to: Joonas Niilola
    Closes: https://bugs.gentoo.org/847877
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 x11-themes/adwaita-icon-theme/adwaita-icon-theme-42.0_p2.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)