#2661 closed defect (worksforme)
lang/smlnj build fails
Reported by: | md@… | Owned by: | tobypeterson |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
With the latest dports base and ports tree, lang/smlnj fails to build. Included below is an excerpt from my attempt at building it.
[Anarion:~/darwinports/dports] md% sudo port install smlnj ---> Fetching smlnj ---> Attempting to fetch config.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch runtime.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch system.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch smlnj-lib.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch smlnj-c.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch cm.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch MLRISC.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ml-yacc.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ml-nlffigen.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ml-nlffi-lib.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ml-lex.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ml-burg.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch eXene.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch compiler.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch cml.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ckit.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch boot.ppc-unix.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Verifying checksum(s) for smlnj ---> Extracting smlnj ---> Configuring smlnj ---> Building smlnj Error: Target com.apple.build returned: shell command "cd "/Users/md/darwinports/dports/lang/ smlnj/work/smlnj-110.52" && /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/ install.sh" returned error 1 Command output: file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tar.Z: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tar ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tar: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tar.bz2 ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tar.bz2: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tgz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tgz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar.gz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar.gz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar.Z ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar.Z: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar.bz2 ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar.bz2: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Fetching 110.52- runtime.tar.bz2 was no success.
You should try to do it manually now.
/Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Please, fetch run-time archive
(runtime.* or 110.52-runtime.*) from file:///opt/local/var/db/dports/distfiles/smlnj/110.52 and then re-run this script!
/Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: line 312: cd: /Users/ md/darwinports/dports/lang/smlnj/work/smlnj-110.52/src/runtime/objs: No such file or directory /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Compiling the run- time system. make: mk.ppc-darwin: No such file or directory make: * No rule to make target `mk.ppc-darwin'. Stop. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: !!! Run-time system build failed for some reason.
[Anarion:~/darwinports/dports] md%
[Anarion:~/darwinports/dports] md% cd /opt/local/var/db/dports/distfiles/smlnj/110.52/ [Anarion:distfiles/smlnj/110.52] md% ls -la total 18552 drwxr-xr-x 19 root admin 646 3 Feb 16:16 . drwxr-xr-x 3 root admin 102 3 Feb 16:15 .. -rw-r--r-- 1 root admin 1226048 3 Feb 16:15 MLRISC.tgz -rw-r--r-- 1 root admin 5304073 3 Feb 16:16 boot.ppc-unix.tgz -rw-r--r-- 1 root admin 168202 3 Feb 16:16 ckit.tgz -rw-r--r-- 1 root admin 206130 3 Feb 16:15 cm.tgz -rw-r--r-- 1 root admin 103772 3 Feb 16:16 cml.tgz -rw-r--r-- 1 root admin 734087 3 Feb 16:15 compiler.tgz -rw-r--r-- 1 root admin 13471 3 Feb 16:15 config.tgz -rw-r--r-- 1 root admin 695316 3 Feb 16:15 eXene.tgz -rw-r--r-- 1 root admin 31560 3 Feb 16:15 ml-burg.tgz -rw-r--r-- 1 root admin 32391 3 Feb 16:15 ml-lex.tgz -rw-r--r-- 1 root admin 42637 3 Feb 16:15 ml-nlffi-lib.tgz -rw-r--r-- 1 root admin 29419 3 Feb 16:15 ml-nlffigen.tgz -rw-r--r-- 1 root admin 95073 3 Feb 16:15 ml-yacc.tgz -rw-r--r-- 1 root admin 323791 3 Feb 16:15 runtime.tgz -rw-r--r-- 1 root admin 10538 3 Feb 16:15 smlnj-c.tgz -rw-r--r-- 1 root admin 223963 3 Feb 16:15 smlnj-lib.tgz -rw-r--r-- 1 root admin 218121 3 Feb 16:15 system.tgz [Anarion:distfiles/smlnj/110.52] md%
[Anarion:distfiles/smlnj/110.52] md% md5 runtime.tgz MD5 (runtime.tgz) = 759c2233e125902bb912beec95677edd
from the Ports file runtime.tgz 759c2233e125902bb912beec95677edd \
Cheers.
Change History (8)
comment:1 Changed 20 years ago by md@…
comment:2 Changed 20 years ago by toby@…
Need the output of port -d install. The part where it tries 'runtime.tgz' is cut off. Here's what I get:
/Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Using shell /bin/sh. /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: SML root is /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52. /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Installation directory is /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52. /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Installing version 110.52. /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: URL of source archive is file:///opt/local/var/db/dports/distfiles/smlnj/110.52. /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Script /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/bin/.arch-n-opsys reports ARCH=ppc; OPSYS=darwin; HEAP_SUFFIX=ppc-darwin. /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Fetching run-time from file:///opt/local/var/db/dports/distfiles/smlnj/110.52. Please stand by... /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tgz ... /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Fetching runtime.tgz was a success. /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Un-GZIP-ing and un-TAR-ing run-time archive. /Users/toby/source/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Compiling the run-time system.
comment:3 Changed 20 years ago by toby@…
Also, if you could let me know what's in work/smlnj-110.52/config/srcarchiveurl, that would be helpful.
comment:4 Changed 20 years ago by toby@…
Owner: | changed from darwinports-bugs@… to toby@… |
---|
comment:5 Changed 20 years ago by md@…
[Anarion:~] md% sudo port -d install smlnj Password: DEBUG: Found port in file:///Users/md/darwinports/dports/lang/smlnj DEBUG: Changing to port directory: /Users/md/darwinports/dports/lang/smlnj DEBUG: Requested variant darwin is not provided by port smlnj. DEBUG: Executing variant powerpc provides powerpc DEBUG: Skipping completed com.apple.main (smlnj) DEBUG: Skipping completed com.apple.unarchive (smlnj) DEBUG: Skipping completed com.apple.fetch (smlnj) DEBUG: Skipping completed com.apple.checksum (smlnj) DEBUG: Skipping completed com.apple.extract (smlnj) DEBUG: Skipping completed com.apple.patch (smlnj) DEBUG: Skipping completed com.apple.configure (smlnj) ---> Building smlnj DEBUG: Executing com.apple.build (smlnj) DEBUG: Assembled command: 'cd "/Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52" && /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh' /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Using shell /bin/sh. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: SML root is /Users/ md/darwinports/dports/lang/smlnj/work/smlnj-110.52. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Installation directory is /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Installing version 110.52. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: URL of source archive is file:///opt/local/var/db/dports/distfiles/smlnj/110.52. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Script /Users/md/ darwinports/dports/lang/smlnj/work/smlnj-110.52/bin/.arch-n-opsys reports ARCH=ppc; OPSYS=darwin; HEAP_SUFFIX=ppc-darwin. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Fetching run-time from file:///opt/local/var/db/dports/distfiles/smlnj/110.52. Please stand by... /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tgz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tgz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tar.gz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tar.gz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tar.Z ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tar.Z: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tar ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tar: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tar.bz2 ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tar.bz2: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tgz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tgz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar.gz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar.gz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar.Z ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar.Z: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar.bz2 ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar.bz2: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Fetching 110.52- runtime.tar.bz2 was no success.
You should try to do it manually now.
/Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Please, fetch run-time archive
(runtime.* or 110.52-runtime.*) from file:///opt/local/var/db/dports/distfiles/smlnj/110.52 and then re-run this script!
/Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: line 312: cd: /Users/ md/darwinports/dports/lang/smlnj/work/smlnj-110.52/src/runtime/objs: No such file or directory /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Compiling the run- time system. make: mk.ppc-darwin: No such file or directory make: * No rule to make target `mk.ppc-darwin'. Stop. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: !!! Run-time system build failed for some reason. Error: Target com.apple.build returned: shell command "cd "/Users/md/darwinports/dports/lang/ smlnj/work/smlnj-110.52" && /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/ install.sh" returned error 1 Command output: file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tar.Z: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tar ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tar: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying runtime.tar.bz2 ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/runtime.tar.bz2: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tgz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tgz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar.gz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar.gz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar.Z ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar.Z: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tz ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tz: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Trying 110.52- runtime.tar.bz2 ... file:///opt/local/var/db/dports/distfiles/smlnj/110.52/110.52-runtime.tar.bz2: Unsupported scheme. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Fetching 110.52- runtime.tar.bz2 was no success.
You should try to do it manually now.
/Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/unpack: Please, fetch run-time archive
(runtime.* or 110.52-runtime.*) from file:///opt/local/var/db/dports/distfiles/smlnj/110.52 and then re-run this script!
/Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: line 312: cd: /Users/ md/darwinports/dports/lang/smlnj/work/smlnj-110.52/src/runtime/objs: No such file or directory /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: Compiling the run- time system. make: mk.ppc-darwin: No such file or directory make: * No rule to make target `mk.ppc-darwin'. Stop. /Users/md/darwinports/dports/lang/smlnj/work/smlnj-110.52/config/install.sh: !!! Run-time system build failed for some reason.
Warning: the following items did not execute (for smlnj): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install [Anarion:~] md%
comment:6 Changed 20 years ago by md@…
[Anarion:work/smlnj-110.52/config] md% more srcarchiveurl # # It is ok to use $VERSION as part of the URL specification... # SRCARCHIVEURL=file:///opt/local/var/db/dports/distfiles/smlnj/110.52
comment:7 Changed 20 years ago by toby@…
I think I found the problem. You have wget installed, right? Anyway, patch committed, try again...
--- Portfile 27 Dec 2004 22:10:14 -0000 1.2 +++ Portfile 4 Feb 2005 06:34:27 -0000 @@ -72,6 +72,7 @@ } ### build ### +build.env URLGETTER=curl build.cmd ${worksrcpath}/config/install.sh build.target
comment:8 Changed 20 years ago by md@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
[Anarion:~] md% sudo port clean --dist -f smlnj ---> Cleaning smlnj [Anarion:~] md% sudo port install smlnj ---> Fetching smlnj ---> Attempting to fetch config.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch runtime.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch system.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch smlnj-lib.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch smlnj-c.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch cm.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch MLRISC.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ml-yacc.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ml-nlffigen.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ml-nlffi-lib.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ml-lex.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ml-burg.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch eXene.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch compiler.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch cml.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch ckit.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Attempting to fetch boot.ppc-unix.tgz from http://smlnj.cs.uchicago.edu/dist/working/110.52/ ---> Verifying checksum(s) for smlnj ---> Extracting smlnj ---> Configuring smlnj ---> Building smlnj ---> Staging smlnj into destroot ---> Packaging tgz archive for smlnj 110.52_1 ---> Installing smlnj 110.52_1 ---> Activating smlnj 110.52_1 ---> Cleaning smlnj
Additional note: I have attempted to move the file in question (.tgz) to match the 110.52.runtime.tgz, and the build still fails.