Bug 241294 - java/openjdk8: build fail with FONTCONFIG on
Summary: java/openjdk8: build fail with FONTCONFIG on
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-java (Nobody)
Depends on:
Reported: 2019-10-16 09:56 UTC by VVD
Modified: 2019-10-17 23:51 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (java)


Note You need to log in before you can comment on or make changes to this bug.
Description VVD 2019-10-16 09:56:34 UTC
===>  License GPLv2 accepted by the user
===>   openjdk8- depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by openjdk8- for building
===>  Extracting for openjdk8-
=> SHA256 Checksum OK for battleblow-openjdk-jdk8u-
===>  Patching for openjdk8-
===>  Applying extra patch /usr/ports/java/openjdk8/files/fontconfig.patch
3 out of 5 hunks failed--saving rejects to jdk/src/share/native/sun/font/freetypeScaler.c.rej
*** Error code 1

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

make: stopped in /usr/ports/java/openjdk8
Comment 1 Greg Lewis freebsd_committer 2019-10-16 16:13:57 UTC
I took a quick look at this.  It was clear how to update two of the failed sections, but not the other one.

At this point I expect to delete the FONTCONFIG option, at least in the short term.
Comment 2 commit-hook freebsd_committer 2019-10-17 23:45:58 UTC
A commit references this bug:

Author: glewis
Date: Thu Oct 17 23:45:38 UTC 2019
New revision: 514691
URL: https://svnweb.freebsd.org/changeset/ports/514691

  Fix build with FONTCONFIG

  * This gets the fontconfig patch applying cleanly and building.  No idea
    if it actually works or not.

  PR:		241294