Control: tags -1 patch

On 2024-08-30 Santiago Vila <sanv...@debian.org> wrote:
> Package: src:urfkill
> Version: 0.5.0-7.2
> Severity: serious
> Tags: ftbfs

> Dear maintainer:

> During a rebuild of all packages in unstable, your package failed to build:

> --------------------------------------------------------------------------------
> [...]

This is caused by
AC_MSG_ERROR([--with-session-tracking must be systemd/consolekit/no, not 
$with_session_tracking]))

New autoconf seems to split on the comma, producing invalid code.
Double-quoting with [[ ]] works for me.

cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
Description: Double quote AC_MSG_ERROR arg to avoid split on comma.
Author: Andreas Metzler <ametz...@debian.org>
Bug-Debian: https://bugs.debian.org/1080143
Origin: vendor
Last-Update: 2024-08-31

--- urfkill-0.5.0.orig/configure.ac
+++ urfkill-0.5.0/configure.ac
@@ -184,7 +184,7 @@ AS_IF([test "$with_session_tracking" = "
 AS_IF([test "$with_session_tracking" = "none"], with_session_tracking=no)
 # check value
 AS_IF([! (echo "$with_session_tracking" | grep -q -E "^(systemd|consolekit|no)$")],
-        AC_MSG_ERROR([--with-session-tracking must be systemd/consolekit/no, not $with_session_tracking]))
+        AC_MSG_ERROR([[--with-session-tracking must be systemd/consolekit/no, not $with_session_tracking]]))
 # add conditionals and subtitution
 AM_CONDITIONAL(SESSION_TRACKING_CK, test "$with_session_tracking" = "consolekit")
 AM_CONDITIONAL(SESSION_TRACKING_SYSTEMD, test "$with_session_tracking" = "systemd")

Reply via email to