Activity log for bug #1927886

Date Who What changed Old value New value Message
2021-05-10 02:22:50 Chad Smith bug added bug
2021-05-10 02:23:40 Chad Smith description ubuntu-advantage-tools 27.0~16.04.1 fails to build from source in PPAs or locally via sbuild on powerpc platform due to golang package dependency issues: $ sbuild --resolve-alternatives --dist=xenial --arch=powerpc --arch-all ../out/ubuntu-advantage-tools_27.0~16.04.1.dsc .... Merged Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot Filtered Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B] Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [481 B] Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [565 B] Fetched 2003 B in 0s (9192 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... 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: sbuild-build-depends-main-dummy : Depends: golang but it is not going to be installed E: Unable to correct problems, you have held broken packages. apt-get failed. E: Package installation failed ubuntu-advantage-tools 27.0~16.04.1 fails to build from source in PPAs or locally via sbuild on powerpc platform due to golang package dependency issues: $ sbuild --resolve-alternatives --dist=xenial --arch=powerpc --arch-all ../out/ubuntu-advantage-tools_27.0~16.04.1.dsc .... Merged Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot Filtered Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B] Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [481 B] Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [565 B] Fetched 2003 B in 0s (9192 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... 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:  sbuild-build-depends-main-dummy : Depends: golang but it is not going to be installed E: Unable to correct problems, you have held broken packages. apt-get failed. E: Package installation failed ... missing: pkg: package: golang:powerpc version: 2:1.6-1ubuntu4 architecture: all essential: false unsat-dependency: golang-src:powerpc (>= 2:1.6-1ubuntu4) depchains: - depchain: - package: sbuild-build-depends-main-dummy:powerpc version: 0.invalid.0 architecture: powerpc essential: false depends: golang:powerpc
2021-05-10 18:17:46 Chad Smith nominated for series Ubuntu Hirsute
2021-05-10 18:17:46 Chad Smith bug task added ubuntu-advantage-tools (Ubuntu Hirsute)
2021-05-10 18:17:46 Chad Smith nominated for series Ubuntu Focal
2021-05-10 18:17:46 Chad Smith bug task added ubuntu-advantage-tools (Ubuntu Focal)
2021-05-10 18:17:46 Chad Smith nominated for series Ubuntu Xenial
2021-05-10 18:17:46 Chad Smith bug task added ubuntu-advantage-tools (Ubuntu Xenial)
2021-05-10 18:17:46 Chad Smith nominated for series Ubuntu Bionic
2021-05-10 18:17:46 Chad Smith bug task added ubuntu-advantage-tools (Ubuntu Bionic)
2021-05-10 18:17:46 Chad Smith nominated for series Ubuntu Groovy
2021-05-10 18:17:46 Chad Smith bug task added ubuntu-advantage-tools (Ubuntu Groovy)
2021-05-10 18:17:57 Chad Smith ubuntu-advantage-tools (Ubuntu): status New Fix Committed
2021-05-10 18:18:32 Chad Smith nominated for series Ubuntu Impish
2021-05-10 18:18:32 Chad Smith bug task added ubuntu-advantage-tools (Ubuntu Impish)
2021-05-10 18:31:53 Chad Smith description ubuntu-advantage-tools 27.0~16.04.1 fails to build from source in PPAs or locally via sbuild on powerpc platform due to golang package dependency issues: $ sbuild --resolve-alternatives --dist=xenial --arch=powerpc --arch-all ../out/ubuntu-advantage-tools_27.0~16.04.1.dsc .... Merged Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot Filtered Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B] Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [481 B] Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [565 B] Fetched 2003 B in 0s (9192 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... 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:  sbuild-build-depends-main-dummy : Depends: golang but it is not going to be installed E: Unable to correct problems, you have held broken packages. apt-get failed. E: Package installation failed ... missing: pkg: package: golang:powerpc version: 2:1.6-1ubuntu4 architecture: all essential: false unsat-dependency: golang-src:powerpc (>= 2:1.6-1ubuntu4) depchains: - depchain: - package: sbuild-build-depends-main-dummy:powerpc version: 0.invalid.0 architecture: powerpc essential: false depends: golang:powerpc [Impact] * Local package build attempts on powerpc platform as well as cloud image builds for powerpc on Xenial were affected by inability to resolve correct golang dependencies. Allowing debian/control and package Makefiles to ignore building and packaging ubuntu-advantage-tools' golang hook binary allows for package builds to succeed with minimal impact to usability and user-messaging. [Test Plan] 1. Run sbuild --resolve-alternatives --dist=xenial --arch=powerpc to confirm package build success and does not include /usr/lib/ubuntu-advantage/apt-esm-json-hook 2. Upload to ppa:ua-client/staging which is set to build both powerpc and riscv64 platforms by default and ensure no package build failures. 3. Ensure go APT hook is still built and included in binary package as /usr/lib/ubuntu-advantage/apt-esm-json-hook 4. Test functionality of go json hook on Xenial: 4a. get token from ubuntu.com/advantage 4b. ua attach <token_from_4a> 4c ua disable esm-infra 4d apt upgrade # check output for esm-infra package updates available. [Where problems could occur] * This is a low risk update as most problems will occur at package build time. * Accidental exclusion of /usr/lib/ubuntu-advantage/apt-esm-json-hook only results in the absence of a single informative message during `apt upgrade` or `apt dist-upgrade` which would describe detailed source for where package updates are originating: "1 standard security update, 1 esm-infra update and 2 esm-apps updates" * Without a packaged json hook, the message will be absent and no tracebacks or non-zero exits from APT [Other Info] [Original Description] * Anything else you think is useful to include * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board * and address these questions in advance ubuntu-advantage-tools 27.0~16.04.1 fails to build from source in PPAs or locally via sbuild on powerpc platform due to golang package dependency issues: $ sbuild --resolve-alternatives --dist=xenial --arch=powerpc --arch-all ../out/ubuntu-advantage-tools_27.0~16.04.1.dsc .... Merged Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot Filtered Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B] Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [481 B] Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [565 B] Fetched 2003 B in 0s (9192 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... 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:  sbuild-build-depends-main-dummy : Depends: golang but it is not going to be installed E: Unable to correct problems, you have held broken packages. apt-get failed. E: Package installation failed ...    missing:      pkg:       package: golang:powerpc       version: 2:1.6-1ubuntu4       architecture: all       essential: false       unsat-dependency: golang-src:powerpc (>= 2:1.6-1ubuntu4)      depchains:       -        depchain:         -          package: sbuild-build-depends-main-dummy:powerpc          version: 0.invalid.0          architecture: powerpc          essential: false          depends: golang:powerpc
2021-05-10 18:58:30 Chad Smith description [Impact] * Local package build attempts on powerpc platform as well as cloud image builds for powerpc on Xenial were affected by inability to resolve correct golang dependencies. Allowing debian/control and package Makefiles to ignore building and packaging ubuntu-advantage-tools' golang hook binary allows for package builds to succeed with minimal impact to usability and user-messaging. [Test Plan] 1. Run sbuild --resolve-alternatives --dist=xenial --arch=powerpc to confirm package build success and does not include /usr/lib/ubuntu-advantage/apt-esm-json-hook 2. Upload to ppa:ua-client/staging which is set to build both powerpc and riscv64 platforms by default and ensure no package build failures. 3. Ensure go APT hook is still built and included in binary package as /usr/lib/ubuntu-advantage/apt-esm-json-hook 4. Test functionality of go json hook on Xenial: 4a. get token from ubuntu.com/advantage 4b. ua attach <token_from_4a> 4c ua disable esm-infra 4d apt upgrade # check output for esm-infra package updates available. [Where problems could occur] * This is a low risk update as most problems will occur at package build time. * Accidental exclusion of /usr/lib/ubuntu-advantage/apt-esm-json-hook only results in the absence of a single informative message during `apt upgrade` or `apt dist-upgrade` which would describe detailed source for where package updates are originating: "1 standard security update, 1 esm-infra update and 2 esm-apps updates" * Without a packaged json hook, the message will be absent and no tracebacks or non-zero exits from APT [Other Info] [Original Description] * Anything else you think is useful to include * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board * and address these questions in advance ubuntu-advantage-tools 27.0~16.04.1 fails to build from source in PPAs or locally via sbuild on powerpc platform due to golang package dependency issues: $ sbuild --resolve-alternatives --dist=xenial --arch=powerpc --arch-all ../out/ubuntu-advantage-tools_27.0~16.04.1.dsc .... Merged Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot Filtered Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B] Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [481 B] Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [565 B] Fetched 2003 B in 0s (9192 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... 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:  sbuild-build-depends-main-dummy : Depends: golang but it is not going to be installed E: Unable to correct problems, you have held broken packages. apt-get failed. E: Package installation failed ...    missing:      pkg:       package: golang:powerpc       version: 2:1.6-1ubuntu4       architecture: all       essential: false       unsat-dependency: golang-src:powerpc (>= 2:1.6-1ubuntu4)      depchains:       -        depchain:         -          package: sbuild-build-depends-main-dummy:powerpc          version: 0.invalid.0          architecture: powerpc          essential: false          depends: golang:powerpc [Impact]  * Local package build attempts on powerpc platform as well as cloud image builds for powerpc on Xenial were affected by inability to resolve correct golang dependencies. Allowing debian/control and package Makefiles to ignore building and packaging ubuntu-advantage-tools' golang hook binary allows for package builds to succeed with minimal impact to usability and user-messaging. [Test Plan] 1. Run sbuild --resolve-alternatives --dist=xenial --arch=powerpc to confirm package build success and does not include golang dependencies or /usr/lib/ubuntu-advantage/apt-esm-json-hook grep Build-Depends *build 2. Upload to ppa:ua-client/staging which is set to build both powerpc and riscv64 platforms by default and ensure no package build failures. 3. Ensure go APT hook is still built and included in binary package as /usr/lib/ubuntu-advantage/apt-esm-json-hook 4. Test functionality of go json hook on Xenial: 4a. get token from ubuntu.com/advantage 4b. ua attach <token_from_4a> 4c ua disable esm-infra 4d apt upgrade # check output for esm-infra package updates available. [Where problems could occur] * This is a low risk update as most problems will occur at package build time. * Accidental exclusion of /usr/lib/ubuntu-advantage/apt-esm-json-hook only results in the absence of a single informative message during `apt upgrade` or `apt dist-upgrade` which would describe detailed source for where package updates are originating: "1 standard security update, 1 esm-infra update and 2 esm-apps updates" * Without a packaged json hook, the message will be absent and no tracebacks or non-zero exits from APT [Other Info] [Original Description]  * Anything else you think is useful to include  * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board  * and address these questions in advance ubuntu-advantage-tools 27.0~16.04.1 fails to build from source in PPAs or locally via sbuild on powerpc platform due to golang package dependency issues: $ sbuild --resolve-alternatives --dist=xenial --arch=powerpc --arch-all ../out/ubuntu-advantage-tools_27.0~16.04.1.dsc .... Merged Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot Filtered Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B] Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [481 B] Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [565 B] Fetched 2003 B in 0s (9192 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... 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:  sbuild-build-depends-main-dummy : Depends: golang but it is not going to be installed E: Unable to correct problems, you have held broken packages. apt-get failed. E: Package installation failed ...    missing:      pkg:       package: golang:powerpc       version: 2:1.6-1ubuntu4       architecture: all       essential: false       unsat-dependency: golang-src:powerpc (>= 2:1.6-1ubuntu4)      depchains:       -        depchain:         -          package: sbuild-build-depends-main-dummy:powerpc          version: 0.invalid.0          architecture: powerpc          essential: false          depends: golang:powerpc
2021-05-10 19:04:51 Chad Smith description [Impact]  * Local package build attempts on powerpc platform as well as cloud image builds for powerpc on Xenial were affected by inability to resolve correct golang dependencies. Allowing debian/control and package Makefiles to ignore building and packaging ubuntu-advantage-tools' golang hook binary allows for package builds to succeed with minimal impact to usability and user-messaging. [Test Plan] 1. Run sbuild --resolve-alternatives --dist=xenial --arch=powerpc to confirm package build success and does not include golang dependencies or /usr/lib/ubuntu-advantage/apt-esm-json-hook grep Build-Depends *build 2. Upload to ppa:ua-client/staging which is set to build both powerpc and riscv64 platforms by default and ensure no package build failures. 3. Ensure go APT hook is still built and included in binary package as /usr/lib/ubuntu-advantage/apt-esm-json-hook 4. Test functionality of go json hook on Xenial: 4a. get token from ubuntu.com/advantage 4b. ua attach <token_from_4a> 4c ua disable esm-infra 4d apt upgrade # check output for esm-infra package updates available. [Where problems could occur] * This is a low risk update as most problems will occur at package build time. * Accidental exclusion of /usr/lib/ubuntu-advantage/apt-esm-json-hook only results in the absence of a single informative message during `apt upgrade` or `apt dist-upgrade` which would describe detailed source for where package updates are originating: "1 standard security update, 1 esm-infra update and 2 esm-apps updates" * Without a packaged json hook, the message will be absent and no tracebacks or non-zero exits from APT [Other Info] [Original Description]  * Anything else you think is useful to include  * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board  * and address these questions in advance ubuntu-advantage-tools 27.0~16.04.1 fails to build from source in PPAs or locally via sbuild on powerpc platform due to golang package dependency issues: $ sbuild --resolve-alternatives --dist=xenial --arch=powerpc --arch-all ../out/ubuntu-advantage-tools_27.0~16.04.1.dsc .... Merged Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot Filtered Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B] Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [481 B] Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [565 B] Fetched 2003 B in 0s (9192 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... 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:  sbuild-build-depends-main-dummy : Depends: golang but it is not going to be installed E: Unable to correct problems, you have held broken packages. apt-get failed. E: Package installation failed ...    missing:      pkg:       package: golang:powerpc       version: 2:1.6-1ubuntu4       architecture: all       essential: false       unsat-dependency: golang-src:powerpc (>= 2:1.6-1ubuntu4)      depchains:       -        depchain:         -          package: sbuild-build-depends-main-dummy:powerpc          version: 0.invalid.0          architecture: powerpc          essential: false          depends: golang:powerpc [Impact]  * Local package build attempts on powerpc platform as well as cloud image builds for powerpc on Xenial were affected by inability to resolve correct golang dependencies. Allowing debian/control and package Makefiles to ignore building and packaging ubuntu-advantage-tools' golang hook binary allows for package builds to succeed with minimal impact to usability and user-messaging. [Test Plan] 1. Run sbuild --resolve-alternatives --dist=xenial --arch=powerpc to confirm package build success and does not include golang dependencies or /usr/lib/ubuntu-advantage/apt-esm-json-hook dpkg-deb -c *powerpc.deb | grep hook # expect only apt-esm-hook 2. Upload to ppa:ua-client/staging which is set to build both powerpc and riscv64 platforms by default and ensure no package build failures. 3. Ensure go APT hook is still built and included in binary package as /usr/lib/ubuntu-advantage/apt-esm-json-hook dpkg-deb -c *amd64.deb | grep hook # expect both apt-esm-hook & apt-esm-json-hook 4. Test functionality of go json hook on Xenial: 4a. get token from ubuntu.com/advantage 4b. ua attach <token_from_4a> 4c ua disable esm-infra 4d apt upgrade # check output for esm-infra package updates available. [Where problems could occur] * This is a low risk update as most problems will occur at package build time. * Accidental exclusion of /usr/lib/ubuntu-advantage/apt-esm-json-hook only results in the absence of a single informative message during `apt upgrade` or `apt dist-upgrade` which would describe detailed source for where package updates are originating: "1 standard security update, 1 esm-infra update and 2 esm-apps updates" * Without a packaged json hook, the message will be absent and no tracebacks or non-zero exits from APT [Other Info] [Original Description]  * Anything else you think is useful to include  * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board  * and address these questions in advance ubuntu-advantage-tools 27.0~16.04.1 fails to build from source in PPAs or locally via sbuild on powerpc platform due to golang package dependency issues: $ sbuild --resolve-alternatives --dist=xenial --arch=powerpc --arch-all ../out/ubuntu-advantage-tools_27.0~16.04.1.dsc .... Merged Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot Filtered Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B] Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [481 B] Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [565 B] Fetched 2003 B in 0s (9192 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... 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:  sbuild-build-depends-main-dummy : Depends: golang but it is not going to be installed E: Unable to correct problems, you have held broken packages. apt-get failed. E: Package installation failed ...    missing:      pkg:       package: golang:powerpc       version: 2:1.6-1ubuntu4       architecture: all       essential: false       unsat-dependency: golang-src:powerpc (>= 2:1.6-1ubuntu4)      depchains:       -        depchain:         -          package: sbuild-build-depends-main-dummy:powerpc          version: 0.invalid.0          architecture: powerpc          essential: false          depends: golang:powerpc
2021-05-12 17:16:38 Robie Basak description [Impact]  * Local package build attempts on powerpc platform as well as cloud image builds for powerpc on Xenial were affected by inability to resolve correct golang dependencies. Allowing debian/control and package Makefiles to ignore building and packaging ubuntu-advantage-tools' golang hook binary allows for package builds to succeed with minimal impact to usability and user-messaging. [Test Plan] 1. Run sbuild --resolve-alternatives --dist=xenial --arch=powerpc to confirm package build success and does not include golang dependencies or /usr/lib/ubuntu-advantage/apt-esm-json-hook dpkg-deb -c *powerpc.deb | grep hook # expect only apt-esm-hook 2. Upload to ppa:ua-client/staging which is set to build both powerpc and riscv64 platforms by default and ensure no package build failures. 3. Ensure go APT hook is still built and included in binary package as /usr/lib/ubuntu-advantage/apt-esm-json-hook dpkg-deb -c *amd64.deb | grep hook # expect both apt-esm-hook & apt-esm-json-hook 4. Test functionality of go json hook on Xenial: 4a. get token from ubuntu.com/advantage 4b. ua attach <token_from_4a> 4c ua disable esm-infra 4d apt upgrade # check output for esm-infra package updates available. [Where problems could occur] * This is a low risk update as most problems will occur at package build time. * Accidental exclusion of /usr/lib/ubuntu-advantage/apt-esm-json-hook only results in the absence of a single informative message during `apt upgrade` or `apt dist-upgrade` which would describe detailed source for where package updates are originating: "1 standard security update, 1 esm-infra update and 2 esm-apps updates" * Without a packaged json hook, the message will be absent and no tracebacks or non-zero exits from APT [Other Info] [Original Description]  * Anything else you think is useful to include  * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board  * and address these questions in advance ubuntu-advantage-tools 27.0~16.04.1 fails to build from source in PPAs or locally via sbuild on powerpc platform due to golang package dependency issues: $ sbuild --resolve-alternatives --dist=xenial --arch=powerpc --arch-all ../out/ubuntu-advantage-tools_27.0~16.04.1.dsc .... Merged Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot Filtered Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B] Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [481 B] Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [565 B] Fetched 2003 B in 0s (9192 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... 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:  sbuild-build-depends-main-dummy : Depends: golang but it is not going to be installed E: Unable to correct problems, you have held broken packages. apt-get failed. E: Package installation failed ...    missing:      pkg:       package: golang:powerpc       version: 2:1.6-1ubuntu4       architecture: all       essential: false       unsat-dependency: golang-src:powerpc (>= 2:1.6-1ubuntu4)      depchains:       -        depchain:         -          package: sbuild-build-depends-main-dummy:powerpc          version: 0.invalid.0          architecture: powerpc          essential: false          depends: golang:powerpc [Impact]  * Local package build attempts on powerpc platform as well as cloud image builds for powerpc on Xenial were affected by inability to resolve correct golang dependencies. Allowing debian/control and package Makefiles to ignore building and packaging ubuntu-advantage-tools' golang hook binary allows for package builds to succeed with minimal impact to usability and user-messaging. [Test Plan] 1. Run sbuild --resolve-alternatives --dist=xenial --arch=powerpc to confirm package build success and does not include golang dependencies or /usr/lib/ubuntu-advantage/apt-esm-json-hook dpkg-deb -c *powerpc.deb | grep hook # expect only apt-esm-hook 2. Upload to ppa:ua-client/staging which is set to build both powerpc and riscv64 platforms by default and ensure no package build failures. 3. Ensure go APT hook is still built and included in binary package as /usr/lib/ubuntu-advantage/apt-esm-json-hook dpkg-deb -c *amd64.deb | grep hook # expect both apt-esm-hook & apt-esm-json-hook 4. Test functionality of go json hook on Xenial: 4a. get token from ubuntu.com/advantage 4b. ua attach <token_from_4a> 4c ua disable esm-infra 4d apt upgrade # check output for esm-infra package updates available. [Where problems could occur] * This is a low risk update as most problems will occur at package build time. * Accidental exclusion of /usr/lib/ubuntu-advantage/apt-esm-json-hook only results in the absence of a single informative message during `apt upgrade` or `apt dist-upgrade` which would describe detailed source for where package updates are originating: "1 standard security update, 1 esm-infra update and 2 esm-apps updates" * Without a packaged json hook, the message will be absent and no tracebacks or non-zero exits from APT * [racb] Mutating the Build-Depends line could cause alternatives to be resolved differently on the buildds, resulting in toolchain changes that might result in different sets of build failures or different build output causing functional issues. [Other Info] [Original Description]  * Anything else you think is useful to include  * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board  * and address these questions in advance ubuntu-advantage-tools 27.0~16.04.1 fails to build from source in PPAs or locally via sbuild on powerpc platform due to golang package dependency issues: $ sbuild --resolve-alternatives --dist=xenial --arch=powerpc --arch-all ../out/ubuntu-advantage-tools_27.0~16.04.1.dsc .... Merged Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot Filtered Build-Depends: bash-completion, debhelper (>= 9), debianutils, dh-python, dh-systemd | debhelper (>= 13.3), gettext, git, golang, libapt-pkg-dev, po-debconf, python3 (>= 3.4), distro-info, python3-flake8, python3-mock, python3-pytest, python3-setuptools, python3-yaml, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B] Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [481 B] Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [565 B] Fetched 2003 B in 0s (9192 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... 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:  sbuild-build-depends-main-dummy : Depends: golang but it is not going to be installed E: Unable to correct problems, you have held broken packages. apt-get failed. E: Package installation failed ...    missing:      pkg:       package: golang:powerpc       version: 2:1.6-1ubuntu4       architecture: all       essential: false       unsat-dependency: golang-src:powerpc (>= 2:1.6-1ubuntu4)      depchains:       -        depchain:         -          package: sbuild-build-depends-main-dummy:powerpc          version: 0.invalid.0          architecture: powerpc          essential: false          depends: golang:powerpc
2021-05-12 17:30:00 Robie Basak ubuntu-advantage-tools (Ubuntu Hirsute): status New Fix Committed
2021-05-12 17:30:02 Robie Basak bug added subscriber Ubuntu Stable Release Updates Team
2021-05-12 17:30:05 Robie Basak bug added subscriber SRU Verification
2021-05-12 17:30:09 Robie Basak tags verification-needed verification-needed-hirsute
2021-05-12 17:31:21 Robie Basak ubuntu-advantage-tools (Ubuntu Focal): status New Fix Committed
2021-05-12 21:14:14 Chad Smith ubuntu-advantage-tools (Ubuntu Groovy): status New Fix Committed
2021-05-12 21:14:16 Chad Smith ubuntu-advantage-tools (Ubuntu Bionic): status New Fix Committed
2021-05-12 21:38:30 Chad Smith attachment added sbuild-xenial-powerpc.log https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1927886/+attachment/5496762/+files/sbuild-xenial-powerpc.log
2021-05-12 21:40:18 Chad Smith tags verification-needed verification-needed-hirsute verification-done verification-done-bionic verification-done-focal verification-done-groovy verification-done-hirsute
2021-05-13 20:32:15 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Hirsute): status Fix Committed Fix Released
2021-05-13 20:32:32 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2021-05-13 20:34:54 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Groovy): status Fix Committed Fix Released
2021-05-13 20:38:20 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Focal): status Fix Committed Fix Released
2021-05-13 20:40:17 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Bionic): status Fix Committed Fix Released
2021-05-20 18:12:04 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Impish): status Fix Committed Fix Released
2021-06-17 18:14:23 Launchpad Janitor ubuntu-advantage-tools (Ubuntu Xenial): status New Fix Released