[libcxx-commits] [PATCH] D113244: Simplify the libcxx std::string_view gdb pretty printer
David Blaikie via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 1 09:34:39 PST 2021
dblaikie added a comment.
In D113244#3164615 <https://reviews.llvm.org/D113244#3164615>, @dblaikie wrote:
> In D113244#3164560 <https://reviews.llvm.org/D113244#3164560>, @ldionne wrote:
>
>> In D113244#3164541 <https://reviews.llvm.org/D113244#3164541>, @dblaikie wrote:
>>
>>> Hmm, seems to have failed again in a similar way?
>>
>> Are you rebased on top of latest `main`? There was a bug where we entered an infinite loop a couple weeks ago, this could be the culprit if your tree is really old.
>
> Best of my knowledge, yes. Presumably something in phab should describe what this patch is based on? Under "Revision Contents > Commits" it shows that this is based on 196204c72c68 <https://reviews.llvm.org/rG196204c72c68a577c72af95d70f18e3550939a5e> which was pushed yesterday, so far as I can tell?
>
>> I strongly suggest you try running it locally like I outlined in my previous comment, that will be the simplest way of troubleshooting this. As much as I want to help (and will provide you the tools to troubleshoot it yourself), I don't have bandwidth to do it for you (which would imply doing it for all contributors).
>
> When the infrastructure gives a fairly unactionable result that seems like an infrastructure problem, though? Perhaps the infrastructure isn't picking up the appropriate base to test this revision on?
Had a go, at least, but this is the output I got from running the command inside the docker image:
$ sudo ./libcxx/utils/ci/run-buildbot-container
Using default tag: latest
latest: Pulling from ldionne/libcxx-builder
7b1a6ab2e44d: Pull complete
4f4fb700ef54: Pull complete
28e30bdd8eaa: Pull complete
6ec413f28162: Pull complete
b721586e1d0c: Pull complete
6802153eea3d: Pull complete
782722fe362e: Pull complete
58df348b1fad: Pull complete
885a8dd0bc61: Pull complete
0801196fae86: Pull complete
d93a4da747ec: Pull complete
2bb4cd240d7b: Pull complete
b7fe0733febe: Pull complete
99f93dbb9a5b: Pull complete
e31a59597916: Pull complete
8cf098f3d185: Pull complete
edbf2380a32a: Pull complete
5bba14595e92: Pull complete
e1be553a21df: Pull complete
ee4d19c25717: Pull complete
eed461fe2602: Pull complete
e5eca46562b4: Pull complete
aaebe5f1b6e1: Pull complete
9be9dc13232b: Pull complete
3f304f9913be: Pull complete
639282473453: Pull complete
276cf453a5bd: Pull complete
1c1d9c98ea41: Pull complete
59717be2d050: Pull complete
a57ffdaf3575: Pull complete
Digest: sha256:5c11b60a352634b3a87a4b4a206f833424e455efb0c88d8dd0c8b0ab567f68a8
Status: Downloaded newer image for ldionne/libcxx-builder:latest
docker.io/ldionne/libcxx-builder:latest
libcxx-builder at ef43bbaea49a:/llvm$ ./libcxx/utils/ci/run-buildbot generic-cxx20
+ set -o pipefail
+ unset LANG
+ unset LC_ALL
+ unset LC_COLLATE
++ basename ./libcxx/utils/ci/run-buildbot
+ PROGNAME=run-buildbot
+ [[ 1 -gt 0 ]]
+ case ${1} in
+ BUILDER=generic-cxx20
+ shift
+ [[ 0 -gt 0 ]]
++ git rev-parse --show-toplevel
+ MONOREPO_ROOT=/llvm
+ BUILD_DIR=/llvm/build/generic-cxx20
+ INSTALL_DIR=/llvm/build/generic-cxx20/install
+ xcrun --find ninja
+ NINJA=ninja
+ xcrun --find cmake
+ CMAKE=cmake
+ cmake --version
cmake version 3.21.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
+ ninja --version
1.10.0
+ case "${BUILDER}" in
+ clean
+ rm -rf /llvm/build/generic-cxx20
+ generate-cmake -C /llvm/libcxx/cmake/caches/Generic-cxx20.cmake -DLIBCXX_TEST_CONFIG=llvm-libc++-shared.cfg.in -DLIBUNWIND_TEST_CONFIG=llvm-libunwind-shared.cfg.in
+ generate-cmake-base '-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi;libunwind' -DLIBCXX_CXX_ABI=libcxxabi -C /llvm/libcxx/cmake/caches/Generic-cxx20.cmake -DLIBCXX_TEST_CONFIG=llvm-libc++-shared.cfg.in -DLIBUNWIND_TEST_CONFIG=llvm-libunwind-shared.cfg.in
+ echo '--- Generating CMake'
--- Generating CMake
+ cmake -S /llvm/runtimes -B /llvm/build/generic-cxx20 -GNinja -DCMAKE_MAKE_PROGRAM=ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/llvm/build/generic-cxx20/install '-DLLVM_LIT_ARGS=-sv --show-unsupported --xunit-xml-output test-results.x
ml' '-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi;libunwind' -DLIBCXX_CXX_ABI=libcxxabi -C /llvm/libcxx/cmake/caches/Generic-cxx20.cmake -DLIBCXX_TEST_CONFIG=llvm-libc++-shared.cfg.in -DLIBUNWIND_TEST_CONFIG=llvm-libunwind-shared.cfg.in
loading initial cache file /llvm/libcxx/cmake/caches/Generic-cxx20.cmake
CMake Error at /usr/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:181 (file):
file failed to open for writing (No such file or directory):
/llvm/build/generic-cxx20/CMakeFiles/CMakeOutput.log
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
(and more error messages after this)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113244/new/
https://reviews.llvm.org/D113244
More information about the libcxx-commits
mailing list