Opened 19 months ago
Last modified 19 months ago
#71134 assigned defect
swi-prolog @9.2.7: tex:main source_sink `tex(main)' does not exist
| Reported by: | frink0 (Liam Stitt) | Owned by: | JanWielemaker (Jan Wielemaker) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.2 |
| Keywords: | sequoia | Cc: | |
| Port: | swi-prolog |
Description
Hi. This *almost* manages to build, but craps out just short from what looks like some sort of Texinfo error. Build log attached.
Attachments (1)
Change History (9)
Changed 19 months ago by frink0 (Liam Stitt)
| Attachment: | main.log.gz added |
|---|
comment:1 Changed 19 months ago by jmroot (Joshua Root)
| Owner: | set to JanWielemaker |
|---|---|
| Port: | swi-prolog added |
| Status: | new → assigned |
comment:2 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
| Keywords: | sequoia added |
|---|---|
| Summary: | swi-prolog: fails to build on Sequoia → swi-prolog @9.2.7: tex:main source_sink `tex(main)' does not exist |
| Version: | → 2.10.2 |
comment:3 Changed 19 months ago by JanWielemaker (Jan Wielemaker)
The real issue is probably a bit earlier, indicated by a couple of messages like this:
:info:build [PCE fatal: @display/display: Failed to connect to X-server at `/private/tmp/com.apple.launchd.TK79uBTZY7/org.xquartz:0': malformed DISPLAY address: /private/tmp/com.apple.launchd.TK79uBTZY7/org.xquartz:0
Now the build is not supposed to open the X display. I'll have a look at that later. If avoiding opening the display works, we might still be facing issues to use Xquartz :(
comment:4 Changed 19 months ago by JanWielemaker (Jan Wielemaker)
I investigated the issue as a failure if DISPLAY is set, but invalid. It is fixed by 27ed1ee1c4471ec87e9f51c80d80e07f251c0d7c, which ensures DISPLAY is unset while running these commands.
I'm planning to upload 9.2.8 very shortly.
comment:6 Changed 19 months ago by frink0 (Liam Stitt)
9.2.8 failed the same way at first, but once I unset DISPLAY it built without issue.
comment:7 Changed 19 months ago by JanWielemaker (Jan Wielemaker)
:( There was one more place this needed patching.
comment:8 Changed 19 months ago by sandiway
I ran into this one today (9.2.8) on Sequoia 15.1 on M1 Max after encountering the CLTs (16.1) problem. Two hurdles means building swi-prolog is not as straightforward as it was on Sonoma. Confirm unset DISPLAY works. And the port install swi-prolog finally works for me. Glad Jan found the problem! Thank you. And I am amazed MacPorts is updated again today to 20.10.4

Build log.