Source: gemdropx
Version: 0.9-9
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`,
gemdropx failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/disc.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/dot.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/explode0.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/explode1.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/explode2.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/explode3.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/fuji.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/gemdropx-icon.xpm': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/happy.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/left-mask.xbm': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/left.xbm': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/level.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/lines.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/need.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/nothing-mask.xbm': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/nothing.xbm': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/numbers.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/patience.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/paused.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/right-mask.xbm': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/right.xbm': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/sad.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/score.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/stopwatch.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/title.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/triangle.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/uhoh.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/warning.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/warning1.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/warning2.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/warning3.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/warning4.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/wildcard.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/win1.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/win2.bmp': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/images/yellowgem.bmp': Operation not permitted
make[2]: [Makefile:45: install] Error 1 (ignored)
mkdir /<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds
install -g root -o root -m 644 data/sounds/* /<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/ install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/22drops.mod': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/2force.xm': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/README': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/applause.wav': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/begin.wav': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/bomb.wav': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/buzzer.wav': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/citron.mod': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/clock.wav': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/gameover.wav': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/got.wav': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/grab.wav': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/hr_suds.xm': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/levelselect.wav': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/throw.wav': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/wildcard.wav': Operation not permitted install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/games/gemdropx/sounds/win.wav': Operation not permitted
make[2]: [Makefile:47: install] Error 1 (ignored)
install -g root -o root -m 755 gemdropx /<<PKGBUILDDIR>>/debian/gemdropx/usr/games/ install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/games/gemdropx': Operation not permitted
make[2]: [Makefile:48: install] Error 1 (ignored)
install -g root -o root -m 644 gemdropx.6 /<<PKGBUILDDIR>>/debian/gemdropx/usr/share/man/man6/ install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/man/man6/gemdropx.6': Operation not permitted
make[2]: [Makefile:49: install] Error 1 (ignored)
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
install -g root -o root -m 644 data/images/gemdropx-icon.xpm \
        /<<PKGBUILDDIR>>/debian/gemdropx/usr/share/pixmaps/
install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/gemdropx/usr/share/pixmaps/gemdropx-icon.xpm': Operation not permitted
make[1]: *** [debian/rules:18: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T07:10:33Z

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


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