Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 756415 - app-office/libreoffice-7.0.3.1 requires dev-java/openjdk-11
Summary: app-office/libreoffice-7.0.3.1 requires dev-java/openjdk-11
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL: https://cgit.freedesktop.org/libreoff...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-25 08:29 UTC by Attila Tóth
Modified: 2020-11-25 13:22 UTC (History)
0 users

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


Attachments
libreoffice-7-java.diff (libreoffice-7-java.diff,1.38 KB, patch)
2020-11-25 08:48 UTC, Attila Tóth
Details | Diff
01-libreoffice-7-revert-openjdk-9-dependency.patch (01-libreoffice-7-revert-openjdk-9-dependency.patch,3.25 KB, patch)
2020-11-25 08:49 UTC, Attila Tóth
Details | Diff
02-libreoffice-7-revert-openjdk-9-dependency.patch (02-libreoffice-7-revert-openjdk-9-dependency.patch,17.55 KB, patch)
2020-11-25 08:50 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2020-11-25 08:29:49 UTC
While app-office/libreoffice-6.4.7.2 pulled virtual/jdk-1.8, the latest libreoffice-7.0.3.1 want dev-java/openjdk:11.
The reason for that is written in the commit referenced in the URL of this bug:
They've added a java module requires at least openjdk-9 to compile, while the runtime requirement is still openjdk-8 (that icedtea can provide). The compilation actually dies at calling java with --release argument, that was not implemented before. I'm really curious how it would behave if I alter that to be compatible, but I don't have enough time for that right now.

Reproducible: Always
Comment 1 Attila Tóth 2020-11-25 08:48:16 UTC
Created attachment 674809 [details, diff]
libreoffice-7-java.diff

Necessary changes to the ebuild in order to still make it compile with icedtea.
Comment 2 Attila Tóth 2020-11-25 08:49:52 UTC
Created attachment 674812 [details, diff]
01-libreoffice-7-revert-openjdk-9-dependency.patch

First part of patch to make libreoffice openjdk-8 compatible again reverting changes.
Comment 3 Attila Tóth 2020-11-25 08:50:34 UTC
Created attachment 674815 [details, diff]
02-libreoffice-7-revert-openjdk-9-dependency.patch

Second part of patch to make libreoffice openjdk-8 compatible again reverting changes.
Comment 4 Attila Tóth 2020-11-25 08:51:43 UTC
Sorry for the noise, but I just wanted to leave it here of any other person interested.
Comment 5 Andreas Sturmlechner gentoo-dev 2020-11-25 13:22:11 UTC
The answer to $summary is *yes*.