From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp16.mail.ru (smtp16.mail.ru [94.100.176.153]) (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 E038F469710 for ; Tue, 26 May 2020 17:42:41 +0300 (MSK) From: "Alexander V. Tikhonov" Date: Tue, 26 May 2020 17:42:32 +0300 Message-Id: In-Reply-To: References: In-Reply-To: References: Subject: [Tarantool-patches] [PATCH v2 1/7] build: static build needs more cleanup in sources List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Oleg Piskunov , Sergey Bronnikov Cc: tarantool-patches@dev.tarantool.org, Alexander Turenko 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 --- 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