Package: nikola Version: 7.0.1-1 Severity: serious Usertags: goto-cc During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and pbuilder) the build failed with the following error.
[...]
debian/rules override_dh_bash-completion
make[1]: Entering directory
'/srv/jenkins-slave/workspace/sid-goto-cc-nikola/nikola-7.0.1'
echo -e '#!/bin/bash\nexport
PYTHONPATH=/srv/jenkins-slave/workspace/sid-goto-cc-nikola/nikola-7.0.1\n/srv/jenkins-slave/workspace/sid-goto-cc-nikola/nikola-7.0.1/debian/nikola/usr/bin/nikola
$@' > debian/nikola.sh
chmod +x ./debian/nikola.sh
./debian/nikola.sh init -q debian/dpackaging_site
./debian/nikola.sh: 1: ./debian/nikola.sh: -e: not found
Traceback (most recent call last):
File
"/srv/jenkins-slave/workspace/sid-goto-cc-nikola/nikola-7.0.1/debian/nikola/usr/bin/nikola",
line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2837, in
<module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 449, in
_build_master
ws.require(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 742, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 639, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: python-dateutil
debian/rules:26: recipe for target 'override_dh_bash-completion' failed
make[1]: *** [override_dh_bash-completion] Error 1
The full build log is attached; please do let me know if the problem is
unreproducible. It seems that "-e" is not interpreted as a command line option
by "echo", which is likely due to the fact that the default shell is dash. You
may want to use printf instead.
Best,
Michael
nikola-build-log.txt.gz
Description: application/gunzip
pgpZx6MINLXgE.pgp
Description: PGP signature

