[Letsencrypt-devel] Bug#806532: FTBFS on jessie

Daniel Pocock daniel at pocock.pro
Sat Nov 28 14:57:20 UTC 2015


Package: python2-pythondialog
Tags: patch

I wanted to try the letsencrypt package on jessie so I tried to build
python2-pythondialog and it fails.

It seems to need gnulib added to the build-deps

The setup.py needs to be patched (see attached)

In setup.py, last_commit_in_ch_init seems to be wrong, needs to be reviewed




$ dpkg-buildpackage -rfakeroot -i.git
dpkg-buildpackage: source package python2-pythondialog
dpkg-buildpackage: source version 3.3.0-2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Francois Marier <francois at debian.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source -i.git --before-build python2-pythondialog
 fakeroot debian/rules clean
dh clean --with python2 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py clean
Converting the Git log into ChangeLog format... Traceback (most recent
call last):
  File "setup.py", line 39, in run_gitlog_to_changelog
    subprocess.check_call(args, stdout=output)
  File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Error (see above for a traceback): unable to run gitlog-to-changelog
====================================================================
Maybe this program is not installed on your system. You can download it
from:


http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=build-aux/gitlog-to-changelog

Note: if you have problems with the infamous shell+Perl crap in the
first lines
of that file, you can replace it with a simple shebang line such as
"#! /usr/bin/perl".
E: pybuild pybuild:256: clean: plugin distutils failed with: exit
code=1: python2.7 setup.py clean
dh_auto_clean: pybuild --clean -i python{version} -p 2.7 --dir .
returned exit code 13
debian/rules:9: recipe for target 'clean' failed
make: *** [clean] Error 13
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit
status 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnulib-location.patch
Type: text/x-patch
Size: 508 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/letsencrypt-devel/attachments/20151128/831a7101/attachment.bin>


More information about the Letsencrypt-devel mailing list