Source: pillow
Version: 7.0.0-4
Severity: important
Tags: ftbfs
User: python-modules-t...@lists.alioth.debian.org
Usertags: sphinx3.1

Hi,

pillow fails to build with Sphinx 3.1, currently available in
experimental.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>/docs'
> sphinx-build -b html -W --keep-going -d _build/doctrees   . _build/html
> Running Sphinx v3.1.1
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 73 source files that are out of date
> updating environment: [new config] 73 added, 0 changed, 0 removed
> reading sources... [  1%] PIL
> reading sources... [  2%] about
> reading sources... [  4%] deprecations
> reading sources... [  5%] handbook/appendices
> reading sources... [  6%] handbook/concepts
> reading sources... [  8%] handbook/image-file-formats
> reading sources... [  9%] handbook/index
> reading sources... [ 10%] handbook/overview
> reading sources... [ 12%] handbook/tutorial
> reading sources... [ 13%] handbook/writing-your-own-file-decoder
> reading sources... [ 15%] index
> reading sources... [ 16%] installation
> reading sources... [ 17%] porting
> reading sources... [ 19%] reference/ExifTags
> reading sources... [ 20%] reference/Image
> reading sources... [ 21%] reference/ImageChops
> reading sources... [ 23%] reference/ImageCms
> reading sources... [ 24%] reference/ImageColor
> reading sources... [ 26%] reference/ImageDraw
> reading sources... [ 27%] reference/ImageEnhance
> reading sources... [ 28%] reference/ImageFile
> reading sources... [ 30%] reference/ImageFilter
> reading sources... [ 31%] reference/ImageFont
> reading sources... [ 32%] reference/ImageGrab
> reading sources... [ 34%] reference/ImageMath
> reading sources... [ 35%] reference/ImageMorph
> reading sources... [ 36%] reference/ImageOps
> reading sources... [ 38%] reference/ImagePalette
> reading sources... [ 39%] reference/ImagePath
> reading sources... [ 41%] reference/ImageQt
> reading sources... [ 42%] reference/ImageSequence
> reading sources... [ 43%] reference/ImageStat
> reading sources... [ 45%] reference/ImageTk
> reading sources... [ 46%] reference/ImageWin
> reading sources... [ 47%] reference/PSDraw
> reading sources... [ 49%] reference/PixelAccess
> reading sources... [ 50%] reference/PyAccess
> reading sources... [ 52%] reference/TiffTags
> reading sources... [ 53%] reference/block_allocator
> reading sources... [ 54%] reference/index
> reading sources... [ 56%] reference/internal_design
> reading sources... [ 57%] reference/limits
> reading sources... [ 58%] reference/open_files
> reading sources... [ 60%] reference/plugins
> reading sources... [ 61%] releasenotes/2.7.0
> reading sources... [ 63%] releasenotes/2.8.0
> reading sources... [ 64%] releasenotes/3.0.0
> reading sources... [ 65%] releasenotes/3.1.0
> reading sources... [ 67%] releasenotes/3.1.1
> reading sources... [ 68%] releasenotes/3.1.2
> reading sources... [ 69%] releasenotes/3.2.0
> reading sources... [ 71%] releasenotes/3.3.0
> reading sources... [ 72%] releasenotes/3.3.2
> reading sources... [ 73%] releasenotes/3.4.0
> reading sources... [ 75%] releasenotes/4.0.0
> reading sources... [ 76%] releasenotes/4.1.0
> reading sources... [ 78%] releasenotes/4.1.1
> reading sources... [ 79%] releasenotes/4.2.0
> reading sources... [ 80%] releasenotes/4.2.1
> reading sources... [ 82%] releasenotes/4.3.0
> reading sources... [ 83%] releasenotes/5.0.0
> reading sources... [ 84%] releasenotes/5.1.0
> reading sources... [ 86%] releasenotes/5.2.0
> reading sources... [ 87%] releasenotes/5.3.0
> reading sources... [ 89%] releasenotes/5.4.0
> reading sources... [ 90%] releasenotes/5.4.1
> reading sources... [ 91%] releasenotes/6.0.0
> reading sources... [ 93%] releasenotes/6.1.0
> reading sources... [ 94%] releasenotes/6.2.0
> reading sources... [ 95%] releasenotes/6.2.1
> reading sources... [ 97%] releasenotes/6.2.2
> reading sources... [ 98%] releasenotes/7.0.0
> reading sources... [100%] releasenotes/index
> 
> /<<PKGBUILDDIR>>/docs/conf.py:292: RemovedInSphinx40Warning: The 
> app.add_javascript() is deprecated. Please use app.add_js_file() instead.
>   app.add_javascript("js/script.js")
> /<<PKGBUILDDIR>>/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring 
> of PIL.PngImagePlugin.PngImageFile:1: WARNING: duplicate object description 
> of PIL.PngImagePlugin.PngImageFile, other instance in reference/plugins, use 
> :noindex: for one of them
> /<<PKGBUILDDIR>>/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring 
> of PIL.PngImagePlugin.PngImageFile.load_end:1: WARNING: duplicate object 
> description of PIL.PngImagePlugin.PngImageFile.load_end, other instance in 
> reference/plugins, use :noindex: for one of them
> /<<PKGBUILDDIR>>/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring 
> of PIL.PngImagePlugin.PngImageFile.load_prepare:1: WARNING: duplicate object 
> description of PIL.PngImagePlugin.PngImageFile.load_prepare, other instance 
> in reference/plugins, use :noindex: for one of them
> /<<PKGBUILDDIR>>/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring 
> of PIL.PngImagePlugin.PngImageFile.load_read:1: WARNING: duplicate object 
> description of PIL.PngImagePlugin.PngImageFile.load_read, other instance in 
> reference/plugins, use :noindex: for one of them
> /<<PKGBUILDDIR>>/build/lib.linux-x86_64-3.8/PIL/PngImagePlugin.py:docstring 
> of PIL.PngImagePlugin.PngImageFile.verify:1: WARNING: duplicate object 
> description of PIL.PngImagePlugin.PngImageFile.verify, other instance in 
> reference/plugins, use :noindex: for one of them
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [  1%] PIL
> writing output... [  2%] about
> writing output... [  4%] deprecations
> writing output... [  5%] handbook/appendices
> writing output... [  6%] handbook/concepts
> writing output... [  8%] handbook/image-file-formats
> writing output... [  9%] handbook/index
> writing output... [ 10%] handbook/overview
> writing output... [ 12%] handbook/tutorial
> writing output... [ 13%] handbook/writing-your-own-file-decoder
> writing output... [ 15%] index
> writing output... [ 16%] installation
> writing output... [ 17%] porting
> writing output... [ 19%] reference/ExifTags
> writing output... [ 20%] reference/Image
> writing output... [ 21%] reference/ImageChops
> writing output... [ 23%] reference/ImageCms
> writing output... [ 24%] reference/ImageColor
> writing output... [ 26%] reference/ImageDraw
> writing output... [ 27%] reference/ImageEnhance
> writing output... [ 28%] reference/ImageFile
> writing output... [ 30%] reference/ImageFilter
> writing output... [ 31%] reference/ImageFont
> writing output... [ 32%] reference/ImageGrab
> writing output... [ 34%] reference/ImageMath
> writing output... [ 35%] reference/ImageMorph
> writing output... [ 36%] reference/ImageOps
> writing output... [ 38%] reference/ImagePalette
> writing output... [ 39%] reference/ImagePath
> writing output... [ 41%] reference/ImageQt
> writing output... [ 42%] reference/ImageSequence
> writing output... [ 43%] reference/ImageStat
> writing output... [ 45%] reference/ImageTk
> writing output... [ 46%] reference/ImageWin
> writing output... [ 47%] reference/PSDraw
> writing output... [ 49%] reference/PixelAccess
> writing output... [ 50%] reference/PyAccess
> writing output... [ 52%] reference/TiffTags
> writing output... [ 53%] reference/block_allocator
> writing output... [ 54%] reference/index
> writing output... [ 56%] reference/internal_design
> writing output... [ 57%] reference/limits
> writing output... [ 58%] reference/open_files
> writing output... [ 60%] reference/plugins
> writing output... [ 61%] releasenotes/2.7.0
> writing output... [ 63%] releasenotes/2.8.0
> writing output... [ 64%] releasenotes/3.0.0
> writing output... [ 65%] releasenotes/3.1.0
> writing output... [ 67%] releasenotes/3.1.1
> writing output... [ 68%] releasenotes/3.1.2
> writing output... [ 69%] releasenotes/3.2.0
> writing output... [ 71%] releasenotes/3.3.0
> writing output... [ 72%] releasenotes/3.3.2
> writing output... [ 73%] releasenotes/3.4.0
> writing output... [ 75%] releasenotes/4.0.0
> writing output... [ 76%] releasenotes/4.1.0
> writing output... [ 78%] releasenotes/4.1.1
> writing output... [ 79%] releasenotes/4.2.0
> writing output... [ 80%] releasenotes/4.2.1
> writing output... [ 82%] releasenotes/4.3.0
> writing output... [ 83%] releasenotes/5.0.0
> writing output... [ 84%] releasenotes/5.1.0
> writing output... [ 86%] releasenotes/5.2.0
> writing output... [ 87%] releasenotes/5.3.0
> writing output... [ 89%] releasenotes/5.4.0
> writing output... [ 90%] releasenotes/5.4.1
> writing output... [ 91%] releasenotes/6.0.0
> writing output... [ 93%] releasenotes/6.1.0
> writing output... [ 94%] releasenotes/6.2.0
> writing output... [ 95%] releasenotes/6.2.1
> writing output... [ 97%] releasenotes/6.2.2
> writing output... [ 98%] releasenotes/7.0.0
> writing output... [100%] releasenotes/index
> 
> generating indices...  genindex py-modindexdone
> highlighting module code... [  1%] PIL.BdfFontFile
> highlighting module code... [  2%] PIL.BmpImagePlugin
> highlighting module code... [  4%] PIL.BufrStubImagePlugin
> highlighting module code... [  5%] PIL.ContainerIO
> highlighting module code... [  7%] PIL.CurImagePlugin
> highlighting module code... [  8%] PIL.DcxImagePlugin
> highlighting module code... [  9%] PIL.EpsImagePlugin
> highlighting module code... [ 11%] PIL.FitsStubImagePlugin
> highlighting module code... [ 12%] PIL.FliImagePlugin
> highlighting module code... [ 14%] PIL.FontFile
> highlighting module code... [ 15%] PIL.FpxImagePlugin
> highlighting module code... [ 16%] PIL.GbrImagePlugin
> highlighting module code... [ 18%] PIL.GdImageFile
> highlighting module code... [ 19%] PIL.GifImagePlugin
> highlighting module code... [ 21%] PIL.GimpGradientFile
> highlighting module code... [ 22%] PIL.GimpPaletteFile
> highlighting module code... [ 23%] PIL.GribStubImagePlugin
> highlighting module code... [ 25%] PIL.Hdf5StubImagePlugin
> highlighting module code... [ 26%] PIL.IcnsImagePlugin
> highlighting module code... [ 28%] PIL.IcoImagePlugin
> highlighting module code... [ 29%] PIL.ImImagePlugin
> highlighting module code... [ 30%] PIL.Image
> highlighting module code... [ 32%] PIL.ImageChops
> highlighting module code... [ 33%] PIL.ImageCms
> highlighting module code... [ 35%] PIL.ImageColor
> highlighting module code... [ 36%] PIL.ImageDraw2
> highlighting module code... [ 38%] PIL.ImageFile
> highlighting module code... [ 39%] PIL.ImageFilter
> highlighting module code... [ 40%] PIL.ImageFont
> highlighting module code... [ 42%] PIL.ImageMath
> highlighting module code... [ 43%] PIL.ImageMorph
> highlighting module code... [ 45%] PIL.ImageOps
> highlighting module code... [ 46%] PIL.ImagePalette
> highlighting module code... [ 47%] PIL.ImageSequence
> highlighting module code... [ 49%] PIL.ImageShow
> highlighting module code... [ 50%] PIL.ImageTk
> highlighting module code... [ 52%] PIL.ImageTransform
> highlighting module code... [ 53%] PIL.ImageWin
> highlighting module code... [ 54%] PIL.ImtImagePlugin
> highlighting module code... [ 56%] PIL.IptcImagePlugin
> highlighting module code... [ 57%] PIL.Jpeg2KImagePlugin
> highlighting module code... [ 59%] PIL.JpegImagePlugin
> highlighting module code... [ 60%] PIL.McIdasImagePlugin
> highlighting module code... [ 61%] PIL.MicImagePlugin
> highlighting module code... [ 63%] PIL.MpegImagePlugin
> highlighting module code... [ 64%] PIL.MspImagePlugin
> highlighting module code... [ 66%] PIL.PSDraw
> highlighting module code... [ 67%] PIL.PaletteFile
> highlighting module code... [ 69%] PIL.PalmImagePlugin
> highlighting module code... [ 70%] PIL.PcdImagePlugin
> highlighting module code... [ 71%] PIL.PcfFontFile
> highlighting module code... [ 73%] PIL.PcxImagePlugin
> highlighting module code... [ 74%] PIL.PixarImagePlugin
> highlighting module code... [ 76%] PIL.PngImagePlugin
> highlighting module code... [ 77%] PIL.PpmImagePlugin
> highlighting module code... [ 78%] PIL.PsdImagePlugin
> highlighting module code... [ 80%] PIL.PyAccess
> highlighting module code... [ 81%] PIL.SgiImagePlugin
> highlighting module code... [ 83%] PIL.SpiderImagePlugin
> highlighting module code... [ 84%] PIL.SunImagePlugin
> highlighting module code... [ 85%] PIL.TarIO
> highlighting module code... [ 87%] PIL.TgaImagePlugin
> highlighting module code... [ 88%] PIL.TiffImagePlugin
> highlighting module code... [ 90%] PIL.TiffTags
> highlighting module code... [ 91%] PIL.WalImageFile
> highlighting module code... [ 92%] PIL.WebPImagePlugin
> highlighting module code... [ 94%] PIL.WmfImagePlugin
> highlighting module code... [ 95%] PIL.XVThumbImagePlugin
> highlighting module code... [ 97%] PIL.XbmImagePlugin
> highlighting module code... [ 98%] PIL.XpmImagePlugin
> highlighting module code... [100%] PIL._binary
> 
> writing additional pages...  searchdone
> copying images... [100%] 
> releasenotes/../../Tests/images/imagedraw_stroke_different.png
> 
> copying static files... ... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build finished with problems, 5 warnings.
> make[1]: *** [Makefile:45: html] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/06/23/pillow_7.0.0-4_unstable_sphinx-exp.log

Please see [1] for Sphinx changelog, which may give a hint of what changes in
Sphinx caused this error.

Also see [2] for the list of deprecated/removed APIs and possible alternatives
to them.

Sphinx 3.1 is going to be uploaded to unstable in a couple of weeks. When that
happens, the severity of this bug will be bumped to serious.

In case you have questions, please Cc sph...@packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/3.x/changes.html
[2]: https://www.sphinx-doc.org/en/3.x/extdev/deprecated.html

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to