cmake FTBFS due to test failure w/ git protocol.file.allow=user default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
dann frazier | ||
Mantic |
Fix Released
|
Undecided
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
cmake no longer builds from source in jammy due to a git security update that sets protocol.
<...>
Start 161: ExternalProject
663/664 Test #161: ExternalProject
Start 163: ExternalProject
664/664 Test #163: ExternalProject
99% tests passed, 2 tests failed out of 664
Label Time Summary:
CMake = 4485.67 sec*proc (263 tests)
CUDA = 488.20 sec*proc (9 tests)
HIP = 97.83 sec*proc (5 tests)
ISPC = 306.75 sec*proc (5 tests)
Label1 = 0.07 sec*proc (1 test)
Label2 = 0.07 sec*proc (1 test)
Qt5 = 1859.09 sec*proc (43 tests)
command = 6.62 sec*proc (27 tests)
policy = 476.79 sec*proc (38 tests)
run = 4479.05 sec*proc (236 tests)
Total Test time (real) = 447.01 sec
The following tests FAILED:
157 - ExternalProject (Failed)
225 - CTest.UpdateGIT (Failed)
Errors while running CTest
make[2]: *** [Makefile:94: test] Error 8
make[2]: Leaving directory '/home/
dh_auto_test: error: cd Build && make -j64 test ARGS\+=--verbose ARGS\+=-j64 -j1 "ARGS=-E CTestTestUpload
make[1]: *** [debian/rules:81: override_
make[1]: Leaving directory '/home/
make: *** [debian/rules:108: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
[Test Case]
Rebuild cmake in latest jammy.
[Regression Risk]
The fix is to a test case. A risk is that the test may no longer test a valid use case, and future updates could thereby sneak an actual functional regression through.
CVE References
Changed in cmake (Ubuntu Jammy): | |
status: | New → In Progress |
assignee: | nobody → dann frazier (dannf) |
Changed in cmake (Ubuntu Mantic): | |
status: | New → Fix Released |
Changed in cmake (Ubuntu Noble): | |
status: | New → Fix Released |
Hello dann, or anyone else affected,
Accepted cmake into jammy-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ cmake/3. 22.1-1ubuntu1. 22.04.2 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- jammy to verification- done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- jammy. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.