Public bug reported:

I cannot install QEMU build dependencies on s390x Ubuntu 26.04; build-
dep fails as follows:

$ uname -m && docker run -it --pull always --rm ubuntu:26.04 sh -c 'sed -i 
"s/Types: deb/Types: deb deb-src/g" /etc/apt/sources.list.d/ubuntu.sources && 
apt-get update && apt-get build-dep qemu'
s390x
26.04: Pulling from library/ubuntu
Digest: sha256:f3d28607ddd78734bb7f71f117f3c6706c666b8b76cbff7c9ff6e5718d46ff64
Status: Image is up to date for ubuntu:26.04
Get:1 http://ports.ubuntu.com/ubuntu-ports resolute InRelease [136 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports resolute-updates InRelease [136 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports resolute-backports InRelease [136 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports resolute-security InRelease [136 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports resolute/main Sources [1274 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports resolute/multiverse Sources [257 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports resolute/restricted Sources [22.9 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports resolute/universe Sources [16.8 MB]
Get:9 http://ports.ubuntu.com/ubuntu-ports resolute/restricted s390x Packages 
[1216 B]
Get:10 http://ports.ubuntu.com/ubuntu-ports resolute/multiverse s390x Packages 
[215 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports resolute/main s390x Packages [1751 
kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports resolute/universe s390x Packages 
[19.1 MB]
Get:13 http://ports.ubuntu.com/ubuntu-ports resolute-updates/restricted Sources 
[3861 B]
Get:14 http://ports.ubuntu.com/ubuntu-ports resolute-updates/main Sources [29.5 
kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports resolute-updates/universe Sources 
[28.6 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports resolute-updates/universe s390x 
Packages [40.8 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports resolute-updates/main s390x 
Packages [48.5 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports resolute-security/universe Sources 
[28.6 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports resolute-security/main Sources 
[23.2 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports resolute-security/universe s390x 
Packages [40.8 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports resolute-security/main s390x 
Packages [29.7 kB]
Fetched 40.3 MB in 2s (20.9 MB/s)                           
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Solving dependencies... Error!
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:essentials : Depends: build-essential but it is not going to be 
installed
 builddeps:qemu : Depends: debhelper-compat (= 13)
                  Depends: python3-venv:any
                  Depends: python3-distlib:s390x or
                           python3-distlib but it is not going to be installed
                  Depends: python3:any (> 3.11)
                  Depends: meson (> 1.5.0~) but it is not going to be installed
                  Depends: ninja-build but it is not going to be installed
                  Depends: flex but it is not going to be installed
                  Depends: bison but it is not going to be installed
                  Depends: python3-sphinx:s390x
                  Depends: python3-sphinx-rtd-theme:s390x
                  Depends: gcc-x86-64-linux-gnu but it is not going to be 
installed
                  Depends: gcc-i686-linux-gnu but it is not going to be 
installed
                  Depends: device-tree-compiler but it is not going to be 
installed
                  Depends: gcc-s390x-linux-gnu but it is not going to be 
installed
                  Depends: gcc-alpha-linux-gnu but it is not installable
                  Depends: gcc-powerpc-linux-gnu but it is not going to be 
installed
                  Depends: gcc-powerpc64-linux-gnu but it is not going to be 
installed
                  Depends: libssl-dev but it is not going to be installed
                  Depends: gcc-sparc64-linux-gnu but it is not installable
                  Depends: fcode-utils but it is not going to be installed
                  Depends: xsltproc but it is not going to be installed
                  Depends: gcc-hppa-linux-gnu but it is not installable
                  Depends: gcc-hppa64-linux-gnu but it is not installable
                  Depends: gcc-riscv64-linux-gnu but it is not going to be 
installed
                  Depends: gcc-arm-linux-gnueabi but it is not installable
                  Depends: libc6-dev-armel-cross but it is not going to be 
installed
                  Depends: gcc-aarch64-linux-gnu but it is not going to be 
installed
                  Depends: libc6-dev-arm64-cross but it is not going to be 
installed
                  Depends: libc6-dev-hppa-cross but it is not going to be 
installed
                  Depends: libc6-dev-i386-cross but it is not going to be 
installed
                  Depends: gcc-loongarch64-linux-gnu but it is not installable
                  Depends: libc6-dev-loong64-cross but it is not going to be 
installed
                  Depends: libc6-dev-ppc64-cross but it is not going to be 
installed
                  Depends: libc6-dev-riscv64-cross but it is not going to be 
installed
                  Depends: libc6-dev-s390x-cross but it is not going to be 
installed
                  Depends: pkgconf but it is not going to be installed
                  Depends: libglib2.0-dev but it is not going to be installed
                  Depends: zlib1g-dev but it is not going to be installed
                  Depends: pkgconf:s390x
                  Depends: libglib2.0-dev:s390x
                  Depends: libaio-dev but it is not going to be installed
                  Depends: libjack-dev
                  Depends: libpulse-dev but it is not going to be installed
                  Depends: libasound2-dev but it is not going to be installed
                  Depends: libpipewire-0.3-dev but it is not going to be 
installed
                  Depends: libmpathpersist-dev but it is not going to be 
installed
                  Depends: libmpathcmd-dev but it is not going to be installed
                  Depends: libbpf-dev but it is not going to be installed
                  Depends: libblkio-dev but it is not going to be installed
                  Depends: libbrlapi-dev but it is not going to be installed
                  Depends: libcap-ng-dev but it is not going to be installed
                  Depends: libcurl4-gnutls-dev but it is not going to be 
installed
                  Depends: libfdt-dev but it is not going to be installed
                  Depends: libfuse3-dev but it is not going to be installed
                  Depends: gnutls-dev
                  Depends: libgtk-3-dev but it is not going to be installed
                  Depends: libvte-2.91-dev but it is not going to be installed
                  Depends: libiscsi-dev but it is not going to be installed
                  Depends: libncurses-dev but it is not going to be installed
                  Depends: libvirglrenderer-dev but it is not going to be 
installed
                  Depends: libepoxy-dev but it is not going to be installed
                  Depends: libdrm-dev but it is not going to be installed
                  Depends: libgbm-dev but it is not going to be installed
                  Depends: libnfs-dev but it is not going to be installed
                  Depends: libnuma-dev but it is not going to be installed
                  Depends: libcacard-dev but it is not going to be installed
                  Depends: libpixman-1-dev but it is not going to be installed
                  Depends: librbd-dev but it is not going to be installed
                  Depends: libglusterfs-dev but it is not going to be installed
                  Depends: libsasl2-dev but it is not going to be installed
                  Depends: libsdl2-dev
                  Depends: libseccomp-dev but it is not going to be installed
                  Depends: libslirp-dev but it is not going to be installed
                  Depends: librdmacm-dev but it is not going to be installed
                  Depends: libibverbs-dev but it is not going to be installed
                  Depends: libibumad-dev but it is not going to be installed
                  Depends: liburing-dev but it is not going to be installed
                  Depends: libusb-1.0-0-dev but it is not going to be installed
                  Depends: libusbredirparser-dev but it is not going to be 
installed
                  Depends: libssh-dev but it is not going to be installed
                  Depends: libzstd-dev but it is not going to be installed
                  Depends: nettle-dev but it is not going to be installed
                  Depends: libudev-dev but it is not going to be installed
                  Depends: libjpeg-dev
                  Depends: libpng-dev but it is not going to be installed
E: Unable to satisfy dependencies. Reached two conflicting assignments:
   1. builddeps:qemu:s390x=1 is selected for install
   2. builddeps:qemu:s390x Depends gcc-alpha-linux-gnu
      but none of the choices are installable:
      [no choices]

gcc-alpha-linux-gnu is indeed not available on s390x. But the QEMU
binary package is available in the repository, which means it was
somehow built without gcc-alpha-linux-gnu. Would it be possible to
exclude gcc-alpha-linux-gnu from QEMU build dependencies on
architectures that don't have it?

** Affects: qemu (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  `apt-get build-dep qemu` does not work on s390x Ubuntu 26.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2151780/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to