Your message dated Thu, 05 Nov 2026 20:35:23 +0000
with message-id <[email protected]>
and subject line Bug#1153098: fixed in nginx 1.30.6-3
has caused the Debian Bug report #1153098,
regarding nginx-dev: conf_flags corrupted when built with dash 0.5.13, modules
FTBFS
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.)
--
1153098: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153098
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: nginx
Version: 1.30.4-7ubuntu1
Severity: important
Tags: patch ftbfs
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: origin-ubuntu tenacious ubuntu-patch
Dear Maintainer,
nginx-dev built with dash 0.5.13 ships a broken /usr/share/nginx/src/conf_flags,
and every module built against it fails to build. Debian still has dash
0.5.12, so you don't see it yet, but Ubuntu has dash 0.5.13 and all 25 nginx
module rebuilds there fail on every architecture.
debian/rules writes the file with:
echo "NGX_CONF_FLAGS=( $${flags} )" > $(BUILDDIR_src)/conf_flags
and the flags contain:
--override-system="$(... | sed 's/-.*$//; s/^./\U&/; s/Gnu/\U&/g;')"
Since 0.5.13, the dash echo builtin understands the \uXXXX and \UXXXXXXXX
escapes (they came with $'...' support, upstream commit 776424a8f915 "parser:
Add dollar single quote"). Here no hex digits follow \U, and dash writes a NUL
byte in its place:
$ grep -ao 's/^./.&/' /usr/share/nginx/src/conf_flags | od -c
0000000 s / ^ . / \0 & / \n
The sed expression then no longer uppercases the first letter, so a module
build calls configure with --override-system=linux. auto/os/conf only matches
"Linux:*", so the build falls back to the generic Unix configuration and never
includes src/os/unix/ngx_linux_config.h. That means _GNU_SOURCE is not defined
(note accept4(), sched_setaffinity() and strerrordesc_np() reported "not
found"), and glibc then doesn't define struct in6_pktinfo:
checking for OS
+ linux 3.16.0 x86_64
...
src/event/ngx_event_udp.h:46:27: error: field 'pkt6' has incomplete type
46 | struct in6_pktinfo pkt6;
Full log (libnginx-mod-http-auth-jwt, built against nginx-dev 1.30.6-2ubuntu1):
https://launchpadlibrarian.net/883485254/buildlog_ubuntu-tenacious-amd64.libnginx-mod-http-auth-jwt_2.5.0-3build1_BUILDING.txt.gz
The attached patch writes the file with printf '%s\n', which doesn't
interpret backslashes in its argument, so it works with any /bin/sh. The only
Ubuntu delta in debian/rules is --build=Ubuntu, so this affects Debian as soon
as dash 0.5.13 reaches unstable. Ubuntu bug:
https://bugs.launchpad.net/bugs/2173081
Thanks,
Sebastien
-- System Information:
Debian Release: forky/sid
APT prefers resolute-updates
APT policy: (500, 'resolute-updates'), (500, 'resolute-security'), (500,
'resolute'), (100, 'resolute-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 7.0.0-42-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Description: write nginx-dev's conf_flags with printf instead of echo
The --override-system flag contains the sed expression 's/^./\U&/'.
dash 0.5.13's echo builtin parses \U as a Unicode escape and, with no hex
digits after it, writes a NUL byte, so modules configure for a generic OS
instead of Linux and fail to build.
Author: Sebastien Bacher <[email protected]>
Forwarded: not-needed
Last-Update: 2026-11-05
--- a/debian/rules
+++ b/debian/rules
@@ -104,7 +104,7 @@ override_dh_auto_build-indep:
sed -i '/^# create Makefile/,/^END$$/d' $(BUILDDIR_src)/auto/make
$(BUILDDIR_src)/auto/init $(BUILDDIR_src)/auto/install
find $(CURDIR)/src -type f -name '*.h' -printf 'src/%P\0' | tar -C
$(CURDIR) --null --files-from - -c | tar -C $(BUILDDIR_src)/ -x
if [ -e $(CURDIR)/configure ]; then cp $(CURDIR)/configure
$(BUILDDIR_src)/; fi
- echo "NGX_CONF_FLAGS=( $${flags} )" > $(BUILDDIR_src)/conf_flags
+ printf '%s\n' "NGX_CONF_FLAGS=( $${flags} )" >
$(BUILDDIR_src)/conf_flags
pod2man debian/debhelper/dh_nginx > $(BUILDDIR_src)/dh_nginx.1
override_dh_install-arch:
--- End Message ---
--- Begin Message ---
Source: nginx
Source-Version: 1.30.6-3
Done: Jan Mojžíš <[email protected]>
We believe that the bug you reported is fixed in the latest version of
nginx, 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.
Jan Mojžíš <[email protected]> (supplier of updated nginx 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: Thu, 05 Nov 2026 19:58:30 +0000
Source: nginx
Architecture: source
Version: 1.30.6-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Nginx Maintainers
<[email protected]>
Changed-By: Jan Mojžíš <[email protected]>
Closes: 1153098
Changes:
nginx (1.30.6-3) unstable; urgency=medium
.
* d/rules: write nginx-dev's conf_flags with printf instead of echo,
thanks to Sebastien Bacher for preparing the fix (Closes: 1153098)
Checksums-Sha1:
a76be4a231dfa39a531109e212a4e0f63595170b 4240 nginx_1.30.6-3.dsc
654de7d3d9655869d7705c1721fad2e115163152 78808 nginx_1.30.6-3.debian.tar.xz
1318d8093a13eaa5d701e7c8571d51e511829d43 2588288 nginx_1.30.6-3.git.tar.xz
b7acc89c5ce085f960ef4bcc41347303fd5741c5 17733 nginx_1.30.6-3_source.buildinfo
Checksums-Sha256:
9abecf7963d5c7a2ae20864db92a309616414cef4f8c55073ce308e8fdb70f12 4240
nginx_1.30.6-3.dsc
c4df959083dc4b2c907072b22bff58766786f2f1161c2e7def693c35ffb862a2 78808
nginx_1.30.6-3.debian.tar.xz
b94e1036f87ca29de32a51e879ba1e9e01400a9bda0d25cf3a391d80483f2440 2588288
nginx_1.30.6-3.git.tar.xz
35341ef3b056cb6da058927d0514ce96f3ab3a368d66ef55b8b19968d354133a 17733
nginx_1.30.6-3_source.buildinfo
Files:
529150b985f12201535b86e3815fc27e 4240 httpd optional nginx_1.30.6-3.dsc
5b4cc0d7832ed7d94a779a56f0a47d0a 78808 httpd optional
nginx_1.30.6-3.debian.tar.xz
54e1e4c561eb9a5e5dd1585c814d095e 2588288 httpd None nginx_1.30.6-3.git.tar.xz
901dcd4a5abf7cb2490e2a56dc1e41a5 17733 httpd optional
nginx_1.30.6-3_source.buildinfo
Git-Tag-Info: tag=1a2be023536a1a56dc839c8ed5ca246227b845eb
fp=d008b0c23d8479e46b9fcb9045da517496939ff9
Git-Tag-Tagger: Jan Mojžíš <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrs49MACgkQYG0ITkaD
wHnhCA/8DKqaOT5I6f0yBuLef7htOX+OWuE6H48siRYdX0Hv2x65hT4WIXLYxLE6
68TXHT4HSY467i1pKWgMexWuJb+8A1Ivtug/9jglMEcQa9CMOmFh3JeBp9qMHAth
GAJKA/apm1p8hKPsbaYqEeX5BGlYuCrqZXv0QxTmRB2PGbCc/FOFCPnJVafHNLBU
L4HKWrl1mhDwcGc2lb9sokqxq71uDkbEMZBjgfRNl+G62rDkz3pvxByZxMkJ9vng
HUcZVf8Q4x+rR/c5PNXZGOomJU7aK60GqGmnUOJFEoDIvdIjTRxF8cojaLHLDEBO
CNaHT3PJxTn+ToPJ9gE8lGf9xg1UvAh0rbdd1VUNkdHRU1HvvoBh0aQFwyUbFMmQ
xxuWmvPstqyfwpLysYvmWiRN+RfQmslxDWW+W4dRIiXWNz9/DsTiH8PSVRKxxWyq
ABcHyrrlsNC0r4G0zGN1kdsQtPk5D49v1lmPXwYzATdY+OHPoVy3f8vt04mlbLPV
h0m4c1IJMSvO8dP61+RHq3eNlV+qR5EAoGRpm76m4EQQPsGoPfpmDuQXPlBHKdP4
6z6eJZ0jiSzXQ4Oxp6F6OXaSsWCNrkDOJqF92pmxOSvxKSX6G+LDaEKe2mY2LzG1
rVYV3n+O+0pKSwxT9Cqc4/GoSA2G8FGYB5WTQTlTIjC/sVo6Q9A=
=w3tE
-----END PGP SIGNATURE-----
pgpS8g2edMXsw.pgp
Description: PGP signature
--- End Message ---