New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13948 (closed update: fixed)

Opened 4 years ago

Last modified 3 years ago

mzscheme not building and needs version update

Reported by: sbplrports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: mzscheme Cc: raimue@…, gcho@…, lambda@…, mcalhoun@…, accounts2007@…
Port:

Description

sudo port install mzscheme    
--->  Fetching mzscheme
--->  Attempting to fetch mz-371-src-unix.tgz from http://download.plt-scheme.org/bundles/371/mz/
--->  Verifying checksum(s) for mzscheme
--->  Extracting mzscheme
--->  Configuring mzscheme
--->  Building mzscheme with target all
--->  Staging mzscheme into destroot
Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/mz-371/src" && make install prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local " returned error 2
Command output: if [ no = yes ] ; then /usr/bin/install_name_tool -change "@executable_path/PLT_MzScheme.framework/Versions/371_3m/PLT_MzScheme" "@executable_path/../lib/PLT_MzScheme.framework/Versions/371_3m/PLT_MzScheme" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/bin/mzscheme" ; fi
make osx-install-3m-final
make unix-install-3m-final
cd .
ln -s Versions/371_3m/PLT_MzScheme /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/Library/Frameworks/PLT_MzScheme.framework/
make install-no-3m
cd .
make install-common-middle
make copytree-run
mzscheme/mzschemecgc -mvxqu \
          "./../collects/setup/unixstyle-install.ss" \
          make-install-copytree "./.." \
          "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/bin" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/collects" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/doc" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/lib" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/include" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/lib" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/man" "yes"
Copying collects -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/collects
Copying doc -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/doc
Copying man -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/man
make install-no-post-collects
cd .
make lib-finish
echo "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/lib"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/lib
mzscheme/mzscheme3m -mvqX "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mzscheme/work/destroot/opt/local/collects" -M setup
setup-plt: bootstrapping from source...
find-executable-path: expected argument of type <path or string (sans nul)>; given ""

 === context ===
find-executable-path

make[1]: *** [install-3m] Error 1
make: *** [install] Error 2

Error: Status 1 encountered during processing.

it is now at version 372

Attachments

patch-mzscheme-372.diff Download (0.8 KB) - added by raimue@… 4 years ago.

Change History

  Changed 4 years ago by sbplrports@…

installs properly now that i've removed scheme48.... which I had previously installed. an update to 372 is still needed.

follow-ups: ↓ 4 ↓ 7   Changed 4 years ago by raimue@…

  • cc raimue@… added

I encountered the same error even with 372. But strangely, if you just run the same command again (port destroot mzscheme), it works.
It's Magic[[BR]] I have no idea what is going on in that build system.

I am attaching a patch for update to 372, but I am not going to commit this until we have resolved the build issue.

Changed 4 years ago by raimue@…

  Changed 4 years ago by wiml@…

I'm also unable to install mzscheme (even without scheme48 installed). I get a different error, this one during compilation. My machine's a ppc running 10.4.11:

./if_mach POWERPC DARWIN as  -o mach_dep.o ./powerpc_darwin_mach_dep.s
^^^^Starting command^^^^
./powerpc_darwin_mach_dep.s:18:Bad Absolute Expression, absolute 0 assumed.
./powerpc_darwin_mach_dep.s:79:Bad Absolute Expression, absolute 0 assumed.
./powerpc_darwin_mach_dep.s:88:Invalid mnemonic 'lgu'
./powerpc_darwin_mach_dep.s:95:Unknown pseudo-op: .g_long
./powerpc_darwin_mach_dep.s:95:Rest of line ignored. 1st junk character valued 100 (d).
make[6]: *** [mach_dep.o] Error 1

in reply to: ↑ 2   Changed 4 years ago by silversys@…

Replying to raimue@macports.org:

I encountered the same error even with 372. But strangely, if you just run the same command again (port destroot mzscheme), it works.
It's Magic[[BR]] I have no idea what is going on in that build system.
I am attaching a patch for update to 372, but I am not going to commit this until we have resolved the build issue.

I can't get port destroot mzscheme to work. I just get the same error as before.

  Changed 4 years ago by ryandesign@…

  • cc gcho@… added

Has duplicate #14311.

  Changed 4 years ago by mcalhoun@…

  • cc lambda@…, mcalhoun@… added

Has duplicate #14994.

in reply to: ↑ 2   Changed 4 years ago by raimue@…

  • status changed from new to closed
  • resolution set to fixed

Replying to raimue@macports.org:

I encountered the same error even with 372. But strangely, if you just run the same command again (port destroot mzscheme), it works.

Seems to have been the infamous Tcl environment bug in Leopard from #13930. Builds fine for me on Leopard/Intel.

Committed the patch in r37936.

  Changed 4 years ago by blb@…

  • cc accounts2007@… added

CC reporter of duplicate #14919.

  Changed 3 years ago by jmr@…

  • type changed from defect to update

  Changed 3 years ago by anonymous

  • milestone Port Updates deleted

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.