| Summary: | dev-listp/drscheme - mzc script contains incorrect path | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Faustus <orlovm> |
| Component: | New packages | Assignee: | Karl Trygve Kalleberg (RETIRED) <karltk> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | drscheme-209-trace.bz2 | ||
|
Description
Faustus
2005-02-11 08:22:55 UTC
Marked 208 as stable, please upgrade. mzc is still incorrect:
> mzc
/usr/bin/mzc: line 9: /tmp/portage/drscheme-208/image/usr/share/drscheme/bin/mzscheme: No such file or directory
/usr/bin/mzc: line 9: exec: /tmp/portage/drscheme-208/image/usr/share/drscheme/bin/mzscheme: cannot execute: No such file or directory
Apparently, we were missing an error check in the ebuild, and a missing file error slipped by and caused a lot of problems. This bug is not fixed on my system, please test and reopen if you can still reproduce it. (Make sure you rsync and have the 2005/02/27 14:44:46 version or newer). The problem still persists with the updated ebuild:
-rw-r--r-- 1 root root 1480 Feb 27 17:15 drscheme-208.ebuild
lrwxrwxrwx 1 root root 27 Feb 28 00:23 /usr/bin/mzc -> /usr/share/drscheme/bin/mzc*
-rwxr-xr-x 1 root root 251 Feb 28 00:23 /usr/share/drscheme/bin/mzc*
> cat /usr/share/drscheme/bin/mzc
#!/bin/sh
# This script was created by make-mzscheme-launcher
if [ "$PLTHOME" = '' ] ; then
PLTHOME="/tmp/portage/drscheme-208/image/usr/share/drscheme"
export PLTHOME
fi
exec "${PLTHOME}/bin/mzscheme" '-qmvL-' 'start.ss' 'compiler' ${1+"$@"}
Perhaps the mzc script should be just patched by the ebuild?
Try 209 and see if you still get it. I can't reproduce it here with 209. Emerged 209, still same problem :( /usr/bin/mzc: line 9: /tmp/portage/drscheme-209/image/usr/share/drscheme/bin/mzscheme: No such file or directory /usr/bin/mzc: line 9: exec: /tmp/portage/drscheme-209/image/usr/share/drscheme/bin/mzscheme: cannot execute: No such file or directory Check the output and see if there are additional errors further up. You may be missing some library that the drscheme ebuild fails to depend on. Please provide me with a full trace of the build. Created attachment 61407 [details]
drscheme-209-trace.bz2
trace produced with
emerge -v drscheme |& tee /tmp/drscheme-209-trace
decompress with bunzip2
With drscheme emerged as in the attached trace, drscheme and mzc do not work, since PLTHOME is set to /tmp/portage/drscheme-209/image/usr/share/drscheme in the scripts. |