[Bug 253607] lang/mlton is broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 19 02:02:52 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253607

--- Comment #2 from Bridger Dyson-Smith <bdysonsmith at gmail.com> ---
(In reply to Timothy Beyer from comment #1)
Tim - 

Thanks for your efforts. 

I did try bootstrapping the current mlton port (20100608_8) with SML/NJ, but
received an error.

Additionally, I tried bootstrapping the *latest* MLton (20210117) with SML/NJ,
using the following command:

gmake OLD_MLLEX=ml-lex OLD_MLYACC=ml-yacc bootstrap-smlnj

Unfortunately, that errors out with:

```
...[snip]...
for d in basis basis/Real basis/Word gc platform util; do       \
        mkdir -p
"/home/bridger/src/mlton-src/mlton-20210117/build/lib/mlton/include/$d";       
       \
        cp -fpR "/home/bridger/src/mlton-src/mlton-20210117/runtime/$d/"*.h
"/home/bridger/src/mlton-src/mlton-20210117/build/lib/mlton/include/$d";       
     \
done
gmake[2]: Leaving directory '/usr/home/bridger/src/mlton-src/mlton-20210117'
gmake compiler CHECK_FIXPOINT=false                     # tools0 + mlton0 ->
mlton1
gmake[2]: Entering directory '/usr/home/bridger/src/mlton-src/mlton-20210117'
No such file or directory
gmake -C "/home/bridger/src/mlton-src/mlton-20210117/mlton"
gmake[3]: Entering directory
'/usr/home/bridger/src/mlton-src/mlton-20210117/mlton'
No such file or directory
No such file or directory
No such file or directory
No such file or directory
No such file or directory
(                                                                       \
        echo '$(SML_LIB)/basis/unsafe.mlb';                             \
        echo '$(SML_LIB)/basis/sml-nj.mlb';                             \
        echo '$(SML_LIB)/basis/mlton.mlb';                              \
        echo '$(SML_LIB)/basis/basis.mlb';                              \
        mlton -stop f mlton.mlb |                               \
                grep -v 'mlb$' |                                        \
                grep 'mlyacc';                                  \
        mlton -stop f ../lib/stubs/mlton-stubs/sources.mlb |    \
                grep -v 'mlb$' |                                        \
                grep 'mlton-stubs';                                     \
        mlton -stop f mlton.mlb |                               \
                grep -v 'mlb$' |                                        \
                grep -v 'sml/basis' |                           \
                grep -v 'targets' |                                     \
                grep -v 'mlyacc';                                       \
) > mlton-stubs.mlb
No such file or directory
No such file or directory
No such file or directory
gmake[3]: *** [Makefile:113: mlton-stubs.mlb] Error 1
gmake[3]: Leaving directory
'/usr/home/bridger/src/mlton-src/mlton-20210117/mlton'
gmake[2]: *** [Makefile:75: compiler] Error 2
gmake[2]: Leaving directory '/usr/home/bridger/src/mlton-src/mlton-20210117'
gmake[1]: *** [Makefile:19: all] Error 2
gmake[1]: Leaving directory '/usr/home/bridger/src/mlton-src/mlton-20210117'
gmake: *** [Makefile:266: bootstrap-smlnj] Error 2
```

And... I'm not sure what to make of that! 

If there's anything I can provide to assist or help, please let me know. 
Thanks again for your time and trouble!

Best,
Bridger

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list