Bug 254553 - [NEW PORT] emulators/dps8m: simh based simulator for the Honeywell h6180/dps8m Multics processor
Summary: [NEW PORT] emulators/dps8m: simh based simulator for the Honeywell h6180/dps8...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://gitlab.com/dps8m/dps8m
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-25 15:04 UTC by Gian-Simon Purkert
Modified: 2021-04-08 09:26 UTC (History)
1 user (show)

See Also:


Attachments
dps8m shar Archive (3.54 KB, text/plain)
2021-03-25 15:04 UTC, Gian-Simon Purkert
no flags Details
Patch for dps8m (WIP) (4.13 KB, patch)
2021-04-05 10:48 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gian-Simon Purkert 2021-03-25 15:04:48 UTC
Created attachment 223575 [details]
dps8m shar Archive

DPS8M is a simh based simulator for the Honeywell h6180/dps8m Multics processor.

One can run Multics MR12.5 and MR12.6 with it. 
The fastest start is to download Multics from here:

https://multics-wiki.swenson.org/index.php/Main_Page

https://s3.amazonaws.com/eswenson-multics/public/releases/MR12.6f/QuickStart_MR12.6f.zip

Extract QuickStart_MR12.6f.zip, cd into it and execute "dps8 MR12.6f_boot.ini"
Multics starts an you can login with telnet 127.0.0.1 6180.
Comment 1 Daniel Engberg 2021-04-03 21:49:51 UTC
Unless it's a static archive (this seems to be generated on the fly) please use the suggested way for Gitlab mentioned in the handbook.

Is the current ICU license incompatible with dps8m's otherwise I'd recommend you to define the same?
https://svnweb.freebsd.org/ports/head/devel/icu/Makefile?revision=558348&view=markup#l16
Comment 2 Gian-Simon Purkert 2021-04-03 22:10:19 UTC
>Is the current ICU license incompatible with dps8m's otherwise I'd recommend you to define the same?

I don't know, not a Lawyer, it is explicitly mentioned ICU 1.8.1 and later as you can read here:

https://gitlab.com/dps8m/dps8m/-/blob/master/LICENSE

Yes will change it to the "Gitlab-Way".
Comment 3 Gian-Simon Purkert 2021-04-04 09:33:56 UTC
The dist-files are made "on the fly", and are not resolvable thru the commit-hash.

Probably because Github to Gitlab migration, so for now i leave the shar as it is.
Comment 4 Daniel Engberg 2021-04-04 17:22:02 UTC
Hi,

That sounds a bit odd, the hash listed here doesn't work?
https://gitlab.com/dps8m/dps8m/-/tags/R2.0 --> https://gitlab.com/dps8m/dps8m/-/commit/2a56f38d5658458da870acee6d04e45c70b79ea5

Best regards,
Daniel
Comment 5 Gian-Simon Purkert 2021-04-04 20:07:09 UTC
Well try it, it's not found in the /archive directory.
Comment 6 Daniel Engberg 2021-04-05 06:47:38 UTC
Hi,

Are you following the instructions properly?
https://docs.freebsd.org/en/books/porters-handbook/book.html#makefile-master_sites-gitlab-description

Do note that you do not specify MASTER_SITES

Example:
https://gitlab.com/ecodis/exhale/-/releases/v1.1.3
https://svnweb.freebsd.org/ports/head/audio/exhale/Makefile?revision=567863&view=markup

Best regards,
Daniel
Comment 7 Gian-Simon Purkert 2021-04-05 10:29:53 UTC
>Are you following the instructions properly?

Yes, both the simple and the "more" complete.
Comment 8 Daniel Engberg 2021-04-05 10:48:08 UTC
Created attachment 223823 [details]
Patch for dps8m (WIP)

Use USE_GITLAB framework
Comment 9 Daniel Engberg 2021-04-05 10:48:56 UTC
Fails to compile on FreeBSD 13.0-RC1 (arm64)

...
LD dps8
ld: error: duplicate symbol: sim_vm_init
>>> defined at dps8_sys.c:107
>>>            ./dps8_sys.o:(sim_vm_init)
>>> defined at scp.c:397
>>>            scp.o:(.bss+0x120) in archive ../simh-master/simh.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:304: dps8] Error 1
gmake[2]: *** [Makefile:344: locallibs_then_dps8] Error 2
gmake[2]: Leaving directory '/usr/ports/emulators/dps8m/work/dps8m-R2.0-2a56f38d5658458da870acee6d04e45c70b79ea5/src/dps8'
gmake[1]: *** [Makefile:11: all] Error 2
gmake[1]: Leaving directory '/usr/ports/emulators/dps8m/work/dps8m-R2.0-2a56f38d5658458da870acee6d04e45c70b79ea5'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/dps8m
Comment 10 Daniel Engberg 2021-04-05 10:52:27 UTC
A quick note regarding your patches, you shouldn't hardset compiler instead you should rely on the ports framework.

Best regards,
Daniel