[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libgdbm transition



Hello!

Some time ago I made gdbm_1.12-3 into experimental, and since it is incompatible with
gdbm-1.8 (new soname, separated compat library) I rebuilt all reverse depedencies.
Here is my report:

	FAIL camldbm_1.0-2.dsc | PATCH
	FAIL courier_0.73.1-1.6.dsc
	FAIL freeradius_2.2.8+dfsg-0.1.dsc | PATCH
	FAIL ifmail_2.14tx8.10-22.dsc | PATCH
	FAIL nis_3.17-34.dsc | FTPFS pre-history debhelper
	FAIL ntop_5.0.1+dfsg1-2.1.dsc | FTBFS issues with rrd
	FAIL ocsigenserver_2.4.0-1.dsc | FTPFS issues with FindLib
	FAIL perdition_2.1-2.dsc | PATCH
	FAIL python3-stdlib-extensions_3.4.2-1.dsc | FTBFS purely virtual
	FAIL qsf_1.2.7-1.dsc | PATCH
	FAIL ruby2.3_2.3.1-5.dsc | FTBFS testsuite
	FAIL sortmail_2.4-2.dsc | PATCH

Some comments:

  * PATCH means I managed to write patch to make things build. Sometimes it was unrelated
    to gdbm, but simple enough for me.
  * courier_0.73 fails, but it does not matter, since courier_0.76.1 successes.
  * FTBFS means it fails to build due issues, unrelated to gdbm and I failed to make it build
    or estimated required work as too huge.

It looks as MBF, but I would like someone more experienced to give advice. Also, I am really
surprised by number of FTBFS packages (not due my libgdbm changes). We do not have automation
to rebuild packages and file FTBFS bugs, do we?

Below is boring, but pleasant list:

	SUCCESS am-utils_6.2+rc20110530-3.2.dsc
	SUCCESS avahi_0.6.32~rc+dfsg-1.dsc
	SUCCESS clisp_2.49-10.dsc
	SUCCESS courier-authlib_0.66.1-1.dsc
	SUCCESS courier_0.76.1-3.dsc
	SUCCESS couriergrey_0.3.2-5.dsc
	SUCCESS elk_3.99.8-4.dsc
	SUCCESS fpc_3.0.0+dfsg-6.dsc
	SUCCESS freebsd-glue_0.2.22.dsc
	SUCCESS fsvs_1.2.6-3.dsc
	SUCCESS gauche_0.9.4-6.dsc
	SUCCESS gdbm_1.8.3-14.dsc
	SUCCESS gnarwl_3.6.dfsg-6.2.dsc
	SUCCESS gnu-smalltalk_3.2.5-1.dsc
	SUCCESS jwhois_4.0-2.1.dsc
	SUCCESS librep_0.92.5-3.dsc
	SUCCESS lighttpd_1.4.39-1.dsc
	SUCCESS magicrescue_1.1.9-2.dsc
	SUCCESS maildrop_2.8.3-0.1.dsc
	SUCCESS man-db_2.7.5-1.dsc
	SUCCESS metview_4.6.5-4.dsc
	SUCCESS mit-scheme_9.1.1-5.dsc
	SUCCESS modem-manager-gui_0.0.18-3.dsc
	SUCCESS openipmi_2.0.21-1.2.dsc
	SUCCESS pam-shield_0.9.6-1.2.dsc
	SUCCESS perl_5.22.2-1.dsc
	SUCCESS pike7.8_7.8.866-3.dsc
	SUCCESS pike8.0_8.0.240-1.dsc
	SUCCESS pypy_5.3.1+dfsg-1.dsc
	SUCCESS python-stdlib-extensions_2.7.8-2.dsc
	SUCCESS sjeng_11.2-8.dsc
	SUCCESS slgdbm_1.7.1-4.dsc

Just in case, all patched are attached to this email.

--
Accept: text/plain, text/x-diff
Accept-Language: eo,en,ru
X-Web-Site: sinsekvu.github.io
diff -Nru camldbm-1.0/debian/control camldbm-1.0/debian/control
--- camldbm-1.0/debian/control	2013-12-08 00:08:13.000000000 +0400
+++ camldbm-1.0/debian/control	2016-06-23 11:59:49.000000000 +0300
@@ -7,6 +7,7 @@
 Build-Depends:
  debhelper (>= 9),
  libgdbm-dev,
+ libgdbm-compat-dev,
  ocaml-nox,
  ocaml-findlib,
  dh-ocaml
diff -Nru camldbm-1.0/debian/patches/0002-fix-configure-script.patch camldbm-1.0/debian/patches/0002-fix-configure-script.patch
--- camldbm-1.0/debian/patches/0002-fix-configure-script.patch	1970-01-01 03:00:00.000000000 +0300
+++ camldbm-1.0/debian/patches/0002-fix-configure-script.patch	2016-06-23 11:59:37.000000000 +0300
@@ -0,0 +1,17 @@
+Description: Fix configure script
+ Script used spoiled $? variable, instead of saved value.
+Author: Dmitry Bogatov <KAction@gnu.org>
+Last-Update: 2016-06-23
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/configure
++++ b/configure
+@@ -35,7 +35,7 @@ hasgot() {
+   ${CC:-cc} -I$1 -o hasgot.exe hasgot.c $3 $4
+   res=$?
+   rm -f hasgot.c hasgot.exe
+-  return $?
++  return $res
+ }
+ 
+ dbm_include="not found"
diff -Nru camldbm-1.0/debian/patches/series camldbm-1.0/debian/patches/series
--- camldbm-1.0/debian/patches/series	2013-12-08 00:08:29.000000000 +0400
+++ camldbm-1.0/debian/patches/series	2016-06-23 11:57:58.000000000 +0300
@@ -1 +1,2 @@
 0001-Improve-Makefile.patch
+0002-fix-configure-script.patch
diff -Nru freeradius-2.2.8+dfsg/debian/control freeradius-2.2.8+dfsg/debian/control
--- freeradius-2.2.8+dfsg/debian/control	2015-09-14 17:38:37.000000000 +0300
+++ freeradius-2.2.8+dfsg/debian/control	2016-06-23 12:57:35.000000000 +0300
@@ -8,6 +8,7 @@
  libpam0g-dev,
  libmysqlclient-dev,
  libgdbm-dev,
+ libgdbm-compat-dev,
  libldap2-dev,
  libsasl2-dev,
  libiodbc2-dev,
diff -Nru ifmail-2.14tx8.10/debian/control ifmail-2.14tx8.10/debian/control
--- ifmail-2.14tx8.10/debian/control	2014-07-25 03:38:56.000000000 +0400
+++ ifmail-2.14tx8.10/debian/control	2016-06-27 10:00:18.000000000 +0300
@@ -2,7 +2,7 @@
 Section: comm
 Priority: extra
 Maintainer: Marco d'Itri <md@linux.it>
-Build-Depends: debhelper (>> 9), gettext, libgdbm-dev, bison, flex
+Build-Depends: debhelper (>> 9), gettext, libgdbm-dev, bison, flex, libgdbm-compat-dev
 Standards-Version: 3.9.5.0
 Vcs-Git: git://anonscm.debian.org/users/md/ifmail.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/md/ifmail.git
diff -Nru perdition-2.1/debian/patches/fix-extern-gdbm-version.patch perdition-2.1/debian/patches/fix-extern-gdbm-version.patch
--- perdition-2.1/debian/patches/fix-extern-gdbm-version.patch	1970-01-01 03:00:00.000000000 +0300
+++ perdition-2.1/debian/patches/fix-extern-gdbm-version.patch	2016-07-03 15:05:55.000000000 +0300
@@ -0,0 +1,115 @@
+Description: Fix type mismatch about gdbm_version
+ Remove 'extern char *gdbm_version':
+ .
+  * In gdbm-1.12 it is const char*
+  * In gdbm-1.12 it is exported by gdbm.h
+Author: Dmitry Bogatov <KAction@gnu.org>
+Last-Update: 2016-07-03
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/makegdbm/options.h
++++ b/makegdbm/options.h
+@@ -9,12 +9,12 @@
+  * perdition
+  * Mail retrieval proxy server
+  * Copyright (C) 1999-2005  Horms
+- * 
++ *
+  * This program is free software; you can redistribute it and/or
+  * modify it under the terms of the GNU General Public License as
+  * published by the Free Software Foundation; either version 2 of the
+  * License, or (at your option) any later version.
+- * 
++ *
+  * This program is distributed in the hope that it will be useful, but
+  * WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+@@ -39,7 +39,6 @@
+ #endif
+ 
+ extern gdbm_error gdbm_errno;
+-extern char *gdbm_version;
+ 
+ #define COPYRIGHT \
+   "(c) 1999 Horms <horms@verge.net.au>\nReleased under the GNU GPL\n"
+@@ -47,7 +46,7 @@ extern char *gdbm_version;
+ typedef struct {
+   char *mapname;
+   int undo;
+-} makegdbm_options_t; 
++} makegdbm_options_t;
+ 
+ extern char *optarg;
+ extern int optind, opterr, optopt;
+--- a/perdition/db/daemon/perditiondb_daemon.h
++++ b/perdition/db/daemon/perditiondb_daemon.h
+@@ -7,12 +7,12 @@
+  * perdition
+  * Mail retrieval proxy server
+  * Copyright (C) 1999-2005  Horms
+- * 
++ *
+  * This program is free software; you can redistribute it and/or
+  * modify it under the terms of the GNU General Public License as
+  * published by the Free Software Foundation; either version 2 of the
+  * License, or (at your option) any later version.
+- * 
++ *
+  * This program is distributed in the hope that it will be useful, but
+  * WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+@@ -31,7 +31,6 @@
+ #include <gdbm.h>
+ 
+ extern gdbm_error gdbm_errno;
+-extern char *gdbm_version;
+ 
+ #ifndef PERDITIONDB_GDBM_SYSCONFDIR
+ #define PERDITIONDB_GDBM_SYSCONFDIR "/usr/local/etc/perdition"
+@@ -41,8 +40,8 @@ extern char *gdbm_version;
+   PERDITIONDB_GDBM_SYSCONFDIR "/popmap.gdbm.db"
+ 
+ int dbserver_get(
+-  const char *key_str, 
++  const char *key_str,
+   const char *options_str,
+-  char **str_return, 
++  char **str_return,
+   int *len_return
+ );
+--- a/perdition/db/gdbm/perditiondb_gdbm.h
++++ b/perdition/db/gdbm/perditiondb_gdbm.h
+@@ -7,12 +7,12 @@
+  * perdition
+  * Mail retrieval proxy server
+  * Copyright (C) 1999-2005  Horms
+- * 
++ *
+  * This program is free software; you can redistribute it and/or
+  * modify it under the terms of the GNU General Public License as
+  * published by the Free Software Foundation; either version 2 of the
+  * License, or (at your option) any later version.
+- * 
++ *
+  * This program is distributed in the hope that it will be useful, but
+  * WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+@@ -31,7 +31,6 @@
+ #include <gdbm.h>
+ 
+ extern gdbm_error gdbm_errno;
+-extern char *gdbm_version;
+ 
+ #ifndef PERDITIONDB_GDBM_SYSCONFDIR
+ #define PERDITIONDB_GDBM_SYSCONFDIR "/usr/local/etc/perdition"
+@@ -41,8 +40,8 @@ extern char *gdbm_version;
+   PERDITIONDB_GDBM_SYSCONFDIR "/popmap.gdbm.db"
+ 
+ int dbserver_get(
+-  const char *key_str, 
++  const char *key_str,
+   const char *options_str,
+-  char **str_return, 
++  char **str_return,
+   int *len_return
+ );
diff -Nru perdition-2.1/debian/patches/series perdition-2.1/debian/patches/series
--- perdition-2.1/debian/patches/series	1970-01-01 03:00:00.000000000 +0300
+++ perdition-2.1/debian/patches/series	2016-07-03 14:57:48.000000000 +0300
@@ -0,0 +1 @@
+fix-extern-gdbm-version.patch
diff -u qsf-1.2.7/debian/control qsf-1.2.7/debian/control
--- qsf-1.2.7/debian/control
+++ qsf-1.2.7/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Nelson A. de Oliveira <naoliv@debian.org>
 Uploaders: Bartosz Fenski <fenio@debian.org>
-Build-Depends: cdbs, patchutils, debhelper (>= 5), libgdbm-dev, libmysqlclient-dev, libsqlite0-dev, bsdmainutils, man-db
+Build-Depends: cdbs, patchutils, debhelper (>= 5), libgdbm-dev, libmysqlclient15-dev, libsqlite0-dev, bsdmainutils, man-db
 Standards-Version: 3.7.2
 
 Package: qsf
diff -Nru sortmail-2.4/debian/control sortmail-2.4/debian/control
--- sortmail-2.4/debian/control	2016-07-03 16:19:52.000000000 +0300
+++ sortmail-2.4/debian/control	2016-06-20 05:27:34.000000000 +0300
@@ -2,7 +2,7 @@
 Section: mail
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>= 9), libgdbm-dev, libgdbm-compat-dev
+Build-Depends: debhelper (>= 9), libgdbm-dev
 Standards-Version: 3.9.8
 Homepage: http://sortmail.sourceforge.net/
 Vcs-Git: https://anonscm.debian.org/git/collab-maint/sortmail.git
@@ -15,3 +15,4 @@
  sortmail is a simple mail sorter you can use in your .forward
  to sort your mail into folders automatically, delete unwanted mail,
  etc.
+

Attachment: pgpWDphdJLsIc.pgp
Description: PGP signature


Reply to: