On Fri, Jun 10, 2011 at 04:00:13PM +0200, Steve Wolter wrote:
> Package: libjpeg6b
> Version: 6b1-1
> Severity: normal
> 
> In line 26 of debian/rules, $(MAKE) test is called for this package.
> This breaks cross-compilation where the executables generated for one
> platform are not executable on another; I suggest changing the line to
> 26 $(MAKE) test
> to
> 26 test "$(DEB_BUILD_GNU_TYPE)" "!=" "$(DEB_HOST_GNU_TYPE)" || $(MAKE) test
> 
> which will not change the behaviour for native compilation.

Hello Steve,

I would rather use DEB_BUILD_OPTIONS=nocheck for that.

There are a lot of cross-compiling situations where the condition 
$(DEB_BUILD_GNU_TYPE)" "!=" "$(DEB_HOST_GNU_TYPE)" is true but the
system can execute both kind of binary, for example cross-compiling for i386 
on amd64, or using binfmt and an emulator, etc. In that case it is better
to run the test-suite.

Thanks for your report,
-- 
Bill. <ballo...@debian.org>

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to