1.10.8: Компилируется, но пакет не собирается: ЧЯДНТ?

45 views
Skip to first unread message

Andrey Kulikov

unread,
Oct 25, 2020, 2:31:00 PM10/25/20
to tarant...@googlegroups.com
Всем привет!

Пытаюсь собрать tarantool 1.10.8 LTS из исходников.
Процедурой, которая работала начиная с 1.6 и заканчивая 1.10.7
Но в 1.10.8 что-то сломалось.

Собираю на Debian 9 Stretch:
# uname -a
Linux deb9-dev-r3 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 GNU/Linux

На всякий случай:
pip install -r \
 https://raw.githubusercontent.com/tarantool/test-run/master/requirements.txt \
 --user

Делаю так:
git clone --recursive https://github.com/tarantool/tarantool.git -b 1.10
cd tarantool/
git submodule update --init --recursive
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_BACKTRACE=OFF -DENABLE_AVX=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo

Тут получаю первое предупреждение, которого раньше не получал:
===========================================================================
...
-- 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
===========================================================================

Дальше пакпакем его:
git clone https://github.com/packpack/packpack.git
OS=debian DIST=stretch ./packpack/packpack

И в какой-то момент получаем:
===========================================================================
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

Andrey Kulikov

unread,
Oct 26, 2020, 10:21:07 AM10/26/20
to tarant...@googlegroups.com
После

git clean -xfd
git submodule foreach --recursive 'git clean -xfd'

всё заработало и собралось.

Спасибо за помощь!
Reply all
Reply to author
Forward
0 new messages