Source: tuxtype
Version: 1.8.3-5.1
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`,
tuxtype failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
make[3]: Leaving directory '/<<PKGBUILDDIR>>/data/themes'
Making install in words
make[3]: Entering directory '/<<PKGBUILDDIR>>/data/words'
make[4]: Entering directory '/<<PKGBUILDDIR>>/data/words'
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/tuxtype/words'
/usr/bin/install -c -m 644 alphabet.txt animals.txt astronomy.txt colors.txt elements.txt fingers.txt fruit.txt geography.txt numbers.txt plants.txt shapes.txt trees.txt words1.txt words2.txt words3.txt '/<<PKGBUILDDIR>>/debian/tmp/usr/share/tuxtype/words'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/data/words'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/data/words'
make[3]: Entering directory '/<<PKGBUILDDIR>>/data'
make[4]: Entering directory '/<<PKGBUILDDIR>>/data'
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/tuxtype'
/usr/bin/install -c -m 644 keyboard.lst phrases.txt '/<<PKGBUILDDIR>>/debian/tmp/usr/share/tuxtype'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/data'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/data'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/data'
Making install in doc
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
Making install in en
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc/en'
make[4]: Entering directory '/<<PKGBUILDDIR>>/doc/en'
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/tuxtype'
/usr/bin/install -c -m 644 howtotheme.html TuxType_port_Mac.txt lesson_scripting_reference.html '/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/tuxtype'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc/en'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc/en'
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[4]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/tuxtype'
/usr/bin/install -c -m 644 ../ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL OFL README TODO '/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/tuxtype'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
Making install in po
make[2]: Entering directory '/<<PKGBUILDDIR>>/po'
installing ar.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ar/LC_MESSAGES/tuxtype.mo installing as.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/as/LC_MESSAGES/tuxtype.mo installing ast.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ast/LC_MESSAGES/tuxtype.mo installing be.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/be/LC_MESSAGES/tuxtype.mo installing ca.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ca/LC_MESSAGES/tuxtype.mo installing cs.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/cs/LC_MESSAGES/tuxtype.mo installing da.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/da/LC_MESSAGES/tuxtype.mo installing de.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/de/LC_MESSAGES/tuxtype.mo installing el.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/el/LC_MESSAGES/tuxtype.mo installing [email protected] as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/en@boldquot/LC_MESSAGES/tuxtype.mo installing en_GB.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/en_GB/LC_MESSAGES/tuxtype.mo installing [email protected] as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/en@quot/LC_MESSAGES/tuxtype.mo installing es.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/es/LC_MESSAGES/tuxtype.mo installing eu.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/eu/LC_MESSAGES/tuxtype.mo installing fi.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/fi/LC_MESSAGES/tuxtype.mo installing fr.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/fr/LC_MESSAGES/tuxtype.mo installing gu.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/gu/LC_MESSAGES/tuxtype.mo installing he.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/he/LC_MESSAGES/tuxtype.mo installing hi.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/hi/LC_MESSAGES/tuxtype.mo installing hu.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/hu/LC_MESSAGES/tuxtype.mo installing it.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/it/LC_MESSAGES/tuxtype.mo installing ja.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ja/LC_MESSAGES/tuxtype.mo installing kn.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/kn/LC_MESSAGES/tuxtype.mo installing ko.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ko/LC_MESSAGES/tuxtype.mo installing lt.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/lt/LC_MESSAGES/tuxtype.mo installing ml.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ml/LC_MESSAGES/tuxtype.mo installing nb.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/nb/LC_MESSAGES/tuxtype.mo installing ne.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ne/LC_MESSAGES/tuxtype.mo installing nl.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/nl/LC_MESSAGES/tuxtype.mo installing nn.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/nn/LC_MESSAGES/tuxtype.mo installing or.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/or/LC_MESSAGES/tuxtype.mo installing pt.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/pt/LC_MESSAGES/tuxtype.mo installing ro.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ro/LC_MESSAGES/tuxtype.mo installing ru.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ru/LC_MESSAGES/tuxtype.mo installing sv.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/sv/LC_MESSAGES/tuxtype.mo installing sw.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/sw/LC_MESSAGES/tuxtype.mo installing ta.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/ta/LC_MESSAGES/tuxtype.mo installing te.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/te/LC_MESSAGES/tuxtype.mo installing th_TH.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/th_TH/LC_MESSAGES/tuxtype.mo installing tr.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/tr/LC_MESSAGES/tuxtype.mo installing uk.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/uk/LC_MESSAGES/tuxtype.mo installing wo.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/wo/LC_MESSAGES/tuxtype.mo installing zh_CN.gmo as /<<PKGBUILDDIR>>/debian/tmp/usr/share/locale/zh_CN/LC_MESSAGES/tuxtype.mo
if test "tuxtype" = "gettext-tools"; then \
  /usr/bin/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[2]: Leaving directory '/<<PKGBUILDDIR>>/po'
Making install in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/games'
  /usr/bin/install -c tuxtype '/<<PKGBUILDDIR>>/debian/tmp/usr/games'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr/share/tuxtype
/usr/bin/install -c -m 644 ./tuxtype.ico /<<PKGBUILDDIR>>/debian/tmp/usr/share/tuxtype/tuxtype.ico
make  install-data-hook
make[4]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/mkdir -p -m 755 /<<PKGBUILDDIR>>/debian/tmp/etc/tuxtype
/usr/bin/mkdir -p -m 2755 /<<PKGBUILDDIR>>/debian/tmp/var/games/tuxtype
/usr/bin/mkdir -p -m 2755 /<<PKGBUILDDIR>>/debian/tmp/var/games/tuxtype/words
chown root:games /<<PKGBUILDDIR>>/debian/tmp/var/games/tuxtype/words
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/tmp/var/games/tuxtype/words': Operation not permitted
make[4]: *** [Makefile:899: install-data-hook] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: *** [Makefile:813: install-data-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:766: install-am] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:460: install-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j4 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T18:30: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/1048895.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