** Summary changed: - crossbuild-essential-amd64 not installable on focal/s390x + debian/rules editconfigs does not work on s390x to change s390x only configs
** Description changed: - On an (as of today) updated focal installation (on s390x) I want to - install the crossbuild-essential-amd64 package, but it's not - installable: + On s390x - $ 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: + pull-lp-source linux-5.4 + cd linux-* + fakeroot ./debian/rules clean + ./debian/rules editconfig + dh_testdir; + /bin/bash -e debian/scripts/misc/kernelconfig editconfigs + Do you want to edit config: amd64/config.flavour.generic? [Y/n] n + ... + scripts/Kconfig.include:35: compiler 'x86_64-linux-gnu-gcc' not found + make[3]: *** [../scripts/kconfig/Makefile:73: syncconfig] Error 1 + make[2]: *** [/home/ubuntu/linux-5.4-5.4.0/Makefile:594: syncconfig] Error 2 + make[2]: Leaving directory '/home/ubuntu/linux-5.4-5.4.0/build' + make[1]: *** [Makefile:179: sub-make] Error 2 + make[1]: Leaving directory '/home/ubuntu/linux-5.4-5.4.0' + make: *** [debian/rules.d/1-maintainer.mk:44: editconfigs] Error 2 - 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. + And indeed i do not have x86_64-linux-gnu-gcc crosscompiler available to + build on s390x for amd64, and also I don't want to touch amd64 configs. + Only s390x ones. - $ 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. + As a user, I should be able to rebuild ports architecture kernel with + tweaked config for testing, self-hosted without cross-compilers. ** Tags added: champagne ** Also affects: linux-5.4 (Ubuntu) Importance: Undecided Status: New ** No longer affects: build-essential (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1863116 Title: debian/rules editconfigs does not work on s390x to change s390x only configs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1863116/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs