[Pkg-opencl-devel] Bug#882875: Bug#882875: pocl: FTBFS with cmake: kernel/test_printf fails on i386

James Price J.Price at bristol.ac.uk
Mon Nov 27 21:16:43 UTC 2017


Reproduced on my 32-bit VM.

The issue is that the top level CMakeLists.txt checks CMAKE_SYSTEM_PROCESSOR to determine whether the machine is i386, but on some systems the processor is actually i686 or similar. Probably just needs to match against "i.86” instead, which is what the old `fix-tests-i386.patch` used to do for autotools.

James

> On 27 Nov 2017, at 18:31, Andreas Beckmann <anbe at debian.org> wrote:
> 
> Source: pocl
> Version: 0.13-12
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
> 
> https://buildd.debian.org/status/fetch.php?pkg=pocl&arch=i386&ver=0.13-12&stamp=1511803243&raw=0
> 
> Can't reproduce this on my amd64 machine in a i386 chroot.
> 
> It may be related to set-POCL_DEVICE_ADDRESS_BITS-before-use.patch which
> fixed that for me.
> 
> As I understood, the test is supposed to fail on i386 and succeed on
> amd64. That is being fixed up by fix-tests-i386.patch for autotest, and
> tests/kernel/CMakeLists.txt also should set WILL_FAIL 1 as well.
> Unless I386 detection is still not working.
> 
> Packaging is in branch experimental.
> 
> 
> Andreas
> 
> PS: I want this to work like 0.13-11 in sid before I even start
>    debugging new issues with 0.14
> 
> _______________________________________________
> Pkg-opencl-devel mailing list
> Pkg-opencl-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-opencl-devel



More information about the Pkg-opencl-devel mailing list