Subject: pkg/28543: mail/fetchmail doesn't compile on Darwin
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <michael@nosflow.com>
List: pkgsrc-bugs
Date: 12/05/2004 20:21:01
>Number: 28543
>Category: pkg
>Synopsis: mail/fetchmail doesn't compile on Darwin
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 05 20:21:00 +0000 2004
>Originator: michael@nosflow.com
>Release: Darwin 7.6.0
>Organization:
>Environment:
Darwin GizmMac-ether.nosflow.com 7.6.0 Darwin Kernel Version 7.6.0: Sun
Oct 10 12:05:27 PDT 2004; root:xnu/xnu-517.9.4.obj~1/RELEASE_PPC Power
Macintosh powerpc
Architecture: ppc
Machine: macppc
>Description:
Fails to compile:
gcc -pipe -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/pkg/share/locale\" -c -I. -I. -I./intl -I./intl -I/usr/include -I/usr/kerberos/include -O2 -I/usr/include -I/usr/pkg/include etrn.c
gcc -pipe -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/pkg/share/locale\" -c -I. -I. -I./intl -I./intl -I/usr/include -I/usr/kerberos/include -O2 -I/usr/include -I/usr/pkg/include odmr.c
In file included from odmr.c:30:
fetchmail.h:465: error: conflicting types for `lock_release'
/usr/include/mach/lock_set.h:67: error: previous declaration of `lock_release'
*** Error code 1
Stop.
bmake: stopped in
/Volumes/NetBSD/usr/src/pkgsrc/mail/fetchmail/work/fetchmail-6.2.5
>How-To-Repeat:
cd mail/fetchmail;make
>Fix: