Summary: | dev-scheme/guile-3.0.10-r100: QA concerns: there are files installed outside the prefix | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Ryan Tsien <i> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arsen, i, scheme |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | OS X | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=943022 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
A working patch for guile-3.0.10-r100.ebuild
outputs of `equeay f guile` The diff for unprefixed guile installs with the above patch 0001-dev-scheme-guile-fix-installation-of-slotted-guile-o.patch files-list-with-0001-dev-scheme-guile-fix-installation-of-slotted-guile-o.patch |
Thank you for testing slotted guile! Created attachment 903242 [details, diff]
A working patch for guile-3.0.10-r100.ebuild
hmm, why remove: mv "${ED}"/usr/share/aclocal/guile{,-"${SLOT}"}.m4 || die ... also, what's the diff of installed files on an unprefixed system? > hmm, why remove:
> mv "${ED}"/usr/share/aclocal/guile{,-"${SLOT}"}.m4 || die
because the guile.m4 is installed at:
$EPREFIX/usr/share/guile-data/3.0/aclocal/guile.m4
Created attachment 903298 [details] outputs of `equeay f guile` > ... also, what's the diff of installed files on an unprefixed system? (In reply to Ryan Tsien from comment #4) > > hmm, why remove: > > mv "${ED}"/usr/share/aclocal/guile{,-"${SLOT}"}.m4 || die > > because the guile.m4 is installed at: > > $EPREFIX/usr/share/guile-data/3.0/aclocal/guile.m4 this is outside the aclocal search path, though (which is why I had the old version installed into /usr/share/aclocal) Created attachment 903299 [details, diff] The diff for unprefixed guile installs with the above patch > ... also, what's the diff of installed files on an unprefixed system? (In reply to Arsen Arsenović from comment #6) > (In reply to Ryan Tsien from comment #4) > > > hmm, why remove: > > > mv "${ED}"/usr/share/aclocal/guile{,-"${SLOT}"}.m4 || die > > > > because the guile.m4 is installed at: > > > > $EPREFIX/usr/share/guile-data/3.0/aclocal/guile.m4 > > this is outside the aclocal search path, though (which is why I had the old > version installed into /usr/share/aclocal) How about just moving this file out? > mv "${ED}/usr/share/guile-data/${SLOT}/aclocal/guile.m4" "${ED}/usr/share/aclocal/guile-${SLOT}.m4" || die Created attachment 903345 [details, diff]
0001-dev-scheme-guile-fix-installation-of-slotted-guile-o.patch
could you test this patch? don't have prefix set up right now
Created attachment 903346 [details] files-list-with-0001-dev-scheme-guile-fix-installation-of-slotted-guile-o.patch > could you test this patch? don't have prefix set up right now Yes, it works, this is the files list. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e75fe9497d0c026b0e09a63241dc3d2d89f1e419 commit e75fe9497d0c026b0e09a63241dc3d2d89f1e419 Author: Arsen Arsenović <arsen@gentoo.org> AuthorDate: 2024-09-19 13:54:03 +0000 Commit: Arsen Arsenović <arsen@gentoo.org> CommitDate: 2024-09-19 18:14:57 +0000 dev-scheme/guile: fix installation of slotted guile on prefix Closes: https://bugs.gentoo.org/939799 Signed-off-by: Arsen Arsenović <arsen@gentoo.org> dev-scheme/guile/guile-3.0.10-r100.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) |
* QA Notice: the following files are outside of the prefix: * /usr * /usr/share * /usr/share/guile-data * /usr/share/guile-data/3.0 * /usr/share/guile-data/3.0/pkgconfig * /usr/share/guile-data/3.0/pkgconfig/guile-3.0.pc * /usr/share/guile-data/3.0/info * /usr/share/guile-data/3.0/info/guile.info * /usr/share/guile-data/3.0/info/guile.info-10 * /usr/share/guile-data/3.0/info/guile.info-11 * /usr/share/guile-data/3.0/info/guile.info-1 * /usr/share/guile-data/3.0/info/guile.info-6 * /usr/share/guile-data/3.0/info/guile.info-8 * /usr/share/guile-data/3.0/info/guile.info-9 * /usr/share/guile-data/3.0/info/guile.info-7 * /usr/share/guile-data/3.0/info/dir * /usr/share/guile-data/3.0/info/r5rs.info * /usr/share/guile-data/3.0/info/guile.info-5 * /usr/share/guile-data/3.0/info/guile.info-2 * /usr/share/guile-data/3.0/info/guile.info-3 * /usr/share/guile-data/3.0/info/guile.info-4 * ERROR: dev-scheme/guile-3.0.10-r100::gentoo_prefix failed: * Aborting due to QA concerns: there are files installed outside the prefix maybe a "$PREFIX" should be inserted before: > 46 GUILE_PCDIR="/usr/share/guile-data/${SLOT}/pkgconfig" Reproducible: Always