Subject: pkg/30004: mail/ezmlm-idx doesn't compile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Wouter Schoot <ascent@schoot.org>
List: pkgsrc-bugs
Date: 04/18/2005 10:03:00
>Number:         30004
>Category:       pkg
>Synopsis:       mail/ezmlm-idx doesn't compile
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 18 10:03:00 +0000 2005
>Originator:     Wouter Schoot <ascent@schoot.org>
>Release:        NetBSD 2.0
>Organization:

>Environment:
	
	
System: NetBSD ascent.student.utwente.nl 2.0 NetBSD 2.0 (ASCENT) #3: Wed Apr 13 16:00:26 CEST 2005 root@ascent.student.utwente.nl:/usr/obj/sys/arch/amd64/compile/ASCENT amd64
Architecture: x86_64
Machine: amd64
>Description:
While making this pkg, I stumbled onto :

chmod 755 compile
./compile ezmlm-archive.c
In file included from ezmlm-archive.c:15:
readwrite.h:4: error: conflicting types for `read'
/usr/include/unistd.h:132: error: previous declaration of `read'
readwrite.h:5: error: conflicting types for `write'
/usr/include/unistd.h:144: error: previous declaration of `write'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/mail/ezmlm-idx/work/ezmlm-idx-0.440
*** Error code 1

The file I used was:
MD5 (./work/ezmlm-idx-0.440/readwrite.h) = 042012b5845e0e2b0743cd01632c557e

>How-To-Repeat:
cd /usr/pkgsrc/mail/ezmlm-idx; make
>Fix:
	

>Unformatted: