FS#52850 - [smlnj] 110.80-2 unexpected exception IO when evaluating standard library function
Attached to Project:
Community Packages
Opened by Cheuk Yin Ng (chucksys) - Saturday, 04 February 2017, 19:06 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 27 February 2017, 10:40 GMT
Opened by Cheuk Yin Ng (chucksys) - Saturday, 04 February 2017, 19:06 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 27 February 2017, 10:40 GMT
|
Details
Description:
smlnj throws an uncaught exception IO when it evaluates a standard library function. Error message: unexpected exception (bug?) in SML/NJ: Io [Io: openIn failed on "/build/smlnj/src/sml.boot.x86-unix/smlnj/basis/.cm/x86-unix/basis.cm", No such file or directory] raised at: Basis/Implementation/IO/bin-io-fn.sml:617.25-617.71 ../cm/util/safeio.sml:30.11 ../compiler/TopLevel/interact/evalloop.sml:42.54 Additional info: * version 110.80-2 Steps to reproduce: - start smlnj repl - type `List.filter;' - throws exception |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Monday, 27 February 2017, 10:40 GMT
Reason for closing: None
Additional comments about closing: Added message about re-login or sourcing /etc/profile.d/smlnj.sh
Monday, 27 February 2017, 10:40 GMT
Reason for closing: None
Additional comments about closing: Added message about re-login or sourcing /etc/profile.d/smlnj.sh
% sml
Standard ML of New Jersey v110.80 [built: Sun Jan 1 21:45:53 2017]
- 1 + 2;
val it = 3 : int
- List.filter;
[autoloading]
[library $SMLNJ-BASIS/basis.cm is stable]
[library $SMLNJ-BASIS/(basis.cm):basis-common.cm is stable]
[autoloading done]
val it = fn : ('a -> bool) -> 'a list -> 'a list
* Does it work if you reinstall smlnj?
* Which command do you use to start the smlnj repl?
No.
* Which command do you use to start the smlnj repl?
`sml'
for f in $(pacman -Ql smlnj | cut -d" " -f2); do grep -sHI "build/smlnj" $f; done
Will try to figure out how to modify the akward smlnj build process to respect the given paths.
Do you have any special environment variables? Is it x86_64 or i686?