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

Bug#1003350: hsail-tools: Bogus endianness error message in debian/rules



Source: hsail-tools
Severity: normal

Hi!

The logic in debian/rules for the endianness check seems inverted:

override_dh_auto_configure:
ifeq ($(DEB_HOST_ARCH_ENDIAN),big)
	@echo "package can be built for big-endian only"
	false
endif
	dh_auto_configure

As a result, on s390x the package FTBFS with:

 package can be built for big-endian only
 false

which makes no sense.

Might be a better idea to whitelist all little-endian architectures
in debian/control instead since this will also avoid the package
from being picked up by the buildds.

Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=hsail-tools&arch=s390x&ver=0%7E20180830-1&stamp=1578612130&raw=0

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


Reply to: