#5762 Please blacklist java-1.8.0-openjdk.i686 from multilib
Closed: Fixed 2 years ago Opened 6 years ago by omajid.

The default OpenJDK package (java-1.7.0-openjdk) is blacklisted from multilib. Please also blacklist the new version of OpenJDK (java-1.8.0-openjdk).

Users are surprised when one OpenJDK package is available but not the others. An example of this can be seen on [https://bugzilla.redhat.com/show_bug.cgi?id=1001964 bug 1001964]


rawhide as of a few weeks ago should have dropped java-1.8.0-openjdk from being multilib, and branched will as soon as beta change freeze is over.

closing as this is done

This seems incomplete:

{{{
Available Packages
java-1.8.0-openjdk-debug.i686 1:1.8.0.60-14.b27.fc21 updates
java-1.8.0-openjdk-devel.i686 1:1.8.0.60-14.b27.fc21 updates
java-1.8.0-openjdk-headless.i686 1:1.8.0.60-14.b27.fc21 updates
}}}

It's still not resolved - i686 RPMs are available in x86_64 repos.

Per FESCo vote, Java is exempt from multilib: https://fedorahosted.org/fesco/ticket/961

Can this request be finally resolved?

it is getting pulled in via deps as it is blocked in the multilib policy

Metadata Update from @omajid:
- Issue set to the milestone: Fedora 20 Alpha

2 years ago

Need to dig through dependency resolution (and possibly pungi code) why this is still getting pulled in.

Metadata Update from @katec:
- Issue close_status updated to: None

2 years ago

Looking at log (careful, really big file) from latest Rawhide nightly (Fedora-Rawhide-20170425.n.0) it seems to be pulled in by vtk-devel.i686.

$ grep openjdk Everything.x86_64.log | grep i686 | grep -v 'Checking deps\|RPM:\|DEBUGINFO' | cut -d: -f3- 
 Excluding java-1.8.0-openjdk-devel.i686 (multilib-blacklist pattern: java-1.8.0-openjdk-devel)
 Added java-1.8.0-openjdk-devel-debug.i686 (repo: pungi-repo) for vtk-devel.i686
 Added java-1.8.0-openjdk.i686 (repo: pungi-repo) for vtk-devel.i686
 Added java-1.8.0-openjdk-debug.i686 (repo: pungi-repo) for vtk-devel.i686
 Added fontconfig.i686 (repo: pungi-repo) for java-1.8.0-openjdk.i686
 Added java-1.8.0-openjdk-headless.i686 (repo: pungi-repo) for java-1.8.0-openjdk.i686
 Added lksctp-tools.i686 (repo: pungi-repo) for java-1.8.0-openjdk-headless.i686
 Added nss.i686 (repo: pungi-repo) for java-1.8.0-openjdk-headless.i686
 Added nss-softokn.i686 (repo: pungi-repo) for java-1.8.0-openjdk-headless.i686
 Added java-1.8.0-openjdk-headless-debug.i686 (repo: pungi-repo) for java-1.8.0-openjdk-debug.i686
 Added debuginfo java-1.8.0-openjdk-debuginfo.i686 (repo: pungi-repo)

The actual requires in question is libjawt.so. It's not logged right now, I extracted it in a debugger.

I believe this comes in via these deps:

libjawt.so
libjawt.so(SUNWprivate_1.1)

Since it links against this library, I'm not sure how this is to be avoided. This is also required by the "mp" package.

I looked at this today just to see where it stood.

@jsmith helped out with running some repoqueries for me in rawhide.

It seems there are still 89 dependencies on java-9-openjdk-1:9.0.4.11-6.fc28.i686

Is this still a thing, and what groups do we need to get together to resolve if it is?

Metadata Update from @kellin:
- Issue tagged with: meeting

2 years ago

I looked at this today just to see where it stood.

Thanks.

@jsmith helped out with running some repoqueries for me in rawhide.
It seems there are still 89 dependencies on java-9-openjdk-1:9.0.4.11-6.fc28.i686

That doesn't seem right - there should be very few packages actually requiring multilib Java.

Is this still a thing, and what groups do we need to get together to resolve if it is?

I'll check which packages pull in 32-bit Java and what can be done to fixt hem.

I can see a few 32-bit Java packages remanining in x86_64 compose:

# dnf --repofrompath rawhide-nightly,https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20180218.n.0/compose/Everything/x86_64/os/ --repo rawhide-nightly repoquery java-\* | grep i686$
Added rawhide-nightly repo from https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20180218.n.0/compose/Everything/x86_64/os/
Last metadata expiration check: 0:03:52 ago on Mon 19 Feb 2018 07:54:26 PM CET.
java-1.8.0-openjdk-openjfx-devel-1:1.8.0.161-8.b14.fc28.i686
java-9-openjdk-1:9.0.4.11-6.fc28.i686
java-9-openjdk-debug-1:9.0.4.11-6.fc28.i686
java-9-openjdk-devel-1:9.0.4.11-6.fc28.i686
java-9-openjdk-headless-1:9.0.4.11-6.fc28.i686
java-9-openjdk-headless-debug-1:9.0.4.11-6.fc28.i686

Proposed fix submitted as PR: https://pagure.io/pungi-fedora/pull-request/524

This issue is resolved - I don't see any i686 java packages in x86_64 repo of Fedora-Rawhide-20180222.n.1 compose.

Metadata Update from @ausil:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata