NetBSD Problem Report #13017

Received: (qmail 28046 invoked from network); 23 May 2001 18:08:32 -0000
Message-Id: <200105231810.f4NIA2w10415@hubba.boogers.sf.ca.us>
Date: Wed, 23 May 2001 11:10:02 -0700 (PDT)
From: Jeff Rizzo <riz@boogers.sf.ca.us>
Reply-To: riz@boogers.sf.ca.us
To: gnats-bugs@gnats.netbsd.org
Subject: devel/libgetopt does not build under Solaris 8
X-Send-Pr-Version: 3.95

>Number:         13017
>Category:       pkg
>Synopsis:       devel/libgetopt package does not build under Solaris 8
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 23 18:09:00 +0000 2001
>Closed-Date:    Sun Jul 29 05:23:56 +0000 2001
>Last-Modified:  Sun Jul 29 05:23:56 +0000 2001
>Originator:     Jeff Rizzo
>Release:        pkgsrc as of 20010523
>Organization:
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz
>Environment:

System: SunOS butthead 5.8 Generic_108528-03 sun4u sparc SUNW,UltraAX-i2
Architecture: sun4u
Machine: sparc
>Description:
	Building the libgetopt package under solaris fails as follows:

# bmake
=> Checksum OK for getopt_long.c-1.3.
=> Checksum OK for getopt_long.3-1.3.
===> Extracting for libgetopt-1.3
/usr/bin/cp /usr/pkgsrc/devel/libgetopt/files/getopt.h /usr/pkgsrc/devel/libgetopt/work/libgetopt
/usr/bin/cp /usr/pkgsrc/devel/libgetopt/files/namespace.h /usr/pkgsrc/devel/libgetopt/work/libgetopt
/usr/bin/cp /usr/pkgsrc/devel/libgetopt/files/shlib_version /usr/pkgsrc/devel/libgetopt/work/libgetopt
/usr/bin/cp /usr/pkgsrc/devel/libgetopt/files/Makefile.libgetopt /usr/pkgsrc/devel/libgetopt/work/libgetopt/Makefile
/usr/bin/mv /usr/pkgsrc/devel/libgetopt/work/libgetopt/getopt_long.c-1.3 /usr/pkgsrc/devel/libgetopt/work/libgetopt/getopt_long.c
/usr/bin/mv /usr/pkgsrc/devel/libgetopt/work/libgetopt/getopt_long.3-1.3 /usr/pkgsrc/devel/libgetopt/work/libgetopt/getopt_long.3
===> Patching for libgetopt-1.3
===> Configuring for libgetopt-1.3
===> Building for libgetopt-1.3
lint -chapbxzF  -i getopt_long.c
lint: not found
*** Error code 1

Stop.


Looking into it, it seems that CPPFLAGS is not being set appropriately...
I couldn't figure out why, because it all looked OK to me.


>How-To-Repeat:
	Attempt to build libgetopt on a Solaris 8 system.  I have no idea
whether it's a problem under any other solaris verion.

>Fix:
	Unknown at this time.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: wiz 
State-Changed-When: Mon Jul 23 15:52:43 PDT 2001 
State-Changed-Why:  
I just committed some patches (from Stoned Elipot) that should fix the 
problem -- could you please confirm that? 
State-Changed-From-To: feedback->closed 
State-Changed-By: tron 
State-Changed-When: Sat Jul 28 22:23:07 PDT 2001 
State-Changed-Why:  
The package builds and installs fine on my Solaris system now, too. 
>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.