NetBSD Problem Report #58332

From www@netbsd.org  Mon Jun 10 03:39:50 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)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A4D471A9238
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 10 Jun 2024 03:39:50 +0000 (UTC)
Message-Id: <20240610033948.DBFF51A923A@mollari.NetBSD.org>
Date: Mon, 10 Jun 2024 03:39:48 +0000 (UTC)
From: rwhitlock22@gmail.com
Reply-To: rwhitlock22@gmail.com
To: gnats-bugs@NetBSD.org
Subject: textproc/json-c outdated PLIST with option doc
X-Send-Pr-Version: www-1.0

>Number:         58332
>Category:       pkg
>Synopsis:       textproc/json-c outdated PLIST with option doc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 10 03:40:00 +0000 2024
>Closed-Date:    Mon Jun 10 06:16:25 +0000 2024
>Last-Modified:  Mon Jun 10 06:20:01 +0000 2024
>Originator:     Robert Whitlock
>Release:        pkgsrc current, June 5 2024
>Organization:
>Environment:
NetBSD thinkpad 10.0_STABLE NetBSD 10.0_STABLE (GENERIC) #0: Sun May  5 15:20:02 EDT 2024  rob@thinkpad:/usr/netbsd/10.0/build/generic/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
When the doc option is enabled, textproc/json-c fails when checking the PLIST. It succeeds when the doc option is not enabled.

I changed the PLIST according to the suggestions in the error output (patch below) and the installed docs seem to work, but some of the files that were listed as "in the PLIST but not in the destdir" (for example, menu.js) actually are present in the work dir, and it's not clear to me whether or not that is an error and they should be included in the install.
>How-To-Repeat:
Enable the doc option in your mk.conf.
Try to install textproc/json-c.
>Fix:
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/json-c/PLIST,v
retrieving revision 1.10
diff -u -r1.10 PLIST
--- PLIST	24 Aug 2023 09:23:14 -0000	1.10
+++ PLIST	10 Jun 2024 02:16:32 -0000
@@ -27,21 +27,15 @@
 ${PLIST.doc}share/doc/json-c/html/annotated.html
 ${PLIST.doc}share/doc/json-c/html/arraylist_8h.html
 ${PLIST.doc}share/doc/json-c/html/bc_s.png
-${PLIST.doc}share/doc/json-c/html/bc_sd.png
 ${PLIST.doc}share/doc/json-c/html/bdwn.png
 ${PLIST.doc}share/doc/json-c/html/classes.html
 ${PLIST.doc}share/doc/json-c/html/closed.png
 ${PLIST.doc}share/doc/json-c/html/deprecated.html
 ${PLIST.doc}share/doc/json-c/html/dir_b62156a74b5a818be0c2ef9f85294b95.html
-${PLIST.doc}share/doc/json-c/html/doc.png
-${PLIST.doc}share/doc/json-c/html/docd.png
 ${PLIST.doc}share/doc/json-c/html/doxygen.css
 ${PLIST.doc}share/doc/json-c/html/doxygen.png
-${PLIST.doc}share/doc/json-c/html/doxygen.svg
 ${PLIST.doc}share/doc/json-c/html/dynsections.js
 ${PLIST.doc}share/doc/json-c/html/files.html
-${PLIST.doc}share/doc/json-c/html/folderclosed.png
-${PLIST.doc}share/doc/json-c/html/folderopen.png
 ${PLIST.doc}share/doc/json-c/html/ftv2blank.png
 ${PLIST.doc}share/doc/json-c/html/ftv2cl.png
 ${PLIST.doc}share/doc/json-c/html/ftv2doc.png
@@ -61,18 +55,16 @@
 ${PLIST.doc}share/doc/json-c/html/functions.html
 ${PLIST.doc}share/doc/json-c/html/functions_vars.html
 ${PLIST.doc}share/doc/json-c/html/globals.html
+${PLIST.doc}share/doc/json-c/html/globals_0x69.html
 ${PLIST.doc}share/doc/json-c/html/globals_0x6a.html
 ${PLIST.doc}share/doc/json-c/html/globals_0x6c.html
 ${PLIST.doc}share/doc/json-c/html/globals_0x70.html
 ${PLIST.doc}share/doc/json-c/html/globals_0x73.html
+${PLIST.doc}share/doc/json-c/html/globals_0x75.html
 ${PLIST.doc}share/doc/json-c/html/globals_defs.html
 ${PLIST.doc}share/doc/json-c/html/globals_enum.html
 ${PLIST.doc}share/doc/json-c/html/globals_eval.html
 ${PLIST.doc}share/doc/json-c/html/globals_func.html
-${PLIST.doc}share/doc/json-c/html/globals_j.html
-${PLIST.doc}share/doc/json-c/html/globals_l.html
-${PLIST.doc}share/doc/json-c/html/globals_p.html
-${PLIST.doc}share/doc/json-c/html/globals_s.html
 ${PLIST.doc}share/doc/json-c/html/globals_type.html
 ${PLIST.doc}share/doc/json-c/html/globals_vars.html
 ${PLIST.doc}share/doc/json-c/html/index.html
@@ -80,13 +72,16 @@
 ${PLIST.doc}share/doc/json-c/html/issues__closed__for__0_814_8md.html
 ${PLIST.doc}share/doc/json-c/html/issues__closed__for__0_815_8md.html
 ${PLIST.doc}share/doc/json-c/html/issues__closed__for__0_816_8md.html
+${PLIST.doc}share/doc/json-c/html/issues__closed__for__0_817_8md.html
 ${PLIST.doc}share/doc/json-c/html/jquery.js
 ${PLIST.doc}share/doc/json-c/html/json_8h.html
 ${PLIST.doc}share/doc/json-c/html/json__c__version_8h.html
 ${PLIST.doc}share/doc/json-c/html/json__inttypes_8h.html
 ${PLIST.doc}share/doc/json-c/html/json__object_8h.html
 ${PLIST.doc}share/doc/json-c/html/json__object__iterator_8h.html
+${PLIST.doc}share/doc/json-c/html/json__patch_8h.html
 ${PLIST.doc}share/doc/json-c/html/json__pointer_8h.html
+${PLIST.doc}share/doc/json-c/html/json__pointer__private_8h.html
 ${PLIST.doc}share/doc/json-c/html/json__tokener_8h.html
 ${PLIST.doc}share/doc/json-c/html/json__types_8h.html
 ${PLIST.doc}share/doc/json-c/html/json__util_8h.html
@@ -94,25 +89,17 @@
 ${PLIST.doc}share/doc/json-c/html/linkhash_8h.html
 ${PLIST.doc}share/doc/json-c/html/md_README.html
 ${PLIST.doc}share/doc/json-c/html/md_issues_closed_for_0.html
-${PLIST.doc}share/doc/json-c/html/md_issues_closed_for_0_13.html
-${PLIST.doc}share/doc/json-c/html/md_issues_closed_for_0_14.html
-${PLIST.doc}share/doc/json-c/html/md_issues_closed_for_0_15.html
-${PLIST.doc}share/doc/json-c/html/md_issues_closed_for_0_16.html
-${PLIST.doc}share/doc/json-c/html/menu.js
-${PLIST.doc}share/doc/json-c/html/menudata.js
 ${PLIST.doc}share/doc/json-c/html/nav_f.png
-${PLIST.doc}share/doc/json-c/html/nav_fd.png
 ${PLIST.doc}share/doc/json-c/html/nav_g.png
 ${PLIST.doc}share/doc/json-c/html/nav_h.png
-${PLIST.doc}share/doc/json-c/html/nav_hd.png
 ${PLIST.doc}share/doc/json-c/html/open.png
 ${PLIST.doc}share/doc/json-c/html/pages.html
 ${PLIST.doc}share/doc/json-c/html/printbuf_8h.html
-${PLIST.doc}share/doc/json-c/html/splitbar.png
-${PLIST.doc}share/doc/json-c/html/splitbard.png
 ${PLIST.doc}share/doc/json-c/html/structarray__list.html
 ${PLIST.doc}share/doc/json-c/html/structjson__object__iter.html
 ${PLIST.doc}share/doc/json-c/html/structjson__object__iterator.html
+${PLIST.doc}share/doc/json-c/html/structjson__patch__error.html
+${PLIST.doc}share/doc/json-c/html/structjson__pointer__get__result.html
 ${PLIST.doc}share/doc/json-c/html/structjson__tokener.html
 ${PLIST.doc}share/doc/json-c/html/structjson__tokener__srec.html
 ${PLIST.doc}share/doc/json-c/html/structlh__entry.html
@@ -121,11 +108,7 @@
 ${PLIST.doc}share/doc/json-c/html/sync_off.png
 ${PLIST.doc}share/doc/json-c/html/sync_on.png
 ${PLIST.doc}share/doc/json-c/html/tab_a.png
-${PLIST.doc}share/doc/json-c/html/tab_ad.png
 ${PLIST.doc}share/doc/json-c/html/tab_b.png
-${PLIST.doc}share/doc/json-c/html/tab_bd.png
 ${PLIST.doc}share/doc/json-c/html/tab_h.png
-${PLIST.doc}share/doc/json-c/html/tab_hd.png
 ${PLIST.doc}share/doc/json-c/html/tab_s.png
-${PLIST.doc}share/doc/json-c/html/tab_sd.png
 ${PLIST.doc}share/doc/json-c/html/tabs.css

>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/58332: textproc/json-c outdated PLIST with option doc
Date: Mon, 10 Jun 2024 08:13:40 +0200

 On Mon, Jun 10, 2024 at 03:40:00AM +0000, rwhitlock22@gmail.com wrote:
 > >Synopsis:       textproc/json-c outdated PLIST with option doc

 I just tried it locally, and with all packages in pkgsrc up-to-date,
 the PLIST is correct with me without changes.

 What version of doxygen do you have installed?
 Could anything else be outdated on your system?
  Thomas

From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/58332: textproc/json-c outdated PLIST with option doc
Date: Mon, 10 Jun 2024 08:14:13 +0200

 I take that back - I didn't have the doc option enabled.
  Thomas

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 10 Jun 2024 06:16:25 +0000
State-Changed-Why:
Fixed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58332 CVS commit: pkgsrc/textproc/json-c
Date: Mon, 10 Jun 2024 06:16:04 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Mon Jun 10 06:16:04 UTC 2024

 Modified Files:
 	pkgsrc/textproc/json-c: PLIST options.mk

 Log Message:
 json-c: fix PLIST for doc option

 From Robert Whitlock in PR 58332.


 To generate a diff of this commit:
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/json-c/PLIST
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/json-c/options.mk

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