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

Log Summary:
-------------------------------------------------------------------------------
[...]
byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/Image.py to Image.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/DcxImagePlugin.py to DcxImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/PdfParser.py to PdfParser.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ContainerIO.py to ContainerIO.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/FontFile.py to FontFile.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/WmfImagePlugin.py to WmfImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/GifImagePlugin.py to GifImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageCms.py to ImageCms.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/Hdf5StubImagePlugin.py to Hdf5StubImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/TiffTags.py to TiffTags.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/PsdImagePlugin.py to PsdImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/MspImagePlugin.py to MspImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/PpmImagePlugin.py to PpmImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/SgiImagePlugin.py to SgiImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageOps.py to ImageOps.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/XbmImagePlugin.py to XbmImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/DdsImagePlugin.py to DdsImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/PalmImagePlugin.py to PalmImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/WebPImagePlugin.py to WebPImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageColor.py to ImageColor.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageShow.py to ImageShow.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/_typing.py to _typing.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/BlpImagePlugin.py to BlpImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImImagePlugin.py to ImImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/FliImagePlugin.py to FliImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ExifTags.py to ExifTags.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/SunImagePlugin.py to SunImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/QoiImagePlugin.py to QoiImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageEnhance.py to ImageEnhance.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImagePalette.py to ImagePalette.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/PixarImagePlugin.py to PixarImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageQt.py to ImageQt.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/FpxImagePlugin.py to FpxImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/WalImageFile.py to WalImageFile.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/IcnsImagePlugin.py to IcnsImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageMode.py to ImageMode.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/_version.py to _version.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/GribStubImagePlugin.py to GribStubImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/_binary.py to _binary.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/features.py to features.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageStat.py to ImageStat.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageChops.py to ImageChops.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/GimpGradientFile.py to GimpGradientFile.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/FitsImagePlugin.py to FitsImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/BufrStubImagePlugin.py to BufrStubImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageDraw2.py to ImageDraw2.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/__main__.py to __main__.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/MicImagePlugin.py to MicImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageTk.py to ImageTk.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/TiffImagePlugin.py to TiffImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/XpmImagePlugin.py to XpmImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageFont.py to ImageFont.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageMath.py to ImageMath.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/GbrImagePlugin.py to GbrImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/PcfFontFile.py to PcfFontFile.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/XVThumbImagePlugin.py to XVThumbImagePlugin.cpython-313.pyc byte-compiling /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/PIL/ImageMorph.py to ImageMorph.cpython-313.pyc
running install_egg_info
Copying src/pillow.egg-info to /<<PKGBUILDDIR>>/debian/python3-pil/usr/lib/python3/dist-packages/pillow-10.4.0.egg-info
Skipping SOURCES.txt
running install_scripts
incdir=$(python3.13 -c 'import sysconfig; print(sysconfig.get_path("include"))'); \
mkdir -p debian/python3-pil/$incdir; \
install -o root -g root -m 644 \
        src/libImaging/Imaging.h \
        src/libImaging/ImagingUtils.h \
        src/libImaging/ImPlatform.h \
        src/libImaging/ImDib.h \
        debian/python3-pil/$incdir
install: cannot change ownership of 'debian/python3-pil//usr/include/python3.13/Imaging.h': Operation not permitted install: cannot change ownership of 'debian/python3-pil//usr/include/python3.13/ImagingUtils.h': Operation not permitted install: cannot change ownership of 'debian/python3-pil//usr/include/python3.13/ImPlatform.h': Operation not permitted install: cannot change ownership of 'debian/python3-pil//usr/include/python3.13/ImDib.h': Operation not permitted
make: *** [debian/rules:96: install3-python3.13] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T20:21:40Z

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


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