[Letsencrypt-devel] Bug#826147: new upstream version available (0.7.0)

Antoine Beaupré anarcat at debian.org
Thu Jun 2 16:50:17 UTC 2016


Package: certbot
Version: 0.6.0
Severity: wishlist

A new upstream release was published 6 days ago. It would be great to
see this in Debian, especially since I'm having some problems
automating renewals with the 0.6 release:

https://github.com/certbot/certbot/issues/2984

I have tried to build the package myself but I am confused by the
debian/control file autogeneration process and the clean target which
breaks builds with git-buildpackage:

[1071]anarcat at angela:python-letsencrypt130$ DIST=jessie ARCH=amd64 git buildpackage
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 
running clean
removing '/home/anarcat/dist/python-letsencrypt/.pybuild/pythonX.Y_2.7/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
   debian/rules override_dh_clean
make[1]: Entering directory '/home/anarcat/dist/python-letsencrypt'
dh_clean
make[1]: Leaving directory '/home/anarcat/dist/python-letsencrypt'
gbp:error: You have uncommitted changes in your source tree:
gbp:error: On branch master
Your branch is ahead of 'origin/master' by 4 commits.
  (use "git push" to publish your local commits)
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	deleted:    certbot.egg-info/PKG-INFO
	deleted:    certbot.egg-info/SOURCES.txt
	deleted:    certbot.egg-info/dependency_links.txt
	deleted:    certbot.egg-info/entry_points.txt
	deleted:    certbot.egg-info/requires.txt
	deleted:    certbot.egg-info/top_level.txt

no changes added to commit (use "git add" and/or "git commit -a")

gbp:error: Use --git-ignore-new to ignore.
[1072]anarcat at angela:python-letsencrypt1$ DIST=jessie ARCH=amd64 git buildpackage --git-ignore-new
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 
running clean
removing '/home/anarcat/dist/python-letsencrypt/.pybuild/pythonX.Y_2.7/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
   debian/rules override_dh_clean
make[1]: Entering directory '/home/anarcat/dist/python-letsencrypt'
dh_clean
make[1]: Leaving directory '/home/anarcat/dist/python-letsencrypt'
gbp:info: python-certbot_0.7.0.orig.tar.gz does not exist, creating from 'upstream/0.7.0'
gbp:info: Exporting 'HEAD' to '/home/anarcat/dist/build-area/python-certbot-tmp'
gbp:info: Moving '/home/anarcat/dist/build-area/python-certbot-tmp' to '/home/anarcat/dist/build-area/python-certbot-0.7.0'
Building with cowbuilder for distribution jessie, architecture amd64
I: using cowbuilder as pbuilder
dpkg-checkbuilddeps: error: cannot read debian/control: No such file or directory
W: Unmet build-dependency in source
dpkg-buildpackage: source package python-certbot
dpkg-buildpackage: source version 0.7.0-1.0
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Antoine Beaupré <anarcat at debian.org>
 dpkg-source --before-build python-certbot-0.7.0
dpkg-source: error: cannot read python-certbot-0.7.0/debian/control: No such file or directory
dpkg-buildpackage: error: dpkg-source --before-build python-certbot-0.7.0 gave error exit status 2
gbp:error: '/usr/bin/git-pbuilder' failed: it exited with 2

Shouldn't this be handled by deb-substvars instead?

Maybe that should be a separate bug report, but I'm abusing this one
in the hope it's just me that is confused. ;)

-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (1, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-0.bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Letsencrypt-devel mailing list