Debian Bug report logs - #493475
libgda2-freetds builds against obsolete lib; replace with libgda2-sybase

version graph

Package: libgda2; Maintainer for libgda2 is (unknown);

Reported by: Steve Langasek <vorlon@debian.org>

Date: Sat, 2 Aug 2008 11:24:02 UTC

Severity: serious

Tags: fixed, patch, sid

Found in version 1.2.4-1

Fixed in version libgda2/1.2.4-1.1

Done: Steve Langasek <vorlon@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, grmontesino@ig.com.br (Gustavo R. Montesino):
Bug#493356; Package libgda3. (full text, mbox, link).


Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
New Bug report received and forwarded. Copy sent to grmontesino@ig.com.br (Gustavo R. Montesino). (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: submit@bugs.debian.org
Subject: libgda3: libgda3-freetds builds against obsolete lib, should be dropped
Date: Sat, 2 Aug 2008 04:19:18 -0700
[Message part 1 (text/plain, inline)]
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/
slangasek@ubuntu.com                                     vorlon@debian.org
[libgda3-lose-freetds.patch (text/x-diff, attachment)]
[libgda3-sybase-fixes.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, grmontesino@ig.com.br (Gustavo R. Montesino):
Bug#493356; Package libgda3. (full text, mbox, link).


Acknowledgement sent to "Gustavo R. Montesino" <grmontesino@gmail.com>:
Extra info received and forwarded to list. Copy sent to grmontesino@ig.com.br (Gustavo R. Montesino). (full text, mbox, link).


Message #10 received at 493356@bugs.debian.org (full text, mbox, reply):

From: "Gustavo R. Montesino" <grmontesino@gmail.com>
To: Steve Langasek <vorlon@debian.org>, 493356@bugs.debian.org
Subject: Re: Bug#493356: libgda3: libgda3-freetds builds against obsolete lib, should be dropped
Date: Sat, 02 Aug 2008 12:47:34 -0300
Em Sáb, 2008-08-02 às 04:19 -0700, Steve Langasek escreveu:
> Package: libgda3
> Version: 3.0.2-4
> Severity: serious
> Tags: sid
> 
> Hi Gustavo,

Hello,

> 
> 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.

Feel free to NMU with the freetds provider disabled; with 8 popcon votes
only I suppose this isn't an issue.

> 
> 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.

Upstream is currently working heavily on a new version with a lot of
changes to the API, so I don't know if this patch would be useful. For
what I've heard, seems likely this next upstream will release only with
mysql, postgresql and sqlite backends with production quality.

Thanks and regards,

-- 
Gustavo R. Montesino
http://grmontesino.blogspot.com/




Information forwarded to debian-bugs-dist@lists.debian.org, grmontesino@ig.com.br (Gustavo R. Montesino):
Bug#493356; Package libgda3. (full text, mbox, link).


Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to grmontesino@ig.com.br (Gustavo R. Montesino). (full text, mbox, link).


Message #15 received at 493356@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: 493356@bugs.debian.org
Subject: Re: libgda3: libgda3-freetds builds against obsolete lib, should be dropped
Date: Sat, 2 Aug 2008 10:49:58 -0700
[Message part 1 (text/plain, inline)]
clone 493356 -1
reassign -1 libgda2
found -1 1.2.4-1
retitle -1 libgda2-freetds builds against obsolete lib; replace with libgda2-sybase
tags -1 patch
thanks

Hi Gustavo,

This same problem applies also to libgda2.  Here, however, the package will
build from source with the small patches to the sybase driver, since the
sybase driver is not broken upstream, so I've provided a patch to enable it
in the build instead.

Because the object name has changed, as well as all the symbols to be looked
up within it, I don't think it's possible to provide a straightforward
compatibility wrapper for the object; so I think it's best to rename the
package (gda2-freetds -> gda2-sybase) at the same time.

Patch is attached; once again, I'm happy to NMU if you find this would be
useful.

Cheers,
-- 
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/
slangasek@ubuntu.com                                     vorlon@debian.org
[libgda2-freetds-to-sybase.patch (text/x-diff, attachment)]

Bug 493356 cloned as bug 493475. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (Sat, 02 Aug 2008 20:18:06 GMT) (full text, mbox, link).


Bug reassigned from package `libgda3' to `libgda2'. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (Sat, 02 Aug 2008 20:18:08 GMT) (full text, mbox, link).


Bug marked as found in version 1.2.4-1. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (Sat, 02 Aug 2008 20:18:08 GMT) (full text, mbox, link).


Changed Bug title to `libgda2-freetds builds against obsolete lib; replace with libgda2-sybase' from `libgda3: libgda3-freetds builds against obsolete lib, should be dropped'. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (Sat, 02 Aug 2008 20:18:09 GMT) (full text, mbox, link).


Tags added: patch Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (Sat, 02 Aug 2008 20:18:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, grmontesino@ig.com.br (Gustavo R. Montesino):
Bug#493475; Package libgda2. (full text, mbox, link).


Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to grmontesino@ig.com.br (Gustavo R. Montesino). (full text, mbox, link).


Message #30 received at 493475@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: 493475@bugs.debian.org
Subject: Re: gda2-freetds builds against obsolete lib; replace with libgda2-sybase
Date: Sun, 3 Aug 2008 00:13:01 -0700
[Message part 1 (text/plain, inline)]
tags 493475 fixed
thanks

NMU diff attached.

Cheers,
-- 
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/
slangasek@ubuntu.com                                     vorlon@debian.org
[libgda2-493475.diff (text/x-diff, attachment)]

Tags added: fixed Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (Sun, 03 Aug 2008 07:15:03 GMT) (full text, mbox, link).


Tags added: pending Request was from Anibal Monsalve Salazar <anibal@debian.org> to control@bugs.debian.org. (Sun, 03 Aug 2008 08:06:03 GMT) (full text, mbox, link).


Reply sent to Steve Langasek <vorlon@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Steve Langasek <vorlon@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #39 received at 493475-close@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: 493475-close@bugs.debian.org
Subject: Bug#493475: fixed in libgda2 1.2.4-1.1
Date: Mon, 04 Aug 2008 02:01:57 +0000
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 493475@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve Langasek <vorlon@debian.org> (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 ftpmaster@debian.org)


-----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 <grmontesino@ig.com.br>
Changed-By: Steve Langasek <vorlon@debian.org>
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-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 02 Sep 2008 07:32:28 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:41:55 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.