Opened 7 months ago

Last modified 8 weeks ago

#68417 assigned defect

graphviz-gui @9.0.0_0 build failure

Reported by: dershow Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mascguy (Christopher Nielsen), ddrum2000, ShadSterling (Shad Sterling), akimd (Akim Demaille), nabsys-mkaiser (Michael Kaiser)
Port: graphviz-gui

Description

The upgrade for graphviz-gui from 8.1.0_0 to 9.0.0_0 is giving me an error.

--->  Computing dependencies for graphviz-gui
--->  Fetching archive for graphviz-gui
--->  Attempting to fetch graphviz-gui-9.0.0_0.darwin_22.arm64.tbz2 from https://packages.macports.org/graphviz-gui
--->  Attempting to fetch graphviz-gui-9.0.0_0.darwin_22.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/graphviz-gui
--->  Attempting to fetch graphviz-gui-9.0.0_0.darwin_22.arm64.tbz2 from http://mirror.fcix.net/macports/packages/graphviz-gui
--->  Fetching distfiles for graphviz-gui
--->  Verifying checksums for graphviz-gui
--->  Extracting graphviz-gui
--->  Applying patches to graphviz-gui
--->  Configuring graphviz-gui
--->  Building graphviz-gui
Error: Failed to build graphviz-gui: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz-gui/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.

graphviz itself seems to have installed OK.

I've attached the log.

Attachments (1)

main.log (98.6 KB) - added by dershow 7 months ago.
graphviz-gui build log

Download all attachments as: .zip

Change History (19)

Changed 7 months ago by dershow

Attachment: main.log added

graphviz-gui build log

comment:1 Changed 7 months ago by ddrum2000

Cc: ddrum2000 added

comment:2 Changed 7 months ago by jmroot (Joshua Root)

Cc: mascguy added; ryandesign removed
Owner: set to ryandesign
Status: newassigned
Summary: graphviz-gui failsgraphviz-gui @9.0.0_0 build failure

comment:3 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

The log contains 37 occurrences of:

Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.

so it would probably be a good idea to do that, though I don't know if that is related to the build failure.

The last error in the log is:

error: failed to deserialize Info.plist task context: Deserialization failed: SDK lookup failed for canonical name: macosx13.3 (in target 'application' from project 'graphviz')

I don't know what that means. I get no hits when searching the Internet for that string (other than a single result which is an export of all the strings in Xcode).

We have successful builds of this port on all macOS versions but we are not using Xcode 15 on the build machines yet, so maybe your use of Xcode 15 is relevant.

comment:4 Changed 7 months ago by ddrum2000

To add to the list of complexities, it builds fine on my laptop (M2 Air, OS 14, XCode 15) but neither of my desktops 2017 imac (OS 13.6, Xcode 15) & M1 Studio (OS 14, Xcode 15)

comment:5 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Do they all have the Xcode 15 version of the CLT or does that differ?

comment:6 Changed 7 months ago by ShadSterling (Shad Sterling)

Cc: ShadSterling added

comment:7 Changed 7 months ago by akimd (Akim Demaille)

Cc: akimd added

comment:8 Changed 7 months ago by dershow

I did report the issue to https://feedbackassistant.apple.com FYI, I am using XCode 15.0.1.

comment:9 Changed 6 months ago by jmroot (Joshua Root)

Cc: nabsys-mkaiser added

Has duplicate #68757 reported against graphviz-gui-devel.

comment:10 Changed 5 months ago by dershow

I've upgraded to XCode 15.1 (CLT 15.1.0.0.1.1700200546) and it's still not building.

comment:11 Changed 5 months ago by nabsys-mkaiser (Michael Kaiser)

I've also upgraded to XCode 15.1 (CLT 15.1.0.0.1.1700200546) and it's still not building on my iMac with intel silicon. It does build on my M1 MacBookPro

comment:12 Changed 5 months ago by kencu (Ken)

relevant, without a fix:

https://developer.apple.com/forums/thread/740594

the hard-coded sdk will have to be changed, obviously

comment:13 Changed 5 months ago by dershow

I wonder what's unique about graphviz-gui and how it compiles that makes this show up, but it's not showing up for other packages.

comment:14 Changed 4 months ago by dershow

I'm now on Xcode 15.2 and still see the same problem. Any suggestions to move this along?

comment:15 Changed 4 months ago by dershow

I updated to MacOS 14.3 (from 13.6.2) , and Macports to 2.9.0. To do so, I followed the migration instructions (so reinstalled all ports) and now graphviz-gui did install.

So, I don't know which changed fixed it, but this problem has gone away for me (but could remain for others?).

comment:16 Changed 4 months ago by akimd (Akim Demaille)

I don't know when this was fixed, but it turns out it was successfully updated on my machine too. I don't know if it downloaded a precompiled package, or it was built on my machine...

FTR, I did not fully reinstall MacPorts from scratch: I simply upgraded to Sonoma, and continued to use port updated outdated. It eventually reinstalled everything.

comment:17 Changed 4 months ago by nabsys-mkaiser (Michael Kaiser)

While it's good to know that problems resolve with Sonoma, I still need to use Ventura. My M1 MacBookPro has no problems, but problems persist with my Intel iMac.

comment:18 Changed 8 weeks ago by huyz (Huy Z)

I wonder what's unique about graphviz-gui and how it compiles that makes this show up, but it's not showing up for other packages.

This is also a problem with another package ssh-askpass-mac (v1.2 and v3.0) as @ryandesign pointed out on my PR https://github.com/macports/macports-ports/pull/23181#issuecomment-2016783820 and I filed at ticket:69581

It seems to only afflict Ventura on Intel, but not ARM and other recent macOS versions.

Last edited 8 weeks ago by huyz (Huy Z) (previous) (diff)
Note: See TracTickets for help on using tickets.