Opened 19 months ago
Closed 19 months ago
#67344 closed defect (fixed)
openjdk8 @8u372 patch: **** misordered hunks! output would be garbled
Reported by: | dbl001 (dbl) | Owned by: | usersxx |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | openjdk8 |
Description
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
Attachments (1)
Change History (4)
Changed 19 months ago by dbl001 (dbl)
comment:1 Changed 19 months ago by jmroot (Joshua Root)
Owner: | set to usersxx |
---|---|
Status: | new → assigned |
Summary: | patch: **** misordered hunks! output would be garbled → openjdk8 @8u372 patch: **** misordered hunks! output would be garbled |
comment:2 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Replying to dbl001:
Nope.
Ventura's
patch
program is pickier than that of earlier macOS versions. Looking at the log from the build on Monterey:@usersxx, try regenerating the patch so that it applies without offsets.