Source: reprepro
Version: 4.17.1-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

reprepro fails to cross build from source, because sbuild and/or apt
fail to install its pinentry-curses build dependency. I couldn't figure
out why that is the case and dose-builddebcheck claims that dependency
to be satisfiable. The error message from sbuild is:

| sbuild-build-depends-reprepro-dummy:armel : Depends: pinentry-curses:armel 
but it is not going to be installed

In any case, I looked at the reason for adding that dependency and it
was added for avoiding pinentry-gtk2. Nowadays, that problem has been
fixed, so dropping the pinentry-curses dependency looks sane to me. Even
better: No pinentry is installed at all. And the best part is: After
removing pinentry-curses, reprepro just cross builds.

Please consider applying the attached patch. Maybe you also want to
remove pinentry-curses from the runtime dependencies.

Helmut
diff --minimal -Nru reprepro-4.17.1/debian/changelog 
reprepro-4.17.1/debian/changelog
--- reprepro-4.17.1/debian/changelog    2016-04-30 15:32:28.000000000 +0200
+++ reprepro-4.17.1/debian/changelog    2016-11-08 06:08:01.000000000 +0100
@@ -1,3 +1,11 @@
+reprepro (4.17.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Drop pinentry-curses from Build-Depends as pinentry-gtk is no
+    longer pulled and apt fails to satisfy this dependency (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 08 Nov 2016 06:08:01 +0100
+
 reprepro (4.17.1-1) unstable; urgency=medium
 
   * new bugfix release
diff --minimal -Nru reprepro-4.17.1/debian/control 
reprepro-4.17.1/debian/control
--- reprepro-4.17.1/debian/control      2016-04-30 15:29:44.000000000 +0200
+++ reprepro-4.17.1/debian/control      2016-11-08 06:07:58.000000000 +0100
@@ -2,7 +2,7 @@
 Section: utils
 Priority: extra
 Maintainer: Bernhard R. Link <brl...@debian.org>
-Build-Depends: debhelper (>= 7), pinentry-curses, libgpgme11-dev, libdb-dev, 
libz-dev, libbz2-dev, liblzma-dev, libarchive-dev
+Build-Depends: debhelper (>= 7), libgpgme11-dev, libdb-dev, libz-dev, 
libbz2-dev, liblzma-dev, libarchive-dev
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/cgit/mirrorer/reprepro.git/log/?h=debian
 Vcs-Git: https://anonscm.debian.org/git/mirrorer/reprepro.git -b debian

Reply via email to