Package: mosh
Version: 1.3.2-2
Severity: wishlist
User: [email protected]
Usertags: cross-satisfiability
Hi,
Currently, trying to satisfy cross Build-Depends for mosh fails,
because of the build-dependency on locales. I noticed that this
dependency was added to ensure that an UTF-8 locale was always
available[1]. Since wheezy or jessie, Debian always provides the
"C.UTF-8" via libc-bin and therefore the build-dependency on locales
is no longer necessary.
I have confirmed that mosh can successfully cross-build on an amd64
(build) to a arm64 (host) with the build-dependency on locales
removed. If you use pbuilder / cowbuilder, this is trivial to test
with [2]. Unfortunately, I do not know the proceedure for sbuild.
If you want to optionally build-depend on locales (e.g. because you or
your upstream support Debian-based releases without a recent enough
libc-bin), please consider using:
libc-bin (>= 2.13) | locales
Thanks,
~Niels
[1]
https://github.com/mobile-shell/mosh/commit/0fc950bd8a3469bfb19c3049d35480a20205e66e
[2]
Setup:
echo
"PBUILDERSATISFYDEPENDSCMD=/usr/lib/pbuilder/pbuilder-satisfydepends-apt" >
/etc/pbuilderrc
Build test:
cowbuilder --build --host-arch arm64 /path/to/mosh.dsc
(or pbuilder --build --host-arch arm64 /path/to/mosh.dsc)
There is no need to setup a separate base/chroot for this purpose.