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

[#240] Non-default 64-bit installation build failure

Date:
2019-12-21 01:37
Priority:
3
State:
Closed
Submitted by:
Bug Submitter (webuser)
Assigned to:
John Reppy (jhr)
Machine Architecture:
x86
Operating System:
Generic Unix
Component:
Installer
Resolution:
Fixed
Severity:
Minor
OS Version:
Ubuntu 18.04
SML/NJ Version:
110.96
Keywords:
build, 64-bit
URL:
Transcript (of reproduction):
Source (for reproduction):
Summary:
Non-default 64-bit installation build failure

Detailed description
On Ubuntu 18.04, in a fresh directory I extracted config.tgz and
ran the following command and it fails to build:

% ./config/install.sh -64
.... lots of stuff ...
Building asdlgen.
/home/gitlab-runner/smlnj/asdl/src/gen/fragments/mkmk.sh back-end/sml
/home/gitlab-runner/smlnj/asdl/src/gen/fragments/mkfrags.sh back-end/sml
make: *** No rule to make target 'back-end/sml/fragments.sml', needed by '.depend'. Stop.
FAILURE: Building asdlgen failed.
./config/install.sh: !!! Installation of libraries and programs failed.

I was able to build with the `-default 32/64` argument in a fresh directory.
If I build with -32 first, and then -default 64 it's fine, but -64 first
(so that I can use -default 32) does not work.
Fix:
John Reppy said "The "fragments.sml" file is a file
generated by SML, and I suspect that it is trying to
use a 32-bit version to generate the file, but that
step fails because it does not exist."

Submitted via web form by Kavon Farvardin <kavon@farvard.in>

Comments:

Message  ↓
Date: 2019-12-22 02:19
Sender: John Reppy

Fixed for 110.97

Attached Files:

Changes

Field Old Value Date By
ResolutionAccepted As Bug2019-12-22 02:20jhr
status_idOpen2019-12-22 02:19jhr
close_dateNone2019-12-22 02:19jhr
assigned_tonone2019-12-21 19:00jhr
detailsOn Ubuntu 18.04, in a fresh directory I extracted config.tgz and ran the following command and it fails to build: % ./config/install.sh -64 .... lots of stuff ... Building asdlgen. /home/gitlab-runner/smlnj/asdl/src/gen/fragments/mkmk.sh back-end/sml /home/gitlab-runner/smlnj/asdl/src/gen/fragments/mkfrags.sh back-end/sml make: *** No rule to make target 'back-end/sml/fragments.sml', needed by '.depend'. Stop. FAILURE: Building asdlgen failed. ./config/install.sh: !!! Installation of libraries and programs failed. I was able to build with the `-default 32/64` argument in a fresh directory. If I build with -32 first, and then -default 64 it's fine, but -64 first (so that I can use -default 32) does not work. Fix: John Reppy said "The "fragments.sml" file is a file generated by SML, and I suspect that it is trying to use a 32-bit version to generate the file, but that step fails because it does not exist." Submitted via web form by Kavon Farvardin <kavon@farvard.in> 2019-12-21 19:00jhr
ResolutionNone2019-12-21 19:00jhr