Control: tag -1 + confirmed patch

On Sun, 06 Oct 2013 21:46:01 +0200, David Suárez wrote:

> Source: pgfincore
> Version: 1.1-1
> Severity: serious
> Tags: jessie sid
> User: debian...@lists.debian.org
> Usertags: qa-ftbfs-20131006 qa-ftbfs
> Justification: FTBFS on amd64
> 
> > make[1]: Entering directory `/«PKGBUILDDIR»'
> > (set -e; \
> >     VERSIONS=`pg_buildext supported-versions /«PKGBUILDDIR»`; \
> >     grep-dctrl -vP PGVERSION debian/control.in > debian/control.pgxs_tmp; \
> >     for v in $VERSIONS; do \
> >             grep-dctrl -P PGVERSION debian/control.in | sed -e 
> > "s:PGVERSION:$v:" >> debian/control.pgxs_tmp; \
> >     done; \
> >     mv debian/control.pgxs_tmp debian/control) || (rm -f 
> > debian/control.pgxs_tmp; exit 1)
> > pg_buildext clean /«PKGBUILDDIR» /«PKGBUILDDIR»/debian/pgfincore-%v ""
> > dh_clean 
> > make[1]: Leaving directory `/«PKGBUILDDIR»'
> >    dh_clean
> >  dpkg-source -b pgfincore-1.1
> > dpkg-source: error: pgfincore-1.1/debian/control doesn't list any binary 
> > package
> > dpkg-buildpackage: error: dpkg-source -b pgfincore-1.1 gave error exit 
> > status 255

Looks like this package needs to be updated for PostgreSQL 9.3.

I'm attaching a patch which seems to achieve this goal.
Note that this would introduce a new binary package
postgresql-9.3-pgfincore (and drops the -9.1- package).

(As a side note, the package creates d/control from d/control.in
during package build (clean), which doesn't feel right.)


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Die Quote: So far
diff -Nru pgfincore-1.1/debian/changelog pgfincore-1.1/debian/changelog
--- pgfincore-1.1/debian/changelog      2011-09-08 10:21:38.000000000 +0200
+++ pgfincore-1.1/debian/changelog      2013-10-26 18:13:50.000000000 +0200
@@ -1,3 +1,13 @@
+pgfincore (1.1-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: dpkg-buildpackage: error: dpkg-source -b pgfincore-1.1
+    gave error exit status 255":
+    update for PostgreSQL 9.3
+    (Closes: #725570)
+
+ -- gregor herrmann <gre...@debian.org>  Sat, 26 Oct 2013 18:08:58 +0200
+
 pgfincore (1.1-1) unstable; urgency=low
 
   * New upstream release
diff -Nru pgfincore-1.1/debian/control pgfincore-1.1/debian/control
--- pgfincore-1.1/debian/control        2011-09-13 09:57:01.000000000 +0200
+++ pgfincore-1.1/debian/control        2013-10-26 18:13:55.000000000 +0200
@@ -8,9 +8,9 @@
 Vcs-browser: http://git.postgresql.org/gitweb/?p=pgfincore.git
 Homepage: http://villemain.org/projects/pgfincore
 
-Package: postgresql-9.1-pgfincore
+Package: postgresql-9.3-pgfincore
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-9.1
+Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-9.3
 Description: set of PostgreSQL functions to manage blocks in memory
  Those functions let you know which and how many disk block from a relation
  are in the page cache of the operating system, and eventually write the
diff -Nru pgfincore-1.1/debian/pgversions pgfincore-1.1/debian/pgversions
--- pgfincore-1.1/debian/pgversions     2011-07-29 17:39:35.000000000 +0200
+++ pgfincore-1.1/debian/pgversions     2013-10-26 18:08:44.000000000 +0200
@@ -1,3 +1,4 @@
 8.4
 9.0
 9.1
+9.3
diff -Nru pgfincore-1.1/debian/postgresql-9.3-pgfincore.dirs 
pgfincore-1.1/debian/postgresql-9.3-pgfincore.dirs
--- pgfincore-1.1/debian/postgresql-9.3-pgfincore.dirs  1970-01-01 
01:00:00.000000000 +0100
+++ pgfincore-1.1/debian/postgresql-9.3-pgfincore.dirs  2013-10-26 
18:10:44.000000000 +0200
@@ -0,0 +1,2 @@
+usr/lib/postgresql/9.3/lib
+usr/share/postgresql/9.3/extension
diff -Nru pgfincore-1.1/debian/postgresql-9.3-pgfincore.docs 
pgfincore-1.1/debian/postgresql-9.3-pgfincore.docs
--- pgfincore-1.1/debian/postgresql-9.3-pgfincore.docs  1970-01-01 
01:00:00.000000000 +0100
+++ pgfincore-1.1/debian/postgresql-9.3-pgfincore.docs  2011-07-29 
17:39:35.000000000 +0200
@@ -0,0 +1 @@
+README.rst
diff -Nru pgfincore-1.1/debian/postgresql-9.3-pgfincore.install 
pgfincore-1.1/debian/postgresql-9.3-pgfincore.install
--- pgfincore-1.1/debian/postgresql-9.3-pgfincore.install       1970-01-01 
01:00:00.000000000 +0100
+++ pgfincore-1.1/debian/postgresql-9.3-pgfincore.install       2013-10-26 
18:10:52.000000000 +0200
@@ -0,0 +1,4 @@
+debian/pgfincore-9.3/pgfincore.so usr/lib/postgresql/9.3/lib
+debian/pgfincore-9.3/pgfincore*.sql usr/share/postgresql/9.3/extension
+pgfincore--unpackaged--1.1.sql usr/share/postgresql/9.3/extension
+

Attachment: signature.asc
Description: Digital signature

Reply via email to