Source: libcap2
Version: 1:2.24-9
Severity: wishlist
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

Dear libcap2 maintainer,

When building libcap2 while gperf is installed, the package FTBFS. The
upstream source detects the availability of gperf and rebuilds a file.
The slightly different contents lateron cause a symbol error due to
added symbols, because the package is requesting symbol check level 4.

The immediate solution is to add Build-Conflicts: gperf. This is what
the attached patch implements.

Of course a better solution would be to add gperf to Build-Depends and
actually building libcap2 from source.

Helmut
diff -Nru libcap2-2.24/debian/changelog libcap2-2.24/debian/changelog
--- libcap2-2.24/debian/changelog       2015-06-07 18:41:18.000000000 +0200
+++ libcap2-2.24/debian/changelog       2015-07-22 20:39:31.000000000 +0200
@@ -1,3 +1,10 @@
+libcap2 (1:2.24-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Build-Conflicts: gperf to avoid symbol errors. Closes: #-1
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 22 Jul 2015 20:38:45 +0200
+
 libcap2 (1:2.24-9) unstable; urgency=medium
 
   [ Matthias Klumpp ]
diff -Nru libcap2-2.24/debian/control libcap2-2.24/debian/control
--- libcap2-2.24/debian/control 2015-06-07 18:41:18.000000000 +0200
+++ libcap2-2.24/debian/control 2015-07-22 20:38:33.000000000 +0200
@@ -9,6 +9,7 @@
  indent,
  libattr1-dev,
  libpam0g-dev,
+Build-Conflicts: gperf
 Homepage: http://sites.google.com/site/fullycapable/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libcap2.git
 Vcs-Git: git://anonscm.debian.org/collab-maint/libcap2.git

Reply via email to