Package: postgresql-server-dev-16 Severity: normal X-Debbugs-Cc: loukh...@lotes-tm.ru
Dear Maintainer, I have postgresql-server-dev-16 as a build dependency in my package, minimal debian/control file to reproduce the problem is as follows: Source: cross-deps-problem Build-Depends: debhelper (>= 13.3.4), postgresql-server-dev-16 Section: libs Priority: optional Standards-Version: 4.3.0 I'm using official debian:trixie docker image and issuing the following commands to prepare build: root@e93cc49d3bff:/code/dep-problem-tracking# dpkg --add-architecture armhf root@e93cc49d3bff:/code/dep-problem-tracking# apt-get update [ mailto:root@e93cc49d3bff:/code/dep-problem-tracking# | root@e93cc49d3bff:/code/dep-problem-tracking# ] apt-get dist-upgrade root@e93cc49d3bff:/code/dep-problem-tracking# apt-get build-dep -aarmhf . Note, using directory '.' to get the build dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done 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: clang-16:armhf : Depends: binutils:armhf but it is not installable E: Unable to correct problems, you have held broken packages. Full apt diagnostics follows: root@e93cc49d3bff:/code/dep-problem-tracking# apt-get -o APT::Get::Build-Dep-Automatic=yes -o Debug::pkgProblemResolver=yes build-dep --host-architecture=armhf -y . Note, using directory '.' to get the build dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done Starting pkgProblemResolver with broken count: 1 Starting 2 pkgProblemResolver with broken count: 1 Investigating (0) clang-16:armhf < none -> 1:16.0.6-19 @un puN Ib > Broken clang-16:armhf Depends on binutils:armhf < none @un pH > Considering binutils:armhf 0 as a solution to clang-16:armhf 0 Done 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: clang-16:armhf : Depends: binutils:armhf but it is not installable E: Unable to correct problems, you have held broken packages. root@e93cc49d3bff:/code/dep-problem-tracking# Despite that, if I issue `apt-get install postgresql-server-dev-16:armhf` command everythins resolves and installs just fine, but `apt-get build-dep -aarmhf .` still fails with the following (same) diagnostics: root@e93cc49d3bff:/code/dep-problem-tracking# apt-get -o APT::Get::Build-Dep-Automatic=yes -o Debug::pkgProblemResolver=yes build-dep --host-architecture=armhf -y . Note, using directory '.' to get the build dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done Starting pkgProblemResolver with broken count: 1 Starting 2 pkgProblemResolver with broken count: 1 Investigating (0) clang-16:armhf < 1:16.0.6-19 @ii pK Ib > Broken clang-16:armhf Depends on binutils:armhf < 2.41.50.20231227-1 @ii pR > Considering binutils:armhf 0 as a solution to clang-16:armhf 2 Added binutils:armhf to the remove list Investigating (1) clang-16:armhf < 1:16.0.6-19 @ii pK Ib > Broken clang-16:armhf Depends on binutils:armhf < 2.41.50.20231227-1 @ii pR > Considering binutils:armhf 2 as a solution to clang-16:armhf 2 Done 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: clang-16:armhf : Depends: binutils:armhf but it is not installable E: Unable to correct problems, you have held broken packages. root@e93cc49d3bff:/code/dep-problem-tracking# apt-cache policy postgresql-server-dev-16:armhf postgresql-server-dev-16:armhf: Installed: 16.1-1 Candidate: 16.1-1 Version table: *** 16.1-1 500 500 http://deb.debian.org/debian trixie/main armhf Packages 100 /var/lib/dpkg/status root@e93cc49d3bff:/code/dep-problem-tracking# It is worth to mention, this issue also exists in earlier releases. I'm having similar issue with postgresql-server-dev-15 in bookworm, but it is failing with another dependencies: root@f4a15821be16:/code/dep-problem-tracking# cat /etc/debian_version 12.4 root@f4a15821be16:/code/dep-problem-tracking# apt-get build-dep -aarmhf . Note, using directory '.' to get the build dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done 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: clang-14:armhf : Depends: libclang-common-14-dev:armhf (= 1:14.0.6-12) but it is not installable Depends: binutils:armhf but it is not installable E: Unable to correct problems, you have held broken packages. [ mailto:root@f4a15821be16:/code/dep-problem-tracking# | root@f4a15821be16:/code/dep-problem-tracking# ] ... and with postgresql-server-dev-13 bullseye: root@9f90307b461c:/code/dep-problem-tracking# cat /etc/debian_version 11.8 root@9f90307b461c:/code/dep-problem-tracking# apt-get build-dep -aarmhf . Note, using directory '.' to get the build dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done 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: clang-11:armhf : Depends: binutils:armhf but it is not installable E: Unable to correct problems, you have held broken packages. root@9f90307b461c:/code/dep-problem-tracking# Please help me to diagnose and resolve this issue at least, in bookworm... Best, Andrey -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: armhf Kernel: Linux 5.10.0-23-amd64 (SMP w/4 CPU threads) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages postgresql-server-dev-16 depends on: ii clang-16 1:16.0.6-19 ii libpq-dev 16.1-1 pn llvm-16-dev <none> ii postgresql-client-16 16.1-1 ii postgresql-common 256
root@e93cc49d3bff:/code/dep-problem-tracking# apt-get -o APT::Get::Build-Dep-Automatic=yes -o Debug::pkgProblemResolver=yes build-dep --host-architecture=armhf -y . Note, using directory '.' to get the build dependencies Reading package lists... Done Building dependency tree... Done Reading state information... Done Starting pkgProblemResolver with broken count: 1 Starting 2 pkgProblemResolver with broken count: 1 Investigating (0) clang-16:armhf < none -> 1:16.0.6-19 @un puN Ib > Broken clang-16:armhf Depends on binutils:armhf < none @un pH > Considering binutils:armhf 0 as a solution to clang-16:armhf 0 Done 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: clang-16:armhf : Depends: binutils:armhf but it is not installable E: Unable to correct problems, you have held broken packages. root@e93cc49d3bff:/code/dep-problem-tracking#