Source: dist
Version: 1:3.5-236-1
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`,
dist failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
install: WARNING: ignoring --strip-program option as -s option was not specified
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/files
+ mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/files
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist
install: WARNING: ignoring --strip-program option as -s option was not specified
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist
install: WARNING: ignoring --strip-program option as -s option was not specified
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/files
install: WARNING: ignoring --strip-program option as -s option was not specified
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/files
+ install --strip-program=true -c -m 444 files/Jmake.rules /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/files install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 files/Jmake.tmpl /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/files install: WARNING: ignoring --strip-program option as -s option was not specified
install in jmake done.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/jmake'
Installing in pat...
make[3]: Entering directory '/<<PKGBUILDDIR>>/pat'
make[3]: warning: -j8 forced in submake: resetting jobserver mode.
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/bin
+ install --strip-program=true -c -m 555 pat /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patcil /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patbase /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patdiff /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patmake /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patclean /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patcol /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patname /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patftp /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patsend /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patindex /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patpost /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patnotify /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patsnap /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 patlog /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified
install in pat done.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/pat'
Installing in kit...
make[3]: Entering directory '/<<PKGBUILDDIR>>/kit'
make[3]: warning: -j8 forced in submake: resetting jobserver mode.
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/bin
+ install --strip-program=true -c -m 555 makedist /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 manifake /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 kitsend /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 555 kitpost /<<PKGBUILDDIR>>/debian/tmp/usr/bin install: WARNING: ignoring --strip-program option as -s option was not specified
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/bin
install: WARNING: ignoring --strip-program option as -s option was not specified
install in kit done.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/kit'
Installing in lib...
make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
make[3]: warning: -j8 forced in submake: resetting jobserver mode.
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib
+ mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib
+ install --strip-program=true -c -m 444 errnolist.sh /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib/errnolist.SH install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 makedepend.sh /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib/makedepend.SH install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 makedir.sh /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib/makedir.SH install: WARNING: ignoring --strip-program option as -s option was not specified
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib
+ install --strip-program=true -c -m 444 errnolist.a /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 errnolist.mk /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib
make[4]: Entering directory '/<<PKGBUILDDIR>>/lib'
install: WARNING: ignoring --strip-program option as -s option was not specified
Installing in lib/C...
make[5]: Entering directory '/<<PKGBUILDDIR>>/lib/C'
make[5]: warning: -j8 forced in submake: resetting jobserver mode.
make[6]: Entering directory '/<<PKGBUILDDIR>>/lib/C'
Installing in lib/C/fake...
make[7]: Entering directory '/<<PKGBUILDDIR>>/lib/C/fake'
make[7]: warning: -j8 forced in submake: resetting jobserver mode.
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib/C/fake
+ mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib/C/fake
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib/C/fake
+ install --strip-program=true -c -m 444 dup2.C /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib/C/fake install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 getopt.C /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib/C/fake install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 rename.C /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib/C/fake install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 scandir.C /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib/C/fake install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 setsid.C /<<PKGBUILDDIR>>/debian/tmp/usr/share/dist/lib/C/fake install: WARNING: ignoring --strip-program option as -s option was not specified
install in lib/C/fake done.
make[7]: Leaving directory '/<<PKGBUILDDIR>>/lib/C/fake'
make[6]: Leaving directory '/<<PKGBUILDDIR>>/lib/C'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/lib/C'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1 || install -p -d -o root -g root -m 755 /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1 install: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1’: Operation not permitted
make[1]: *** [debian/rules:62: override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:30: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T01:09:03Z

-------------------------------------------------------------------------------


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/980927.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.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to