Bug#851021: nikola: FTBFS: pkg_resources.DistributionNotFound: The 'olefile' distribution was not found and is required by Pillow

2017-01-11 Thread Christoph Biedl
Control: tags 851021 patch

Lucas Nussbaum wrote...

> During a rebuild of all packages in sid, your package failed to build on
> amd64.

> > pkg_resources.DistributionNotFound: The 'olefile' distribution was not 
> > found and is required by Pillow

This was fixed in the build dependency on python-pil 4.0.0-3 which
(re-)includes a dependency on python*-olefile needed to build nikola.
That's also the reason why it's not that easy to reproduce the issue.

nikola maintainer: Adding a build dependency on python-pil (>= 4.0.0-3)
should fix the issue. Yes, including the Debian revision.

Christoph


signature.asc
Description: Digital signature


Bug#851021: nikola: FTBFS: pkg_resources.DistributionNotFound: The 'olefile' distribution was not found and is required by Pillow

2017-01-11 Thread Lucas Nussbaum
Source: nikola
Version: 7.6.4-1
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20170111 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> ./debian/nikola.sh init -q debian/dpackaging_site
> Traceback (most recent call last):
>   File "/<>/debian/nikola/usr/bin/nikola", line 6, in 
> from pkg_resources import load_entry_point
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
> 3019, in 
> @_call_aside
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
> 3003, in _call_aside
> f(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
> 3032, in _initialize_master_working_set
> working_set = WorkingSet._build_master()
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
> 655, in _build_master
> ws.require(__requires__)
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
> 963, in require
> needed = self.resolve(parse_requirements(requirements))
>   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 
> 849, in resolve
> raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'olefile' distribution was not found 
> and is required by Pillow
> debian/rules:25: recipe for target 'override_dh_bash-completion' failed
> make[1]: *** [override_dh_bash-completion] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/01/11/nikola_7.6.4-1_unstable.log

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.