Source: mailagent
Version: 1:3.1-106-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`,
mailagent failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
+ install --strip-program=true -c -m 444 agenthelp /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent
Continuing in agent...
install: WARNING: ignoring --strip-program option as -s option was not specified
make[4]: Entering directory '/<<PKGBUILDDIR>>/agent/pl/termios'
make[4]: 'termios.pl' is up to date.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/agent/pl/termios'
+ install --strip-program=true -c -m 444 commands /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent
Continuing in agent...
install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 distribs /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/bin
install: WARNING: ignoring --strip-program option as -s option was not specified install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 filter.sh /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 mailagent.cf /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 proglist /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 chkagent.sh /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 setup.cf /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 compressors /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent install: WARNING: ignoring --strip-program option as -s option was not specified
make[6]: Entering directory '/<<PKGBUILDDIR>>/agent/files'
Installing in agent/files/help...
make[7]: Entering directory '/<<PKGBUILDDIR>>/agent/files/help'
make[7]: warning: -j8 forced in submake: resetting jobserver mode.
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help
+ mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help
+ install --strip-program=true -c -m 444 addauth /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 approve /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 delpower /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 end /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 getauth /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 help /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 newpower /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 passwd /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 password /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 power /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 release /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 remauth /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 set /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 setauth /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 user /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/help install: WARNING: ignoring --strip-program option as -s option was not specified
install in agent/files/help done.
make[7]: Leaving directory '/<<PKGBUILDDIR>>/agent/files/help'
make[6]: Leaving directory '/<<PKGBUILDDIR>>/agent/files'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/agent/files'
Installing in agent/man...
make[5]: Entering directory '/<<PKGBUILDDIR>>/agent/man'
make[5]: warning: -j8 forced in submake: resetting jobserver mode.
install in agent/man done.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/agent/man'
Installing in agent/test...
make[5]: Entering directory '/<<PKGBUILDDIR>>/agent/test'
make[5]: warning: -j8 forced in submake: resetting jobserver mode.
install in agent/test done.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/agent/test'
Installing in agent/examples...
make[5]: Entering directory '/<<PKGBUILDDIR>>/agent/examples'
make[5]: warning: -j8 forced in submake: resetting jobserver mode.
+ test -d /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/examples
+ mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/examples
+ install --strip-program=true -c -m 444 README /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/examples install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 daemon /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/examples install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 mailfolders /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/examples install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 mchk /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/examples install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 mhinc /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/examples install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 nocmds /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/examples install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 profile /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/examples install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 rules /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/examples install: WARNING: ignoring --strip-program option as -s option was not specified + install --strip-program=true -c -m 444 vacation /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/mailagent/examples install: WARNING: ignoring --strip-program option as -s option was not specified
install in agent/examples done.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/agent/examples'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/agent'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/agent'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
test -d debian/tmp/usr/share/man/man1 || install -p -d -o root -g root -m 755 debian/tmp/usr/share/man/man1 install: cannot change owner and permissions of ‘debian/tmp/usr/share/man/man1’: Operation not permitted
make[1]: *** [debian/rules:69: override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:27: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T10:59:54Z

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


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