Andrius Merkys:
Hello, On 2022-12-15 11:20, Filippo Rusconi wrote:I have uploaded a package yesterday. That package does not have any dh_auto_testtarget in d/rules. The builds all fail, as described here: https://buildd.debian.org/status/package.php?p=minexpert2 and I do not understand why. Any soul to help me with this question?I have just stumbled on the same while building a new package with javahelper:install: cannot change owner and permissions of ‘debian/_jh_build.lucene9-9.4.2’: Operation not permitted jh_build: error: install -m0755 -o 0 -g 0 -d debian/_jh_build.lucene9-9.4.2 returned exit code 1However, I have no idea why '-o 0 -g 0' options are used. They do not seem to be used before.Andrius
Long story short: * Bug in fakeroot (#1023286 + #1024544) * Me thinking it was a bug in debhelper so I tried to fix it (which did not work and broke on the way in) * Me realizing it was a bug in fakeroot and my change did not even function as a work around, so I undid it (it broke on the way out as well).And the winners are: All the people that have (and are) able to use "Rules-Requires-Root: no" as packages with that flag would have been
completely unaffected by this entire ordeal! Your options include: * Migrate to "Rules-Requires-Root: no" if you can * Ensure you have debhelper (>= 13.11.3~) ("just uploaded") or debhelper/13.11.1 (or debhelper << 13.11)I will now go back to looking more at my prototype for getting even more packages buildable with "Rules-Requires-Root: no".
Thanks, ~Niels