#1117748 gdnsd: FTBFS with libnet-dns-perl 1.53

#1117748#5
Date:
2025-10-10 16:27:09 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:gdnsd, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
configure.ac:32: warning: The macro 'AC_PROG_CC_STDC' is obsolete.
configure.ac:32: You should run autoupdate.
./lib/autoconf/c.m4:1669: AC_PROG_CC_STDC is expanded from...
configure.ac:32: the top level
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
	--with-buildinfo=3.8.3-2 \

[... snipped ...]

# ;;	do = 0	co = 0
# ;;	qdcount = 1	ancount = 1
# ;;	nscount = 0	arcount = 0
#
# ;; QUESTION SECTION (1 record)
# ;; ns1.example.com.	IN	A
#
# ;; ANSWER SECTION (1 record)
# ns1.example.com.	86400	IN	A	192.0.2.42
#
# ;; AUTHORITY SECTION (0 records)
#
# ;; ADDITIONAL SECTION (0 records)
#
#
# ---Wanted:
# ;; HEADER SECTION
# ;;	id = 50309
# ;;	qr = 1	aa = 1	tc = 0	rd = 0	opcode = QUERY
# ;;	ra = 0	z  = 0	ad = 0	cd = 0	rcode  = NOERROR
# ;;	do = 0	co = 0
# ;;	qdcount = 1	ancount = 1
# ;;	nscount = 0	arcount = 0
#
# ;; QUESTION SECTION (1 record)
# ;; ns1.example.com.	IN	A
#
# ;; ANSWER SECTION (1 record)
# ns1.example.com.	86400	A	192.0.2.42
#
# ;; AUTHORITY SECTION (0 records)
#
# ;; ADDITIONAL SECTION (0 records)
#
#
# (Addr Limits: V4: 0 V6: 0)
# Looks like you failed 9 tests of 16.
./027tcp_control/056tcp_control_ctl.t ...
1..16
ok 1
not ok 2
ok 3
not ok 4
ok 5
not ok 6
ok 7
not ok 8
ok 9
not ok 10
not ok 11
not ok 12
ok 13
not ok 14
not ok 15
ok 16
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 9/16 subtests
./029tcp_dso/058dso.t ...................
1..41
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35 # skip Not running slow tests
ok 36 # skip Not running slow tests
ok 37 # skip Not running slow tests
ok 38 # skip Not running slow tests
ok 39 # skip Not running slow tests
ok 40
ok 41
ok

Test Summary Report
-------------------
./001basic/001self.t                  (Wstat: 256 (exited 1) Tests: 4 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
./002simple/002noerr.t                (Wstat: 4352 (exited 17) Tests: 19 Failed: 17)
  Failed tests:  2-18
  Non-zero exit status: 17
./002simple/003simple_errs.t          (Wstat: 2048 (exited 8) Tests: 15 Failed: 8)
  Failed tests:  2-9
  Non-zero exit status: 8
./003complex/004delegations.t         (Wstat: 6656 (exited 26) Tests: 29 Failed: 26)
  Failed tests:  2-25, 27-28
  Non-zero exit status: 26
./003complex/005big.t                 (Wstat: 2048 (exited 8) Tests: 14 Failed: 8)
  Failed tests:  3-5, 7, 9-11, 13
  Non-zero exit status: 8
./003complex/006limits.t              (Wstat: 5376 (exited 21) Tests: 23 Failed: 21)
  Failed tests:  2-22
  Non-zero exit status: 21
./003complex/007cname.t               (Wstat: 2560 (exited 10) Tests: 12 Failed: 10)
  Failed tests:  2-11
  Non-zero exit status: 10
./003complex/008compress.t            (Wstat: 512 (exited 2) Tests: 4 Failed: 2)
  Failed tests:  2-3
  Non-zero exit status: 2
./003complex/009broken.t              (Wstat: 1792 (exited 7) Tests: 15 Failed: 7)
  Failed tests:  4, 8-12, 14
  Non-zero exit status: 7
./003complex/010chars.t               (Wstat: 512 (exited 2) Tests: 4 Failed: 2)
  Failed tests:  2-3
  Non-zero exit status: 2
./003complex/011random.t              (Wstat: 25600 (exited 100) Tests: 104 Failed: 100)
  Failed tests:  3-102
  Non-zero exit status: 100
./003complex/012aaaa.t                (Wstat: 3584 (exited 14) Tests: 20 Failed: 14)
  Failed tests:  2-13, 15-16
  Non-zero exit status: 14
./003complex/013wild.t                (Wstat: 7936 (exited 31) Tests: 33 Failed: 31)
  Failed tests:  2-32
  Non-zero exit status: 31
./003complex/014naptr.t               (Wstat: 1280 (exited 5) Tests: 7 Failed: 5)
  Failed tests:  2-6
  Non-zero exit status: 5
./003complex/015rfc3597.t             (Wstat: 768 (exited 3) Tests: 5 Failed: 3)
  Failed tests:  2-4
  Non-zero exit status: 3
./004misc/018misc.t                   (Wstat: 1792 (exited 7) Tests: 12 Failed: 7)
  Failed tests:  2-3, 5-8, 11
  Non-zero exit status: 7
./004misc/019bad.t                    (Wstat: 256 (exited 1) Tests: 34 Failed: 1)
  Failed test:  32
  Non-zero exit status: 1
./005tld/020tld.t                     (Wstat: 1024 (exited 4) Tests: 6 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./006root/021root.t                   (Wstat: 1024 (exited 4) Tests: 6 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./007plugins/022trivial.t             (Wstat: 7936 (exited 31) Tests: 33 Failed: 31)
  Failed tests:  2-32
  Non-zero exit status: 31
./007plugins/023weighted.t            (Wstat: 2816 (exited 11) Tests: 13 Failed: 11)
  Failed tests:  2-12
  Non-zero exit status: 11
./007plugins/024dync.t                (Wstat: 3584 (exited 14) Tests: 16 Failed: 14)
  Failed tests:  2-15
  Non-zero exit status: 14
./007plugins/025metafo.t              (Wstat: 1024 (exited 4) Tests: 6 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./008origin/026org_inc.t              (Wstat: 7680 (exited 30) Tests: 32 Failed: 30)
  Failed tests:  2-31
  Non-zero exit status: 30
./009monio/027_pri_nolisten.t         (Wstat: 1024 (exited 4) Tests: 6 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./009monio/028_sec_nolisten.t         (Wstat: 1024 (exited 4) Tests: 6 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./009monio/029_pri_listen.t           (Wstat: 1024 (exited 4) Tests: 7 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./009monio/030_sec_listen.t           (Wstat: 1024 (exited 4) Tests: 7 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./009monio/031_null_mon.t             (Wstat: 1024 (exited 4) Tests: 6 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./009monio/032_pri_tcp_nolisten.t     (Wstat: 1024 (exited 4) Tests: 6 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./009monio/033_sec_tcp_nolisten.t     (Wstat: 1024 (exited 4) Tests: 6 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./009monio/034_pri_tcp_listen.t       (Wstat: 1024 (exited 4) Tests: 7 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./009monio/035_sec_tcp_listen.t       (Wstat: 1024 (exited 4) Tests: 7 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 4
./010relax/036relax.t                 (Wstat: 2048 (exited 8) Tests: 10 Failed: 8)
  Failed tests:  2-9
  Non-zero exit status: 8
./011upthresh/037up_thresh.t          (Wstat: 2304 (exited 9) Tests: 14 Failed: 9)
  Failed tests:  2-8, 10, 12
  Non-zero exit status: 9
./012cname/038cname.t                 (Wstat: 3840 (exited 15) Tests: 17 Failed: 15)
  Failed tests:  2-16
  Non-zero exit status: 15
./013clientsub/039clientsub.t         (Wstat: 4864 (exited 19) Tests: 31 Failed: 19)
  Failed tests:  2-20
  Non-zero exit status: 19
./014geoip/040basic.t                 (Wstat: 29184 (exited 114) Tests: 122 Failed: 114)
  Failed tests:  2-58, 63-119
  Non-zero exit status: 114
./015zruntime/041simple.t             (Wstat: 1536 (exited 6) Tests: 10 Failed: 6)
  Failed tests:  2, 4-6, 8-9
  Non-zero exit status: 6
./016extmon/042extmon.t               (Wstat: 2048 (exited 8) Tests: 10 Failed: 8)
  Failed tests:  2-9
  Non-zero exit status: 8
./017extfile/043extfile.t             (Wstat: 768 (exited 3) Tests: 7 Failed: 3)
  Failed tests:  3-4, 6
  Non-zero exit status: 3
./018admin/044admin.t                 (Wstat: 9984 (exited 39) Tests: 60 Failed: 39)
  Failed tests:  3-6, 8-10, 12-14, 16-18, 20-22, 24-26, 28-30
                32-34, 36-38, 40-42, 44, 46, 48, 50, 52
                54, 57, 59
  Non-zero exit status: 39
./019many_zones/045many_zones.t       (Wstat: 25600 (exited 100) Tests: 102 Failed: 100)
  Failed tests:  2-101
  Non-zero exit status: 100
./020any/046any.t                     (Wstat: 512 (exited 2) Tests: 4 Failed: 2)
  Failed tests:  2-3
  Non-zero exit status: 2
./021caa/047caa.t                     (Wstat: 256 (exited 1) Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
./022gdnsdctl/048gdnsdctl.t           (Wstat: 1792 (exited 7) Tests: 15 Failed: 7)
  Failed tests:  2, 4, 6, 8, 10, 12, 14
  Non-zero exit status: 7
./022gdnsdctl/049acmedns01.t          (Wstat: 20224 (exited 79) Tests: 89 Failed: 79)
  Failed tests:  3-15, 18-30, 32-44, 47-59, 61-73, 75-88
  Non-zero exit status: 79
./023cookies/050cookies.t             (Wstat: 5120 (exited 20) Tests: 22 Failed: 20)
  Failed tests:  2-21
  Non-zero exit status: 20
./024cookies_max/051cookies_max.t     (Wstat: 3584 (exited 14) Tests: 16 Failed: 14)
  Failed tests:  2-15
  Non-zero exit status: 14
./025nocookies/052nocookies.t         (Wstat: 256 (exited 1) Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
./027tcp_control/054tcp_control_ro.t  (Wstat: 2304 (exited 9) Tests: 14 Failed: 9)
  Failed tests:  2, 4-6, 8-11, 13
  Non-zero exit status: 9
./027tcp_control/055tcp_control_chal.t (Wstat: 2304 (exited 9) Tests: 16 Failed: 9)
  Failed tests:  2, 4-6, 8-9, 11, 13, 15
  Non-zero exit status: 9
./027tcp_control/056tcp_control_ctl.t (Wstat: 2304 (exited 9) Tests: 16 Failed: 9)
  Failed tests:  2, 4, 6, 8, 10-12, 14-15
  Non-zero exit status: 9
Files=56, Tests=1155, 177 wallclock secs ( 0.16 usr  0.08 sys +  5.17 cusr  1.48 csys =  6.89 CPU)
Result: FAIL
make[4]: *** [Makefile:660: check-local] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/t'
make[3]: *** [Makefile:533: check-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/t'
make[2]: *** [Makefile:383: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/t'
make[1]: *** [Makefile:1959: check-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test TESTSUITEFLAGS="-j2 --verbose" VERBOSE=1 returned exit code 2
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

#1117748#10
Date:
2025-11-08 15:32:47 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for gdnsd (versioned as 3.8.3-2.1) and uploaded
it to DELAYED/14. Please feel free to tell me if I should cancel it.

cu
Adrian

#1117748#19
Date:
2025-11-16 17:47:18 UTC
From:
To:
Sorry for the quite late response. Net::DNS breaks its public API every
second release, and gdnsd's test suite is also exercising a lot of its
code paths, including occasional private API uses as well. Therefore,
such breakages are a common occurence sadly, as evident from the git
history and changelog. I've spent countless hours fixing some of them
upstream, but this time it looks like we got lucky and upstream got to
it first :) I've contemplated at times just disabling the test suite as
the rate of false positives is 100% at the moment, and would be
interested in your opinion.

Regardless, your NMU is totally OK, and very much appreciated -- as is
the opportunity for me to review, through a DELAYED upload. My only
request, if it's not too much of a hassle, would be to commit these
changes to salsa as well, either as an MR or directly (the package is
under the "debian" namespace, so you should have access). If you've
moved on to other packages in the meantime, that's understandable; in
that case, please consider this for future NMUs to my packages. Help
always welcome though, in any shape or form.

Thank you for spending the time to fix this!

Regards,
Faidon

#1117748#24
Date:
2025-11-22 16:18:53 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gdnsd, 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 1117748@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated gdnsd 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 08 Nov 2025 16:00:53 +0200
Source: gdnsd
Architecture: source
Version: 3.8.3-2.1
Distribution: unstable
Urgency: medium
Maintainer: Faidon Liambotis <paravoid@debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1117748
Changes:
 gdnsd (3.8.3-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Backport upstream fix for test failures with Net::DNS 1.53.
     (Closes: #1117748)
Checksums-Sha1:
 b1641f4563534992f0a2d2c22b3d7b7e13a5e5de 2437 gdnsd_3.8.3-2.1.dsc
 6d4824a27962cd071e3c3f626f8c02b637f29dca 14212 gdnsd_3.8.3-2.1.debian.tar.xz
Checksums-Sha256:
 b6b6d2ebff33e9f7986402ee09a501298e5fa12da7a58cc3b1e5f1d5c19a1a17 2437 gdnsd_3.8.3-2.1.dsc
 98a809a9f71df080801ca6628b4f15d66dbf910f3b21b4bd32ff22065064b627 14212 gdnsd_3.8.3-2.1.debian.tar.xz
Files:
 b57797ba15efc70fea30bfb68cb66e2e 2437 net optional gdnsd_3.8.3-2.1.dsc
 bff208a024b18141ee1686641b818522 14212 net optional gdnsd_3.8.3-2.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmkPYooACgkQiNJCh6LY
mLFiUA/9FxssHLBwJzl/Y0CB3+bMEaw+DaB/UXRVBXExvM7+HWwNAgISi9uydGhe
z28MiG0wbRTpLgEVhwGrNZlcbpiyailsZT2FOAp+NseQPbrx2RpdK6r/BtF14mry
a3Xq9LwSbv5iTzwM4ffIJF5sEmzPvrOKl3Rz4iQkHM4/wIcRMZfuXoHMbl/HAN/G
LqjKhnANK1mieFpRSLb0R50vzK7hNV8riMuiNIvFXWLO0Rcsg0JkxdNQ7F3nC6RC
asQ8MK75X0Zxdm9whH+r4OP5CzBOpD+0mPPKhRffWl6q94kN3Xym2nRlvV/WLmuR
bJ4I3ofXNQgs5c9OQ5PKSHdZTEsEN+bHuB3qhZY6mMMua5D+hvs6RXTDQh+199Fj
wR3X2bhJa+VaFLzkkHlmu/0fABPGOEb8uBGnmzWbwAJo7miqy93JouC57XPKKAQv
M4InHdCS9nXFGBM3z16jsW0kDexOak3ASoUBjY5uArUbUtt2ngFy1H5gM34mRMoA
8lwWpSRnXcyX5JkYnNnjuUL0OEVa7WcHc0Ezy6ABu9kg/Os8JWP/LnUt17SPnZgN
fMzLtUh+pO35NCYgK8ZaoIrnO1910cOOxhRH0xDWoPN1USoHm2z9jqvBz+eh++LN
pctBhCs+9gtgO4EW7rJxyb2J0/srPGLH4xT72Tn6VPerCOLSBBo=
=uzpu
-----END PGP SIGNATURE-----