Package: pkgconf
Version: 1.8.1-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Starting in Debian bookworm, the output of pkgconf includes a trailing
whitespace which might affect programs consuming its output:

$ pkgconf --libs glib-2.0 | od -bc
0000000 055 154 147 154 151 142 055 062 056 060 040 012
          -   l   g   l   i   b   -   2   .   0      \n
0000014

The trailing whitespace was not present in Debian bullseye.

$ /bullseye/usr/bin/pkg-config --libs glib-2.0 | od -bc
0000000 055 154 147 154 151 142 055 062 056 060 012
          -   l   g   l   i   b   -   2   .   0  \n
0000013

It seems that Bookworm is missing 
https://github.com/pkgconf/pkgconf/commit/648a224

    From 648a2249fcb10bf679bdb587ef2bbddaab3023ad Mon Sep 17 00:00:00 2001
    From: Ariadne Conill <[email protected]>
    Date: Sat, 21 Jan 2023 20:17:33 +0000
    Subject: [PATCH] fragment: render: only include trailing space if there is
     another fragment

    ---
     libpkgconf/fragment.c | 3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)

-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pkgconf depends on:
ii  pkgconf-bin  1.8.1-1

pkgconf recommends no packages.

pkgconf suggests no packages.

-- no debconf information

Reply via email to