Hello Helmut,

On 2024-09-22 20:18, Helmut Grohne wrote:

The following packages have unmet dependencies:
  builddeps:/build/haproxy_3.0.5-2.dsc:arm64 : Depends: python3-sphinx:amd64
                                               Depends: python3:arm64 but it
is not going to be installed
                                               Depends: python3-mako:arm64
but it is not installable

I think this is what the first paragraph of my initial submission says.

I think pbuilder installs Build-Depends-Indep even when only building arch any. I have added :native for Build-Depends-Indep too and it works fine with pbuilder.

gbp buildpackage -nc -sa --git-dist=bookworm-backports --git-pbuilder-options="--host-arch arm64 --binary-arch"

However, I am unable to use sbuild:

gbp buildpackage --git-builder=sbuild --arch-any --no-arch-all --no-clean-source --dist=bookworm --host=arm64

Ultimately, this runs:

sbuild --arch-any --no-arch-all --no-clean-source --dist=bookworm --host=arm64

But it fails with:

/usr/lib/apt/solvers/apt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/apt/solvers/apt)
Execute external solver...
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:arm64 : Depends: debhelper-compat:arm64 (= 12) Depends: libpcre2-dev:arm64 but it is not going to be installed Depends: libssl-dev:arm64 but it is not going to be installed Depends: liblua5.4-dev:arm64 but it is not going to be installed Depends: libsystemd-dev:arm64 but it is not going to be installed Depends: libjemalloc-dev:arm64 but it is not going to be installed
                                         Depends: python3-sphinx:amd64
Depends: libopentracing-c-wrapper-dev:arm64 but it is not going to be installed Depends: pkgconf:arm64 but it is not going to be installed Depends: systemd-dev:arm64 but it is not installable
                                         Depends: fakeroot:amd64
Depends: crossbuild-essential-arm64:amd64
                                         Depends: libc-dev:arm64
                                         Depends: libstdc++-dev:arm64

Reply via email to