Public bug reported:

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

** Affects: ubuntu-advantage-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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
+  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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1927886

Title:
  xenial powerpc build failures golang dependency issues

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1927886/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to