Source: slrn
Version: 1.0.3+dfsg-7
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: [email protected]
User: [email protected]
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`,
slrn failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
touch stamp-po
mkdir -p -- /<<PKGBUILDDIR>>/debian/tmp/usr/share
installing be.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/be/LC_MESSAGES/slrn.mo installing da.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/da/LC_MESSAGES/slrn.mo installing de.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/de/LC_MESSAGES/slrn.mo installing es.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/es/LC_MESSAGES/slrn.mo installing fi.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/fi/LC_MESSAGES/slrn.mo installing fr.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/fr/LC_MESSAGES/slrn.mo installing it.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/it/LC_MESSAGES/slrn.mo installing ko.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ko/LC_MESSAGES/slrn.mo installing nl.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/nl/LC_MESSAGES/slrn.mo installing pl.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/pl/LC_MESSAGES/slrn.mo installing ru.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ru/LC_MESSAGES/slrn.mo installing sv.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/sv/LC_MESSAGES/slrn.mo installing tr.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/tr/LC_MESSAGES/slrn.mo
if test "slrn" = "gettext-tools"; then \
  mkdir -p -- /<<PKGBUILDDIR>>/debian/tmp/usr/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed [email protected] [email protected] insert-header.sin Rules-quot Makevars.template; do \
    /usr/bin/install -c -m 644 ./$file \
                    /<<PKGBUILDDIR>>/debian/tmp/usr/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /<<PKGBUILDDIR>>/debian/tmp/usr/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[3]: Leaving directory '/<<PKGBUILDDIR>>/po'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_install-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make install DESTDIR=debian/tmp
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cd src; /usr/bin/make install
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
/<<PKGBUILDDIR>>/src/objs/chkslang slrn 20203
slrn created in /<<PKGBUILDDIR>>/src/objs
slrnpull created in /<<PKGBUILDDIR>>/src/objs
../autoconf/mkinsdir.sh debian/tmp/usr/bin
mkdir debian
mkdir debian/tmp
mkdir debian/tmp/usr
mkdir debian/tmp/usr/bin
../autoconf/mkinsdir.sh debian/tmp/usr/share/doc/slrn
mkdir debian/tmp/usr/share
mkdir debian/tmp/usr/share/doc
mkdir debian/tmp/usr/share/doc/slrn
../autoconf/mkinsdir.sh debian/tmp/usr/share/doc/slrn/slrnpull
mkdir debian/tmp/usr/share/doc/slrn/slrnpull
../autoconf/mkinsdir.sh debian/tmp/usr/share/man/man1
mkdir debian/tmp/usr/share/man
mkdir debian/tmp/usr/share/man/man1
../autoconf/mkinsdir.sh debian/tmp/usr/share/slrn
mkdir debian/tmp/usr/share/slrn
../autoconf/mkinsdir.sh debian/tmp/usr/share/slrn/slang
mkdir debian/tmp/usr/share/slrn/slang
/usr/bin/install -c -m 755 -s /<<PKGBUILDDIR>>/src/objs/slrn debian/tmp/usr/bin /usr/bin/install -c -m 755 -s /<<PKGBUILDDIR>>/src/objs/slrnpull debian/tmp/usr/bin
/usr/bin/install -c -m 644 ../doc/slrn.1 debian/tmp/usr/share/man/man1/
/usr/bin/install -c -m 644 ../doc/slrnpull.1 debian/tmp/usr/share/man/man1/
/usr/bin/install -c -m 644 ../COPYRIGHT debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../COPYING debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../README debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../changes.txt debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/FIRST_STEPS debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/README.GroupLens debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/score.sl debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/slrn.rc debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/help.txt debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/README.macros debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/score.txt debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/THANKS debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/manual.txt debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/README.multiuser debian/tmp/usr/share/doc/slrn /usr/bin/install -c -m 644 ../doc/slrn-doc.html debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/FAQ debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/README.SSL debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/slrnfuns.txt debian/tmp/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/slrnpull/../slrnpull/README ../doc/slrnpull/../slrnpull/README.offline ../doc/slrnpull/../slrnpull/SETUP ../doc/slrnpull/../slrnpull/score ../doc/slrnpull/../slrnpull/setgid.txt ../doc/slrnpull/../slrnpull/slrn.rc ../doc/slrnpull/../slrnpull/slrnpull.conf ../doc/slrnpull/../slrnpull/slrnpull.sh debian/tmp/usr/share/doc/slrn/slrnpull
/usr/bin/install -c -m 644 ../macros/slrn.sl debian/tmp/usr/share/slrn/slang
/usr/bin/install -c -m 644 ../macros/color.sl debian/tmp/usr/share/slrn/slang /usr/bin/install -c -m 644 ../macros/gsort.sl debian/tmp/usr/share/slrn/slang /usr/bin/install -c -m 644 ../macros/ispell.sl debian/tmp/usr/share/slrn/slang /usr/bin/install -c -m 644 ../macros/latin2.sl debian/tmp/usr/share/slrn/slang /usr/bin/install -c -m 644 ../macros/multipart.sl debian/tmp/usr/share/slrn/slang
/usr/bin/install -c -m 644 ../macros/nn.sl debian/tmp/usr/share/slrn/slang
/usr/bin/install -c -m 644 ../macros/posthook.sl debian/tmp/usr/share/slrn/slang /usr/bin/install -c -m 644 ../macros/search.sl debian/tmp/usr/share/slrn/slang /usr/bin/install -c -m 644 ../macros/tin-art.sl debian/tmp/usr/share/slrn/slang /usr/bin/install -c -m 644 ../macros/tin-group.sl debian/tmp/usr/share/slrn/slang /usr/bin/install -c -m 644 ../macros/ttyprint.sl debian/tmp/usr/share/slrn/slang
/usr/bin/install -c -m 644 ../macros/util.sl debian/tmp/usr/share/slrn/slang
/usr/bin/install -c -m 644 ../macros/varset.sl debian/tmp/usr/share/slrn/slang /usr/bin/install -c -m 644 ../macros/xcomment.sl debian/tmp/usr/share/slrn/slang
/usr/bin/install -c -m 644 ../macros/mime.sl debian/tmp/usr/share/slrn/slang
/usr/bin/install -c -m 644 ../macros/mailcap.sl debian/tmp/usr/share/slrn/slang cd ../po; /usr/bin/make DESTDIR=debian/tmp LOCALEDIR=/usr/share/locale install make[4]: Entering directory '/<<PKGBUILDDIR>>/po'
mkdir -p -- debian/tmp/usr/share
installing be.gmo as debian/tmp/usr/share/locale/be/LC_MESSAGES/slrn.mo
installing da.gmo as debian/tmp/usr/share/locale/da/LC_MESSAGES/slrn.mo
installing de.gmo as debian/tmp/usr/share/locale/de/LC_MESSAGES/slrn.mo
installing es.gmo as debian/tmp/usr/share/locale/es/LC_MESSAGES/slrn.mo
installing fi.gmo as debian/tmp/usr/share/locale/fi/LC_MESSAGES/slrn.mo
installing fr.gmo as debian/tmp/usr/share/locale/fr/LC_MESSAGES/slrn.mo
installing it.gmo as debian/tmp/usr/share/locale/it/LC_MESSAGES/slrn.mo
installing ko.gmo as debian/tmp/usr/share/locale/ko/LC_MESSAGES/slrn.mo
installing nl.gmo as debian/tmp/usr/share/locale/nl/LC_MESSAGES/slrn.mo
installing pl.gmo as debian/tmp/usr/share/locale/pl/LC_MESSAGES/slrn.mo
installing ru.gmo as debian/tmp/usr/share/locale/ru/LC_MESSAGES/slrn.mo
installing sv.gmo as debian/tmp/usr/share/locale/sv/LC_MESSAGES/slrn.mo
installing tr.gmo as debian/tmp/usr/share/locale/tr/LC_MESSAGES/slrn.mo
if test "slrn" = "gettext-tools"; then \
  mkdir -p -- debian/tmp/usr/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed [email protected] [email protected] insert-header.sin Rules-quot Makevars.template; do \
    /usr/bin/install -c -m 644 ./$file \
                    debian/tmp/usr/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f debian/tmp/usr/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[4]: Leaving directory '/<<PKGBUILDDIR>>/po'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
chrpath --delete debian/tmp/usr/bin/slrn
dh_install
dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use)
cp debian/tmp/usr/share/doc/slrn/help.txt \
  debian/slrn/etc/news/slrn-help.txt
chown news.news debian/slrn/etc/news debian/slrn//var/lib/slrn
chown: warning: '.' should be ':': ‘news.news’
chown: changing ownership of 'debian/slrn/etc/news': Operation not permitted
chown: changing ownership of 'debian/slrn//var/lib/slrn': Operation not permitted
make[1]: *** [debian/rules:34: override_dh_install-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T15:08:05Z

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


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