NetBSD Problem Report #38054

From martin@duskware.de  Mon Feb 18 14:48:39 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id D134463B90D
	for <gnats-bugs@gnats.netbsd.org>; Mon, 18 Feb 2008 14:48:38 +0000 (UTC)
Message-Id: <20080218143407.7BC5663B293@narn.NetBSD.org>
Date: Mon, 18 Feb 2008 14:34:07 +0000 (UTC)
From: srcshelton@gmail.com
Reply-To: srcshelton@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: misc/watch no longer builds on IRIX
X-Send-Pr-Version: www-1.0

>Number:         38054
>Category:       pkg
>Synopsis:       misc/watch no longer builds on IRIX
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    irix-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 18 14:50:00 +0000 2008
>Closed-Date:    Mon May 18 00:42:59 +0000 2009
>Last-Modified:  Mon May 18 00:42:59 +0000 2009
>Originator:     Stuart Shelton
>Release:        n/a - pkgsrc latest from CVS
>Organization:
>Environment:
IRIX64 octane 6.5 07202013 IP30; MIPSpro Compilers: Version 7.4.4m
>Description:

misc/watch was installed on my system, but was deleted during the "bmake update" process of devel/ncurses.

Now this package cannot be rebuilt, as it uses 'getopt_long' and the nbcompat library on IRIX still doesn't seem to support this (due to IRIX having a non-GNU compatible <getopt.h> system header present?)

This should all be cleared up once nbcompat is adapted/fixed, so this is more a placeholder bug which can be used to check that a future libnbcompat works correctly...
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->irix-pkg-people
Responsible-Changed-By: tnn@narn.netbsd.org
Responsible-Changed-When: Mon, 18 Feb 2008 15:56:34 +0000
Responsible-Changed-Why:
irix bug.
(Will look at as soon as I finished beating my gcc4 bootstrap into 
not ICE'ing.)


From: Tobias Nygren <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/38054 CVS commit: pkgsrc/devel/libgetopt
Date: Fri, 22 Feb 2008 01:27:55 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tnn
 Date:		Fri Feb 22 01:27:55 UTC 2008

 Modified Files:
 	pkgsrc/devel/libgetopt: Makefile
 	pkgsrc/devel/libgetopt/files: getopt.h

 Log Message:
 Update to libgetopt-1.4.3.
 On IRIX, getopt.h is expected to provide extern declarations of optind
 et al. (Not unistd.h) Do it here since we shadow the system header.
 Part of PR pkg/38054


 To generate a diff of this commit:
 cvs rdiff -r1.27 -r1.28 pkgsrc/devel/libgetopt/Makefile
 cvs rdiff -r1.4 -r1.5 pkgsrc/devel/libgetopt/files/getopt.h

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

From: Tobias Nygren <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/38054 CVS commit: pkgsrc/misc/watch
Date: Fri, 22 Feb 2008 02:14:53 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tnn
 Date:		Fri Feb 22 02:14:53 UTC 2008

 Modified Files:
 	pkgsrc/misc/watch: Makefile distinfo
 	pkgsrc/misc/watch/patches: patch-aa
 Removed Files:
 	pkgsrc/misc/watch/patches: patch-ab

 Log Message:
 - merge patch-aa and patch-ab, they patched the same file.
 - Uses asprintf and getopt_long
 This closes PR pkg/38054.


 To generate a diff of this commit:
 cvs rdiff -r1.9 -r1.10 pkgsrc/misc/watch/Makefile
 cvs rdiff -r1.6 -r1.7 pkgsrc/misc/watch/distinfo
 cvs rdiff -r1.3 -r1.4 pkgsrc/misc/watch/patches/patch-aa
 cvs rdiff -r1.2 -r0 pkgsrc/misc/watch/patches/patch-ab

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

State-Changed-From-To: open->feedback
State-Changed-By: tnn@narn.netbsd.org
State-Changed-When: Fri, 22 Feb 2008 02:16:55 +0000
State-Changed-Why:
Can you confirm that the nbcompat issues have been fixed
with the last round of commits?


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 18 May 2009 00:42:59 +0000
State-Changed-Why:
Feedback timeout (> 1 year!)


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