Your message dated Sun, 18 Aug 2024 11:35:25 +0000
with message-id <e1sfebx-00e2p4...@fasolo.debian.org>
and subject line Bug#1078033: fixed in opendnssec 1:2.1.13-1.2
has caused the Debian Bug report #1078033,
regarding opendnssec: FTBFS with GCC 14: implicit function declarations
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1078033: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078033
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: opendnssec
Version: 1:2.1.13-1.1
Severity: serious
Tags: patch
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-14

This package fails to build from source on current sid.

   ../../../enforcer/src/utils/kaspcheck.c:101:33: error: implicit declaration 
of function ‘exit’ [-Wimplicit-function-declaration]
     101 |                                 exit(0);
      |                                 ^~~~
   ../../../enforcer/src/utils/kaspcheck.c:35:1: note: include ‘<stdlib.h>’ or 
provide a declaration of ‘exit’

A full build log is at

  
https://perl.debian.net/rebuild-logs/sid/opendnssec_2.1.13-1.1/opendnssec_2.1.13-1.1.buildlog

I'm not sure why this wasn't filed with the other GCC-14 test rebuild
bugs, but it's pretty clearly similar fallout. Usertagging accordingly.

See https://gcc.gnu.org/gcc-14/porting_to.html for information on GCC 14,
including the change that made implicit function declarations hard errors.

Trivial patch attached. Hope it helps.
-- 
Niko Tyni   nt...@debian.org
From: Niko Tyni <nt...@debian.org>
Date: Mon, 5 Aug 2024 21:32:40 +0100
X-Dgit-Generated: 1:2.1.13-1.1 68182ddc5e1c9df86552eee16c5660db08fd380f
Subject: Include stdlib.h for free(), exit() et al.

This fixes build failures with GCC-14, which made
implicit function declarations hard errors.

---

diff --git a/enforcer/src/utils/kaspcheck.c b/enforcer/src/utils/kaspcheck.c
index 9bac3b7..2fefd3c 100644
--- a/enforcer/src/utils/kaspcheck.c
+++ b/enforcer/src/utils/kaspcheck.c
@@ -31,6 +31,10 @@
 
 #include "config.h"
 
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
 #include "kc_helper.h"
 
 #include <libxml/parser.h>
diff --git a/enforcer/src/utils/kc_helper.c b/enforcer/src/utils/kc_helper.c
index 72d181f..f4b9f46 100644
--- a/enforcer/src/utils/kc_helper.c
+++ b/enforcer/src/utils/kc_helper.c
@@ -44,6 +44,10 @@
 #include <libxml/xpathInternals.h>
 #include <libxml/relaxng.h>
 
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
 #define StrFree(ptr) {if(ptr != NULL) {free(ptr); (ptr) = NULL;}}
 
 int kc_helper_printto_stdout = 0;

--- End Message ---
--- Begin Message ---
Source: opendnssec
Source-Version: 1:2.1.13-1.2
Done: Reinhard Tartler <siret...@tauware.de>

We believe that the bug you reported is fixed in the latest version of
opendnssec, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1078...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reinhard Tartler <siret...@tauware.de> (supplier of updated opendnssec package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 16 Aug 2024 06:46:33 -0400
Source: opendnssec
Architecture: source
Version: 1:2.1.13-1.2
Distribution: unstable
Urgency: medium
Maintainer: Mathieu Mirmont <m...@parad0x.org>
Changed-By: Reinhard Tartler <siret...@tauware.de>
Closes: 1078033
Changes:
 opendnssec (1:2.1.13-1.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS due to implicit function declaration, Closes: #1078033
Checksums-Sha1:
 8c1a7a8fdeb8c877fdecaa5880495bc6d63f8784 3046 opendnssec_2.1.13-1.2.dsc
 0d73c449e40fdec6b2fa74ca0e82034a96110fe9 34192 
opendnssec_2.1.13-1.2.debian.tar.xz
Checksums-Sha256:
 9e20f636019764240d45400bd8f829a8c5dc9df67848a9a227bf4b36b8982cd7 3046 
opendnssec_2.1.13-1.2.dsc
 399793bce1727c469890e8be429ac5cd3f090bb48b85792d3ee7fa28d0e179c5 34192 
opendnssec_2.1.13-1.2.debian.tar.xz
Files:
 0576991aad1114abbd08163003834419 3046 admin optional opendnssec_2.1.13-1.2.dsc
 75af723493b45027cb721e8d5ec7dd25 34192 admin optional 
opendnssec_2.1.13-1.2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEMN59F2OrlFLH4IJQSadpd5QoJssFAma/MYIUHHNpcmV0YXJ0
QHRhdXdhcmUuZGUACgkQSadpd5QoJstXTxAAuG/S5gXx3AKFDw826/XuP3imAFLc
6iSCI5Hy+p4HhPJp7f5xiXrkWrfZLe4ruvBAwVgPY+7SVBudTDP9drN9IriX27Ms
ry7LDzI6Jp3dyLqBsxS3ElTkEBRg8BysNjg1TmWm0K5i4H8kQ21Px99z1k+Gzm5N
zsLtZXUQSGuJxoUnoU62TYwhfPlmhwgVGHdQ7s8yAGEEVXbqPOOx0UEKGMzIUbj8
biIXiYCBMnjmCKRkJhmizqV1U6KqyXiiCVZkd0EcSU49dpJADqH99D9UOCGOqmwY
f7CA3DefeLXKmfjI9U076jFybcSoqIsMQvb7yfjDRdoBuHGnjM/FZI9h1g9R5Iy2
sPfLZLDwiDF5sIR+Hgnryr7xojjBeU/wmyWDU1yZrgB3BF/O7G0uhbm4AnLDJDGw
Zexa1l73L1OmOGsX7FRYXbQbRBIe1PlPPILOKUq/CnAHrgsLnD6Tcx0jUFCzAG38
mNFX3+ioFt/8kvfkkePLRu6LdQwJRksBQa2/bEoyYVDghHnL1s9SVC5hxGPryEsi
CWLue+ij3e6wZlHE99444MYlQbhOV2rBO0ib1OULl5pHJ8Ul6jTIw6ugpJTT3Btz
ZPluTxXoVXSfXY3wdeswUAF/z5/lN8jEba89AeCmiC9ADJq8fBo1MZg/CgATo/vt
vhfTxyiqnAcigm4=
=oIAg
-----END PGP SIGNATURE-----

Attachment: pgpOPOSImHjii.pgp
Description: PGP signature


--- End Message ---

Reply via email to