[MacPorts] #67344: patch: **** misordered hunks! output would be garbled

MacPorts noreply at macports.org
Mon May 1 14:44:08 UTC 2023


#67344: patch: **** misordered hunks! output would be garbled
--------------------+----------------------
 Reporter:  dbl001  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.8.1
 Keywords:          |       Port:  openjdk8
--------------------+----------------------
 Possibly related to:  #66988 closed defect (fixed)
 MacOS Ventura 13.3.1

 {{{
 % sudo port -vv install openjdk8
 --->  Computing dependencies for openjdk8.
 --->  Fetching archive for openjdk8
 --->  openjdk8-8u372_0+release+server.darwin_22.x86_64.tbz2 doesn't seem
 to exist in /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch
 openjdk8-8u372_0+release+server.darwin_22.x86_64.tbz2 from
 https://packages.macports.org/openjdk8
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   126    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch
 openjdk8-8u372_0+release+server.darwin_22.x86_64.tbz2 from
 http://mirror.fcix.net/macports/packages/openjdk8
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   153    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch
 openjdk8-8u372_0+release+server.darwin_22.x86_64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/openjdk8
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   153    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Fetching distfiles for openjdk8
 --->  Verifying checksums for openjdk8
 --->  Checksumming jdk8u372-ga.tar.gz
 --->  Extracting openjdk8
 --->  Extracting jdk8u372-ga.tar.gz
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/openjdk8/jdk8u372-ga.tar.gz' |
 /usr/bin/tar -xf -
 --->  Applying patches to openjdk8
 --->  Applying 0001-8181503-Can-t-compile-hotspot-with-c-11.patch
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga" && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/java/openjdk8/files/0001-8181503-Can-t
 -compile-hotspot-with-c-11.patch'
 patching file 'hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp'
 patching file 'hotspot/src/share/vm/code/compiledIC.cpp'
 --->  Applying 0002-Support-XCode-3-14.patch
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga" && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/java/openjdk8/files/0002
 -Support-XCode-3-14.patch'
 patching file 'common/autoconf/generated-configure.sh'
 patching file 'common/autoconf/toolchain.m4'
 --->  Applying 0003-Ignore-__NSAutoreleaseNoPool-errors.patch
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga" && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/java/openjdk8/files/0003
 -Ignore-__NSAutoreleaseNoPool-errors.patch'
 patching file 'common/autoconf/boot-jdk.m4'
 patching file 'common/autoconf/generated-configure.sh'
 patch: **** misordered hunks! output would be garbled
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work
 /jdk8u-jdk8u372-ga" && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/java/openjdk8/files/0003
 -Ignore-__NSAutoreleaseNoPool-errors.patch'
 Exit code: 2
 Error: Failed to patch openjdk8: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port openjdk8 failed

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67344>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list