[Bug 239358] java/openjdk8 fails to build due to patch fail

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 21 04:55:11 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239358

            Bug ID: 239358
           Summary: java/openjdk8 fails to build due to patch fail
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: java at FreeBSD.org
          Reporter: gja822 at narod.ru
             Flags: maintainer-feedback?(java at FreeBSD.org)
          Assignee: java at FreeBSD.org

Here's the output.

/usr/ports/java/openjdk8# make
===>  License GPLv2 accepted by the user
===>   openjdk8-8.222.10.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by openjdk8-8.222.10.1 for building
===>  Extracting for openjdk8-8.222.10.1
=> SHA256 Checksum OK for
battleblow-openjdk-jdk8u-8.222.10.1-jdk8u222-b10.1_GH0.tar.gz.
===>  Patching for openjdk8-8.222.10.1
===>  Applying FreeBSD patches for openjdk8-8.222.10.1
No such line 970 in input file, ignoring
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- jdk/src/share/native/sun/font/freetypeScaler.c.orig        2017-01-20
17:04:07 UTC
|+++ jdk/src/share/native/sun/font/freetypeScaler.c
--------------------------
Patching file jdk/src/share/native/sun/font/freetypeScaler.c using Plan A...
Hunk #1 succeeded at 38.
Hunk #2 succeeded at 667 (offset -28 lines).
Hunk #3 failed at 822.
Hunk #4 succeeded at 876 (offset -1 lines).
Hunk #5 succeeded at 1078 (offset -28 lines).
1 out of 5 hunks failed--saving rejects to
jdk/src/share/native/sun/font/freetypeScaler.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- jdk/make/lib/Awt2dLibraries.gmk.orig       2015-07-18 14:30:01.000000000
-0700
|+++ jdk/make/lib/Awt2dLibraries.gmk    2015-07-18 14:30:08.000000000 -0700
--------------------------
Patching file jdk/make/lib/Awt2dLibraries.gmk using Plan A...
Hunk #1 succeeded at 939 (offset -4 lines).
done
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/java/openjdk8
*** Error code 1

Stop.
make: stopped in /usr/ports/java/openjdk8

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-java mailing list