Source: schroot Version: 1.6.13-5 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: [email protected] User: [email protected] Usertags: rrr-no-as-default-issue
Dear maintainer, During a test rebuild for building packages with `Rules-Requires-Root: no` as the default in `dpkg`, schroot failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...]1: chown: changing ownership of 'test/testdata/keyfile.ex1': Operation not permitted 1: chown: changing ownership of 'test/testdata/config-directory-deprecated.ex': Operation not permitted 1: chown: changing ownership of 'test/testdata/config.ex2/empty': Operation not permitted 1: chown: changing ownership of 'test/testdata/config.ex2/sid': Operation not permitted 1: chown: changing ownership of 'test/testdata/config.ex2/file': Operation not permitted 1: chown: changing ownership of 'test/testdata/config.ex2/woody': Operation not permitted 1: chown: changing ownership of 'test/testdata/config.ex2/experimental': Operation not permitted 1: chown: changing ownership of 'test/testdata/config.ex2/sarge': Operation not permitted 1: chown: changing ownership of 'test/testdata/config.ex2': Operation not permitted 1: chown: changing ownership of 'test/testdata/run-parts.ex1/30test3': Operation not permitted 1: chown: changing ownership of 'test/testdata/run-parts.ex1/20test2': Operation not permitted 1: chown: changing ownership of 'test/testdata/run-parts.ex1/10test1': Operation not permitted 1: chown: changing ownership of 'test/testdata/run-parts.ex1': Operation not permitted 1: chown: changing ownership of 'test/testdata/run-parts.ex2': Operation not permitted 1: chown: changing ownership of 'test/testdata/config-directory-fail.ex': Operation not permitted 1: chown: changing ownership of 'test/testdata/config-directory-valid.ex': Operation not permitted 1: chown: changing ownership of 'test/testdata/config.ex1': Operation not permitted
1: chown: changing ownership of 'test/testdata': Operation not permitted
1/8 Test #1: setup-test-data ..................***Failed 0.01 sec
test 2
Start 2: sbuild-chroot-chroot
2: Test command: /<<PKGBUILDDIR>>/debian/build/test/sbuild-chroot-chroot
2: Working Directory: /<<PKGBUILDDIR>>/debian/build/test
2: Test timeout computed to be: 10000000
2:
....................................................................................................................................................
2: 2: 2: OK (148 tests)
2: 2: 2/8 Test #2: sbuild-chroot-chroot ............. Passed 0.07 sec
test 3
Start 3: sbuild-chroot-config
3: Test command: /<<PKGBUILDDIR>>/debian/build/test/sbuild-chroot-config
3: Working Directory: /<<PKGBUILDDIR>>/debian/build/test
3: Test timeout computed to be: 10000000
3: .E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E
3: 3: 3: !!!FAILURES!!!
3: Test Results:
3: Run: 16 Failures: 0 Errors: 16
3: 3: 3: 1) test: test_config::test_construction_file (E) 3: setUp() failed
3: - uncaught exception of type std::exception (or derived).
3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not
owned by user root
3: 3: 3: 2) test: test_config::test_construction_dir (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 3) test: test_config::test_construction_fail (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 4) test: test_config::test_add_file (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 5) test: test_config::test_add_dir (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 6) test: test_config::test_add_fail (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 7) test: test_config::test_get_chroots (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 8) test: test_config::test_find_chroot (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 9) test: test_config::test_find_alias (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 10) test: test_config::test_get_chroot_list (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 11) test: test_config::test_get_alias_list (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 12) test: test_config::test_validate_chroots (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root 3: 3: 3: 13) test: test_config::test_validate_chroots_fail (E) 3: setUp() failed
3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 14) test: test_config::test_config_fail (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 15) test: test_config::test_config_deprecated (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3: 16) test: test_config::test_config_valid (E) 3: setUp() failed 3: - uncaught exception of type std::exception (or derived).3: - /<<PKGBUILDDIR>>/debian/build/test/testdata/config.ex1: File is not owned by user root
3: 3: 3/8 Test #3: sbuild-chroot-config .............***Failed 0.01 sec
test 4
Start 4: sbuild-standard
4: Test command: /<<PKGBUILDDIR>>/debian/build/test/sbuild-standard
4: Working Directory: /<<PKGBUILDDIR>>/debian/build/test
4: Test timeout computed to be: 10000000
4: ..............................................str='foo'
4: .........
4: 4: 4: OK (55 tests)
4: 4: 4/8 Test #4: sbuild-standard .................. Passed 0.01 sec
test 5
Start 5: sbuild-keyfile
5: Test command: /<<PKGBUILDDIR>>/debian/build/test/sbuild-keyfile
5: Working Directory: /<<PKGBUILDDIR>>/debian/build/test
5: Test timeout computed to be: 10000000
5: .......W: line 12 [group2] age: Could not parse value ‘43’
5: ..W: line 8 [group1] numbers: Could not parse value ‘2’
5: ......
5: 5: 5: OK (15 tests)
5: 5: 5/8 Test #5: sbuild-keyfile ................... Passed 0.01 sec
test 6
Start 6: sbuild-run-parts
6: Test command: /<<PKGBUILDDIR>>/debian/build/test/sbuild-run-parts
6: Working Directory: /<<PKGBUILDDIR>>/debian/build/test
6: Test timeout computed to be: 10000000
6: .....
6: 6: 6: OK (5 tests)
6: 6: 6/8 Test #6: sbuild-run-parts ................. Passed 0.03 sec
test 7
Start 7: schroot-base-option-action
7: Test command:
/<<PKGBUILDDIR>>/debian/build/test/schroot-base-option-action
7: Working Directory: /<<PKGBUILDDIR>>/debian/build/test
7: Test timeout computed to be: 10000000
7: ........
7: 7: 7: OK (8 tests)
7: 7: 7/8 Test #7: schroot-base-option-action ....... Passed 0.01 sec
test 8
Start 8: cleanup-test-data
8: Test command: /<<PKGBUILDDIR>>/debian/build/test/cleanup-test-data
8: Working Directory: /<<PKGBUILDDIR>>/debian/build
8: Test timeout computed to be: 10000000
8/8 Test #8: cleanup-test-data ................ Passed 0.01 sec
75% tests passed, 2 tests failed out of 8
Total Test time (real) = 0.16 sec
The following tests FAILED:
1 - setup-test-data (Failed)
3 - sbuild-chroot-config (Failed)
Errors while running CTest
Output from these tests are in:
/<<PKGBUILDDIR>>/debian/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases
verbosely.
make[2]: *** [Makefile:74: test] Error 8 make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build' make[1]: *** [debian/rules:97: install-arch] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:35: binary] Error 2dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------------------------------------------------------------------------------- Build finished at 2024-11-18T14:12:56Z ------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~nthykier/rrr-no-as-default/logs/1043911.gz You can find common solutions at https://people.debian.org/~nthykier/rrr-no-as-default/docs/solutions.md If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. If this package is listed in https://people.debian.org/~nthykier/rrr-no-as-default/docs/static-ownership.list, then please just set `Rules-Requires-Root: binary-targets` to the source stanza of `debian/control` as a fix to this bug. If this package is listed in https://people.debian.org/~nthykier/rrr-no-as-default/docs/maybe-misbuilds.list, then the package was deemed at risk for misbuilding (having wrong ownership) but had a FTBFS problem we tested it. Please test whether the package works with `Rules-Requires-Root: no` validating that the resulting deb has the correct ownership for all paths in the deb. The goal is to have the default changed in `dpkg` either in `Trixie` or `Forky`, depending on progress and feasibility with the release schedule for Trixie. For more information on this bug filing, please see: https://lists.debian.org/debian-dpkg/2024/11/msg00016.html Thanks, PS: The builds were performed in mid-November. If you fixed the problem between between then and this bug being filed, then please just close the bug with the version it was fixed in.
OpenPGP_signature.asc
Description: OpenPGP digital signature

