python-pil-doc fails to build in jammy

Bug #1960263 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pillow (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned

Bug Description

Full build logs
---------------
https://launchpad.net/ubuntu/+source/pillow/9.0.0-1build1

Build log excerpt
-----------------
dh_installdocs -ppython-pil-doc docs/_build/html
dh_installdocs: warning: Cannot auto-detect main package for python-pil-doc. If the default is wrong, please use --doc-main-package
cp: cannot stat 'docs/_build/html': No such file or directory
dh_installdocs: error: cp --reflink=auto -a docs/_build/html debian/python-pil-doc/usr/share/doc/python-pil-doc returned exit code 1

Shorter build log excerpt
-------------------------
cp: cannot stat 'docs/_build/html': No such file or directory

Discussion
----------
I think this build failure was triggered because Ubuntu currently has both python 3.9 and 3.10 as supported versions.

This bug is currently blocking the completion of this transition.
https://people.canonical.com/~ubuntu-archive/transitions/html/auto-libwebp.html

Jeremy Bícha (jbicha)
tags: added: update-excuse
Jeremy Bícha (jbicha)
tags: added: rls-jj-incoming
Jeremy Bícha (jbicha)
description: updated
tags: added: fr-2039
tags: removed: rls-jj-incoming
Changed in pillow (Ubuntu Jammy):
assignee: nobody → Heinrich Schuchardt (xypron)
Revision history for this message
Heinrich Schuchardt (xypron) wrote :
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

The package pillow 9.0.0-1ubuntu1 built in ppa:xypron/merge-from-debian and needs a sponsor.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

I don't think we want the package to Build-Depend on itself.

Revision history for this message
Heinrich Schuchardt (xypron) wrote (last edit ):

This seems to be the culprint. The string '3.10' does not fit into 3 characters:
PY3VER := $(shell python3 -c 'import sys; print(sys.version[:3])')

ls /<<PKGBUILDDIR>>/build/ -la
total 16
drwxrwxr-x 4 root root 4096 Feb 15 11:37 .
drwxr-xr-x 10 root root 4096 Feb 15 11:38 ..
drwxrwxr-x 3 root root 4096 Feb 15 11:37 lib.linux-x86_64-3.10
drwxrwxr-x 3 root root 4096 Feb 15 11:37 temp.linux-x86_64-3.10
echo PY3VER: '3.1'
PY3VER: 3.1
echo PY3VERS: '3.10'
PY3VERS: 3.10

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

pillow-9.0.0-1build1-9.0.0-1ubuntu2.debdiff avoid any additional dependency. Instead it fixes the incorrect determination of PYTHONPATH.

Changed in pillow (Ubuntu Jammy):
assignee: Heinrich Schuchardt (xypron) → nobody
status: New → Confirmed
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I uploaded this to jammy for you and unsubscribed ubuntu-sponsors. Thank you!

Changed in pillow (Ubuntu Jammy):
status: Confirmed → Fix Committed
Jeremy Bícha (jbicha)
tags: removed: update-excuse
Matthias Klose (doko)
Changed in pillow (Ubuntu Jammy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.