Opened 13 days ago

Closed 13 days ago

#69907 closed defect (fixed)

openjdk11 @11.0.23_1 -- Unable to Patch - lib-ffi.m4: no such file or directory

Reported by: RobK88 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: tiger leopard snowleopard lion mountainlion Cc: usersxx, RobK88
Port: openjdk11

Description (last modified by RobK88)

I am unable to install openjdk11 on Mtn Lion. It fails at the patching stage since lib-ffi.m4 could not be found to patch. main.log is attached.

Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk11/openjdk11/work/jdk-11.0.23+9/make/autoconf/lib-ffi.m4": no such file or directory
Error: Failed to patch openjdk11: reinplace sed(1) failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk11/openjdk11/main.log for details.

Attachments (1)

main.log (29.7 KB) - added by RobK88 13 days ago.
main.log

Download all attachments as: .zip

Change History (5)

Changed 13 days ago by RobK88

Attachment: main.log added

main.log

comment:1 Changed 13 days ago by RobK88

Cc: RobK88 added

comment:2 Changed 13 days ago by RobK88

Description: modified (diff)

comment:3 Changed 13 days ago by ryandesign (Ryan Carsten Schmidt)

Keywords: tiger leopard snowleopard lion mountainlion added; moutainlion removed
Owner: set to ryandesign
Status: newaccepted

The reason is that the distfile is compressed with xz but MacPorts is using gzip to decompress it. That works on OS X 10.9 and later but not earlier.

The solution is to remove extract.suffix .tar.xz and add use_xz yes (which will set not only extract.suffix but also the extract commands).

comment:4 Changed 13 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 61c00ac1aeea03e73b940b8dbe6734d2fa97dfa9/macports-ports (master):

openjdk*: Fix extract on OS X 10.8 and earlier

Closes: #69907

Note: See TracTickets for help on using tickets.