Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676370 - dev-util/idea-community USE=custom-jdk installs a 64 bit only jdk even on x86
Summary: dev-util/idea-community USE=custom-jdk installs a 64 bit only jdk even on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alice Ferrazzi
URL: https://www.jetbrains.com/help/idea/i...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-01-26 23:54 UTC by Kyle Elbert
Modified: 2019-04-09 02:42 UTC (History)
0 users

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


Attachments
emerge --info of a quick i686 chroot (emerge-info.log,4.92 KB, text/plain)
2019-01-27 07:14 UTC, Kyle Elbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Elbert 2019-01-26 23:54:14 UTC
This use flag should be masked on all archs except amd64 so as to not install a non-working jdk.

Jdk is 64 bit only in both versions currently in portage, and the pending 2018.3.3 version bump.

Reproducible: Always
Comment 1 Kyle Elbert 2019-01-27 07:14:53 UTC
Created attachment 562936 [details]
emerge --info of a quick i686 chroot
Comment 2 Kyle Elbert 2019-01-27 07:19:16 UTC
file /opt/idea-community-2017.2.2/jre64/lib/amd64/libjava.so 
/opt/idea-community-2017.2.2/jre64/lib/amd64/libjava.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=18f5895fde13a3f6ff95af83cb2d06234a867288, stripped


 file /opt/idea-community-2018.3.1/jre64/lib/amd64/libjava.so 
/opt/idea-community-2018.3.1/jre64/lib/amd64/libjava.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=acf328eebec8e0cf046849ae79662c39a66b7c2a, stripped
Comment 3 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2019-01-29 15:19:35 UTC
solved with last commit
Comment 4 Kyle Elbert 2019-01-30 10:48:10 UTC
While I did give this package some tlc with the version bump and eapi port, my commits don't touch profile/package.use.mask. I'm not sure of the process to submit changes to it, but I'd mask it for all archs in profiles/arch/base/package.use.mask and unmask it for amd64 profiles/arch/amd64/package.use.mask
Comment 5 Kyle Elbert 2019-01-30 11:44:45 UTC
Decided to put up the commit, guess I'll be the only non @gentoo.org email address in those files
Comment 6 Kyle Elbert 2019-02-01 11:13:34 UTC
ok, latest commit fetches and installs the jre (its not actually a jdk) from a separate tar from Jetbrains that also has x86 builds available , but should still probably be masked from archs other than x86 and amd64 (and that I'll leave to you or whoever is responsible).
Comment 7 Larry the Git Cow gentoo-dev 2019-04-09 02:42:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cdf46e78845fbeeef00ebabed3ed08c5d71b51e

commit 9cdf46e78845fbeeef00ebabed3ed08c5d71b51e
Author:     Kyle Elbert <kcelbert@gmail.com>
AuthorDate: 2019-03-31 02:05:08 +0000
Commit:     Alice Ferrazzi <alicef@gentoo.org>
CommitDate: 2019-04-09 02:41:56 +0000

    dev-util/idea-community: bump to 2019.1 and Split custom-jdk useflag
    
    Upstream now offers a Java 11 based Jetbrains Runtime,
    while continuing to offer their Java 8 based runtime as the default download
    
    Closes: https://bugs.gentoo.org/653144
    Closes: https://bugs.gentoo.org/676370
    Closes: https://bugs.gentoo.org/676900
    Closes: https://bugs.gentoo.org/640688
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Kyle Elbert <kcelbert@gmail.com>
    Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>

 dev-util/idea-community/Manifest                   |   4 +
 .../idea-community-2019.1.191.6183.87.ebuild       | 112 +++++++++++++++++++++
 dev-util/idea-community/metadata.xml               |   2 +
 3 files changed, 118 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit cee51cb1e51ec6d7cd3384c0ca2130a5a6d62772
Author:     Kyle Elbert <kcelbert@gmail.com>
AuthorDate: 2019-02-01 11:34:44 +0000
Commit:     Alice Ferrazzi <alicef@gentoo.org>
CommitDate: 2019-04-09 02:41:55 +0000

    dev-util/idea-community: Fetch the custom-jdk seperately
    
    Reduces download size for USE -custom-jdk and fixes USE custom-jdk for x86
    
    Bug: https://bugs.gentoo.org/676370
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Kyle Elbert <kcelbert@gmail.com>
    Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>

 dev-util/idea-community/Manifest                   |  4 ++-
 .../idea-community-2018.3.4.183.5429.30.ebuild     | 29 +++++++++++++++-------
 2 files changed, 23 insertions(+), 10 deletions(-)