Opened 5 weeks ago

Last modified 4 weeks ago

#74571 new defect

llvm-17 @17.0.6_3 fails to build on macOS 27: static assertion failed

Reported by: dcnicholls Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.12.7
Keywords: goldengate Cc:
Port: llvm-17

Description (last modified by jmroot (Joshua Root))

--->  Installing llvm-17 @17.0.6_3 (1/123)
--->  Computing dependencies for llvm-17
--->  Fetching archive for llvm-17
--->  Building llvm-17
Error: Failed to build llvm-17: command execution failed 

This after installing the latest Macports version and doing the usual port upgrade outdated. Macports currently unusable.

I was having problems with Xcode tools on MacOS 26.7 so upgraded to 27.0.1, Xcode problem fixed, then selfupdated Macports.

Attachments (1)

main.log​ (77.1 KB) - added by dcnicholls 5 weeks ago.
llvm-17 main.log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 weeks ago by reneeotten (Renee Otten)

Port: llvm-17 added
Priority: High → Normal

why do you need llvm-17; can you not use a newer version?

Also, you should add the main.log; there is no information here to act upon.

Changed 5 weeks ago by dcnicholls

Attachment: main.log​ added

llvm-17 main.log

comment:2 Changed 5 weeks ago by dcnicholls

I am attaching the llvm-17 main.log

Last edited 5 weeks ago by dcnicholls (previous) (diff)

comment:3 Changed 5 weeks ago by dcnicholls

The port clang-17 requires llvm-17 The following ports need clang-17: flang-17 lldb-17 mpich-clang17 openmpi-clang17 qt64-qttools gcc13-libcxx lfortran

Last edited 5 weeks ago by dcnicholls (previous) (diff)

comment:4 Changed 5 weeks ago by jmroot (Joshua Root)

Description: modified (diff)

Qt has newer versions available and openmpi has other variants for other llvm versions. However lfortran does seem to currently be hardcoded to use llvm-17. Not sure how hard it would be to update.

comment:5 Changed 5 weeks ago by jmroot (Joshua Root)

Keywords: goldengate added
Summary: llvm-17 won't install → llvm-17 @17.0.6_3 fails to build on macOS 27: static assertion failed

See also #74445.

comment:6 Changed 4 weeks ago by dcnicholls

It turns out the only ports I had installed that need clang-17 and llvm-17 were gcc13 and gcc13-libcxx, so I unistalled them and all is now working. gcc15 is all I need

Note: See TracTickets for help on using tickets.