Opened 2 months ago

Closed 6 weeks ago

#70807 closed defect (fixed)

openjdk11 @11.0.24_0+release+server fails to build on macOS Sequoia 15

Reported by: pierswalter (Piers Uso Walter) Owned by: usersxx
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sequoia Cc: lterrill, Bipodos
Port: openjdk11

Description (last modified by pierswalter (Piers Uso Walter))

Building openjdk11 fails on macOS Sequoia 15.

I'm doing: sudo port install openjdk11

Log file attached (as a zip file due to its huge size).

Attachments (4)

main.log.reduced.zip (34.9 KB) - added by pierswalter (Piers Uso Walter) 2 months ago.
The zipped original file was 22 MB in size (too large to upload). So I had to cut lines from the log. I left the initial lines, then I cut several hundred MB, and left the remaining 10000 lines. Search for "======== REMOVED SEVERAL HUNDRED MBs" to see where I removed log lines.
main.log (133.8 KB) - added by Bipodos 7 weeks ago.
main-reduced2.log (72.5 KB) - added by Bipodos 7 weeks ago.
jmod-2024-10-06-190904.000.ips (37.7 KB) - added by Bipodos 7 weeks ago.

Download all attachments as: .zip

Change History (14)

Changed 2 months ago by pierswalter (Piers Uso Walter)

Attachment: main.log.reduced.zip added

The zipped original file was 22 MB in size (too large to upload). So I had to cut lines from the log. I left the initial lines, then I cut several hundred MB, and left the remaining 10000 lines. Search for "======== REMOVED SEVERAL HUNDRED MBs" to see where I removed log lines.

comment:1 Changed 2 months ago by pierswalter (Piers Uso Walter)

Summary: openjdk11 fails to build on MacOS 15 Sequoiaopenjdk11 @11.0.24_0+release+server fails to build on MacOS 15 Sequoia

comment:2 Changed 2 months ago by pierswalter (Piers Uso Walter)

Description: modified (diff)
Summary: openjdk11 @11.0.24_0+release+server fails to build on MacOS 15 Sequoiaopenjdk11 @11.0.24_0+release+server fails to build on macOS Sequoia 15

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

Owner: set to usersxx
Status: newassigned

comment:4 Changed 8 weeks ago by lterrill

Cc: lterrill added

Changed 7 weeks ago by Bipodos

Attachment: main.log added

comment:5 Changed 7 weeks ago by Bipodos

The error looks like missing / dislodged file. I am attaching the full log (much shorter in my case. The errors mentioned in lines 1316–1395 seem to amount to different attempts to locate a file:

line 1369: 
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk11/openjdk11/work/jdk-11.0.24+8/src/hotspot/share/adlc/adlc.hpp:33:10: fatal error: 'iostream' file not found
:info:build    33 | #include <iostream>
:info:build       |          ^~~~~~~~~~
:info:build 1 error generated.

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

That sounds like #70750, in which case the solution is at ProblemHotlist#clts16.

In future, just attach the complete compressed log rather than trying to cut out parts. (Zip is not very good compression. If it cannot compress the full log small enough, use a better compression method.)

Last edited 7 weeks ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 in reply to:  5 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Cc: Bipodos added

Replying to Bipodos:

The error looks like missing / dislodged file.

…but that is not the error in pierswalter's log, so while ProblemHotlist#clts16 should fix your issue, it won't fix pierswalter's.

comment:8 Changed 7 weeks ago by Bipodos

After removing the obsolete clang++ , as advised by ryandesign, I am getting a very similar error to the one reported by pierswalter. The final part of the log attached. jmod crashes during compilation (Mac console shows 8 crashes). First of those crash logs is also attached.

Last edited 7 weeks ago by Bipodos (previous) (diff)

Changed 7 weeks ago by Bipodos

Attachment: main-reduced2.log added

Changed 7 weeks ago by Bipodos

comment:9 Changed 6 weeks ago by breun (Nils Breunese)

I think this is the same issue as ticket:70819.

comment:10 Changed 6 weeks ago by Nils Breunese <breun@…>

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.