Hi all
I’m using Void Linux, which also supports the musl C library. I just updated the cmake version in the void package definition to 3.31.3. All the glibc tests work fine on glibc and arm, but musl x86 triggers one test failure on github actions:
The error is a mismatch in a stderr
result:
Expected stderr to match:
expect-stderr> (error while loading shared libraries: libStub\.so\.1|Library not loaded: '?@rpath/libStub\.1\.dylib'?|(Cannot|Could not) load module libStub\.a\(libStub\.so\.1\)|fatal: libStub\.so\.1: open failed|Shared object "libStub\.so\.1" not found)
Actual stderr:
actual-stderr> Error loading shared library libStub.so.1: No such file or directory (needed by /builddir/cmake-3.31.3/build/Tests/RunCMake/RuntimePath/Stub-build/libStubUse.so)
actual-stderr> Error relocating /builddir/cmake-3.31.3/build/Tests/RunCMake/RuntimePath/Stub-build/libStubUse.so: Stub: symbol not found
I think I’ve found a regex pattern in Tests/RunCMake/RuntimePath/Stub-fail-stderr.txt
. Should the actual stderr
result just be added to this pattern?
Greetings
Bart