NetBSD Problem Report #54938
From www@netbsd.org Wed Feb 5 00:49:25 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 CD1451A9213
for <gnats-bugs@gnats.NetBSD.org>; Wed, 5 Feb 2020 00:49:24 +0000 (UTC)
Message-Id: <20200205004923.EAEBF1A924D@mollari.NetBSD.org>
Date: Wed, 5 Feb 2020 00:49:23 +0000 (UTC)
From: felipe@felipegasper.com
Reply-To: felipe@felipegasper.com
To: gnats-bugs@NetBSD.org
Subject: /usr/include/unbound.h constants are wrong
X-Send-Pr-Version: www-1.0
>Number: 54938
>Category: lib
>Synopsis: /usr/include/unbound.h constants are wrong
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 05 00:50:00 +0000 2020
>Last-Modified: Sun Jul 25 02:25:02 +0000 2021
>Originator: Felipe Gasper
>Release: 8.1_STABLE
>Organization:
Gasper Software Consulting
>Environment:
NetBSD sdf 8.1_STABLE NetBSD 8.1_STABLE (GENERIC) #0: Wed Sep 11 03:47:45 UTC 2019 root@ol:/sdf/sys/NetBSD-8/sys/arch/amd64/compile/GENERIC amd64
>Description:
#define UNBOUND_VERSION_MAJOR @UNBOUND_VERSION_MAJOR@
#define UNBOUND_VERSION_MINOR @UNBOUND_VERSION_MINOR@
#define UNBOUND_VERSION_MICRO @UNBOUND_VERSION_MICRO@
-----
^^ That appears in /usr/include/unbound.h, which breaks applications that read this value to determine feature support. (In my case, it’s Perl’s DNS::Unbound, a binding of libunbound in Perl.)
>How-To-Repeat:
This appears to be installed with NetBSD. I don’t administer any NetBSD servers, but the admin of another NetBSD machine told me it’s new in v8.0 of the OS.
>Fix:
I’m not exactly sure, but it’s perhaps a problem in whatever packages libunbound for NetBSD’s installation?
>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: lib/54938: /usr/include/unbound.h constants are wrong
Date: Sun, 25 Jul 2021 02:24:12 +0000
On Wed, Feb 05, 2020 at 12:50:00AM +0000, felipe@felipegasper.com wrote:
> #define UNBOUND_VERSION_MAJOR @UNBOUND_VERSION_MAJOR@
> #define UNBOUND_VERSION_MINOR @UNBOUND_VERSION_MINOR@
> #define UNBOUND_VERSION_MICRO @UNBOUND_VERSION_MICRO@
This is fixed in -9. -8 is still supported, but it's not clear it's
worth pursuing this there -- does anyone need the fix in -8 or can we
close the PR?
--
David A. Holland
dholland@netbsd.org
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.