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)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-16 09:56 UTC by Vladimir Druzenko
Modified: 2019-10-17 23:51 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Druzenko freebsd_committer freebsd_triage 2019-10-16 09:56:34 UTC
===>  License GPLv2 accepted by the user
===>   openjdk8-8.232.09.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by openjdk8-8.232.09.1 for building
===>  Extracting for openjdk8-8.232.09.1
=> SHA256 Checksum OK for battleblow-openjdk-jdk8u-8.232.09.1-jdk8u232-b09.1_GH0.tar.gz.
===>  Patching for openjdk8-8.232.09.1
===>  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

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

Stop.
make: stopped in /usr/ports/java/openjdk8
Comment 1 Greg Lewis freebsd_committer freebsd_triage 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 freebsd_triage 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

Log:
  Fix build with FONTCONFIG

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

  PR:		241294

Changes:
  head/java/openjdk8/files/fontconfig.patch