* Re: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
@ 2024-12-30 20:40 ` bvdeenen
2024-12-30 20:41 ` bvdeenen
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bvdeenen @ 2024-12-30 20:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]
New comment by bvdeenen on void-packages repository
https://github.com/void-linux/void-packages/pull/53766#issuecomment-2565897231
Comment:
The github action that fails seems to be a simple reformatting of an error message:
```
CMake Error at /builddir/cmake-3.31.3/Tests/RunCMake/RunCMake.cmake:286 (message):
Stub-fail - FAILED:
stderr does not match that expected.
Command was:
command> "/builddir/cmake-3.31.3/build/bin/cmake" "-E" "env" "LANG=C" "/builddir/cmake-3.31.3/build/Tests/RunCMake/RuntimePath/Stub-build/StubExe"
Actual stdout:
actual-stdout>
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 don't even know where these github actions come from, otherwise I'd have a look at solving the issue.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
2024-12-30 20:40 ` bvdeenen
@ 2024-12-30 20:41 ` bvdeenen
2024-12-30 20:51 ` bvdeenen
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bvdeenen @ 2024-12-30 20:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]
New comment by bvdeenen on void-packages repository
https://github.com/void-linux/void-packages/pull/53766#issuecomment-2565897231
Comment:
The github action that fails seems to be a simple reformatting of an error message:
```
CMake Error at /builddir/cmake-3.31.3/Tests/RunCMake/RunCMake.cmake:286 (message):
Stub-fail - FAILED:
stderr does not match that expected.
Command was:
command> "/builddir/cmake-3.31.3/build/bin/cmake" "-E" "env" "LANG=C" "/builddir/cmake-3.31.3/build/Tests/RunCMake/RuntimePath/Stub-build/StubExe"
Actual stdout:
actual-stdout>
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
```
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
2024-12-30 20:40 ` bvdeenen
2024-12-30 20:41 ` bvdeenen
@ 2024-12-30 20:51 ` bvdeenen
2024-12-31 3:33 ` classabbyamp
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bvdeenen @ 2024-12-30 20:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]
New comment by bvdeenen on void-packages repository
https://github.com/void-linux/void-packages/pull/53766#issuecomment-2565897231
Comment:
The github action that fails seems to be a simple reformatting of an error message:
```
CMake Error at /builddir/cmake-3.31.3/Tests/RunCMake/RunCMake.cmake:286 (message):
Stub-fail - FAILED:
stderr does not match that expected.
Command was:
command> "/builddir/cmake-3.31.3/build/bin/cmake" "-E" "env" "LANG=C" "/builddir/cmake-3.31.3/build/Tests/RunCMake/RuntimePath/Stub-build/StubExe"
Actual stdout:
actual-stdout>
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 this failing test is in the cmake Tests suite, and triggers something musl specific. I have no idea how to continue.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
` (2 preceding siblings ...)
2024-12-30 20:51 ` bvdeenen
@ 2024-12-31 3:33 ` classabbyamp
2024-12-31 10:32 ` bvdeenen
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: classabbyamp @ 2024-12-31 3:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 155 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/53766#issuecomment-2566103664
Comment:
cc @sgn
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
` (3 preceding siblings ...)
2024-12-31 3:33 ` classabbyamp
@ 2024-12-31 10:32 ` bvdeenen
2024-12-31 10:35 ` bvdeenen
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bvdeenen @ 2024-12-31 10:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
New comment by bvdeenen on void-packages repository
https://github.com/void-linux/void-packages/pull/53766#issuecomment-2566328406
Comment:
I've created an issue on the cmake bugtracker: (issue-26565)[https://gitlab.kitware.com/cmake/cmake/-/issues/26565].
We could probably patch [the regex](https://github.com/Kitware/CMake/blob/master/Tests/RunCMake/RuntimePath/Stub-fail-stderr.txt) that checks the stderr, but maybe they'll fix it quickly.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
` (4 preceding siblings ...)
2024-12-31 10:32 ` bvdeenen
@ 2024-12-31 10:35 ` bvdeenen
2024-12-31 10:37 ` bvdeenen
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bvdeenen @ 2024-12-31 10:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 436 bytes --]
New comment by bvdeenen on void-packages repository
https://github.com/void-linux/void-packages/pull/53766#issuecomment-2566328406
Comment:
I've created an issue on the [cmake bugtracker](https://gitlab.kitware.com/cmake/cmake/-/issues/26565).
We could probably patch [the regex](https://github.com/Kitware/CMake/blob/master/Tests/RunCMake/RuntimePath/Stub-fail-stderr.txt) that checks the stderr, but maybe they'll fix it quickly.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
` (5 preceding siblings ...)
2024-12-31 10:35 ` bvdeenen
@ 2024-12-31 10:37 ` bvdeenen
2024-12-31 10:39 ` bvdeenen
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bvdeenen @ 2024-12-31 10:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
New comment by bvdeenen on void-packages repository
https://github.com/void-linux/void-packages/pull/53766#issuecomment-2566328406
Comment:
I've created an issue on the [cmake bugtracker](https://gitlab.kitware.com/cmake/cmake/-/issues/26565).
We could probably patch [the regex](https://github.com/Kitware/CMake/blob/master/Tests/RunCMake/RuntimePath/Stub-fail-stderr.txt) that checks the stderr, but maybe they'll fix it quickly.
@sgn
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
` (6 preceding siblings ...)
2024-12-31 10:37 ` bvdeenen
@ 2024-12-31 10:39 ` bvdeenen
2025-01-08 13:16 ` bvdeenen
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bvdeenen @ 2024-12-31 10:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]
New comment by bvdeenen on void-packages repository
https://github.com/void-linux/void-packages/pull/53766#issuecomment-2565897231
Comment:
The github action that fails seems to be a simple reformatting of an error message:
```
CMake Error at /builddir/cmake-3.31.3/Tests/RunCMake/RunCMake.cmake:286 (message):
Stub-fail - FAILED:
stderr does not match that expected.
Command was:
command> "/builddir/cmake-3.31.3/build/bin/cmake" "-E" "env" "LANG=C" "/builddir/cmake-3.31.3/build/Tests/RunCMake/RuntimePath/Stub-build/StubExe"
Actual stdout:
actual-stdout>
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
```
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
` (7 preceding siblings ...)
2024-12-31 10:39 ` bvdeenen
@ 2025-01-08 13:16 ` bvdeenen
2025-01-08 14:46 ` bvdeenen
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bvdeenen @ 2025-01-08 13:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
New comment by bvdeenen on void-packages repository
https://github.com/void-linux/void-packages/pull/53766#issuecomment-2577649369
Comment:
I'm picking up this issue upstream on cmake. I've just set up a musl build environment.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
` (8 preceding siblings ...)
2025-01-08 13:16 ` bvdeenen
@ 2025-01-08 14:46 ` bvdeenen
2025-01-09 16:29 ` bvdeenen
2025-01-09 16:29 ` [PR PATCH] [Closed]: " bvdeenen
11 siblings, 0 replies; 13+ messages in thread
From: bvdeenen @ 2025-01-08 14:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 425 bytes --]
New comment by bvdeenen on void-packages repository
https://github.com/void-linux/void-packages/pull/53766#issuecomment-2577649369
Comment:
@sgn @classabbyamp I'm picking up this issue upstream on cmake. I've just set up a musl build environment. I've recreated the issue with a local Void musl vm, fixed the test and have created a [MR](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10150) with the CMake team.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
` (9 preceding siblings ...)
2025-01-08 14:46 ` bvdeenen
@ 2025-01-09 16:29 ` bvdeenen
2025-01-09 16:29 ` [PR PATCH] [Closed]: " bvdeenen
11 siblings, 0 replies; 13+ messages in thread
From: bvdeenen @ 2025-01-09 16:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
New comment by bvdeenen on void-packages repository
https://github.com/void-linux/void-packages/pull/53766#issuecomment-2580741048
Comment:
My [MR at cmake](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10150) has been merged, and will go in the next minor release of cmake (3.32.0) that should take a few weeks. For now, I'll leave it at that, I don't need this patch release that much that I want to take the time to also patch void-packages. I'd like close the MR for now, and pick it up when the next cmake minor version is released.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Closed]: cmake: update to 3.31.3
2024-12-30 18:59 [PR PATCH] cmake: update to 3.31.3 bvdeenen
` (10 preceding siblings ...)
2025-01-09 16:29 ` bvdeenen
@ 2025-01-09 16:29 ` bvdeenen
11 siblings, 0 replies; 13+ messages in thread
From: bvdeenen @ 2025-01-09 16:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 703 bytes --]
There's a closed pull request on the void-packages repository
cmake: update to 3.31.3
https://github.com/void-linux/void-packages/pull/53766
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
- a warning with FetchContent that shows with the previous cmake 3.30 version no longer shows. I've tested with CPM and a lot of dependencies and includes and it seems to work fine.
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC) x86-84, libc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- none
^ permalink raw reply [flat|nested] 13+ messages in thread