[Pkg-opencl-devel] Bug#764930: beignet: FTBFS - uses versioned llvm commands, but unversioned build dependency

Julian Wollrath jwollrath at web.de
Thu Oct 30 18:56:27 UTC 2014


Am Thu, 30 Oct 2014 19:34:17 +0100
schrieb gregor herrmann <gregoa at debian.org>:
> Just out of curiosity:
> 
> The test failure in #759933 was fixed by a patch that changed the
> dependencies in 0.8-1.1 from the versioned|general vresions to the
> versioned ones:
> 
> - llvm-3.4-dev | llvm-dev (>= 1:3.4),
> - clang-3.4 | clang (>= 1:3.4) | clang (>= 3.4),
> - clang-3.4 | clang (>= 1:3.4) | clang (<< 1:0),
> - libclang-3.4-dev | libclang-dev (>= 1:3.4) | libclang-dev (>= 3.4),
> - libclang-3.4-dev | libclang-dev (>= 1:3.4) | libclang-dev (<< 1:0),
> + llvm-dev (>= 1:3.4),
> + clang (>= 1:3.4),
> + libclang-dev (>= 1:3.4),
> 
> And now with those dependencies we see #764930 and the proposed patch
> is change the dependencies back to the versioned variants:
> 
> - llvm-dev (>= 1:3.4),
> - clang (>= 1:3.4),
> - libclang-dev (>= 1:3.4),
> + llvm-3.4-dev,
> + clang-3.4,
> + libclang-3.4-dev,
> 
> 
> The latter makes sense from the explanation; I'm just wondering where
> the build failure in late August with exactly those dependencies came
> from and why the change fixed them?

As stated in the log, posted in the bugreport, during compilation clang
was called but could not be found:
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/backend/src && clang -cc1 -x
> cl -triple spir -ffp-contract=off -fno-builtin
> -DGEN7_SAMPLER_CLAMP_BORDER_WORKAROUND --relocatable-pch -emit-pch
> -isysroot /«PKGBUILDDIR»/obj-x86_64-linux-gnu/backend/src /«PKGBUILDDIR»/obj-x86_64-linux-gnu/backend/src/usr/lib/beignet/ocl_stdlib.h
> -o /«PKGBUILDDIR»/obj-x86_64-linux-gnu/backend/src/usr/lib/beignet/ocl_stdlib.h.pch /bin/sh:
> 1: clang: not found
Only the clang metapackage but not the clang-some.version package
provides /usr/bin/clang. Hence, changing the dependency to the clang
metapackage fixed the issue at hand (but in hindsight it was not the
right fix (tm)).

Cheers,
Julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.alioth.debian.org/pipermail/pkg-opencl-devel/attachments/20141030/038ae9cc/attachment.sig>


More information about the Pkg-opencl-devel mailing list