[MacPorts] #66988: openjdk8: patches fail to apply

MacPorts noreply at macports.org
Fri Feb 24 12:57:29 UTC 2023


#66988: openjdk8: patches fail to apply
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:                |       Port:  openjdk8
--------------------------+----------------------
 {{{
 --->  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/openjdk8"
 && /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'
 can't find file to patch at input line 18
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |From 74983373354b2708b4fa75f59395c68dc65b3e96 Mon Sep 17 00:00:00 2001
 |From: Gerard Ziemski <gziemski at openjdk.org>
 |Date: Wed, 31 Jan 2018 11:12:12 -0600
 |Subject: [PATCH] 8181503: Can't compile hotspot with c++11
 |
 |Fixed 5 unique c++14 compiler issues
 |
 |Reviewed-by: coleenp, dholmes, kbarrett
 |---
 | hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp | 6 +++---
 | hotspot/src/share/vm/code/compiledIC.cpp     | 2 +-
 | 2 files changed, 4 insertions(+), 4 deletions(-)
 |
 |diff --git hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp
 hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp
 |index bfa4243f754..f0de6456b11 100644
 |--- hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp
 |+++ hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp
 --------------------------
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 2 out of 2 hunks ignored
 can't find file to patch at input line 45
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |diff --git hotspot/src/share/vm/code/compiledIC.cpp
 hotspot/src/share/vm/code/compiledIC.cpp
 |index 63821c06130..06794215084 100644
 |--- hotspot/src/share/vm/code/compiledIC.cpp
 |+++ hotspot/src/share/vm/code/compiledIC.cpp
 --------------------------
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk8/openjdk8/work/openjdk8"
 && /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'
 Exit code: 1

 }}}

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


More information about the macports-tickets mailing list