[buildd-tools-devel] Bug#836175: Bug#836175: libsbuild-perl: Do not use single quotes in embedded perl script
Johannes Schauer
josch at debian.org
Wed Aug 31 16:18:40 UTC 2016
Hi,
Quoting Samuel Thibault (2016-08-31 10:30:39)
> I tried to upgrade to the latest version of sbuild, but builds fail with
>
> “
> W: Stripped single quote from command for security: use strict;
> use warnings;
>
> ...
> close $releasefh;
>
> Scalar found where operator expected at -e line 21, near "&, $packages"
> (Missing operator before $packages?)
> Scalar found where operator expected at -e line 25, near "&, $saved_stdout"
> (Missing operator before $saved_stdout?)
> ”
>
> i.e. the perl script gets broken because ChrootPlain's and ChrootSudo's
> get_command_internal drop single quotes from the command before running
> it.
>
> I just replaced all single quotes (') into double quotes (") in the
> embedded script between SCRIPTEND markers, and now it works fine.
thanks for the bug report and the patch.
Unfortunately I cannot reproduce your findings.
Can you show me how I can see this problem myself?
Thanks!
cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160831/83ba3dca/attachment.sig>
More information about the Buildd-tools-devel
mailing list