From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp54.i.mail.ru (smtp54.i.mail.ru [217.69.128.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id C0A604429E1 for ; Mon, 29 Jun 2020 16:20:13 +0300 (MSK) From: "Alexander V. Tikhonov" Date: Mon, 29 Jun 2020 16:20:11 +0300 Message-Id: <2dfff87a1146567f9f67a5518f136445f9899322.1593436757.git.avtikhon@tarantool.org> Subject: [Tarantool-patches] [PATCH v1] build: static build needs more cleanup in sources List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kirill Yukhin , Alexander Turenko Cc: tarantool-patches@dev.tarantool.org Building Tarantool sources on make command run may fail with: [ 10%] make[2]: *** [test/small] Error 1 [ 10%] make[1]: *** [test/CMakeFiles/symlink_small_tests.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... The root cause of the issue that Dockerfile.staticbuild uses local copy of sources: COPY . /tarantool Which may have broken links in tests, like: $ ls -al test ... luajit-tap -> //third_party/luajit/test small -> //src/lib/small/test/ ... To fix the issue this links should be removed from the docker local copy of sources before build, like: rm -rf test/small test/luajit-tap Closes #5025 --- Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-5025-tests-links-cleanup Issue: https://github.com/tarantool/tarantool/issues/5025 Dockerfile.staticbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.staticbuild b/Dockerfile.staticbuild index 253f2d5e9..f67f46f5e 100644 --- a/Dockerfile.staticbuild +++ b/Dockerfile.staticbuild @@ -75,7 +75,7 @@ RUN set -x && \ RUN set -x && \ find . -name 'CMakeFiles' -type d -exec rm -rf {} + && \ find . -name 'CMakeCache.txt' -type f -delete && \ - rm -rf build + rm -rf build test/small test/luajit-tap RUN pip install -r /tarantool/test-run/requirements.txt -- 2.17.1