NetBSD Problem Report #7828

Received: (qmail 23121 invoked from network); 21 Jun 1999 15:43:33 -0000
Message-Id: <199906211543.PAA24473@orchard.arlington.ma.us>
Date: Mon, 21 Jun 1999 15:43:28 GMT
From: sommerfeld@orchard.arlington.ma.us (Bill Sommerfeld)
Reply-To: sommerfeld@orchard.arlington.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: siag doesn't build.. missing dependancy on gdbm?
X-Send-Pr-Version: 3.95

>Number:         7828
>Category:       pkg
>Synopsis:       siag doesn't build; botched autoconf handling of ndbm?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 21 08:50:00 +0000 1999
>Closed-Date:    Thu Jun 29 15:30:04 +0000 2000
>Last-Modified:  Thu Jun 29 15:30:04 +0000 2000
>Originator:     Bill Sommerfeld
>Release:        19990621
>Organization:

>Environment:

System: NetBSD orchard.arlington.ma.us 1.4 NetBSD 1.4 (ORCHARDII) #54: Sun May 16 10:05:51 EDT 1999 sommerfeld@orchard.arlington.ma.us:/usr/src/sys/arch/i386/compile/ORCHARDII i386


>Description:

siag includes siod, which fails to build because of an apparent
autoconf botch; HAVE_DBM_PAGFNO is defined in the generated config.h
file but is not defined to anything which can compile.

cc -DHAVE_CONFIG_H -I. -I. -I.. -Dunix -DSIAG  -DNDBM  -Wall -O2 -Dunix -Dunix -c ndbm.c
ndbm.c: In function `ldbm_pagfno':
ndbm.c:155: `DBM_PAGFNO_NOT_AVAILABLE' undeclared (first use in this function)
ndbm.c:155: (Each undeclared identifier is reported only once
ndbm.c:155: for each function it appears in.)
ndbm.c: In function `ldbm_rdonly':
ndbm.c:173: warning: implicit declaration of function `dbm_rdonly'
gmake[2]: *** [ndbm.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/misc/siag/work.i386/siag-3.1.11/siod'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/misc/siag/work.i386/siag-3.1.11'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

>How-To-Repeat:
	try building siag.  maybe it uses gdbm if it's installed on
	the system, but i don't have it installed.
>Fix:
	???

>Release-Note:
>Audit-Trail:

From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/7828: siag doesn't build.. missing dependancy on gdbm?
Date: Tue, 22 Jun 1999 13:58:28 +0200 (MET DST)

 On Mon, 21 Jun 1999, Bill Sommerfeld wrote:
 > cc -DHAVE_CONFIG_H -I. -I. -I.. -Dunix -DSIAG  -DNDBM  -Wall -O2 -Dunix -Dunix -c ndbm.c
 > ndbm.c: In function `ldbm_pagfno':
 > ndbm.c:155: `DBM_PAGFNO_NOT_AVAILABLE' undeclared (first use in this function)
 > ndbm.c:155: (Each undeclared identifier is reported only once
 > ndbm.c:155: for each function it appears in.)
 ...
 > >How-To-Repeat:
 > 	try building siag.  maybe it uses gdbm if it's installed on
 > 	the system, but i don't have it installed.

 Hum, I don't have the gdbm package installed either, so this is probably
 not the case. 

 What's does "grep HAVE_DBM_PAGFNO .../work/siag-3.1.11/config.h" say?
 Should be:

 yui# grep HAVE_DBM_PAGFNO ../config.h 
 /* #undef HAVE_DBM_PAGFNO */

 It seems this got defined somehow on your system...


  - Hubert

 -- 
 NetBSD - Better for your uptime than Viagra

State-Changed-From-To: open->feedback 
State-Changed-By: wiz 
State-Changed-When: Tue Mar 7 05:35:46 PST 2000 
State-Changed-Why:  
I just compiled and ran siag on 1.4.2/i386, and it seemed to work. 
Since siag has been updated to 3.1.20 since your bug-report, could you 
please take a look if your problem's still there? 
State-Changed-From-To: feedback->closed 
State-Changed-By: fair 
State-Changed-When: Wed Jun 28 20:10:09 PDT 2000 
State-Changed-Why:  
no feedback in four months, and it's supposed to be fixed already... 
State-Changed-From-To: closed->feedback 
State-Changed-By: sommerfeld 
State-Changed-When: Wed Jun 28 20:16:40 PDT 2000 
State-Changed-Why:  
just because i haven't responded yet doesn't mean it's ok to close it out 
State-Changed-From-To: feedback->closed 
State-Changed-By: sommerfeld 
State-Changed-When: Thu Jun 29 08:29:46 PDT 2000 
State-Changed-Why:  
Appears to be fixed. 
>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.