Source: nmh
Version: 1.8-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`,
nmh failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
/usr/bin/sed -f man/man.sed man/mh-profile.man > man/mh-profile.5mh
/usr/bin/sed -f man/man.sed man/mh-sequence.man > man/mh-sequence.5mh
/usr/bin/sed -f man/man.sed man/mh-tailor.man > man/mh-tailor.5mh
/usr/bin/sed -f man/man.sed man/mh_profile.man > man/mh_profile.5mh
/usr/bin/sed -f man/man.sed man/mhbuild.man > man/mhbuild.1mh
/usr/bin/sed -f man/man.sed man/mhfixmsg.man > man/mhfixmsg.1mh
/usr/bin/sed -f man/man.sed man/mhical.man > man/mhical.1mh
/usr/bin/sed -f man/man.sed man/mhl.man > man/mhl.1mh
/usr/bin/sed -f man/man.sed man/mhlist.man > man/mhlist.1mh
/usr/bin/sed -f man/man.sed man/mhlogin.man > man/mhlogin.1mh
/usr/bin/sed -f man/man.sed man/mhmail.man > man/mhmail.1mh
/usr/bin/sed -f man/man.sed man/mhn.man > man/mhn.1mh
/usr/bin/sed -f man/man.sed man/mhparam.man > man/mhparam.1mh
/usr/bin/sed -f man/man.sed man/mhpath.man > man/mhpath.1mh
/usr/bin/sed -f man/man.sed man/mhshow.man > man/mhshow.1mh
/usr/bin/sed -f man/man.sed man/mhstore.man > man/mhstore.1mh
/usr/bin/sed -f man/man.sed man/msgchk.man > man/msgchk.1mh
/usr/bin/sed -f man/man.sed man/mts.conf.man > man/mts.conf.5mh
/usr/bin/sed -f man/man.sed man/new.man > man/new.1mh
/usr/bin/sed -f man/man.sed man/next.man > man/next.1mh
/usr/bin/sed -f man/man.sed man/nmh.man > man/nmh.7mh
/usr/bin/sed -f man/man.sed man/packf.man > man/packf.1mh
/usr/bin/sed -f man/man.sed man/pick.man > man/pick.1mh
/usr/bin/sed -f man/man.sed man/post.man > man/post.8mh
/usr/bin/sed -f man/man.sed man/prev.man > man/prev.1mh
/usr/bin/sed -f man/man.sed man/prompter.man > man/prompter.1mh
/usr/bin/sed -f man/man.sed man/rcvdist.man > man/rcvdist.1mh
/usr/bin/sed -f man/man.sed man/rcvpack.man > man/rcvpack.1mh
/usr/bin/sed -f man/man.sed man/rcvstore.man > man/rcvstore.1mh
/usr/bin/sed -f man/man.sed man/rcvtty.man > man/rcvtty.1mh
/usr/bin/sed -f man/man.sed man/refile.man > man/refile.1mh
/usr/bin/sed -f man/man.sed man/repl.man > man/repl.1mh
/usr/bin/sed -f man/man.sed man/rmf.man > man/rmf.1mh
/usr/bin/sed -f man/man.sed man/rmm.man > man/rmm.1mh
/usr/bin/sed -f man/man.sed man/scan.man > man/scan.1mh
/usr/bin/sed -f man/man.sed man/send.man > man/send.1mh
/usr/bin/sed -f man/man.sed man/sendfiles.man > man/sendfiles.1mh
/usr/bin/sed -f man/man.sed man/show.man > man/show.1mh
/usr/bin/sed -f man/man.sed man/slocal.man > man/slocal.1mh
/usr/bin/sed -f man/man.sed man/sortm.man > man/sortm.1mh
/usr/bin/sed -f man/man.sed man/unseen.man > man/unseen.1mh
/usr/bin/sed -f man/man.sed man/whatnow.man > man/whatnow.1mh
/usr/bin/sed -f man/man.sed man/whom.man > man/whom.1mh
./etc/bash_completion_nmh-gen > etc/bash_completion_nmh
./etc/mhn.defaults.sh "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" ./etc/mhn.find.sh > etc/mhn.defaults
/usr/bin/sed -e 's,%mts%,sendmail/pipe,' \
       -e 's,%mailspool%,/var/mail,' \
       -e 's,%smtpserver%,localhost,' \
       -e 's,%default_locking%,fcntl,' \
       -e 's,%supported_locks%,fcntl dot flock lockf,' \
                        < ./etc/mts.conf.in > etc/mts.conf
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
make install prefix=./debian/nmh
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
 /usr/bin/mkdir -p './debian/nmh/usr/bin/mh'
/usr/bin/install -c uip/ali uip/anno uip/burst uip/comp uip/dist uip/flist uip/fmttest uip/folder uip/forw uip/inc uip/install-mh uip/mark uip/mhbuild uip/mhfixmsg uip/mhical uip/mhlist uip/mhlogin uip/mhn uip/mhparam uip/mhpath uip/mhshow uip/mhstore uip/msgchk uip/new uip/packf uip/pick uip/prompter uip/refile uip/repl uip/rmf uip/rmm uip/scan uip/send uip/show uip/sortm uip/whatnow uip/whom './debian/nmh/usr/bin/mh'
 /usr/bin/mkdir -p './debian/nmh/usr/bin/mh'
 /usr/bin/install -c etc/sendfiles uip/mhmail './debian/nmh/usr/bin/mh'
 /usr/bin/mkdir -p './debian/nmh/usr/lib/mh'
/usr/bin/install -c uip/ap uip/dp uip/fmtdump uip/mhl uip/mkstemp uip/post uip/rcvdist uip/rcvpack uip/rcvstore uip/rcvtty uip/slocal uip/viamail './debian/nmh/usr/lib/mh'
 /usr/bin/mkdir -p './debian/nmh/usr/lib/mh'
 /usr/bin/install -c uip/spost './debian/nmh/usr/lib/mh'
make  install-exec-hook
make[3]: Entering directory '/<<PKGBUILDDIR>>'
ln ./debian/nmh/usr/bin/mh/flist ./debian/nmh/usr/bin/mh/flists
ln ./debian/nmh/usr/bin/mh/folder ./debian/nmh/usr/bin/mh/folders
ln ./debian/nmh/usr/bin/mh/new ./debian/nmh/usr/bin/mh/fnext
ln ./debian/nmh/usr/bin/mh/new ./debian/nmh/usr/bin/mh/fprev
ln ./debian/nmh/usr/bin/mh/new ./debian/nmh/usr/bin/mh/unseen
ln ./debian/nmh/usr/bin/mh/show ./debian/nmh/usr/bin/mh/prev
ln ./debian/nmh/usr/bin/mh/show ./debian/nmh/usr/bin/mh/next
if test x != x; then \
        chgrp mail ./debian/nmh/usr/bin/mh/inc && \
        chmod 2755 ./debian/nmh/usr/bin/mh/inc; \
fi
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
 /usr/bin/mkdir -p './debian/nmh/usr/share/doc/nmh'
/usr/bin/install -c -m 644 COPYRIGHT INSTALL NEWS README VERSION docs/COMPLETION-TCSH docs/COMPLETION-ZSH docs/DIFFERENCES docs/FAQ docs/MAIL.FILTERING docs/MAILING-LISTS docs/README-ATTACHMENTS docs/README-HOOKS docs/README-components docs/README.SASL docs/README.about docs/README.developers docs/README.manpages docs/TODO './debian/nmh/usr/share/doc/nmh'
 /usr/bin/mkdir -p './debian/nmh/usr/share/doc/nmh/contrib'
/usr/bin/install -c -m 644 docs/contrib/replaliases './debian/nmh/usr/share/doc/nmh/contrib'
 /usr/bin/mkdir -p './debian/nmh/usr/share/doc/nmh/contrib'
/usr/bin/install -c docs/contrib/localpostproc docs/contrib/ml docs/contrib/replyfilter docs/contrib/vpick './debian/nmh/usr/share/doc/nmh/contrib'
 /usr/bin/mkdir -p './debian/nmh/etc/nmh'
/usr/bin/install -c -m 644 etc/MailAliases etc/components etc/digestcomps etc/distcomps etc/forwcomps etc/mhical.12hour etc/mhical.24hour etc/mhl.body etc/mhl.digest etc/mhl.format etc/mhl.forward etc/mhl.headers etc/mhl.reply etc/mhl.replywithoutbody etc/mhshow.marker etc/rcvdistcomps etc/rcvdistcomps.outbox etc/replcomps etc/replgroupcomps etc/scan.MMDDYY etc/scan.YYYYMMDD etc/scan.curses etc/scan.default etc/scan.highlighted etc/scan.mailx etc/scan.nomime etc/scan.size etc/scan.time etc/scan.timely etc/scan.unseen './debian/nmh/etc/nmh'
 /usr/bin/mkdir -p './debian/nmh/etc/nmh'
 /usr/bin/install -c etc/rmmproc.messageid './debian/nmh/etc/nmh'
 /usr/bin/mkdir -p './debian/nmh/usr/share/man/man1'
/usr/bin/install -c -m 644 man/ali.1mh man/anno.1mh man/burst.1mh man/comp.1mh man/dist.1mh man/flist.1mh man/flists.1mh man/fmttest.1mh man/fnext.1mh man/folder.1mh man/folders.1mh man/forw.1mh man/fprev.1mh man/inc.1mh man/install-mh.1mh man/mark.1mh man/mh-mkstemp.1mh man/mhbuild.1mh man/mhfixmsg.1mh man/mhical.1mh man/mhl.1mh man/mhlist.1mh man/mhlogin.1mh man/mhmail.1mh man/mhn.1mh man/mhparam.1mh man/mhpath.1mh man/mhshow.1mh man/mhstore.1mh man/msgchk.1mh man/new.1mh man/next.1mh man/packf.1mh man/pick.1mh man/prev.1mh man/prompter.1mh man/rcvdist.1mh man/rcvpack.1mh man/rcvstore.1mh man/rcvtty.1mh './debian/nmh/usr/share/man/man1' /usr/bin/install -c -m 644 man/refile.1mh man/repl.1mh man/rmf.1mh man/rmm.1mh man/scan.1mh man/send.1mh man/sendfiles.1mh man/show.1mh man/slocal.1mh man/sortm.1mh man/unseen.1mh man/whatnow.1mh man/whom.1mh './debian/nmh/usr/share/man/man1'
 /usr/bin/mkdir -p './debian/nmh/usr/share/man/man5'
/usr/bin/install -c -m 644 man/mh-alias.5mh man/mh-draft.5mh man/mh-folders.5mh man/mh-format.5mh man/mh-mail.5mh man/mh-profile.5mh man/mh-sequence.5mh man/mh-tailor.5mh man/mh_profile.5mh man/mts.conf.5mh './debian/nmh/usr/share/man/man5'
 /usr/bin/mkdir -p './debian/nmh/usr/share/man/man7'
/usr/bin/install -c -m 644 man/mh-chart.7mh man/mh-mime.7mh man/nmh.7mh './debian/nmh/usr/share/man/man7'
 /usr/bin/mkdir -p './debian/nmh/usr/share/man/man8'
/usr/bin/install -c -m 644 man/ap.8mh man/dp.8mh man/fmtdump.8mh man/post.8mh './debian/nmh/usr/share/man/man8'
 /usr/bin/mkdir -p './debian/nmh/etc/nmh'
/usr/bin/install -c -m 644 etc/bash_completion_nmh etc/mhn.defaults etc/mts.conf './debian/nmh/etc/nmh'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
[ -n "" ] && /usr/bin/make check || true
rm -f ./debian/nmh/usr/share/doc/nmh/INSTALL
rm -f ./debian/nmh/usr/share/doc/nmh/contrib/build_nmh ./debian/nmh/usr/share/doc/nmh/contrib/nmh.spec mv ./debian/nmh/etc/nmh/rmmproc.messageid ./debian/nmh/usr/share/doc/nmh/examples/ install -p -o root -g root -m 644 debian/mhn.defaults ./debian/nmh/etc/nmh/ install: cannot change ownership of './debian/nmh/etc/nmh/mhn.defaults': Operation not permitted
make: *** [debian/rules:68: install] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T14:45:47Z

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


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