Всем привет!
Пытаюсь собрать tarantool 1.10.8 LTS из исходников.
Процедурой, которая работала начиная с 1.6 и заканчивая 1.10.7
Но в 1.10.8 что-то сломалось.
Тут получаю первое предупреждение, которого раньше не получал:
===========================================================================
...
-- Configuring done
CMake Warning (dev) at src/CMakeLists.txt:120 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "curl" of target "core" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /root/devel/tnt_fresh/tarantool
===========================================================================
Ладно, компилируем:
make -j
Успешно:
===========================================================================
...
[100%] Built target tarantool
===========================================================================
Дальше пакпакем его:
И в какой-то момент получаем:
===========================================================================
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "RelWithDebInfo"
...
CMake Error at third_party/luajit/test/cmake_install.cmake:37 (include):
include could not find load file:
/root/devel/tnt_fresh/tarantool/third_party/luajit/test/gh-4427-ffi-sandwich/cmake_install.cmake
Call Stack (most recent call first):
test/cmake_install.cmake:41 (include)
cmake_install.cmake:58 (include)
Makefile:75: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/build/tarantool-1.10.8.1/obj-x86_64-linux-gnu'
/usr/share/cdbs/1/class/makefile.mk:103: recipe for target 'debian/stamp-makefile-install' failed
make: *** [debian/stamp-makefile-install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1116:
dpkg-buildpackage -rfakeroot -us -uc -Zxz -j4 failed
/pack//deb.mk:115: recipe for target '/build/tarantool_1.10.8.1.ge69e13015-1_amd64.changes' failed
make: *** [/build/tarantool_1.10.8.1.ge69e13015-1_amd64.changes] Error 29
rm /build/ls-lR.txt /build/VERSION
make: Leaving directory '/source'
===========================================================================
Вопрос: что я делаю не так, и как это победить?
--
Best wishes,
Andrey