Your message dated Tue, 25 Jul 2023 15:54:32 +0100
with message-id <09bba3397e001ced4af82f906aeb9d94681191ac.ca...@debian.org>
and subject line Re: systemd: systemd-run evaluates variables enclosed between
single quotes
has caused the Debian Bug report #1042004,
regarding systemd: systemd-run evaluates variables enclosed between single
quotes
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 ow...@bugs.debian.org
immediately.)
--
1042004: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042004
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: systemd
Version: 254~rc1-2
Affects: pbuilder
Dear maintainers,
Yesterday I tried to build a package with pbuilder and it resulted in an
error when trying to satisfy build dependencies:
Referenced but unset environment variable evaluates to an empty string:
Version
dpkg-query: error in show format: may not be empty string
/usr/lib/pbuilder/pbuilder-satisfydepends-apt checks for apt's version
with the function package_version_is_older_than, which is defined in
/usr/lib/pbuilder/pbuilder-modules:
dpkg --compare-versions "$($CHROOTEXEC dpkg-query -W
--showformat='${Version}' "$1")" lt "$2"
CHROOTEXEC is defined in /usr/lib/pbuilder/pbuilder-checkparams:
CHROOTEXEC="chroot $BUILDPLACE "
And then (if systemd is running and its version is greater than 215) :
systemctl_run=(
systemd-run
--quiet
--scope
--description="pbuilder_${PBUILDER_OPERATION}${1:+_"$(basename "$1")"}"
--slice="$SYSTEMD_SLICE"
)
CHROOTEXEC="${systemctl_run[*]} $CHROOTEXEC"
So the resulting systemd-run command evaluates '${Version}' (in the
dpkg-query command) to an empty string. It shouldn't be evaluated since
it's enclosed between single quotes.
Downgrading systemd to version 253.5-1 fixes the problem.
Regards,
--
Raphaël Halimi
--- End Message ---
--- Begin Message ---
Fixed -1 254~rc3-1
On Tue, 25 Jul 2023 16:47:42 +0200 =?UTF-8?Q?Rapha=c3=abl_Halimi?=
<raphael.hal...@gmail.com> wrote:
> Package: systemd
> Version: 254~rc1-2
> Affects: pbuilder
>
> Dear maintainers,
>
> Yesterday I tried to build a package with pbuilder and it resulted in
an
> error when trying to satisfy build dependencies:
>
> Referenced but unset environment variable evaluates to an empty
string:
> Version
> dpkg-query: error in show format: may not be empty string
>
> /usr/lib/pbuilder/pbuilder-satisfydepends-apt checks for apt's
version
> with the function package_version_is_older_than, which is defined in
> /usr/lib/pbuilder/pbuilder-modules:
>
> dpkg --compare-versions "$($CHROOTEXEC dpkg-query -W
> --showformat='${Version}' "$1")" lt "$2"
>
> CHROOTEXEC is defined in /usr/lib/pbuilder/pbuilder-checkparams:
>
> CHROOTEXEC="chroot $BUILDPLACE "
>
> And then (if systemd is running and its version is greater than 215)
:
>
> systemctl_run=(
> systemd-run
> --quiet
> --scope
> --description="pbuilder_${PBUILDER_OPERATION}${1:+_"$(basename
"$1")"}"
> --slice="$SYSTEMD_SLICE"
> )
> CHROOTEXEC="${systemctl_run[*]} $CHROOTEXEC"
>
> So the resulting systemd-run command evaluates '${Version}' (in the
> dpkg-query command) to an empty string. It shouldn't be evaluated
since
> it's enclosed between single quotes.
>
> Downgrading systemd to version 253.5-1 fixes the problem.
This is already fixed in unstable
--
Kind regards,
Luca Boccassi
signature.asc
Description: This is a digitally signed message part
--- End Message ---