Your message dated Tue, 30 Jun 2026 17:04:54 +0000
with message-id <[email protected]>
and subject line Bug#1141154: fixed in gettext 1.0-2
has caused the Debian Bug report #1141154,
regarding gettext: test-getaddrinfo should skip on EAI_NONAME when DNS is
unavailable
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 [email protected]
immediately.)
--
1141154: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1141154
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gettext
Version: 1.0-1
Severity: normal
Tags: patch
Hi,
Ubuntu hit an FTBFS with gettext 1.0-1 in the stonking development series.
The failing test is `gettext-tools/gnulib-tests/test-getaddrinfo.c`. The
test tries to resolve external hostnames with `getaddrinfo()` and expects
success, but in the Ubuntu build environment it returns `EAI_NONAME` (-2),
causing `test-getaddrinfo` to fail.
The test already skips on `EAI_AGAIN` for no-network situations. The
attached patch also skips on `EAI_NONAME`, which can happen when DNS
resolution is unavailable in sandboxed/buildd environments.
PPA validation:
https://launchpad.net/~zineb/+archive/ubuntu/gettext-ftbfs
Forwarded upstream to [email protected]; archive link pending.
Thanks,
Zineb
Description: Skip test-getaddrinfo when DNS resolution is unavailable
The gnulib getaddrinfo test tries to resolve external hostnames during the
build-time test suite. In Ubuntu sbuild/buildd environments without working
DNS resolution, getaddrinfo() can return EAI_NONAME instead of EAI_AGAIN.
Treat this as an unavailable-network case and skip the test instead of
failing the build.
Author: Zineb Zaadoud <[email protected]>
Bug-Ubuntu: https://launchpad.net/bugs/2158369
Forwarded: yes
Last-Update: 2026-06-29
Index: gettext-gu/gettext-tools/gnulib-tests/test-getaddrinfo.c
===================================================================
--- gettext-gu.orig/gettext-tools/gnulib-tests/test-getaddrinfo.c
+++ gettext-gu/gettext-tools/gnulib-tests/test-getaddrinfo.c
@@ -120,6 +120,16 @@ simple (int pass, char const *host, char
fprintf (stderr, "skipping getaddrinfo test: no network?\n");
return 77;
}
+
+ /* EAI_NONAME can be returned in sandboxed build environments where
+ DNS resolution is unavailable. Treat it like EAI_AGAIN and skip. */
+ if (res == EAI_NONAME)
+ {
+ skip++;
+ fprintf (stderr, "skipping getaddrinfo test: no DNS resolver?\n");
+ return 77;
+ }
+
/* Solaris reports EAI_SERVICE for "http" and "https". Don't
fail the test merely because of this. */
if (res == EAI_SERVICE)
--- End Message ---
--- Begin Message ---
Source: gettext
Source-Version: 1.0-2
Done: Santiago Vila <[email protected]>
We believe that the bug you reported is fixed in the latest version of
gettext, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated gettext 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 30 Jun 2026 18:20:00 +0200
Source: gettext
Architecture: source
Version: 1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Closes: 1141154
Changes:
gettext (1.0-2) unstable; urgency=medium
.
* Skip test-getaddrinfo. Closes: #1141154.
* Do not pass XFAIL_TESTS to dh_auto_test anymore.
* Drop unused lintian override.
Checksums-Sha1:
fe7510843198f517889a1ee07e9ad2cf9684b831 2438 gettext_1.0-2.dsc
6e3d14ede68c93e3a1b66958130702f837dd987f 24368 gettext_1.0-2.debian.tar.xz
3ccf67405d57130e1355bf43797e56dae37b4d24 6215 gettext_1.0-2_source.buildinfo
Checksums-Sha256:
3f1eca43a05cb3af9f414fc45618b93fe4071bc2ed184c1197ef9f2a483eef47 2438
gettext_1.0-2.dsc
2274f9cbc53003cc434e5641f4eacff663dd593eafcccaddd42b8de671ccd9ee 24368
gettext_1.0-2.debian.tar.xz
07038e8846053340a314a5db75cd11b4c3b07ee5af5459179a7eccfddb2b0793 6215
gettext_1.0-2_source.buildinfo
Files:
5c50d47acd7a1fad3715dbc703c7baf3 2438 devel optional gettext_1.0-2.dsc
a5672b561658eaf9f8a8d64827c050d4 24368 devel optional
gettext_1.0-2.debian.tar.xz
c3139153514e1618d99d63bca4a05d63 6215 devel optional
gettext_1.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmpD8sYACgkQQc5/C58b
izI8xggAnzMigsa4H0opcuLAjjcE1vf2Wz0MUGQtMIhuxiAvRfFBCq5nqhLnnSrM
lyXEVyykLbTjMP4AdtjDw65etjOf8nN6AXPfuT44aofOTPdWOSVK83Of9d/TqIRL
lCTyjpd+Pd77vw1Qvmrymt0mX+8C7SPNdVYe+Ldi0Pnu0Gr5zJ8QRPznUQgUpbGZ
+UykTRgBhvRj7CM9nZl/pCNsw4fFLD/TRgmQ/6oO7RkP2vzqKmCYZXRGYuTWzkr3
leYyfnDM5SB0Dy6AVE4PgCjEpJ36mR9IrRLdYPVhWGyyCGBjucPpcv7gLU6FtPcZ
Kih+xIACLiOH2FMYMnYXcvUwg4dhAg==
=4mVX
-----END PGP SIGNATURE-----
pgpomf4wW8PPs.pgp
Description: PGP signature
--- End Message ---