NetBSD Problem Report #31008

From www@netbsd.org  Wed Aug 17 22:51:42 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 91C1A63B116; Wed, 17 Aug 2005 22:51:42 +0000 (UTC)
Message-Id: <20050817225142.91C1A63B116@narn.netbsd.org>
Date: Wed, 17 Aug 2005 22:51:42 +0000 (UTC)
From: dlg@dorkzilla.org
Reply-To: dlg@dorkzilla.org
To: gnats-bugs@netbsd.org
Subject: pkgsrc/misc/buffer fails build on MacOS X 10.4
X-Send-Pr-Version: www-1.0

>Number:         31008
>Category:       pkg
>Synopsis:       pkgsrc/misc/buffer fails build on MacOS X 10.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    darwin-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 17 22:52:00 +0000 2005
>Closed-Date:    Sat Aug 27 20:47:08 +0000 2005
>Last-Modified:  Sun Sep 04 21:32:01 +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:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tron
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Sat, 20 Aug 2005 05:04:22 +0000
Responsible-Changed-Why:
Assigned to maintainer.

This is a problem for other operating systems also.


Responsible-Changed-From-To: tron->darwin-pkg-people
Responsible-Changed-By: tron@netbsd.org
Responsible-Changed-When: Sat, 20 Aug 2005 07:28:48 +0000
Responsible-Changed-Why:
This problem doesn't show up under NetBSD so I cannot verify any fixes.


From: Min Sik Kim <minskim@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/31008 CVS commit: pkgsrc/misc/buffer
Date: Sat, 27 Aug 2005 20:43:40 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	minskim
 Date:		Sat Aug 27 20:43:40 UTC 2005

 Modified Files:
 	pkgsrc/misc/buffer: distinfo
 	pkgsrc/misc/buffer/patches: patch-ac

 Log Message:
 Remove conflicting declaration of shmat.  This fixes PR pkg/31008.


 To generate a diff of this commit:
 cvs rdiff -r1.3 -r1.4 pkgsrc/misc/buffer/distinfo
 cvs rdiff -r1.1 -r1.2 pkgsrc/misc/buffer/patches/patch-ac

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: minskim@netbsd.org
State-Changed-When: Sat, 27 Aug 2005 20:47:08 +0000
State-Changed-Why:
Fixed.  Thank you.


From: david l goodrich <dlg@dorkzilla.org>
To: reed@netbsd.org
Cc: tron@netbsd.org, pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
	gnats-admin@netbsd.org
Subject: Re: pkg/31008
Date: Sat, 20 Aug 2005 01:31:14 -0500

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --Apple-Mail-1-183386585
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


 On Aug 20, 2005, at 12:04 AM, reed@netbsd.org wrote:

 > Synopsis: pkgsrc/misc/buffer fails build on MacOS X 10.4
 >
 > Responsible-Changed-From-To: pkg-manager->tron
 > Responsible-Changed-By: reed@netbsd.org
 > Responsible-Changed-When: Sat, 20 Aug 2005 05:04:22 +0000
 > Responsible-Changed-Why:
 > Assigned to maintainer.
 >
 > This is a problem for other operating systems also.

 actually, the solution at http://lists.amesfug.org/pipermail/amesfug/ 
 2005-August/017712.html works just fine.
    --david



 --Apple-Mail-1-183386585
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (Darwin)

 iD8DBQFDBs47sw9Pt+GRQPURAjOrAJ9CMIRDuFTue2m/wTgwWt1U32aBGACgukbQ
 f9XNFqnf6B+jahzbRZTyzjM=
 =IlIG
 -----END PGP SIGNATURE-----

 --Apple-Mail-1-183386585--

>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.