NetBSD Problem Report #15066

Received: (qmail 10814 invoked from network); 27 Dec 2001 19:58:47 -0000
Message-Id: <200112271958.fBRJwUo12562@pc638.statsbiblioteket.dk>
Date: Thu, 27 Dec 2001 20:58:30 +0100 (CET)
From: ebe@statsbiblioteket.dk
Reply-To: ebe@statsbiblioteket.dk
To: gnats-bugs@gnats.netbsd.org
Subject: freetds update to 0.53
X-Send-Pr-Version: 3.95

>Number:         15066
>Category:       pkg
>Synopsis:       freetds update to 0.53
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 27 19:59:00 +0000 2001
>Closed-Date:    Thu Mar 14 23:58:45 +0000 2002
>Last-Modified:  Fri Mar 15 09:50:01 +0000 2002
>Originator:     
>Release:        NetBSD 1.5ZA
>Organization:

>Environment:


System: NetBSD pc638.statsbiblioteket.dk 1.5ZA NetBSD 1.5ZA (PC638) #199: Thu Dec 27 08:30:32 CET 2001 erik@pc638.statsbiblioteket.dk:/home/NetBSD/src/sys/arch/i386/compile/PC638 i386
Architecture: i386
Machine: i386
>Description:
	FreeTDS has been upgraded to version 0.53
	See patch below - Erik Bertelsen
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/databases/freetds/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	2001/06/20 23:42:34	1.6
+++ Makefile	2001/12/27 19:57:41
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.6 2001/06/20 23:42:34 jlam Exp $

-DISTNAME=	freetds-0.51
+DISTNAME=	freetds-0.53
 CATEGORIES=	databases
 MASTER_SITES=	ftp://ftp.metalab.unc.edu/pub/Linux/ALPHA/freetds/
 EXTRACT_SUFX=	.tgz
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/databases/freetds/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST	2001/11/01 00:11:39	1.1
+++ PLIST	2001/12/27 19:57:41
@@ -12,7 +12,9 @@
 freetds/include/syberror.h
 freetds/include/sybfront.h
 freetds/include/tds.h
+freetds/include/tds_configs.h
 freetds/include/tdsconvert.h
+freetds/include/tdsodbc.h
 freetds/include/tdsutil.h
 freetds/include/tdsver.h
 freetds/interfaces
@@ -24,13 +26,18 @@
 freetds/lib/libsybdb.a
 freetds/lib/libsybdb.la
 freetds/lib/libsybdb.so
-freetds/lib/libsybdb.so.0
-freetds/lib/libsybdb.so.0.0
+freetds/lib/libsybdb.so.1
+freetds/lib/libsybdb.so.1.0
 freetds/lib/libtds.a
 freetds/lib/libtds.la
 freetds/lib/libtds.so
 freetds/lib/libtds.so.0
 freetds/lib/libtds.so.0.0
+freetds/lib/libtdssrv.a
+freetds/lib/libtdssrv.la
+freetds/lib/libtdssrv.so
+freetds/lib/libtdssrv.so.0
+freetds/lib/libtdssrv.so.0.0
 @dirrm freetds/lib
 @dirrm freetds/include
 @dirrm freetds
>Release-Note:
>Audit-Trail:

From: "Martin J. Laubach" <mjl@emsi.priv.at>
To: gnats-bugs@netbsd.org
Cc: ebe@statsbiblioteket.dk
Subject: pkg/15066: freetds update to 0.53
Date: Mon, 7 Jan 2002 17:46:58 +0100

   I just tried to update it, and a "make check" fails with

 creating t0006
 make  check-TESTS
 t0001.c: Testing login, logout
 Segmentation fault
 FAIL: t0001
 t0002.c: Test basic submit query, results
 Segmentation fault
 FAIL: t0002
 t0003.c: Testing DB change -- 'use tempdb'
 Segmentation fault
 FAIL: t0003
 t0004.c: Test large (>512 bytes) queries
 Segmentation fault
 FAIL: t0004
 t0005.c: Test large (>512 bytes) replies
 Segmentation fault
 FAIL: t0005
 t0006.c: Test SYBREAL, SYBFLT8 values
 Segmentation fault
 FAIL: t0006
 ===================
 6 of 6 tests failed
 ===================


   Is this a problem with the library or is just the tests that are
 broken?

 	mjl

State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Thu Mar 14 15:58:09 PST 2002 
State-Changed-Why:  
Updated the package to 0.53. 
[Previous version failed all 6 tests, too.] 
Thanks for the PR! 

From: "James K. Lowden" <jklowden@schemamania.org>
To: gnats-bugs@netbsd.org
Cc: Brian Bruns <camber@ais.org>
Subject: pkg/15066
Date: Fri, 15 Mar 2002 00:47:30 -0500

 Regarding 

 http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=15066

 >  creating t0006
 >  make  check-TESTS
 >  t0001.c: Testing login, logout
 >  Segmentation fault
 >  FAIL: t0001
 >  t0002.c: Test basic submit query, results
 >  Segmentation fault
 >  FAIL: t0002
 >  t0003.c: Testing DB change -- 'use tempdb'
 >  Segmentation fault
 >  FAIL: t0003
 >  t0004.c: Test large (>512 bytes) queries
 >  Segmentation fault
 >  FAIL: t0004
 >  t0005.c: Test large (>512 bytes) replies
 >  Segmentation fault
 >  FAIL: t0005
 >  t0006.c: Test SYBREAL, SYBFLT8 values
 >  Segmentation fault
 >  FAIL: t0006
 >  ===================
 >  6 of 6 tests failed
 >  ===================
 >  
 >    Is this a problem with the library or is just the tests that are
 >  broken?

 See the file "PWD" in the root of the FreeTDS source tree.  These tests will fail unless PWD contains valid access information to an available database.  

 FreeTDS 0.53 is the latest released version.  It is known to work on NetBSD and contains many improvements over 0.51.  

 Regards, 

 --jkl


From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
To: "James K. Lowden" <jklowden@schemamania.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/15066
Date: Fri, 15 Mar 2002 10:49:46 +0100

 On Fri, Mar 15, 2002 at 05:48:02AM -0000, James K. Lowden wrote:
 >  >  creating t0006
 >  >  make  check-TESTS
 >  >  t0001.c: Testing login, logout
 >  >  Segmentation fault
 >  >  FAIL: t0001
 >  >  t0002.c: Test basic submit query, results
 >  >  Segmentation fault
 >  >  FAIL: t0002
 >  >  t0003.c: Testing DB change -- 'use tempdb'
 >  >  Segmentation fault
 >  >  FAIL: t0003
 >  >  t0004.c: Test large (>512 bytes) queries
 >  >  Segmentation fault
 >  >  FAIL: t0004
 >  >  t0005.c: Test large (>512 bytes) replies
 >  >  Segmentation fault
 >  >  FAIL: t0005
 >  >  t0006.c: Test SYBREAL, SYBFLT8 values
 >  >  Segmentation fault
 >  >  FAIL: t0006
 >  >  ===================
 >  >  6 of 6 tests failed
 >  >  ===================
 >  >  
 >  >    Is this a problem with the library or is just the tests that are
 >  >  broken?
 >  
 >  See the file "PWD" in the root of the FreeTDS source tree.  These tests will fail unless PWD contains valid access information to an available database.  

 Ok, so that's the reason.
 In my case, I didn't touch, create or modify a PWD file.

 Perhaps the segfaults should be fixed?

 >  FreeTDS 0.53 is the latest released version.  It is known to work on NetBSD and contains many improvements over 0.51.  

 Thanks for the note.
  Thomas

 -- 
 Thomas Klausner - wiz@danbala.tuwien.ac.at
 When all other means of communication fail, try words.
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.