Opened 13 years ago

Closed 13 years ago

#30361 closed update (fixed)

smlnj @110.72 Needs Lion update

Reported by: martin@… Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: lion Cc: nerdling (Jeremy Lavergne)
Port: smlnj

Description

From the build log:

smlnj/work/smlnj-110.72/bin/.arch-n-opsys fails on this machine

The script only parses uname -r of old OSX versions, and needs to be updated, probably with this line:

11*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.7

The install.sh seems to overwrite the arch file, so I did not check if simply adding this line solves the problem.

Attachments (2)

Portfile-smlnj.diff (345 bytes) - added by martin@… 13 years ago.
patch-config-_arch-n-opsys.diff (419 bytes) - added by martin@… 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to bfulgham@…

Please remember to cc the maintainer.

comment:2 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Naive upgrade to 110.73 gives this error in Snow Leopard:

[bad plugin name: anchor $ml-antlr-tool.cm not defined]
FAILURE: unexpected exception: BadAnchor

That's against gcc-4.2, llvm-gcc-4.2, and clang.

Changed 13 years ago by martin@…

Attachment: Portfile-smlnj.diff added

Changed 13 years ago by martin@…

comment:3 Changed 13 years ago by martin@…

While upgrading to 110.73 seems to work on Lion, I suppose it's bad if it breaks Snow Leopard. I added a patch-file to make 110.72 compile on Lion instead. It should not break Snow Leopard as it simply adds an new entry for Lion in the config.

comment:4 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Patched in r81705.

Note: See TracTickets for help on using tickets.