NetBSD Problem Report #58951
From nagae@x270.eagan.jp Wed Jan 1 23:51:55 2025
Return-Path: <nagae@x270.eagan.jp>
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 AFC081A9238
for <gnats-bugs@gnats.NetBSD.org>; Wed, 1 Jan 2025 23:51:55 +0000 (UTC)
Message-Id: <20250101215301.4E1B8F88C@x270.eagan.jp>
Date: Thu, 2 Jan 2025 06:53:01 +0900 (JST)
From: nagae@eagan.jp
Reply-To: nagae@eagan.jp
To: gnats-bugs@NetBSD.org
Subject: lang/nodejs depends on libcares>=1.28.0
X-Send-Pr-Version: 3.95
>Number: 58951
>Category: pkg
>Synopsis: lang/nodejs depends on libcares>=1.28.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gutteridge
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 01 23:55:00 +0000 2025
>Closed-Date: Fri Jan 03 04:11:39 +0000 2025
>Last-Modified: Fri Jan 03 04:11:39 +0000 2025
>Originator: nagae@eagan.jp
>Release: NetBSD 9.3_STABLE + pkgsrc 2025-01-01
>Organization:
Nagae Hidetake nagae@eagan.jp
Nagae Hidetae
>Environment:
System: NetBSD x270.eagan.jp 9.3_STABLE NetBSD 9.3_STABLE (ThinkPadX270) #14: Fri Dec 27 21:16:33 JST 2024 nagae@x270.eagan.jp:/usr/src/sys/arch/amd64/compile/ThinkPadX270 amd64
Architecture: x86_64
Machine: amd64
>Description:
Building lang/nodejs 23.5.0 with older version of net/libcares failed.
It seems libcares>=1.28.0 is required.
libcares 1.19.1:
../src/cares_wrap.h:250:18: error: 'ares_dns_class_t' has not been declared
libcares 1.22.0:
../src/cares_wrap.h:256:22: error: 'ares_query_dnsrec' was not declared in this scope
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->gutteridge
Responsible-Changed-By: gutteridge@NetBSD.org
Responsible-Changed-When: Fri, 03 Jan 2025 04:03:22 +0000
Responsible-Changed-Why:
I'll take this.
From: "David H. Gutteridge" <gutteridge@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/58951 CVS commit: pkgsrc/lang/nodejs
Date: Fri, 3 Jan 2025 04:06:54 +0000
Module Name: pkgsrc
Committed By: gutteridge
Date: Fri Jan 3 04:06:54 UTC 2025
Modified Files:
pkgsrc/lang/nodejs: Makefile.common
Log Message:
nodejs*: reflect minimum libcares 1.28 dependency
As noted by nagae@eagan.jp in PR pkg/58951, nodejs 23.5.0 expects a
newer version of libcares than what we set as its general minimum API
required. Not necessarily relevant for older nodejs versions, but also
harmless to apply universally, given pkgsrc has already moved well past
that version.
To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/lang/nodejs/Makefile.common
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: gutteridge@NetBSD.org
State-Changed-When: Fri, 03 Jan 2025 04:11:39 +0000
State-Changed-Why:
Issue resolved. (I doubt this needs to go into pkgsrc-2024Q4.)
>Unformatted:
(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.