[Reproducible-builds] Bug#827155: dpkg-buildflags: reproducible/fixdebugpath doesn't escape build path

HW42 hw42 at ipsumj.de
Mon Jun 13 03:25:33 UTC 2016


Package: dpkg-dev
Version: 1.18.7
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildinfo
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org, mattia at mapreri.org

Hi,

as Mattia noticed dpkg-buildflags doesn't escape the build path in the
-fdebug-prefix-map CC argument when enabling the 'fixdebugpath' option.

What assumptions does dpkg make about the build path? I think there are a
lot of build scripts which anyway break if the build path contains a
space.

Unfortunately this isn't trivially fixed since the flags are
concatenated as a string and later exported in different languages
(shell, Makefile). So if we want to support spaces in buildpaths this
need to be changed to an array. What do you think?

HW42

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160613/53997aa7/attachment.sig>


More information about the Reproducible-builds mailing list