Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127105 - scheme48-1.3 - wrong path in the image
Summary: scheme48-1.3 - wrong path in the image
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-21 12:21 UTC by Lukasz Demianiuk
Modified: 2006-03-21 22:08 UTC (History)
0 users

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


Attachments
diff from scheme48-1.3 to scheme-1.3-r1 (scheme48.diff,1.62 KB, patch)
2006-03-21 22:08 UTC, Matthew Kennedy (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Demianiuk 2006-03-21 12:21:43 UTC
$ grep '/var/tmp/portage' /usr/lib/scheme48/scheme48.image 
Binary file /usr/lib/scheme48/scheme48.image matches

This breaks slime48, and probably other programs.

Though some paths are being fixed in the ebuild, two are missed.
It can be fixed by applying the following changes:

sed -i 's:`(cd $(srcdir) && echo $$PWD)`/scheme:/usr/lib/scheme48/:' ${S}/Makefile.in

sed -i "s:'\$(LIB)':'/usr/lib/\$(RUNNABLE)':" ${S}/Makefile.in
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2006-03-21 22:07:30 UTC
Thanks for the note.  I added the sed commands you suggested to the ebuild for scheme-1.3-r1.ebuild.  I also ported the ebuild to multilib (which means, we dont want to hardcode /usr/lib). I've attached the diff.  Please test and reopen if any  problems are encountered.
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2006-03-21 22:08:15 UTC
Created attachment 82839 [details, diff]
diff from scheme48-1.3 to scheme-1.3-r1