Subject: pkg/31008: pkgsrc/misc/buffer fails build on MacOS X 10.4
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dlg@dorkzilla.org>
List: pkgsrc-bugs
Date: 08/17/2005 22:52:01
>Number:         31008
>Category:       pkg
>Synopsis:       pkgsrc/misc/buffer fails build on MacOS X 10.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 17 22:52:00 +0000 2005
>Originator:     david l goodrich
>Release:        Macintosh OS X 10.4.2
>Organization:
>Environment:
Darwin elektra.local 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh powerpc

>Description:
elektra:/usr/pkgsrc/misc/buffer dlg$ bmake
===> Checking for vulnerabilities in buffer-1.17
===> Building for buffer-1.17
gcc -pipe -O -no-cpp-precomp -c buffer.c
buffer.c:120: error: conflicting types for 'shmat'
/usr/include/sys/shm.h:175: error: previous declaration of 'shmat' was here
buffer.c: In function 'buffer_allocate':
buffer.c:472: warning: incompatible implicit declaration of built-in function 'bzero'
buffer.c: In function 'fill_block':
buffer.c:636: warning: incompatible implicit declaration of built-in function 'bzero'
buffer.c: In function 'byee':
buffer.c:802: warning: incompatible implicit declaration of built-in function 'exit'
buffer.c:806: warning: incompatible implicit declaration of built-in function 'exit'
*** Error code 1

Stop.
bmake: stopped in /Volumes/local/pkgsrc/misc/buffer/work/buffer-1.17
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/buffer
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /Volumes/local/pkgsrc/misc/buffer/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/buffer
elektra:/usr/pkgsrc/misc/buffer dlg$


>How-To-Repeat:

>Fix: