Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81633 - dev-listp/drscheme - mzc script contains incorrect path
Summary: dev-listp/drscheme - mzc script contains incorrect path
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-11 08:22 UTC by Faustus
Modified: 2005-06-17 11:46 UTC (History)
0 users

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


Attachments
drscheme-209-trace.bz2 (drscheme-209-trace.bz2,35.68 KB, application/octet-stream)
2005-06-17 11:43 UTC, Faustus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Faustus 2005-02-11 08:22:55 UTC
after installation /usr/bin/mzc containts wrong PLTHOME path
(the path contains the image directory, while it should be just /usr/share/drscheme)

so mzc fails to run and, for example, swig fails to emerge

this is for version 250 of drscheme

PS. maybe the stable version should be bumped?

Reproducible: Always
Steps to Reproduce:
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2005-02-23 01:41:59 UTC
Marked 208 as stable, please upgrade.
Comment 2 Faustus 2005-02-25 06:01:03 UTC
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
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2005-02-27 06:45:46 UTC
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).
Comment 4 Faustus 2005-02-27 14:28:22 UTC
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?
Comment 5 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2005-04-09 15:47:51 UTC
Try 209 and see if you still get it. I can't reproduce it here with 209.
Comment 6 Faustus 2005-04-12 13:38:56 UTC
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
Comment 7 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2005-04-30 13:00:56 UTC
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.
Comment 8 Faustus 2005-06-17 11:43:03 UTC
Created attachment 61407 [details]
drscheme-209-trace.bz2

trace produced with
emerge -v drscheme |& tee /tmp/drscheme-209-trace

decompress with bunzip2
Comment 9 Faustus 2005-06-17 11:46:19 UTC
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.