[Lldb-commits] [lldb] [lldb] Do not use mkdir -p in makefile on Windows (PR #187244)

via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 18 04:35:37 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 33354 tests passed
* 511 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### lldb-api
<details>
<summary>lldb-api.lang/cpp/incomplete-types/TestCppIncompleteTypes.py</summary>

```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types -p TestCppIncompleteTypes.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project revision e7bdf2a7749307142cf32e3bbbc5062add44af51)
  clang revision e7bdf2a7749307142cf32e3bbbc5062add44af51
  llvm revision e7bdf2a7749307142cf32e3bbbc5062add44af51
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc

--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_limit_debug_info_dsym (TestCppIncompleteTypes.TestCppIncompleteTypes.test_limit_debug_info_dsym) (test case does not fall in any category of interest for this run) 
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_limit_debug_info_dwarf (TestCppIncompleteTypes.TestCppIncompleteTypes.test_limit_debug_info_dwarf)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_limit_debug_info_dwo (TestCppIncompleteTypes.TestCppIncompleteTypes.test_limit_debug_info_dwo)
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_partial_limit_debug_info_dsym (TestCppIncompleteTypes.TestCppIncompleteTypes.test_partial_limit_debug_info_dsym) (test case does not fall in any category of interest for this run) 
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_partial_limit_debug_info_dwarf (TestCppIncompleteTypes.TestCppIncompleteTypes.test_partial_limit_debug_info_dwarf)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_partial_limit_debug_info_dwo (TestCppIncompleteTypes.TestCppIncompleteTypes.test_partial_limit_debug_info_dwo)
======================================================================
ERROR: test_limit_debug_info_dwo (TestCppIncompleteTypes.TestCppIncompleteTypes.test_limit_debug_info_dwo)
----------------------------------------------------------------------
Error when building test subject.

Build Command:
/usr/bin/gmake VPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types -C /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/lang/cpp/incomplete-types/TestCppIncompleteTypes -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types/Makefile MAKE_DSYM=NO MAKE_DWO=YES all ARCH=x86_64 CC=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang CC_TYPE=clang CXX=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ LLVM_AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar OBJCOPY=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-objcopy STRIP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-strip ARCHIVER=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar DWP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-dwp CLANG_MODULE_CACHE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 LIBCPP_LIBRARY_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu LIBCPP_INCLUDE_TARGET_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 LLDB_OBJ_ROOT=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb OS=Linux HOST_OS=Linux

Build Command Output:
gmake: Entering directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/lang/cpp/incomplete-types/TestCppIncompleteTypes'
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++  -mllvm -x86-asm-syntax=att -std=c++11 -g -O0  -m64 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h ""  -gsplit-dwarf -D_DEFAULT_SOURCE -mllvm -x86-asm-syntax=att -flimit-debug-info  -nostdlib++ -nostdinc++ -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1  --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types/main.cpp
mkdir build_limit
mkdir: cannot create directory ‘build_limit’: File exists
gmake: *** [/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types/Makefile:18: limit] Error 1
gmake: Leaving directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/lang/cpp/incomplete-types/TestCppIncompleteTypes'

Test Directory:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types
======================================================================
ERROR: test_partial_limit_debug_info_dwarf (TestCppIncompleteTypes.TestCppIncompleteTypes.test_partial_limit_debug_info_dwarf)
----------------------------------------------------------------------
Error when building test subject.

Build Command:
/usr/bin/gmake VPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types -C /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/lang/cpp/incomplete-types/TestCppIncompleteTypes -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types/Makefile MAKE_DSYM=NO all ARCH=x86_64 CC=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang CC_TYPE=clang CXX=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ LLVM_AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar OBJCOPY=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-objcopy STRIP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-strip ARCHIVER=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar DWP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-dwp CLANG_MODULE_CACHE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 LIBCPP_LIBRARY_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu LIBCPP_INCLUDE_TARGET_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 LLDB_OBJ_ROOT=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb OS=Linux HOST_OS=Linux

Build Command Output:
gmake: Entering directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/lang/cpp/incomplete-types/TestCppIncompleteTypes'
mkdir build_limit
mkdir: cannot create directory ‘build_limit’: File exists
gmake: *** [/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types/Makefile:18: limit] Error 1
gmake: Leaving directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/lang/cpp/incomplete-types/TestCppIncompleteTypes'

Test Directory:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types
======================================================================
ERROR: test_partial_limit_debug_info_dwo (TestCppIncompleteTypes.TestCppIncompleteTypes.test_partial_limit_debug_info_dwo)
----------------------------------------------------------------------
Error when building test subject.

Build Command:
/usr/bin/gmake VPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types -C /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/lang/cpp/incomplete-types/TestCppIncompleteTypes -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types/Makefile MAKE_DSYM=NO MAKE_DWO=YES all ARCH=x86_64 CC=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang CC_TYPE=clang CXX=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ LLVM_AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar OBJCOPY=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-objcopy STRIP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-strip ARCHIVER=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar DWP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-dwp CLANG_MODULE_CACHE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 LIBCPP_LIBRARY_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu LIBCPP_INCLUDE_TARGET_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 LLDB_OBJ_ROOT=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb OS=Linux HOST_OS=Linux

Build Command Output:
gmake: Entering directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/lang/cpp/incomplete-types/TestCppIncompleteTypes'
mkdir build_limit
mkdir: cannot create directory ‘build_limit’: File exists
gmake: *** [/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types/Makefile:18: limit] Error 1
gmake: Leaving directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/lang/cpp/incomplete-types/TestCppIncompleteTypes'

Test Directory:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/lang/cpp/incomplete-types
----------------------------------------------------------------------
Ran 6 tests in 0.602s

FAILED (errors=3, skipped=2)

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/187244


More information about the lldb-commits mailing list