Juju packaging allows builds for unsupported architectures

Bug #1614969 reported by Nicholas Skaggs
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-release-tools
Fix Released
High
Curtis Hovey
conjure-up (Ubuntu)
Xenial
Fix Released
Undecided
Unassigned
juju-core (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned
juju-core-1 (Ubuntu)
Xenial
Fix Released
Undecided
Unassigned

Bug Description

The current juju packaging specifies all for architecture, but juju itself only officially supports 64-bit architectures. We should update juju, to build on only supported architectures for all ppa and archive versions. We should also remove existing builds from xenial that are for unsupported architectures.

[SRU Information]

[Impact]
This change removes 32-bit builds of juju and replaces it with a debconf message instead. See https://lists.ubuntu.com/archives/ubuntu-release/2016-September/003882.html

[Verification]
First confirm a supported arch install works without issue. No prompting should occur.

Then, try the same on a 32-bit machine. All existing juju binaries and files should be removed, and you should be prompted with the debconf message about an unsupported client.

[Regression Potential]
For 32-bit users, this is removing a binary package. However, beta15 package of juju2 isn't supported. For the supported arches, the only regression potential is seeing a needless debconf message.

no longer affects: conjure-up
no longer affects: charm-tools
Changed in juju-release-tools:
status: New → Triaged
importance: Undecided → High
no longer affects: charm-tools (Ubuntu)
no longer affects: charm (Ubuntu)
Revision history for this message
Curtis Hovey (sinzui) wrote :

This is fixed in he base juju-core2 branch. It only builds 64-bit versions.

Changed in juju-release-tools:
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → Fix Released
description: updated
no longer affects: juju-core-1 (Ubuntu)
no longer affects: conjure-up (Ubuntu)
Changed in juju-core (Ubuntu Xenial):
status: New → Fix Committed
Changed in juju-core (Ubuntu):
status: New → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Nicholas, or anyone else affected,

Accepted juju-core into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/juju-core/2.0.0-0ubuntu0.16.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Installing xenial build, I am no longer prompted on supported architectures.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Just adding a comment to note that indeed on 32-bit arches both the install and upgrade show the DEBCONF message and remove all associated binaries.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package juju-core - 2.0.0-0ubuntu0.16.04.2

---------------
juju-core (2.0.0-0ubuntu0.16.04.2) xenial; urgency=medium

  * DPKG_MAINTSCRIPT_ARCH doesn't work in .config, use dpkg check (LP: #1614969)

 -- Nicholas Skaggs <email address hidden> Mon, 31 Oct 2016 15:55:49 -0400

Changed in juju-core (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for juju-core has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in juju-core-1 (Ubuntu Xenial):
status: New → Fix Released
Changed in conjure-up (Ubuntu Xenial):
status: New → Fix Released
Changed in juju-core (Ubuntu):
status: Fix Committed → Fix Released
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.