Summary: | dev-scheme/slib-3.1.5-r1 starter script fails to start due to wrong path substitution during install stage | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernd Waibel <waebbl> |
Component: | [OLD] Development | Assignee: | Scheme Project <scheme> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoobugs, pacho |
Priority: | High | Keywords: | NeedPatch |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Log file of last emerge
Trivial patch for dev-scheme/slib/slib-3.1.5-r1.ebuild Updated ebuild patch updated ebuild to not use dosed updated ebuild to not use dosed |
Description
Bernd Waibel
2010-08-22 11:34:01 UTC
Created attachment 244011 [details]
Log file of last emerge
Created attachment 244415 [details, diff] Trivial patch for dev-scheme/slib/slib-3.1.5-r1.ebuild (In reply to comment #0) > > Looks to me, like the WORKDIR part isn'r removed from the path during the > install stage. You're right. A "dosed /usr/bin/slib" statement is missing after emake install. Here is a patch you can apply to your ebuild (and move it into one local overlay to not have it removed at the next sync) Are you willing to proxy maintain this? http://www.gentoo.org/proj/en/qa/proxy-maintainers/index.xml Anyway, an updated patch would be needed as dosed is deprecated :( Created attachment 337786 [details, diff] Updated ebuild patch (In reply to comment #3) > Are you willing to proxy maintain this? > http://www.gentoo.org/proj/en/qa/proxy-maintainers/index.xml I decline the offer. I closely follow the scheme herd for a few years, but I never really understood slib goals/usage. > Anyway, an updated patch would be needed as dosed is deprecated :( It is still trivial, reading pms, one should replace the dosed line by : sed -i "s:${D}::" /usr/bin/slib || die "sed failed" Patch updated for 3.1.5. Dunno if 3.2.x are okay or not. (In reply to comment #4) > sed -i "s:${D}::" /usr/bin/slib || die "sed failed" ^ `--- $D is missing here. The patch contains it. btw, I noticed slib-3.1 won't work with guile-2 Created attachment 337794 [details, diff]
updated ebuild to not use dosed
updated patch which does not use dosed, but instead uses sed on "${D}"/usr/bin/slib
I forgot to reload the page before submitting the patch and didn't see Cyprien Nicolas already provided another patch. Anyway the patch provided by Cyprien didn't work out on my machine. It's how I started and it failed with a sandbox violation. Maybe it's due to some sandbox'ing features I have enabled, so I leave my patch for now. As for proxy-maintaining the ebuild, I don't feel qualified for this package to proxy-maintain. I haven't used scheme, or slib for this part, for years. I only have slib installed because gnucash pulls it in as an dependency. So I neither know the package well, nor am I overly enthusiastic about it, which would likely disqualify me, as of the proxy-maintainers webpage. I haven't tried guile:2 for now, because I'm mostly using the stable branch. There's also a "new" (from 2010) version of slib available, 3b3, which would translate to slib-3.2.3 in gentoo, which uses some kind of configure script. I will do check out this version and see if I can provide an ebuild for it. Created attachment 337798 [details, diff]
updated ebuild to not use dosed
updated the ebuild to die if sed fails
Fixed with dev-scheme/slib-3.2.5 |