[Pkg-opencl-devel] Bug#760665: libclc: FTBFS: 'llvm/ADT/OwningPtr.h' file not found

Daniel Schepler dschepler at gmail.com
Sat Sep 6 17:14:38 UTC 2014


Source: libclc
Version: 0~git20140101-2
Severity: serious

>From my pbuilder build log:

...
CXX utils/prepare-builtins.o
clang++ -MMD -MF utils/prepare-builtins.o.d -I/usr/lib/llvm-3.4/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -g -O2 -fomit-frame-pointer -fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual -fno-exceptions -fno-rtti -c -o utils/prepare-builtins.o ./utils/prepare-builtins.cpp
./utils/prepare-builtins.cpp:1:10: fatal error: 'llvm/ADT/OwningPtr.h' file not found
#include "llvm/ADT/OwningPtr.h"
         ^
1 error generated.
Makefile:8: recipe for target 'utils/prepare-builtins.o' failed
make[1]: *** [utils/prepare-builtins.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/buildd/libclc-0~git20140101'
dh_auto_build: make -j8 returned exit code 2
debian/rules:12: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

Adding llvm-dev to the Build-Depends seems to fix the build.
-- 
Daniel Schepler



More information about the Pkg-opencl-devel mailing list