NetBSD Problem Report #13021

Received: (qmail 5019 invoked from network); 23 May 2001 23:26:53 -0000
Message-Id: <200105232328.f4NNSNC13100@hubba.boogers.sf.ca.us>
Date: Wed, 23 May 2001 16:28:23 -0700 (PDT)
From: Jeff Rizzo <riz@boogers.sf.ca.us>
Reply-To: riz@boogers.sf.ca.us
To: gnats-bugs@gnats.netbsd.org
Subject: postgresql-lib does not build on Solaris 8
X-Send-Pr-Version: 3.95

>Number:         13021
>Category:       pkg
>Synopsis:       postgresql-lib does not build on Solaris 8
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 23 23:27:03 +0000 2001
>Closed-Date:    Sun Jul 29 17:11:41 +0000 2001
>Last-Modified:  Sun Jul 29 17:11:41 +0000 2001
>Originator:     Jeff Rizzo
>Release:        pkgsrc as of 20010523
>Organization:
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz
>Environment:
System: SunOS butthead 5.8 Generic_108528-03 sun4u sparc SUNW,UltraAX-i2
Architecture: sun4u
Machine: sparc
>Description:

	The attempt to build postgresql fails in postgresql-lib.  There
seems to be a conflict between the "des.h" include file installed by
openssl, and the "crypt.h" file which comes with Solaris:

gmake[2]: Entering directory `/usr/pkgsrc/databases/postgresql-lib/work/postgresql-7.1.1/src/interfaces/libpq'
gcc -O2 -I/usr/pkgsrc/databases/postgresql-lib/work/include -L/usr/pkgsrc/databases/postgresql-lib/work/lib -I/usr/pkgsrc/databases/postgresql-lib/work/include -L/usr/pkgsrc/databases/postgresql-lib/work/lib -Wall -Wmissing-prototypes -Wmissing-declarations -O2 -I/usr/pkgsrc/databases/postgresql-lib/work/include -L/usr/pkgsrc/databases/postgresql-lib/work/lib -I/usr/pkgsrc/databases/postgresql-lib/work/include -L/usr/pkgsrc/databases/postgresql-lib/work/lib -fPIC -I. -I../../../src/include -I/usr/pkgsrc/databases/postgresql-lib/work/include  -I/usr/pkg/include -DFRONTEND -DSYSCONFDIR='"/usr/pkg/etc/postgresql"'  -c -o fe-auth.o fe-auth.c
In file included from fe-auth.c:50:
/usr/include/crypt.h:23: conflicting types for `des_encrypt'
/usr/pkg/include/openssl/des.h:150: previous declaration of `des_encrypt'
gmake[2]: *** [fe-auth.o] Error 1


I am unsure how to resolve this.

>How-To-Repeat:
	Attempt to compile the postgresql-lib package using Zoularis on
a Solaris 8 box.  (Unknown whether this affects other solaris versions)

>Fix:
	Unknown at this time.
>Release-Note:
>Audit-Trail:

From: Jeff Rizzo <riz@boogers.sf.ca.us>
To: gnats-bugs@netbsd.org
Cc:  
Subject: pkg/13021
Date: Thu, 24 May 2001 08:23:42 -0700

 Further investigation reveals that this is because the pkgsrc version of
 openssl is 0.9.6;  apparently, there is a fix in 0.9.6a for this problem.

State-Changed-From-To: open->analyzed 
State-Changed-By: tron 
State-Changed-When: Tue Jul 10 08:33:29 PDT 2001 
State-Changed-Why:  
An update of the "openssl" package can cause serious problems due to the 
required major library bump. The problem with this package should be 
solved differently. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: tron 
State-Changed-When: Sun Jul 29 10:10:40 PDT 2001 
State-Changed-Why:  
Fixed in revision 1.30 of "pkgsrc/databases/postgresql-lib/Makefile" 
without updateing "openssl". 
>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.