#66988 closed defect (fixed)

openjdk8: patches fail to apply

Reported by: barracuda156 Owned by: usersxx
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: openjdk8

Description

--->  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@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

Change History (2)

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added
Owner: set to usersxx
Status: newassigned

This is the same problem that was reported for openjdk11 in #66976.

comment:2 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 125a4cebb3006ac1f57a110012f894aac7d3dbac/macports-ports (master):

openjdk8: Fix worksrcdir

Closes: #66988

Note: See TracTickets for help on using tickets.