Report information
The Basics
Id:
41147
Status:
resolved
Priority:
Medium/Medium
Queue:

People
Owner:
Nobody in particular
Cc:
AdminCc:

BugTracker
Version Fixed:
9.10.4
Version Found:
(no value)
Versions Affected:
(no value)
Versions Planned:
(no value)
Priority:
P2 Normal
Severity:
S2 Normal
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
BIND Server
Area:
bug

Dates
Created:Wed, 18 Nov 2015 14:43:32 -0500
Updated:Wed, 16 Aug 2017 08:07:47 -0400
Closed:Wed, 18 Nov 2015 19:19:40 -0500



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

Subject: json-c >= 0.11 required by BIND 9.10.3
Date: Wed, 18 Nov 2015 14:43:29 -0500
To: bind9-bugs@isc.org
From: "Robert Edmonds" <edmonds@debian.org>
Hi, This change was implemented in BIND 9.10.3: 4073. [cleanup] Add libjson-c version number reporting to "named -V"; normalize version number formatting. [RT #38056] The corresponding commit is 8262b7708, which adds unconditional references to the JSON_C_VERSION macro and json_c_version() function exposed by the json-c library. However, these identifiers were added relatively recently (apparently, they appeared in json-c version 0.11, released 2013), and are missing in previous versions, which are still somewhat common. E.g., the current stable version of Debian offers json-c 0.11, while the previous stable version of Debian only offers json-c 0.10. Unless there's some technical requirement for requiring json-c >= 0.11 (and I suspect there isn't, otherwise I'd expect the minimum version requirement to be mentioned in the docs), I would suggest making the relevant printf's dependent on both HAVE_JSON and JSON_C_VERSION being defined, rather than only on HAVE_JSON, e.g.: #if (defined(HAVE_JSON) && defined(JSON_C_VERSION)) printf("compiled with libjson-c version: %s\n", JSON_C_VERSION); printf("linked to libjson-c version: %s\n", json_c_version()); #endif (It looks like json-c introduced both the macro and the function at the same time.) Thanks! -- Robert Edmonds edmonds@debian.org
Subject: Re: [ISC-Bugs #41147] json-c >= 0.11 required by BIND 9.10.3
Date: Thu, 19 Nov 2015 07:22:12 +1100
To: bind9-bugs@isc.org
From: "Mark Andrews" <marka@isc.org>
Thanks. Already fixed in next version. In message <rt-4.2.8-18438-1447875812-1353.41147-3-0@isc.org>, "Robert Edmonds via RT" writes: > > Wed Nov 18 19:43:32 2015: Request 41147 was acted upon. > Transaction: Ticket created by edmonds@debian.org > Queue: bind9 > Subject: json-c >= 0.11 required by BIND 9.10.3 > Owner: Nobody > Requestors: edmonds@debian.org > Status: new > Ticket <URL: https://bugs.isc.org/Ticket/Display.html?id=41147 > > ----------------------------------------------------------------------- > > Hi, > > This change was implemented in BIND 9.10.3: > > 4073. [cleanup] Add libjson-c version number reporting to > "named -V"; normalize version number formatting. > [RT #38056] > > The corresponding commit is 8262b7708, which adds unconditional > references to the JSON_C_VERSION macro and json_c_version() function > exposed by the json-c library. However, these identifiers were added > relatively recently (apparently, they appeared in json-c version 0.11, > released 2013), and are missing in previous versions, which are still > somewhat common. E.g., the current stable version of Debian offers > json-c 0.11, while the previous stable version of Debian only offers > json-c 0.10. > > Unless there's some technical requirement for requiring json-c >= 0.11 > (and I suspect there isn't, otherwise I'd expect the minimum version > requirement to be mentioned in the docs), I would suggest making the > relevant printf's dependent on both HAVE_JSON and JSON_C_VERSION being > defined, rather than only on HAVE_JSON, e.g.: > > #if (defined(HAVE_JSON) && defined(JSON_C_VERSION)) > printf("compiled with libjson-c version: %s\n", > JSON_C_VERSION); > printf("linked to libjson-c version: %s\n", > json_c_version()); > #endif > > (It looks like json-c introduced both the macro and the function at the > same time.) > > Thanks! > > -- > Robert Edmonds > edmonds@debian.org > > -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org
Subject: Re: [ISC-Bugs #41147] json-c >= 0.11 required by BIND 9.10.3
Date: Wed, 18 Nov 2015 15:24:25 -0500
To: "Mark Andrews via RT" <bind9-bugs@isc.org>
From: "Robert Edmonds" <edmonds@debian.org>
Mark Andrews via RT wrote: > Thanks. Already fixed in next version. My apologies, I was looking at the v9_10_3 release tag rather than master. Sorry for the noise! -- Robert Edmonds edmonds@debian.org