Subject: pkg/13558: pkg/qpopper fails if gdbm is installed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <darcy@druid.net>
List: netbsd-bugs
Date: 07/26/2001 07:05:25
>Number:         13558
>Category:       pkg
>Synopsis:       pkg/qpopper fails if gdbm is installed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 26 04:03:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     D'Arcy J.M. Cain
>Release:        NetBSD-current July 26, 2001
>Organization:
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.
>Environment:
	
System: NetBSD druid.net 1.5V NetBSD 1.5V (DRUID) #0: Sun Jun 3 08:56:28 EDT 2001 door@druid.net:/usr/src/sys/arch/i386/compile/DRUID i386
Architecture: i386
Machine: i386
>Description:
	If you have gdbm installed, pkg/qpopper fails to build with this error.

cc -c -I.. -I.. -I.  -I../mmangle -I../common -I/usr/include  -DINET6 -DHAVE_CONFIG_H  -DNETBSD -DUNIX popauth.c -o popauth.o
popauth.c: In function `check_db_err':
popauth.c:356: `DBM' undeclared (first use in this function)
popauth.c:356: (Each undeclared identifier is reported only once
popauth.c:356: for each function it appears in.)
popauth.c:356: syntax error before `)'
popauth.c: In function `main':
popauth.c:659: `DBM' undeclared (first use in this function)
popauth.c:659: `db' undeclared (first use in this function)
popauth.c:660: syntax error before `char'
popauth.c:693: `mode' undeclared (first use in this function)
popauth.c:879: `auth_dir' undeclared (first use in this function)
popauth.c:921: incompatible types in assignment
popauth.c:1034: `f' undeclared (first use in this function)
popauth.c:1056: incompatible types in assignment
popauth.c:1097: incompatible types in assignment
popauth.c:1097: incompatible types in assignment
popauth.c:1106: incompatible types in assignment
popauth.c:1183: incompatible types in assignment
popauth.c:1428: `DBM_REPLACE' undeclared (first use in this function)
*** Error code 1

>How-To-Repeat:
	Install gdbm from pkgsrc then try to build mail/qpopper.
>Fix:
	A quick workaround is to simply remove the gdbm package and reinstall it
	after getting qpopper installed.
>Release-Note:
>Audit-Trail:
>Unformatted: