Source: mono Version: 6.12.0.199+dfsg-2 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: ni...@thykier.net User: ni...@thykier.net 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`, mono failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] Running tests: .. 2 test(s) passed, 0 test(s) did not pass. make[7]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests/testing_gac' make test-signed-v1-app-mp-signed-v2-signed-v1 make[7]: Entering directory '/<<PKGBUILDDIR>>/mono/tests/testing_gac' make gacinstall make[8]: Entering directory '/<<PKGBUILDDIR>>/mono/tests/testing_gac'MONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper /<<PKGBUILDDIR>>/mcs/class/lib/build/gacutil.exe -i signed_v1/gactestlib.dll -gacdir . Installed signed_v1/gactestlib.dll into the gac (./lib/mono/gac)
make[8]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests/testing_gac'MONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper ../test-runner.exe --runtime-args "--assembly-loader=strict" --runtime mono --testsuite-name "testing_gac_test-signed-v1-app-mp-signed-v2-signed-v1" --mono-path "signed_v2:signed_v1:/<<PKGBUILDDIR>>/mcs/class/lib/net_4_x" app-v1.exe app-refl-load-v1.exe
Running tests: .. 2 test(s) passed, 0 test(s) did not pass. make[7]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests/testing_gac' make test-signed-v1-app-gac make[7]: Entering directory '/<<PKGBUILDDIR>>/mono/tests/testing_gac'MONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper /<<PKGBUILDDIR>>/mcs/class/lib/build/gacutil.exe -i signed_v1/gactestlib.dll -gacdir . Installed signed_v1/gactestlib.dll into the gac (./lib/mono/gac)
make gacinstall make[8]: Entering directory '/<<PKGBUILDDIR>>/mono/tests/testing_gac'MONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper /<<PKGBUILDDIR>>/mcs/class/lib/build/gacutil.exe -i signed_v1/gactestlib.dll -gacdir . Installed signed_v1/gactestlib.dll into the gac (./lib/mono/gac)
make[8]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests/testing_gac'MONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper ../test-runner.exe --runtime-args "--assembly-loader=strict" --runtime mono --testsuite-name "testing_gac_test-signed-v1-app-gac" --mono-gac-prefix . app-v1.exe app-refl-load-v1.exe
Running tests: .. 2 test(s) passed, 0 test(s) did not pass. make[7]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests/testing_gac' make[6]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests/testing_gac' make[5]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests' make[5]: Entering directory '/<<PKGBUILDDIR>>/mono/tests' make -C assembly-load-reference run-testmake[6]: Entering directory '/<<PKGBUILDDIR>>/mono/tests/assembly-load-reference'
true make run-assembly-load-reference-testsmake[7]: Entering directory '/<<PKGBUILDDIR>>/mono/tests/assembly-load-reference'
mkdir -p samedirMONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper --aot-path=/<<PKGBUILDDIR>>/mcs/class/lib/build /<<PKGBUILDDIR>>/mcs/class/lib/build/mcs.exe -noconfig -nologo -debug:portable -target:library -out:samedir/LoadFromMain.exe samedir/LoadFromMain.cs -target:exe
mkdir -p samedirMONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper --aot-path=/<<PKGBUILDDIR>>/mcs/class/lib/build /<<PKGBUILDDIR>>/mcs/class/lib/build/mcs.exe -noconfig -nologo -debug:portable -target:library -out:samedir/LoadFileMain.exe samedir/LoadFileMain.cs -target:exe
mkdir -p separatedirMONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper --aot-path=/<<PKGBUILDDIR>>/mcs/class/lib/build /<<PKGBUILDDIR>>/mcs/class/lib/build/mcs.exe -noconfig -nologo -debug:portable -target:library -out:separatedir/LoadFromMain.exe separatedir/LoadFromMain.cs -target:exe
mkdir -p separatedirMONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper --aot-path=/<<PKGBUILDDIR>>/mcs/class/lib/build /<<PKGBUILDDIR>>/mcs/class/lib/build/mcs.exe -noconfig -nologo -debug:portable -target:library -out:separatedir/LoadFileMain.exe separatedir/LoadFileMain.cs -target:exe
mkdir -p mainanddepMONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper --aot-path=/<<PKGBUILDDIR>>/mcs/class/lib/build /<<PKGBUILDDIR>>/mcs/class/lib/build/mcs.exe -noconfig -nologo -debug:portable -target:library -out:mainanddep/LoadFromMain.exe mainanddep/LoadFromMain.cs -target:exe
mkdir -p mainanddepMONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper --aot-path=/<<PKGBUILDDIR>>/mcs/class/lib/build /<<PKGBUILDDIR>>/mcs/class/lib/build/mcs.exe -noconfig -nologo -debug:portable -target:library -out:mainanddep/LoadFileMain.exe mainanddep/LoadFileMain.cs -target:exe
mkdir -p srcMONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper --aot-path=/<<PKGBUILDDIR>>/mcs/class/lib/build /<<PKGBUILDDIR>>/mcs/class/lib/build/mcs.exe -noconfig -nologo -debug:portable -target:library -out:src/Dep.dll src/Dep.cs -target:library MONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper --aot-path=/<<PKGBUILDDIR>>/mcs/class/lib/build /<<PKGBUILDDIR>>/mcs/class/lib/build/mcs.exe -noconfig -nologo -debug:portable -target:library -out:src/Mid.dll src/Mid.cs -r:src/Dep.dll -target:library src/Mid.cs(11,7): warning CS0219: The variable `a' is assigned but its value is never used
Compilation succeeded - 1 warning(s) mkdir -p samedir cp src/Mid.dll samedir/Mid.dll mkdir -p samedir cp src/Dep.dll samedir/Dep.dll mkdir -p separatedir/middle cp src/Mid.dll separatedir/middle/Mid.dll mkdir -p separatedir/middle cp src/Dep.dll separatedir/middle/Dep.dll mkdir -p mainanddep/middle cp src/Mid.dll mainanddep/middle/Mid.dll mkdir -p mainanddep cp src/Dep.dll mainanddep/Dep.dllMONO_PATH=/<<PKGBUILDDIR>>/mcs/class/lib/build ../../../runtime/mono-wrapper --aot-path=/<<PKGBUILDDIR>>/mcs/class/lib/build ../test-runner.exe --config tests-config --runtime "../../../runtime/mono-wrapper" --runtime-args "" --mono-path "/<<PKGBUILDDIR>>/mcs/class/lib/net_4_x" --testsuite-name run-assembly-load-reference-tests --disabled "" samedir/LoadFromMain.exe samedir/LoadFileMain.exe separatedir/LoadFromMain.exe separatedir/LoadFileMain.exe mainanddep/LoadFromMain.exe mainanddep/LoadFileMain.exe
Running tests: ...... 6 test(s) passed, 0 test(s) did not pass.make[7]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests/assembly-load-reference' make[6]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests/assembly-load-reference'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests' make[4]: *** [Makefile:2738: check-local] Error 1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests' make[3]: *** [Makefile:2590: check-am] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests' make[2]: *** [Makefile:2438: check-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests' make[1]: *** [Makefile:2592: check] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>/mono/tests' Usage: kill [options] <pid> [...] Options: <pid> [...] send signal to every <pid> listed -<signal>, -s, --signal <signal> specify the <signal> to be sent -q, --queue <value> integer value to be sent with the signal -l, --list=[<signal>] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). make: [debian/rules:168: test-stamp] Error 123 (ignored) pgrep mono | xargs kill -9 Usage: kill [options] <pid> [...] Options: <pid> [...] send signal to every <pid> listed -<signal>, -s, --signal <signal> specify the <signal> to be sent -q, --queue <value> integer value to be sent with the signal -l, --list=[<signal>] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). make: [debian/rules:169: test-stamp] Error 123 (ignored) # funny bug-459094.cs creates too long directory names which # pbuilder is unable to remove, eh rm -rf mono/tests/abcde12345abcde12345abcde12345abcde12345/ touch test-stamp dh_testdir dh_testroot cd debian/detector && \install -D -m 755 binfmt-detector-cli /<<PKGBUILDDIR>>/debian/mono-runtime/usr/lib/cli/binfmt-detector-cli
install -D -m 644 -o root -g root debian/cli.binfmt \ debian/mono-runtime/usr/share/binfmts/cliinstall: cannot change ownership of 'debian/mono-runtime/usr/share/binfmts/cli': Operation not permitted
make: *** [debian/rules:398: binary-arch] Error 1dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------------------------------------------------------------------------------- Build finished at 2024-11-17T13:27:16Z ------------------------------------------------------------------------------- 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/1024002.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