Your message dated Mon, 04 Aug 2008 02:01:57 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#493475: fixed in libgda2 1.2.4-1.1
has caused the Debian Bug report #493475,
regarding libgda2-freetds builds against obsolete lib; replace with 
libgda2-sybase
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
493475: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493475
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libgda3
Version: 3.0.2-4
Severity: serious
Tags: sid

Hi Gustavo,

FreeTDS 0.82 has recently been accepted into unstable.  While I believed
this would be a straightforward library ABI transition because the FreeTDS
public APIs are all defined by external specs, it appears that libgda3 has
been linking against libtds.

libtds is an internal library that was never intended for third-party
software to link against, and it has been dropped upstream with the latest
release.  As a result, libgda3 now fails to build.

I've tried to migrate to the sybase provider, since freetds is intended to
be an implementation of the sybase client API, but the sybase provider in
libgda3 is itself broken with undefined symbols (gda_sybase_type_list).  So
in the end I gave up on this; I think the best course of action is to
disable the build of libgda3-freetds.  FreeTDS can still be supported using
the libgda3-odbc backend.

Since freetds 0.63 is no longer supported upstream, and libtds was never a
supported interface anyway, I would like this to be done for lenny; I will
be happy to NMU for this if you like.

Please find two patches attached.  The first includes the changes to disable
building libgda3-freetds.  The second is a patch to fix the issues with
building against the FreeTDS implementation of libct; I think it should
probably be forwarded upstream, but even after applying this patch, the
provider still fails to build.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[EMAIL PROTECTED]                                     [EMAIL PROTECTED]
diff -u libgda3-3.0.2/debian/rules libgda3-3.0.2/debian/rules
--- libgda3-3.0.2/debian/rules
+++ libgda3-3.0.2/debian/rules
@@ -19,7 +19,7 @@
 
 SONAME := 3
 DEB_DH_INSTALL_SOURCEDIR := debian/tmp
-DEB_CONFIGURE_EXTRA_FLAGS += --with-postgres=$(shell pg_config --includedir) --without-bdb --without-mSQL --without-ibmdb2 --without-sybase --without-oracle --without-firebird --without-xbase --without-mdb --without-ldap
+DEB_CONFIGURE_EXTRA_FLAGS += --with-postgres=$(shell pg_config --includedir) --without-bdb --without-mSQL --without-ibmdb2 --without-sybase --without-tds --without-oracle --without-firebird --without-xbase --without-mdb --without-ldap
 DEB_DH_STRIP_ARGS += --dbg-package=libgda3-$(SONAME)
 DEB_DH_MAKESHLIBS_ARGS_ALL += -X /usr/lib/libgda-3.0/providers
 
@@ -36,8 +36,7 @@
 
 common-binary-post-install-arch::
 	for i in libgda3-common libgda3-bin libgda3-dev libgda3-$(SONAME)-dbg \
-	  libgda3-mysql libgda3-odbc libgda3-postgres libgda3-sqlite \
-	  libgda3-freetds; \
+	  libgda3-mysql libgda3-odbc libgda3-postgres libgda3-sqlite; \
 	do \
 		rm -rf debian/$$i/usr/share/doc; \
 		dh_link -p$$i usr/share/doc/libgda3-$(SONAME) usr/share/doc/$$i; \
diff -u libgda3-3.0.2/debian/control libgda3-3.0.2/debian/control
--- libgda3-3.0.2/debian/control
+++ libgda3-3.0.2/debian/control
@@ -19,7 +19,6 @@
                libmysqlclient15-dev,
                libpq-dev,
                libsqlite3-dev,
-               freetds-dev (>= 0.61),
                unixodbc-dev,
                libgdbm-dev,
                libreadline5-dev,
@@ -41,8 +40,7 @@
 Suggests: libgda3-mysql,
           libgda3-postgres,
           libgda3-odbc,
-          libgda3-sqlite,
-          libgda3-freetds
+          libgda3-sqlite
 Conflicts: libgda2-1
 Replaces: libgda2-1
 Description: GNOME Data Access library for GNOME2
@@ -220,17 +218,0 @@
-
-Package: libgda3-freetds
-Section: gnome
-Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
-Description: FreeTDS backend plugin for GNOME Data Access library for GNOME2
- GNOME Data Access is an attempt to provide uniform access to
- different kinds of data sources (databases, information servers,
- mail spools, etc).
- It is a complete architecture that provides all you need to
- access your data.
- .
- This library is made for GNOME2, but it doesn't require GNOME2 libraries.
- .
- This package contains FreeTDS backend plugin. You need to install this
- package, if you want to use libgda3 with FreeTDS.
diff -u libgda3-3.0.2/debian/changelog libgda3-3.0.2/debian/changelog
--- libgda3-3.0.2/debian/changelog
+++ libgda3-3.0.2/debian/changelog
@@ -1,3 +1,14 @@
+libgda3 (3.0.2-4.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for RC bugfix.
+  * Drop libgda3-freetds, which was being built against an internal
+    "libtds" that was never meant to be used by external applications,
+    and which is no longer supported upstream.  Should be replaced by
+    libgda3-sybase, but the sybase driver doesn't currently compile.
+
+ -- Steve Langasek <[EMAIL PROTECTED]>  Sat, 02 Aug 2008 09:58:30 +0000
+
 libgda3 (3.0.2-4) unstable; urgency=medium
 
   * debian/configure.in: Move gtk-doc related packages to build-depends-indep
diff -u libgda3-3.0.2/debian/control.in libgda3-3.0.2/debian/control.in
--- libgda3-3.0.2/debian/control.in
+++ libgda3-3.0.2/debian/control.in
@@ -19,7 +19,6 @@
                libmysqlclient15-dev,
                libpq-dev,
                libsqlite3-dev,
-               freetds-dev (>= 0.61),
                unixodbc-dev,
                libgdbm-dev,
                libreadline5-dev,
@@ -41,8 +40,7 @@
 Suggests: libgda3-mysql,
           libgda3-postgres,
           libgda3-odbc,
+          libgda3-sqlite
-          libgda3-sqlite,
-          libgda3-freetds
 Conflicts: libgda2-1
 Replaces: libgda2-1
 Description: GNOME Data Access library for GNOME2
@@ -220,17 +217,0 @@
-
-Package: libgda3-freetds
-Section: gnome
-Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
-Description: FreeTDS backend plugin for GNOME Data Access library for GNOME2
- GNOME Data Access is an attempt to provide uniform access to
- different kinds of data sources (databases, information servers,
- mail spools, etc).
- It is a complete architecture that provides all you need to
- access your data.
- .
- This library is made for GNOME2, but it doesn't require GNOME2 libraries.
- .
- This package contains FreeTDS backend plugin. You need to install this
- package, if you want to use libgda3 with FreeTDS.
only in patch2:
unchanged:
--- libgda3-3.0.2.orig/debian/libgda3-freetds.install
+++ libgda3-3.0.2/debian/libgda3-freetds.install
@@ -1,2 +0,0 @@
-usr/lib/libgda*/providers/libgda-freetds.so
-usr/lib/pkgconfig/libgda-freetds-3.0.pc
--- libgda3-3.0.2/configure.in
+++ libgda3-3.0.2.orig/configure.in
@@ -627,13 +627,12 @@
 		AC_MSG_CHECKING(for Sybase host system type)
 		AC_MSG_RESULT($host)
 		case "$host" in
-		*linux*) sybase_ctlibs="-L${sybasedir}/lib -lct -lcs -lsybtcl -lcomn -lintl"
-			sybase_blklibs="-L${sybasedir}/lib -lblk ${sybase_ctlibs}"
-			SYBASE_LIBS="${SYBASE_LIBS} ${sybase_blklibs}"
-			AC_CHECK_LIB(ct,tdsdump_on,[
-			AC_MSG_WARN(linking against freetds libct)
+		*linux*) sybase_ctlibs="-L${sybasedir}/lib -lct"
+			AC_CHECK_LIB([ct],[blk_init],[],[
+			sybase_ctlibs="${sybase_ctlibs} -lcs -lsybtcl -lcomn -lintl"
+			])
+			SYBASE_LIBS="${SYBASE_LIBS} ${sybase_ctlibs}"
 			AC_DEFINE(HAVE_SYBASE, 1, [Have Sybase])
-			], AC_DEFINE(HAVE_SYBASE, 1, [Have Sybase]))
 			;;
 		*) AC_MSG_WARN(this host type is unsupported; sybase backend not used)
 			sybasedir=""
--- libgda3-3.0.2/providers/sybase/gda-sybase-provider.c
+++ libgda3-3.0.2.orig/providers/sybase/gda-sybase-provider.c
@@ -269,7 +269,7 @@
 	const gchar *t_user = NULL;
 	const gchar *t_password = NULL;
 	const gchar *t_locale = NULL;
-	CS_CHAR buf[CS_MAX_CHAR + 1];
+	CS_CHAR buf[CS_MAX_NAME + 1];
 
 	memset(&buf, 0, sizeof(buf));
 		
@@ -503,7 +503,7 @@
 				   CS_GET, 
 				   CS_SERVERNAME, 
 				   &buf,
-				   CS_MAX_CHAR, 
+				   CS_MAX_NAME, 
 				   NULL);
 	if (sconn->ret != CS_SUCCEED) {
 		sybase_check_messages(cnc);

--- End Message ---
--- Begin Message ---
Source: libgda2
Source-Version: 1.2.4-1.1

We believe that the bug you reported is fixed in the latest version of
libgda2, which is due to be installed in the Debian FTP archive:

gda2-mysql_1.2.4-1.1_amd64.deb
  to pool/main/libg/libgda2/gda2-mysql_1.2.4-1.1_amd64.deb
gda2-odbc_1.2.4-1.1_amd64.deb
  to pool/main/libg/libgda2/gda2-odbc_1.2.4-1.1_amd64.deb
gda2-postgres_1.2.4-1.1_amd64.deb
  to pool/main/libg/libgda2/gda2-postgres_1.2.4-1.1_amd64.deb
gda2-sqlite_1.2.4-1.1_amd64.deb
  to pool/main/libg/libgda2/gda2-sqlite_1.2.4-1.1_amd64.deb
gda2-sybase_1.2.4-1.1_amd64.deb
  to pool/main/libg/libgda2/gda2-sybase_1.2.4-1.1_amd64.deb
libgda2-3-dbg_1.2.4-1.1_amd64.deb
  to pool/main/libg/libgda2/libgda2-3-dbg_1.2.4-1.1_amd64.deb
libgda2-3_1.2.4-1.1_amd64.deb
  to pool/main/libg/libgda2/libgda2-3_1.2.4-1.1_amd64.deb
libgda2-bin_1.2.4-1.1_amd64.deb
  to pool/main/libg/libgda2/libgda2-bin_1.2.4-1.1_amd64.deb
libgda2-common_1.2.4-1.1_all.deb
  to pool/main/libg/libgda2/libgda2-common_1.2.4-1.1_all.deb
libgda2-dev_1.2.4-1.1_amd64.deb
  to pool/main/libg/libgda2/libgda2-dev_1.2.4-1.1_amd64.deb
libgda2-doc_1.2.4-1.1_all.deb
  to pool/main/libg/libgda2/libgda2-doc_1.2.4-1.1_all.deb
libgda2_1.2.4-1.1.diff.gz
  to pool/main/libg/libgda2/libgda2_1.2.4-1.1.diff.gz
libgda2_1.2.4-1.1.dsc
  to pool/main/libg/libgda2/libgda2_1.2.4-1.1.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve Langasek <[EMAIL PROTECTED]> (supplier of updated libgda2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 02 Aug 2008 11:21:50 +0000
Source: libgda2
Binary: libgda2-3 libgda2-bin libgda2-common libgda2-dev libgda2-3-dbg 
libgda2-doc gda2-mysql gda2-odbc gda2-postgres gda2-sqlite gda2-sybase
Architecture: source all amd64
Version: 1.2.4-1.1
Distribution: unstable
Urgency: high
Maintainer: Gustavo R. Montesino <[EMAIL PROTECTED]>
Changed-By: Steve Langasek <[EMAIL PROTECTED]>
Description: 
 gda2-mysql - MySQL backend plugin for GNOME Data Access library for GNOME2
 gda2-odbc  - ODBC backend plugin for GNOME Data Access library for GNOME2
 gda2-postgres - PostgreSQL backend plugin for GNOME Data Access library for 
GNOME
 gda2-sqlite - SQLite backend plugin for GNOME Data Access library for GNOME2
 gda2-sybase - FreeTDS backend plugin for GNOME Data Access library for GNOME2
 libgda2-3  - GNOME Data Access library for GNOME2
 libgda2-3-dbg - GDA2 library and debugging symbols
 libgda2-bin - Binary files for GNOME Data Access library for GNOME2
 libgda2-common - Common files for GNOME Data Access library for GNOME2
 libgda2-dev - Development files for GNOME Data Access library for GNOME2
 libgda2-doc - Documentation files for GNOME Data Access library for GNOME2
Closes: 493475
Changes: 
 libgda2 (1.2.4-1.1) unstable; urgency=high
 .
   * Non-maintainer upload with maintainer's approval.
   * High-urgency upload for RC bugfix.
   * Drop gda2-freetds in favor of gda2-sybase, since the freetds
     provider uses an unsupported and obsolete library interface.
     Closes: #493475.
   * debian/patches/005_freetds_sybase_compat.patch: Fix the sybase
     provider so that it's compatible with the FreeTDS implementation of
     libct.
   * Drop debian/patches/003_freetds_database_segfault.patch, since the
     freetds provider is no longer relevant.
Checksums-Sha1: 
 a49f12b51672ded96299927a0cd40f6566bba448 1617 libgda2_1.2.4-1.1.dsc
 c29ea806daedea97d6c7dba7685c270d8dde0f24 351070 libgda2_1.2.4-1.1.diff.gz
 873c3ac61d15bec17587365307ac73d30b3bf0a7 346932 
libgda2-common_1.2.4-1.1_all.deb
 855a9d2f28ea87215a35d20a3814d2bb7ea2ca27 265270 libgda2-doc_1.2.4-1.1_all.deb
 f29c200fe61611dcbb51167b747345272882f196 253670 libgda2-3_1.2.4-1.1_amd64.deb
 1118b875e4190083f4c1ac76538b811c8dae68c2 33498 libgda2-bin_1.2.4-1.1_amd64.deb
 80cba05a76a303ad9868b63ba1e2da8d8e9bf346 236946 libgda2-dev_1.2.4-1.1_amd64.deb
 ba05a340c8082da0c88ee54290b18fcfdd611c46 402974 
libgda2-3-dbg_1.2.4-1.1_amd64.deb
 ae32b817147f9eef3eceb81e460c996af1f146db 19836 gda2-mysql_1.2.4-1.1_amd64.deb
 50f2a5c891ab2aadb05d9155b5fcd4218b7b8314 13532 gda2-odbc_1.2.4-1.1_amd64.deb
 4c354fd20544aff34f404a5483cecb8ad7bc0b5c 28524 
gda2-postgres_1.2.4-1.1_amd64.deb
 f6cc2f919059d3c973ffe3ec837af870024f43f2 12370 gda2-sqlite_1.2.4-1.1_amd64.deb
 b66744b56d9de6c77609f36c6e2780850e6e156c 21830 gda2-sybase_1.2.4-1.1_amd64.deb
Checksums-Sha256: 
 adc1e1207f711f0027f71d4a0065a6fa55f81934c2aaf69b420aa56cc04c744e 1617 
libgda2_1.2.4-1.1.dsc
 a71ed25d8738bbec6dc3d63d07f108aa811d97d41b217376178f9a620fb883fd 351070 
libgda2_1.2.4-1.1.diff.gz
 68347e1e4277b2905921ffe796e3421b8a213d288d747d61e7e20d69e735f2a7 346932 
libgda2-common_1.2.4-1.1_all.deb
 b8ed974d49c8337b94304cc2b32ed31d9e71677331db37f1a4961a08a1b56c2c 265270 
libgda2-doc_1.2.4-1.1_all.deb
 4af5a909b28c6bcf1a1e66dc33e9b6728a0dd5b98a141fcc93429be973e51b8f 253670 
libgda2-3_1.2.4-1.1_amd64.deb
 c19d019617c5ceda9a951061ed60b82574b00724fd49a7b09658f90ea0500ed7 33498 
libgda2-bin_1.2.4-1.1_amd64.deb
 2e3ea4e92c9c90022162f7c0b60ec2f74f006fcac3bd46d9b68d84dfb769b0b1 236946 
libgda2-dev_1.2.4-1.1_amd64.deb
 313d17aedc1a9ffcf8b6dc1a108412be73d878ff8e96d5acc5905bc95517bfa1 402974 
libgda2-3-dbg_1.2.4-1.1_amd64.deb
 715d221da7c0875675aefe4db9885cf0dc3b0858eb3c1797fd88d0e63fc81eb0 19836 
gda2-mysql_1.2.4-1.1_amd64.deb
 0238c12529280552269368dcc15742f228b8077b06e8ef523e03dfabc96f2296 13532 
gda2-odbc_1.2.4-1.1_amd64.deb
 9f67c3bf1508987bf634851d7d56dc409de0dfa472c899a1833fa5bf81db4f02 28524 
gda2-postgres_1.2.4-1.1_amd64.deb
 7dd2fc38682131c6b249a4bfa8d8bdaee93cfb163a37b7fa21d9f4db3fcf3138 12370 
gda2-sqlite_1.2.4-1.1_amd64.deb
 079664516bd980e74faa002912536d4c128cce6ee5a25aa45e88fa4d7cd512d5 21830 
gda2-sybase_1.2.4-1.1_amd64.deb
Files: 
 4fb1959a7b3a81fe1b8c7e0d7b410440 1617 libs optional libgda2_1.2.4-1.1.dsc
 d156534a6881659afd06214a3537e24e 351070 libs optional libgda2_1.2.4-1.1.diff.gz
 7844f9095fa736e7faf7ea22eb50c023 346932 misc optional 
libgda2-common_1.2.4-1.1_all.deb
 dbae8cdb32e769cacf0a7a3d5ccda4dd 265270 doc optional 
libgda2-doc_1.2.4-1.1_all.deb
 c9eaeb739b55460015b19cee29d48f4b 253670 libs optional 
libgda2-3_1.2.4-1.1_amd64.deb
 acb92f9389b34244e5219353c8b25b63 33498 misc optional 
libgda2-bin_1.2.4-1.1_amd64.deb
 1de3e81288c6f26ee42571c38b34467f 236946 libdevel optional 
libgda2-dev_1.2.4-1.1_amd64.deb
 e3c5c8d3cd7ae98f716020f33c6ccded 402974 libdevel extra 
libgda2-3-dbg_1.2.4-1.1_amd64.deb
 157a5951e3dcd26a8518382176baab7c 19836 gnome optional 
gda2-mysql_1.2.4-1.1_amd64.deb
 331de75d8523dcfe86c6ac93be620108 13532 gnome optional 
gda2-odbc_1.2.4-1.1_amd64.deb
 f9d3d3901b7af45c1d6e13a3baf72b9c 28524 gnome optional 
gda2-postgres_1.2.4-1.1_amd64.deb
 6cd4a2656a6d2c81ad60af06fd62ff0c 12370 gnome optional 
gda2-sqlite_1.2.4-1.1_amd64.deb
 eb32ebb3611d32b242b0a37a215f1e53 21830 gnome optional 
gda2-sybase_1.2.4-1.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFIlVkVKN6ufymYLloRArlDAJoCP+FWpq8IBMpHyoglB9FmxBD/rQCffwzI
XBPqrJrmwrqnhJ55vo8EHE8=
=TWV6
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to