Home My Page Projects Code Snippets Project Openings SML/NJ Bugs
Summary Activity Tracker Lists

[#237] heap2exec script fails on 110.95

Date:
2019-11-30 17:37
Priority:
3
State:
Closed
Submitted by:
Bug Submitter (webuser)
Assigned to:
John Reppy (jhr)
Machine Architecture:
x86
Operating System:
Linux
Component:
Other
Resolution:
Fixed
Severity:
Minor
OS Version:
SML/NJ Version:
110.95
Keywords:
heap2exec
URL:
Transcript (of reproduction):
1. Install smlnj 2. run heap2exec
Source (for reproduction):
Summary:
heap2exec script fails on 110.95

Detailed description
heap2exec fails with error:
./heap2exec: line 38: <PATH>/bin/.arch-n-opsys -32: No such file or directory
Additional comments:
Looks like script tries to run the command "<PATH>/bin/.arch-n-opsys -32" (filename with a space)
and not a "<PATH>/bin/.arch-n-opsys" -32 (filename with passed options).
To make it works I removed " quotes; also it works fine with `"<PATH>/bin/.arch-n-opsys" "$SIZE_OPT"`, etc.

Fix:
Remove " quotes on the line 38 in config/_arch_n_opsys: ARCH_N_OPSYS=`"$BIN_DIR/.arch-n-opsys $SIZE_OPT"`


Submitted via web form by Kirill Boltaev <aske@fmap.me>

Comments:

Message  ↓
Date: 2019-12-01 14:40
Sender: John Reppy

Fixed for 110.96

Attached Files:

Changes

Field Old Value Date By
status_idOpen2019-12-01 14:40jhr
close_dateNone2019-12-01 14:40jhr
assigned_tonone2019-12-01 14:40jhr
detailsheap2exec fails with error: ./heap2exec: line 38: <PATH>/bin/.arch-n-opsys -32: No such file or directory Additional comments: Looks like script tries to run the command "<PATH>/bin/.arch-n-opsys -32" (filename with a space) and not a "<PATH>/bin/.arch-n-opsys" -32 (filename with passed options). To make it works I removed " quotes; also it works fine with `"<PATH>/bin/.arch-n-opsys" "$SIZE_OPT"`, etc. Fix: Remove " quotes on the line 38 in config/_arch_n_opsys: ARCH_N_OPSYS=`"$BIN_DIR/.arch-n-opsys $SIZE_OPT"` Submitted via web form by Kirill Boltaev <aske@fmap.me> 2019-12-01 14:40jhr
ResolutionNone2019-12-01 14:40jhr
Transcript (of reproduction)1. Install smlnj 2. run heap2exec2019-12-01 14:40jhr