Your message dated Mon, 02 Nov 2026 08:49:19 +0000
with message-id <[email protected]>
and subject line Bug#1150750: fixed in mairix 0.24+git20260522-1
has caused the Debian Bug report #1150750,
regarding mairix: configure sed breaks on '%' in compiler flags / LDFLAGS
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.)


-- 
1150750: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1150750
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mairix
Version: 0.24-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu stonking

Dear Maintainer,

In configure, the Makefile is generated using:

  sed -e "s%@cc@%${MYCC}%; ... s%@LDFLAGS@%${MYLDFLAGS}%; ..." < Makefile.in > 
Makefile

using '%' as the delimiter. When build flags contain '%' (such as URL-encoded 
parameters in -Wl,--package-metadata or custom flags), the substitution breaks:

  sed: -e expression #1, char 777: unknown option to `s'

Fix:
Switch the delimiter from '%' to '|' in configure across the sed substitution 
lines.
The patch is attached.
Description: Switch sed delimiter from '%' to '|' in configure
 Hand-written configure uses '%' as delimiter for Makefile substitutions.
 If compiler or linker flags contain '%' (such as -Wl,--package-metadata
 or URL-encoded options), sed parsing breaks. Switch the delimiter to '|'
 across the substitutions.
Author: Viktor Pashaiev <[email protected]>
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mairix/+bug/2170632
Forwarded: no
Last-Update: 2026-10-13

--- a/configure
+++ b/configure
@@ -392,17 +392,17 @@ if [ "x" = "x${DOCDIR}" ]; then DOCDIR=$
 echo "Generating Makefile"
 
 rm -f Makefile
-sed -e "s%@cc@%${MYCC}%; \
-        s%@defs@%${DEFS}%; \
-        s%@cflags@%${MYCFLAGS}%; \
-        s%@prefix@%${PREFIX}%; \
-        s%@bindir@%${BINDIR}%; \
-        s%@mandir@%${MANDIR}%; \
-        s%@infodir@%${INFODIR}%; \
-        s%@docdir@%${DOCDIR}%; \
-        s%@LIBS@%${LIBS}%; \
-        s%@CPPFLAGS@%${MYCPPFLAGS}%; \
-        s%@LDFLAGS@%${MYLDFLAGS}%; \
+sed -e "s|@cc@|${MYCC}|; \
+        s|@defs@|${DEFS}|; \
+        s|@cflags@|${MYCFLAGS}|; \
+        s|@prefix@|${PREFIX}|; \
+        s|@bindir@|${BINDIR}|; \
+        s|@mandir@|${MANDIR}|; \
+        s|@infodir@|${INFODIR}|; \
+        s|@docdir@|${DOCDIR}|; \
+        s|@LIBS@|${LIBS}|; \
+        s|@CPPFLAGS@|${MYCPPFLAGS}|; \
+        s|@LDFLAGS@|${MYLDFLAGS}|; \
        " < Makefile.in > Makefile
 
 # Avoid editing Makefile instead of Makefile.in

--- End Message ---
--- Begin Message ---
Source: mairix
Source-Version: 0.24+git20260522-1
Done: Benjamin Mako Hill <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mairix, 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.
Benjamin Mako Hill <[email protected]> (supplier of updated mairix 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: Mon, 02 Nov 2026 00:32:05 -0800
Source: mairix
Architecture: source
Version: 0.24+git20260522-1
Distribution: unstable
Urgency: medium
Maintainer: Benjamin Mako Hill <[email protected]>
Changed-By: Benjamin Mako Hill <[email protected]>
Closes: 652065 820823 1150750
Changes:
 mairix (0.24+git20260522-1) unstable; urgency=medium
 .
   * New upstream git snapshot (commit 8a1efe0). Upstream has not tagged a
     release since 0.24 (2017) so this includes nine years of fixes:
     - Fix out-of-memory crash on certain malformed messages
       (Closes: #652065).
     - Raise the limit of 65536 mboxes and messages per mbox
       (Closes: #820823).
     - Fix use-after-free in IMAP code, out-of-bounds reads, undefined
       behaviour and memory leaks when parsing malformed messages.
     - Add bounds checks when reading the database.
     - Preserve UTF-8 bytes in token searches.
     - Add support for MMDF folders and xz-compressed mboxes.
     - Add sort=date+ option and number MH results from 1.
   * Drop debian-changes (mairixrc(5) reflow); merged upstream.
   * Switch configure's sed delimiter from '%' to '|' so build flags
     containing '%' work. Thanks to Viktor Pashaiev (Closes: #1150750).
     Forwarded upstream as https://github.com/vandry/mairix/pull/41.
   * Build-depend on liblzma-dev for xz-compressed mbox support.
   * Bump debhelper compat level from 9 to 13 via debhelper-compat; drop
     debian/compat. Run the test suite with --no-parallel, since its check
     target is not parallel-safe.
   * Write version.txt from the changelog version before configure so the
     binary does not report "DEVELOPMENT".
   * Add the tbl preprocessor hint ('\" t) to mairix.1 so its tables
     render; fixes the lintian groff-message warning.
   * Rewrite debian/watch to track upstream git tags at
     github.com/vandry/mairix; the old URL only matched release tarballs,
     which upstream never publishes.
Checksums-Sha1:
 a9d9dbe057cffc3d8fde65765f0ddfc239601ca1 1966 mairix_0.24+git20260522-1.dsc
 2f9dd5c43cfc5353142ed31413234f8aea370ff9 217681 
mairix_0.24+git20260522.orig.tar.gz
 043f448198b54fbbd729d1249b89f50a78979758 5864 
mairix_0.24+git20260522-1.debian.tar.xz
 6666dfa0d9317077076c4797489dbdd36a786be2 6686 
mairix_0.24+git20260522-1_source.buildinfo
Checksums-Sha256:
 b354f3926ac4e3ba8cde13578d767ac373cf24217c4ed7aa1dffc04bb9e639ae 1966 
mairix_0.24+git20260522-1.dsc
 8f431867f483f9ced450f279bf1cf669353cd8be08fabb7267557ea4cb78dcd6 217681 
mairix_0.24+git20260522.orig.tar.gz
 fe8eb607144e5d7ed412ac6f6ef1ed87783a03df1d809e9cf0da73569859791a 5864 
mairix_0.24+git20260522-1.debian.tar.xz
 8020d6cd25834523369047bb359d32ffc82f0bc40ca44763d72d458a94e7cce5 6686 
mairix_0.24+git20260522-1_source.buildinfo
Files:
 6776282c61d1a5c07e41b5b3a377da15 1966 mail optional 
mairix_0.24+git20260522-1.dsc
 c8b780d78f77f41254d837fb33c2cb72 217681 mail optional 
mairix_0.24+git20260522.orig.tar.gz
 53718cd9459dd0d2eb3081f67a308f9f 5864 mail optional 
mairix_0.24+git20260522-1.debian.tar.xz
 9946a9ba4c953d0b637300e939db6d0c 6686 mail optional 
mairix_0.24+git20260522-1_source.buildinfo

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

iQJEBAEBCgAuFiEEfGsMgrD+o7iQi1uRu+m/omm+WTUFAmroS2sQHG1ha29AZGVi
aWFuLm9yZwAKCRC76b+iab5ZNWqlD/92d3T9G4DcVAGxlzAhzhlyOi41K7BRv2p/
j7KyI69HXfTXZm3Du5LdNXI4EjE9oy+GnWj0jpuot8O9XVF3+fur9VNw8vbeXjzD
k3uJIGRWaZVE7iS2FRzRC8eZj6r+koxnRsAICTu7QCcq/FmQeHRRY5xeILqbADbh
3eIa95K9TFsezmuj7+hv1qn/hiBTWweT9fDXO6yKE+BlRkZrlCdzneiox7dcXVCp
WG/TjpYEnb95MzrqeRVGXZ71+zVn82tKM58HsBBDJTijqLs92Yq8cbFRKLPOB6FB
hhniL0tp7/XzA0zJqBh7raxvX/mWzO5veVLz2/S7JxcJqy7Rt7fJqQKBYHpg2u5X
r4X4ZFr57mamj2i9ksyNNw6aMEd6Zw4SOsFCjcZQ21GG6rszuhKb2MdCjqLXJL0R
8qA2fsiJompd4b0jMX6pIFDMzF7rpna4V/B4MpM7fjdX8ijSMh75tzNMoaJp3Czo
To1q7M7VNLC2vwSgzbCsEo6s4JMH0wul69zafFFCvzTMZ6sEgvxB2nJTHtYojUsj
v3Z3uYevt7KMFnGIZWZYECs92OTO17nKKC9y0fHm/ZxV7T4ERNsFaaGpb2H4WEYo
B8XeLcAm8Q7QqwPn4wq3rGaJyHBaljf4+uMtJooJuRIFU/2dqmbb6LT00K4oljsC
uc913bshOA==
=WD6/
-----END PGP SIGNATURE-----

Attachment: pgp5OYiULOXLp.pgp
Description: PGP signature


--- End Message ---

Reply via email to