make[1]: Leaving directory '/var/tmp/portage/x11-misc/xscreensaver-6.07/work/xscreensaver-6.07/po' removed '/var/tmp/portage/x11-misc/xscreensaver-6.07/image/usr/share/fonts/xscreensaver/gallant12x22.ttf' rm: cannot remove '/var/tmp/portage/x11-misc/xscreensaver-6.07/image/usr/share/fonts/xscreensaver/OCRAStd.otf': No such file or directory * ERROR: x11-misc/xscreensaver-6.07::gentoo failed (install phase): * (no error message) * Reproducible: Always
this will fix the problem, but can you confirm OCRA.ttf having same license issue? so we should delete it? if yes, then I can help to push the fix to portage tree.. --- a/x11-misc/xscreensaver/xscreensaver-6.07.ebuild +++ b/x11-misc/xscreensaver/xscreensaver-6.07.ebuild @@ -221,7 +221,7 @@ src_install() { if use fonts; then # Do not install fonts with unclear licensing - rm -v "${ED}${FONTDIR}"/{gallant12x22.ttf,OCRAStd.otf} || die + rm -v "${ED}${FONTDIR}"/{gallant12x22.ttf,OCRA.ttf} || die
Debian has fonts-ocr-a [1] which contains a file OCRA.ttf. According do Debian's licensing information, it is in the "Public Domain". The shasum of /usr/share/fonts/truetype/ocr-a/OCRA.ttf from fonts-ocr-a_1.0-10_all.deb is 5e0446db73c05a3b8826533fed6192e932e66cb9 The shasum of hacks/fonts/OCRA.ttf of xscreensaver 6.07 is d221493fa6a960cce7418b57c453013a66099573 So the two do not match. But I feel like we may still be looking at the some source of origin. Alternatively, we could wait till Debian updates https://salsa.debian.org/debian/xscreensaver/-/blob/master/debian/copyright#L8 when they package xscreensaver 6.07. 1: https://tracker.debian.org/pkg/fonts-ocr-a
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193ea947caa4cbe902ace8a0b54d91c878d281bb commit 193ea947caa4cbe902ace8a0b54d91c878d281bb Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2023-09-08 12:04:03 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2023-09-08 12:04:03 +0000 x11-misc/xscreensaver: fix fonts removal Closes: https://bugs.gentoo.org/913848 Signed-off-by: Florian Schmaus <flow@gentoo.org> x11-misc/xscreensaver/xscreensaver-6.07.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)