Приветствую. Для локальной сборки LLVM в Debian использую pbuilder. Вариант для amd64 собирается без проблем, но во время сборки clang-tools на i386, он в упор не видит заголовочные файлы libffi, хотя они устанавливаются. Пробовал принудильно их установить в базовый образ pbuilder'а, но бестолку. Может кто сталкивался с подобным?
CMake Error at cmake/config-ix.cmake:309 (message):
libffi includes are not found.
Call Stack (most recent call first):
CMakeLists.txt:590 (include)
-- Configuring incomplete, errors occurred!
See also "/build/llvm-toolchain-8-8.0.1/build-llvm/tools/clang/stage2-bins/CMakeFiles/CMakeOutput.log".
See also "/build/llvm-toolchain-8-8.0.1/build-llvm/tools/clang/stage2-bins/CMakeFiles/CMakeError.log".
make[5]: *** [tools/clang/CMakeFiles/stage2.dir/build.make:109: tools/clang/stage2-stamps/stage2-configure] Error 1
make[5]: Leaving directory '/build/llvm-toolchain-8-8.0.1/build-llvm'
make[4]: *** [CMakeFiles/Makefile2:42872: tools/clang/CMakeFiles/stage2.dir/all] Error 2
make[4]: Leaving directory '/build/llvm-toolchain-8-8.0.1/build-llvm'
make[3]: *** [CMakeFiles/Makefile2:42879: tools/clang/CMakeFiles/stage2.dir/rule] Error 2
make[3]: Leaving directory '/build/llvm-toolchain-8-8.0.1/build-llvm'
make[2]: *** [Makefile:13059: stage2] Error 2
make[2]: Leaving directory '/build/llvm-toolchain-8-8.0.1/build-llvm'
make[1]: *** [debian/rules:417: debian-full-build] Error 2
make[1]: Leaving directory '/build/llvm-toolchain-8-8.0.1'
make: *** [debian/rules:266: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I: copying local configuration
E: Failed autobuilding of package