[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#774387: ITP: letsencrypt -- Let's Encrypt client that can update Apache configurations



Hi,

it seems your package doesn't build in pbuilder:

fakeroot debian/rules clean
dh clean --with python2,sphinxdoc --buildsystem=pybuild
dh_testdir -O--buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py clean 
Traceback (most recent call last):
File "setup.py", line 2, in <module>
from setuptools import setup
ImportError: No module named setuptools
E: pybuild pybuild:262: clean: plugin distutils failed with: exit code=1: python2.7 setup.py clean 
dh_auto_clean: pybuild --clean --test-tox -i python{version} -p 2.7 --dir . returned exit code 13
debian/rules:9: recipe for target 'clean' failed


Adding python-setuptools to the build-depends seems to fix it. Not sure if it is the correct solution.


The next problem is 


/tmp/buildd/letsencrypt-0.20150321/docs/api/client/CONFIG.rst:4: WARNING: autodoc: failed to import module u'letsencrypt.client.CONFIG'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 335, in import_object
__import__(self.modname)

[...]
find /tmp/buildd/letsencrypt-0.20150321/debian/doc-build/html/ -type f -name '*.html' \
-exec sed -i -e 's|https://cdnjs.cloudflare.com/ajax/libs/modernizr/.*/modernizr.min.js|../../../javascript/modernizr/modernizr.min.js|' '{}' +
sed -i -e 's|<img alt="Travis CI status" src="https://travis-ci.org/letsencrypt/lets-encrypt-preview.svg?branch=master"; />|Travis CI status|' /tmp/buildd/letsencrypt-0.20150321/debian/doc-build/html/intro.html
sed: can't read /tmp/buildd/letsencrypt-0.20150321/debian/doc-build/html/intro.html: No such file or directory
debian/rules:16: recipe for target 'override_dh_auto_build' failed

I have not tried to fix this.


Reply to: