[Debian-on-mobile-maintainers] Bug#996699: Bug#996699: chatty: Cross-building fails to resolve libpurple-dev

Evangelos Ribeiro Tzaras devrtz-debian at fortysixandtwo.eu
Wed Oct 20 09:17:30 BST 2021


Hi and thanks for your report!

On Sun, 2021-10-17 at 09:26 -0400, Travis Wrightsman via Debian-on-
mobile-maintainers wrote:
> Package: chatty
> Version: 0.4.0-1
> Severity: serious
> Justification: fails to build from source
> Tags: ftbfs upstream
> 
> Chatty fails to cross-build due to a dependency resolution error for
> the
> libpurple-dev package.
> 
> I'm not sure this is a chatty-specific bug but I'm also not sure where
> else to place it.

I've just checked with another package which uses libpurple-dev (f.e.
purple-matrix)  and ran (perhaps unsurprisingly) into the same issue
when crossbuilding.
CCing the pidgin maintainer.


> 
> It occurs on Debian Salsa builds:
> https://salsa.debian.org/DebianOnMobile-team/chatty/-/jobs/1940649#L1475

Possibly (probably?) related crossbuild failure in pidgin:
https://salsa.debian.org/debian/pidgin/-/jobs/2035973#L1446 

 pidgin-cross-build-deps:arm64 : Depends: libxml-parser-perl:arm64 but
it is not installable
                                 Depends: python3:arm64 but it is not
going to be installed
Unable to resolve dependencies!  Giving up...


I've also looked at libxml-parser-perl which fails both locally with
the pbuilder invocation from below and in CI.
https://salsa.debian.org/devrtz/libxml-parser-perl/-/jobs/2100268#L1425

The following packages have unmet dependencies:
 builddeps:/build/libxml-parser-perl_2.46-2.dsc:arm64 : Depends:
libdevel-checklib-perl:arm64 but it is not installable


I've not (yet) dived any deeper than this.

> 
> It also occurs when using git-buildpackage to cross-build for my
> (arm64)
> PinePhone from my (amd64) laptop.
> 
> $ BUILDER=pbuilder DIST=bookworm git-pbuilder create
> $ echo 'PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-
> satisfydepends-apt"' > ~/.pbuilderrc
> $ BUILDER=pbuilder gbp buildpackage --git-pbuilder --git-pbuilder-
> options="--host-arch arm64" --git-dist=bookworm
> [...]
> Building dependency tree...
> 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:/build/chatty_0.4.0-1.dsc:arm64 : Depends: libpurple-
> dev:arm64 but it is not installable
> E: Unable to correct problems, you have held broken packages.
> E: pbuilder-satisfydepends failed.
> [...]
> 

I can reproduce this, but I don't really understand why this happens as
I'm not intimately familiar with all the intricacies of crossbuilding
because I usually "cross"build in natively in an arm64 qemu chroot.

CCing debian-cross in the hopes that someone can shed some light here
:)

More generally: What should be the next steps?

I guess I could reassign this bug to the pidgin source package (as it
provides libpurple-dev)?
And open bugs to
a) libxml-parser-perl
b) libdevel-checklib-perl
c) python3 (and/or all the packages that make python FTCBFS)

> Chatty builds successfully on the PinePhone using git-buildpackage.
> 
> 

--
Cheers,
Evangelos



More information about the Debian-on-mobile-maintainers mailing list