[Pkg-rust-maintainers] Bug#891961: rustc: Please enable workaround for upstream issue 45854 on armel

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sat Mar 3 08:01:26 UTC 2018


Source: rustc
Version: 1.23.0+dfsg1-1
Severity: normal

Hi!

The debian/rules file contains a workaround for the upstream issue 45854
on armhf:

	# Work around armhf issue: https://github.com/rust-lang/rust/issues/45854
	[ $(DEB_BUILD_ARCH) != armhf ] || sed -i -e '/^debuginfo-only-std = /d' "$@"

We have the same problem on armel and hence need the workaround there as well,
so the easiest way would be probably something like this:

	[ $(DEB_BUILD_ARCH) != armhf ] || sed -i -e '/^debuginfo-only-std = /d' "$@"
	[ $(DEB_BUILD_ARCH) != armel ] || sed -i -e '/^debuginfo-only-std = /d' "$@"

With the patch to disable the included kernel helpers (#891902) and enabling
the architecture matching (#891913) and this change, I was able to build
rustc on armel natively and hence fixing #881846.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Pkg-rust-maintainers mailing list