openjdk-8 402 fails to install in focal, jammy, mantic on i386

Bug #2053110 reported by Vladimir Petko
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
java-atk-wrapper (Ubuntu)
Confirmed
Undecided
Unassigned
openjdk-8 (Debian)
Fix Released
Unknown
openjdk-8 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

openjdk-8 402 fails to install in focal, jammy, mantic on i386 due to dependency on java-atk-bridge.

This dependency was introduced by dropping condition present in 392:
------
  ifeq ($(derivative),Ubuntu)
    ifeq ($(DEB_HOST_ARCH),i386)
      ifeq (,$(filter $(distrel),precise trusty xenial bionic))
        with_bridge =
      endif
    endif
  endif
------

Note:
 java-atk-wrapper is present in noble on i386

This is a regression introduced in 8u402-ga-2:

  * Restore M-A installability of focal/i386 package (LP#1916327)
    by adding xenial, bionic, focal, jammy to the list of releases
    built with the ATK bridge, but not enabling it by default;
    keep jessie on, stretch and sid and mantic/noble off the list:
    please report bugs for issues with the bridge, so sthibault
    can find, debug, fix them

See LP: #1916327

The alternative is to publish atk-wrapper for i386 in mantic, jammy and focal.

Options:
 a) rollback the fix in Ubuntu
 b) publish atk-wrapper

Related branches

Vladimir Petko (vpa1977)
summary: - openjdk-8 402 fails to install in focal, jammy, mantic
+ openjdk-8 402 fails to install in focal, jammy, mantic on i386
description: updated
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Note linked merge proposal for the option when we do not publish atk-wrapper in security update

description: updated
Vladimir Petko (vpa1977)
description: updated
description: updated
Vladimir Petko (vpa1977)
description: updated
description: updated
Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts test for mantic i386 (install/purge)

Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts tests for jammy i386 (install/purge)

Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts tests for focal i386 (install/purge)

Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts install/purge tests for openjdk-8 noble

Changed in openjdk-8 (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-8 - 8u402-ga-2ubuntu1

---------------
openjdk-8 (8u402-ga-2ubuntu1) noble; urgency=medium

  * Fix installation issue on i386 (LP: #2053110):
    - d/rules: build without atk bridge on i386 for Ubuntu versions that
      do not have it.
    - d/JB-jre-headless.postinst.in: check that /usr/share/binfmts exists
      before trying to delete it.

 -- Vladimir Petko <email address hidden> Wed, 14 Feb 2024 19:58:48 +1300

Changed in openjdk-8 (Ubuntu):
status: New → Fix Released
Changed in openjdk-8 (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in java-atk-wrapper (Ubuntu):
status: New → Confirmed
Revision history for this message
Bart Vanhaute (bartvanhaute) wrote :

openjdk-8-jre is no longer installable for i386 on noble. Missing dependency on libatk-wrapper-java-jni. This library still exists for amd64, but not for i386.

Revision history for this message
Thorsten Glaser (mirabilos) wrote :

oh ffs, it’s missing (again?) in noble, too?

I’ll add noble to the workaround for 8u412-ga-1, which I’m working on r/n.

Revision history for this message
Thorsten Glaser (mirabilos) wrote :

(FWIW, last time I looked, it _did_ exist in noble)

Revision history for this message
Vladimir Petko (vpa1977) wrote :

I think the issue is on Ubuntu side, please do not add it to the workaround yet.

Revision history for this message
Thorsten Glaser (mirabilos) wrote :

Hi Vladimir, rmadison says it’s fixed now and it’s available for i386 again, so I undid the workaround addition.

I’ve just uploaded 8u412, but I’ve re-enabled tests for Debian. Due to your situation with the i386 packages, you’ll have to regenerate d/control on noble to get the i386 exclusion (I hope I got the syntax, with both architecture and profile specification, right).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.