Opened 3 weeks ago

Last modified 6 days 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)

main.log.gz (206.7 KB) - added by frink0 (Liam Stitt) 3 weeks ago.
Build log.

Download all attachments as: .zip

Change History (9)

Changed 3 weeks ago by frink0 (Liam Stitt)

Attachment: main.log.gz added

Build log.

comment:1 Changed 2 weeks ago by jmroot (Joshua Root)

Owner: set to JanWielemaker
Port: swi-prolog added
Status: newassigned

comment:2 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sequoia added
Summary: swi-prolog: fails to build on Sequoiaswi-prolog @9.2.7: tex:main source_sink `tex(main)' does not exist
Version: 2.10.2

comment:3 Changed 2 weeks 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 2 weeks 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:5 Changed 2 weeks ago by frink0 (Liam Stitt)

Excellent, thank you!

comment:6 Changed 2 weeks 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 2 weeks ago by JanWielemaker (Jan Wielemaker)

:( There was one more place this needed patching.

comment:8 Changed 6 days 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.

Version 0, edited 6 days ago by sandiway (next)
Note: See TracTickets for help on using tickets.