[Bug 1863116] [NEW] crossbuild-essential-amd64 not installable on focal/s390x

Frank Heimes 1863116 at bugs.launchpad.net
Thu Feb 13 14:21:25 UTC 2020


Public bug reported:

On an (as of today) updated focal installation (on s390x) I want to
install the crossbuild-essential-amd64 package, but it's not
installable:

$ sudo apt -q -y install crossbuild-essential-amd64 
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:
 crossbuild-essential-amd64 : Depends: gcc-x86-64-linux-gnu (>= 4:9.2) but it is not installable or
                                       gcc:amd64 but it is not installable
                              Depends: g++-x86-64-linux-gnu (>= 4:9.2) but it is not installable or
                                       g++:amd64 but it is not installable
E: Unable to correct problems, you have held broken packages.

$ sudo apt install g++-x86-64-linux-gnu 
Reading package lists...
Building dependency tree...
Reading state information...
Package g++-x86-64-linux-gnu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'g++-x86-64-linux-gnu' has no installation candidate

$ apt search g++-x86-64-linux-gnu
Sorting... Done
Full Text Search... Done

$ sudo apt install gcc-x86-64-linux-gnu
Reading package lists...
Building dependency tree...
Reading state information...
Package gcc-x86-64-linux-gnu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-x86-64-linux-gnu' has no installation candidate

$ apt search gcc-x86-64-linux-gnu
Sorting... Done
Full Text Search... Done


It's btw the same for all "crossbuild-essential-*" packages.
And it seems to be the same on Eoan, but works on Bionic.


I ran into this because I want to do a kernel test compile with a changed kernel option.
After modifying kernel options one needs to run "fakeroot debian/rules updateconfigs"
and at some point in time the CROSS_COMPILE setting became needed to address architecture-dependent tests in Kconfig options. Hence cross toolchains are now required.

** Affects: build-essential (Ubuntu)
     Importance: Undecided
     Assignee: Canonical Foundations Team (canonical-foundations)
         Status: New


** Tags: ff

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

Title:
  crossbuild-essential-amd64 not installable on focal/s390x

Status in build-essential package in Ubuntu:
  New

Bug description:
  On an (as of today) updated focal installation (on s390x) I want to
  install the crossbuild-essential-amd64 package, but it's not
  installable:

  $ sudo apt -q -y install crossbuild-essential-amd64 
  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:
   crossbuild-essential-amd64 : Depends: gcc-x86-64-linux-gnu (>= 4:9.2) but it is not installable or
                                         gcc:amd64 but it is not installable
                                Depends: g++-x86-64-linux-gnu (>= 4:9.2) but it is not installable or
                                         g++:amd64 but it is not installable
  E: Unable to correct problems, you have held broken packages.

  $ sudo apt install g++-x86-64-linux-gnu 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Package g++-x86-64-linux-gnu is not available, but is referred to by another package.
  This may mean that the package is missing, has been obsoleted, or
  is only available from another source

  E: Package 'g++-x86-64-linux-gnu' has no installation candidate

  $ apt search g++-x86-64-linux-gnu
  Sorting... Done
  Full Text Search... Done

  $ sudo apt install gcc-x86-64-linux-gnu
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Package gcc-x86-64-linux-gnu is not available, but is referred to by another package.
  This may mean that the package is missing, has been obsoleted, or
  is only available from another source

  E: Package 'gcc-x86-64-linux-gnu' has no installation candidate

  $ apt search gcc-x86-64-linux-gnu
  Sorting... Done
  Full Text Search... Done

  
  It's btw the same for all "crossbuild-essential-*" packages.
  And it seems to be the same on Eoan, but works on Bionic.

  
  I ran into this because I want to do a kernel test compile with a changed kernel option.
  After modifying kernel options one needs to run "fakeroot debian/rules updateconfigs"
  and at some point in time the CROSS_COMPILE setting became needed to address architecture-dependent tests in Kconfig options. Hence cross toolchains are now required.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/build-essential/+bug/1863116/+subscriptions



More information about the foundations-bugs mailing list