Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649022 - dev-java/oracle-jdk-bin-1.8.0.162 should install fontconfig.properties rather than fontconfig.Gentoo.properties
Summary: dev-java/oracle-jdk-bin-1.8.0.162 should install fontconfig.properties rather...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-28 08:43 UTC by Niklaus Hofer
Modified: 2018-03-10 21:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niklaus Hofer 2018-02-28 08:43:06 UTC
Older versions of the ebuild, namely 1.8.0.152-r1 used to rename the `fontconfig.Gentoo.properties` to `fonctconfig.properites` upon installation. The latest version (1.8.0.162) does no longer do that, installing plain `fontconfig.Gentoo.properties`.

This is especially nasty since Java, when reading in `/etc/lsb-release` does not remove the quotes around the distribution name, resulting in a Java system variable with the value `"Gentoo"`. Java then goes looking for `fontconfig."Gentoo".properties`.
Comment 1 Larry the Git Cow gentoo-dev 2018-03-10 21:45:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5628fb77eca475b17e311da4f5564f6e56622d28

commit 5628fb77eca475b17e311da4f5564f6e56622d28
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2018-03-10 21:44:41 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2018-03-10 21:45:31 +0000

    dev-java/oracle-jre-bin: Fix installation of fontconfig.properties
    
    I previously simplified this but accidentally changed the filename.
    
    Closes: https://bugs.gentoo.org/649022
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../files/{fontconfig.Gentoo.properties => fontconfig.properties}     | 0
 ...le-jre-bin-1.8.0.162.ebuild => oracle-jre-bin-1.8.0.162-r1.ebuild} | 2 +-
 .../{oracle-jre-bin-9.0.4.ebuild => oracle-jre-bin-9.0.4-r1.ebuild}   | 4 ++--
 3 files changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48b7242b8ddfc78f4a3a7d2beb5a8fc8ae125ac7

commit 48b7242b8ddfc78f4a3a7d2beb5a8fc8ae125ac7
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2018-03-10 21:43:43 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2018-03-10 21:45:30 +0000

    dev-java/oracle-jdk-bin: Fix installation of fontconfig.properties
    
    I previously simplified this but accidentally changed the filename.
    
    Closes: https://bugs.gentoo.org/649022
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../files/{fontconfig.Gentoo.properties => fontconfig.properties}       | 0
 ...acle-jdk-bin-1.8.0.162.ebuild => oracle-jdk-bin-1.8.0.162-r1.ebuild} | 2 +-
 .../{oracle-jdk-bin-9.0.4-r1.ebuild => oracle-jdk-bin-9.0.4-r2.ebuild}  | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)