Bug#329526: libdbd-sybase-perl / DBD::Sybase

2009-09-25 Thread Raphael Descamps
 Ah, clearly you have done *zero* testing with this package, because
 DBD-Sybase 1.09 fails to build at all with FreeTDS 0.82.

I have not made intensiv testing but the following patch allows
DBD-Sybase-1.09 to build.

The mainstream maintainer don't seems to test with freetds libraries at
all, since the last version able to build on debian is
DBD-Sybase-1.04.  

For 1.05 an Experimental Bulk-Load Functionality was added, and since
that time the build don't work if you don't have the Sybase SDK
installed.
The makefile try to disable the functionality if libblk.a is not found
at builtime but don't do it correctly because the Header files delivered
with freetds-dev don't have BLK_VERSION_120/125/150 correctly
defined.   
The following proposed patch try to disable the Bulk-Load functionality
correctly.

Anyway the heuristic to look at libblk.a at built time is broken because
as far as I anderstand it, new version of freetds is now having this
functionality but don't have a libblk.a file.

I will fill a bugreport upstream and try to have it tested...

--- dbdimp.c2009-09-25 15:23:41.0 +0200
+++ dbdimp.c.orig   2009-09-25 17:50:28.0 +0200
@@ -772,7 +772,6 @@
if (retcode != CS_SUCCEED)
croak(DBD::Sybase initialize: cs_ctx_alloc(%d) failed, 
cs_ver);
 
-#if !defined(NO_BLK)
 #if defined(CS_VERSION_150)
if(cs_ver == CS_VERSION_150)
BLK_VERSION = BLK_VERSION_150;
@@ -789,7 +788,6 @@
if(cs_ver == CS_VERSION_110)
BLK_VERSION = BLK_VERSION_110;
 #endif
-#endif
if (cs_ver == CS_VERSION_100)
BLK_VERSION = BLK_VERSION_100;
-- 

Bye, Raphael.
-- 
Raphael Descamps
Linux Hosting Backend Solutions
Master of ShaHoLin and Cash Cow Milker
   11 Internet AG
phone://49.721.91374.0 Brauerstrasse 48
fax://49.721.91374.225 76135 Karlsruhe

Amtsgericht Montabaur HRB 6484 * Vorstand: Henning Ahlert, Ralph Dommermuth, 
Matthias Ehrlich, Andreas Gauger, Thomas Gottschlich, Matthias Greve, Robert 
Hoffmann, Markus Huhn, Achim Weiss
* Aufsichtsratsvorsitzender: Michael Scheeren




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#329526: libdbd-sybase-perl / DBD::Sybase

2009-07-05 Thread Jonathan Yu
Hi:

Here is the CHANGES file entries for DBD-Sybase 1.09 down to the
current version, 1.00. There are various updates including fixes
involving memory leaks; it might even close some of the many other
outstanding bugs on the tracker (from over 6 years ago!)

Again, please, let us know how you would like to proceed from here.
It's your package and I really don't want to try to hijack it from
you, but the new versions have lots of changes that would be extremely
useful to incorporate in the libdbd-sybase-perl package for Debian
users.

If you are willing to upgrade your package (or give me some indication
of why you do not), or if you are willing to orphan the package under
the pkg-perl group -- any of those would be great. Please let me know
what next steps are.

Release 1.09

Behavior change: A new connection level attribute (syb_disconnect_in_child)
has been added to allow automatical handling of InactiveDestroy across
forks. By default in 1.09 a connection will NOT get closed if the process
ID of the process that is exiting is not the same as the PID of the
process that created the connection.
Detect ASE error 5702 (The server is terminating this process) as a fatal
error for the connection.

Bug Fixes

645 - Spurious COMMIT calls sent to the dataserver during the
login/connect calls.
628 - Increase size of Kerberos Principal string buffer
627 - Spurious sigset_t declaration.

Release 1.08

Detect missing libblk.a library, and disable the BLK api calls
if necessary.
Added code to force dlopen() to use RTLD_GLOBAL.
Corrected ct_option() functionality detection.
Fixed incorrect handling of bind_params() (Thanks to Tim Bunce).
Added serverType DSN parameter.
Added tds_keepalive DSN parameter.
Fixed incorrect handling of multiple result sets with DBI
1.53 and later.
Re-wrote $dbh-ping() in C, it's now four times faster.
Allow automated build without prompts.
Improved nsql().
Added corrected handling of DATE and TIME values (ASE 12.5.2 and later).
Added handling of UNSIGNED INT and BIGINT (ASE 15 and later).
Added PERL_NO_GET_CONTEXT #define.

Bug Fixes

624 - Empty strings incorrectly passed as NULL.
616 - Spurious error message when the login request times out.
614 - Documentation improvement for syb_xxx methods.
610 - Segfault when using signals with the threaded libraries and
  perl = 5.8.


Release 1.07

Changed the t/xblk.t test to lookup the charset used by the
server and specify this in the connect() string. This should
avoid failures when the client and server uses charsets of
different sizes (utf8 vs. iso_1, for example).
Better error reporting when the connection data is incorrect
for the test scripts.
Modified $dbh-ping() slightly.

Bug Fixes

604 - Add missing mode parameter to mkdir in t/xblob.t
606 - Memory leak in the BLK API.

Release 1.06

Fix off-by-one error for ISO date format.
Clear error/warning when connecting to a Replication Server.
Fix AutoCommit off behavior when CHAINED mode is turned off.
Fix $dbh-begin_work() behavior.

Note: This version fails 4 tests in t/xblk.t when building
against the 15.0 Beta OCS libraries.

Bug Fixes

582 - ISO date formatting off by one for months.
591 - NUM_OF_PARAMS isn't handled properly
593 - Connection can become unusable due a bug in
  get_server_version().
597 - Prepared stored procs with placeholders return
  corrupted recordset on second fetch.
599 - The call to prepare also executes the statement.
600 - $sth-finish sometimes fails to properly clean up the
  handle.

Release 1.05

BEHAVIOR CHANGE - $dbh-{LongReadLen} must now be called
before $dbh-prepare(). Previously you could call this after
the $dbh-prepare() but before the $sth-execute().

Install private statement handle methods for TEXT/IMAGE handling
to avoid $h-func() calls, and update documentation.
Implement experimental BLK API via prepare/execute loop.
Change default AutoCommit off mode from explicit transactions
to using the chained mode if it is available.
Add $sth-syb_describe() call, taken from Sybase::CTlib's
ct_describe().
Add ISO8601 date/time format for output.
Fix $sth-finish() behavior when syb_flush_finish is turned on.
Changed do { } while($sth-{syb_more_results}); idiom to use
redo instead.
Better/more consistent handling of multiple sth on a single dbh,
and new test file.

Bugs Fixed:

580 - Binding binary/varbinary values to placeholders sometimes
  fails.
575 - Fails 

Bug#329526: libdbd-sybase-perl / DBD::Sybase

2009-07-04 Thread Jonathan Yu
Steve:

Please reply to this message to let me know what's going on, or
release the updated version. Otherwise I'll assume you're MIA (even
though I see you quite often on the mailing lists) and just release an
NMU release. I'd prefer not to do that, though, and would like you to
either orphan the package or upgrade it yourself.

I've added a relevant bug report this time, which was filed 3 years
ago by rafl for an upgrade. The bug is still open.

Thanks in advance.

Cheers,

Jonathan

On Wed, Jul 1, 2009 at 11:04 AM, Jonathan Yujonathan.i...@gmail.com wrote:
 Hi Steve:

 The version of libdbd-sybase-perl is pretty old -- version 1.00, which
 is not even available on CPAN anymore. The newest version is 1.09.
 Please upgrade it at your nearest convenience, or consider orphaning
 it.

 If you're no longer interested in maintaining this module, the
 pkg-perl team would like to maintain this package under our group.

 Thanks for your (many) contributions to Debian :-)

 Cheers,

 Jonathan




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#329526: libdbd-sybase-perl / DBD::Sybase

2009-07-04 Thread Steve Langasek
On Sat, Jul 04, 2009 at 10:51:23AM -0400, Jonathan Yu wrote:

 Please reply to this message to let me know what's going on, or
 release the updated version. Otherwise I'll assume you're MIA

That's not what MIA means.

 (even though I see you quite often on the mailing lists) and just release
 an NMU release.

For a wishlist bug:  no, you won't.

-- 
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 Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#329526: libdbd-sybase-perl / DBD::Sybase

2009-07-04 Thread Jonathan Yu
Well, how should we proceed? I would just like Debian to have an up to
date Sybase driver. I am willing to help upgrade it and would love to
adopt it under pkg-perl

On 7/4/09, Steve Langasek vor...@debian.org wrote:
 On Sat, Jul 04, 2009 at 10:51:23AM -0400, Jonathan Yu wrote:

 Please reply to this message to let me know what's going on, or
 release the updated version. Otherwise I'll assume you're MIA

 That's not what MIA means.

 (even though I see you quite often on the mailing lists) and just release
 an NMU release.

 For a wishlist bug:  no, you won't.

 --
 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 Developerhttp://www.debian.org/
 slanga...@ubuntu.com vor...@debian.org


-- 
Sent from Gmail for mobile | mobile.google.com



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org