NetBSD Problem Report #58199

From www@netbsd.org  Fri Apr 26 15:12:57 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 4573B1A923B
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 26 Apr 2024 15:12:57 +0000 (UTC)
Message-Id: <20240426151255.D22A11A923C@mollari.NetBSD.org>
Date: Fri, 26 Apr 2024 15:12:55 +0000 (UTC)
From: schaecsn@gmx.net
Reply-To: schaecsn@gmx.net
To: gnats-bugs@NetBSD.org
Subject: sysutils/lsof does not build on NetBSD 9.4
X-Send-Pr-Version: www-1.0

>Number:         58199
>Category:       pkg
>Synopsis:       sysutils/lsof does not build on NetBSD 9.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 26 15:15:00 +0000 2024
>Closed-Date:    Fri Apr 26 15:37:46 +0000 2024
>Last-Modified:  Sun Apr 28 01:25:03 +0000 2024
>Originator:     Stefan Schaeckeler
>Release:        pkgsrc-2024Q1
>Organization:
>Environment:
NetBSD netbsd09 9.4 NetBSD 9.4 (GENERIC) #0: Wed Apr 24 10:49:42 PDT 2024  schaecsn@netbsd09:/mnt/hdb1/netbsd/obj/sys/arch/amd64/compile/GENERIC amd64

>Description:
patch-ag needs to be updated to recognize NetBSD 9.4

>How-To-Repeat:

>Fix:
Index: sysutils/lsof/patches/patch-ag
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/lsof/patches/patch-ag,v
retrieving revision 1.13
diff -u -p -r1.13 patch-ag
--- sysutils/lsof/patches/patch-ag      13 Jan 2023 23:46:22 -0000      1.13
+++ sysutils/lsof/patches/patch-ag      26 Apr 2024 12:43:15 -0000
@@ -68,7 +68,7 @@ not NetBSD 1.6.
 +      LSOF_TSTBIGF=" "
 +      LSOF_VERS="8099000"
 +      ;;
-+      9.[0123]*)
++      9.[01234]*)
 +      LSOF_TSTBIGF=" "
 +      LSOF_VERS="9000000"
 +      ;;

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Fri, 26 Apr 2024 15:37:46 +0000
State-Changed-Why:
Fixed, thanks.


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58199 CVS commit: pkgsrc/sysutils/lsof
Date: Fri, 26 Apr 2024 15:37:31 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Fri Apr 26 15:37:31 UTC 2024

 Modified Files:
 	pkgsrc/sysutils/lsof: distinfo
 	pkgsrc/sysutils/lsof/patches: patch-ag

 Log Message:
 lsof: allow building on newer 8.x and 9.x

 Fixes PR 58199 by Stefan Schaeckeler.


 To generate a diff of this commit:
 cvs rdiff -u -r1.104 -r1.105 pkgsrc/sysutils/lsof/distinfo
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/sysutils/lsof/patches/patch-ag

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

From: "David H. Gutteridge" <gutteridge@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58199 CVS commit: pkgsrc/sysutils/lsof
Date: Sun, 28 Apr 2024 01:24:08 +0000

 Module Name:	pkgsrc
 Committed By:	gutteridge
 Date:		Sun Apr 28 01:24:08 UTC 2024

 Modified Files:
 	pkgsrc/sysutils/lsof: distinfo
 	pkgsrc/sysutils/lsof/patches: patch-ag

 Log Message:
 lsof: fix builds on NetBSD 8.x and 9.x

 patch-ag r. 1.14 introduced incorrect patterns that broke builds.
 (Formal releases since 8.x do not include a "patch level"/"teeny"
 number, and the change also failed to match releases with "_STABLE"
 or "_RCx".) Addresses PR 58199 from Stefan Schaeckeler.


 To generate a diff of this commit:
 cvs rdiff -u -r1.105 -r1.106 pkgsrc/sysutils/lsof/distinfo
 cvs rdiff -u -r1.14 -r1.15 pkgsrc/sysutils/lsof/patches/patch-ag

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.