i386 package build failures due to missing golang-1.14-go dependency

Bug #1928369 reported by Chad Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-advantage-tools (Ubuntu)
Won't Fix
Undecided
Unassigned
Focal
Won't Fix
Undecided
Unassigned
Groovy
Won't Fix
Undecided
Unassigned
Hirsute
Won't Fix
Undecided
Unassigned
Impish
Won't Fix
Undecided
Unassigned

Bug Description

ubuntu-advantage-tools 27.0.1 introduced a dependency on golang-1.14-go in order to deliver a go binary "apt-esm-json-hook". The go pkg dependency is unresolvable on i386 on focal, groovy, hirsute or impish which don't deliver that golang i386 binary.

This results in auto package build dependency resolution errors such as:

Broken builddeps:/tmp/autopkgtest.Kzfqpm/1-autopkgtest-satdep.dsc:i386 Depends on ubuntu-advantage-tools:i386:any < none @un H >
Broken builddeps:/tmp/autopkgtest.Kzfqpm/1-autopkgtest-satdep.dsc:i386 Depends on ubuntu-advantage-pro:i386 < none @un H >
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 builddeps:/tmp/autopkgtest.Kzfqpm/1-autopkgtest-satdep.dsc:i386 : Depends: ubuntu-advantage-tools:i386 but it is not installable
                                                                   Depends: ubuntu-advantage-pro:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

This can be seen more clearly running sbuild --resolve-alternatives --dist=focal --arch-all --arch=i386 *.dsc

The following packages have unmet dependencies:
 sbuild-build-depends-main-dummy : Depends: golang-go (>= 2:1.14~) but it is not installable or
                                            golang-1.14-go but it is not installable or
                                            golang-1.10-go but it is not installable

Chad Smith (chad.smith)
description: updated
Changed in ubuntu-advantage-tools (Ubuntu):
status: New → Confirmed
status: Confirmed → In Progress
assignee: nobody → Chad Smith (chad.smith)
Revision history for this message
Chad Smith (chad.smith) wrote :

This patch will exclude build and package of the go binary on i386

Exclusion of the APT JSON hook results in missing a small informative message in 'apt upgrade' that will distinguish applicable upgrades as to wether

5 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
1 standard security update and 5 esm-infra updates. <--- this line comes from the APT hook

Chad Smith (chad.smith)
Changed in ubuntu-advantage-tools (Ubuntu):
status: In Progress → Won't Fix
Revision history for this message
Chad Smith (chad.smith) wrote :

ubuntu-advantage-tools will not support i386 platforms on Focal and newer. Most consumers of this utility will be amd64/arm based arches.

Changed in ubuntu-advantage-tools (Ubuntu Hirsute):
status: New → Won't Fix
Changed in ubuntu-advantage-tools (Ubuntu Groovy):
status: New → Won't Fix
Changed in ubuntu-advantage-tools (Ubuntu Focal):
status: New → Won't Fix
Changed in ubuntu-advantage-tools (Ubuntu Impish):
assignee: Chad Smith (chad.smith) → nobody
Changed in ubuntu-advantage-tools (Ubuntu):
assignee: Chad Smith (chad.smith) → nobody
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.