Subject: pkg/32623: apache2 pkgsrc vs system zlib
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 01/25/2006 06:45:00
>Number:         32623
>Category:       pkg
>Synopsis:       apache2 pkgsrc vs system zlib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 25 06:45:00 +0000 2006
>Release:        NetBSD 3.0
System: NetBSD sanctum 3.0 NetBSD 3.0 (SANCTUM) #0: Sun Dec 25 11:35:26 PST 2005 ben@sanctum:/home/ben/src/netbsd/3.0/src/sys/arch/i386/compile/SANCTUM i386
Architecture: i386
Machine: i386
apache2 sometimes prefers pkgsrc zlib over the system zlib.
pkgsrc zlib lacks zutil.h
when the system zlib provides zutil.h, the apache2 build bombs.

In file included from /usr/include/zutil.h:16,
                 from mod_deflate.c:43:
/usr/include/zlib.h:68: redefinition of `struct z_stream_s'
/usr/include/zlib.h:705: conflicting types for `gzwrite'
/mysql/build/current/pkgsrc/www/apache2/work/.buildlink/include/zlib.h:1115: pre
vious declaration of `gzwrite'
in mod_deflate.c