Summary: | x11-wm/fvwm-2.6.5-r1: installation fails in RAP/Prefix | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gábor VIDA <vidagabor> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | jstein, proxy-maint, vidagabor |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 599144 | ||
Bug Blocks: | |||
Attachments: |
output of emerge --info '=x11-wm/fvwm-2.6.5-r1::gentoo'
diff between the old and the fixed ebuild the fixed ebuild list of installed files using the original ebuild on non-prefixed Gentoo list of installed files using the fixed ebuild on non-prefixed Gentoo list of installed files using the fixed ebuild on RAP Gentoo build log on RAP Gentoo the fixed ebuild diff between the old and the fixed ebuild |
Description
Gábor VIDA
2016-11-03 09:42:51 UTC
Created attachment 452232 [details]
output of emerge --info '=x11-wm/fvwm-2.6.5-r1::gentoo'
Created attachment 452234 [details, diff]
diff between the old and the fixed ebuild
Created attachment 452236 [details]
the fixed ebuild
Created attachment 452238 [details]
list of installed files using the original ebuild on non-prefixed Gentoo
Created attachment 452240 [details]
list of installed files using the fixed ebuild on non-prefixed Gentoo
Created attachment 452242 [details]
list of installed files using the fixed ebuild on RAP Gentoo
Created attachment 452244 [details]
build log on RAP Gentoo
Some comments on the patched ebuild: - there is a typo in the '--docdir' - is it really necessary to specify '--docdir' anyway? - the fperms call also needs to be eprefixified Note that the current proxied maintainer has not worked on the package for more than a year. So don't expect that this bug will be fixed until another maintainer steps up. (It could be you.) Also note that there is a new version (see bug 580166) for which (I think) some parts of src_install become unecessary. Thank you for the comments! I was focusing on doing only the minimal to make this ebuild work in RAP. But yes, --docdir is not needed. I can't see the typo around --docdir, but since I removed, it is not interesting any more. If I use eprefixified path with fperms, like: echo "${EPREFIX}/usr/bin/fvwm" > "${ED}/etc/X11/Sessions/${PN}" || die fperms a+x ${ED}/etc/X11/Sessions/${PN} || die Then I get this: chmod: cannot access '/home/vidagabor/usr/roots/gentoo/var/tmp/portage/x11-wm/fvwm-2.6.5-r2/image/home/vidagabor/usr/roots/gentoo//home/vidagabor/usr/roots/gentoo/var/tmp/portage/x11-wm/fvwm-2.6.5-r2/image/home/vidagabor/usr/roots/gentoo//etc/X11/Sessions/fvwm': No such file or directory * ERROR: x11-wm/fvwm-2.6.5-r2::gentoo failed (install phase): * fperms failed I looked into fperms code, and it seems that it does auto-eprefixing: chmod "${@/#${slash}/${ED}${slash}}" I'm interested in being the proxy maintainer of this package, however, fvwm is not yet in the maintainer-needed list. Do you think I still can open a Maintainership Request bug? Created attachment 452380 [details]
the fixed ebuild
Created attachment 452382 [details, diff]
diff between the old and the fixed ebuild
Please do open a maintainership request bug if you are interested in maintaining this package. A package can also have more than one proxied maintainer. It's good to know that fperms takes the prefix into account. please retry with 2.6.8 and, if still valid, provide an updated diff Thanks |