[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Need advice for cross building gammu



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Recently I have adopted the gammu package in Debian and there are couple of
things preventing its cross build:

1) Missing deps: [1]

python3-breathe:arm64 (>= 4.1.0) which is a virtual package and is not provided
by any available package

python3-sphinx:arm64 (>= 1.3) which is a virtual package and is not provided by
any available package

I suppose that nothing can be done about those until they become available in
the cross-build chroot. Or maybe adding :any can help because they are needed
as amd64 not arm64? I have tried adding :any to the above two and that broke
normal builds, also tried moving them to Build-Depend-Indep and normal builds
are OK but cross fails in the same way.


2) When some day the above are resolved, the build will fail on the test step
unless cmake is clever and skips it or dh detects nocheck and skips the step as
a whole:

override_dh_auto_test:
	dh_auto_test --no-parallel

So my question - is it proper to make this conditional, e.g.:

override_dh_auto_test:
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
  dh_auto_test --no-parallel
else
  true
endif

or there is a better way to handle that?

Thanks in advance!

With best regards,
b.

[1] - https://salsa.debian.org/debian/gammu/-/jobs/2101750
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEumC8IPN+WURNbSUAE2VyCRPS8i0FAmFwgPgACgkQE2VyCRPS
8i02ZQ//TqVEQz6D0frDGvechgkV2Il9X3QB6mXOnab+Db/8ErW3umJU9yo1ucmS
hdeHqIkDXrv1z5aXhKWClxCCyGxEx2lsuK9iVEjMvLZW+Wm1ukPBAGS3Cpsh+o0w
xLXU6KICwICr754N+qfhzNdmrvD1PQQe4u6FfK99BU+mAn6WPwFM+w+KqmtuAUV6
Tf4O9Qawr9PhdRzF+44vjl1xFY105J7WB4WqPClD79Y9PakAGYTwzv6TXfuQeYb4
9zaEfmzZC/WKA2N560mkX0c1zwW1l10WF9h3ss4tht2d2NyrWMimbXllTLgnswxL
bLbPvFWO7KeHYxQdlAjZwXcW3TB0zI6tN7qZYyQzqBJphZTnUOfzC/FEj+NSuakI
wqdSiFXYX5PvDT0Xavp0Hn2mV4y47njfFi1Xlz6NwUSvjhi2HzKCNgQCiN6lYcrc
5hw8HOrjmJ1cqJ8P/P/RMyafGPQIbVNBn6NPqsErPdxL22YtJBEYLIKReUSMNv1P
n2e6EHQ0bPwNQzk8G/Q4Gg+IECpSiVP+dCMgU6O60tE5YvAeuZguTU5YTNlbIhfZ
G1Gf09zV6bdVcud+CxSZbKoG1qOeWtjx6/7KRYHLxruKJJF0h+xkeFvN9DdfHO0J
pEmo5WDPZpq21ggDpUEy+qJgyqkgE+dSUx6pIRVP4tHqu2W+fsk=
=538g
-----END PGP SIGNATURE-----


Reply to: