pbuilder build broken.
Loïc Minier
lool at dooz.org
Sun Dec 13 14:15:40 UTC 2009
On Sun, Dec 13, 2009, Junichi Uekawa wrote:
> It's apparently broken somewhere in testsuite:
>
> I: Running /usr/bin/dpkg-buildpackage -rfakeroot -us -uc '${DEBBUILDOPTS}'
> dpkg-buildpackage: unknown option or argument ${DEBBUILDOPTS}
I reproduced with pdebuild --use-pdebuild-internal and fixed this in
24d8e253e264ea9ecc6996284c6b678cef37c115; thanks! Fix:
-CMD="/usr/bin/dpkg-buildpackage -rfakeroot -us -uc '\${DEBBUILDOPTS}'"
+CMD="/usr/bin/dpkg-buildpackage -rfakeroot -us -uc \${DEBBUILDOPTS}"
It had been introduced by this change:
+CMD="/usr/bin/dpkg-buildpackage -rfakeroot -us -uc '\${DEBBUILDOPTS}'"
-if echo /usr/bin/dpkg-buildpackage -rfakeroot -us -uc '${DEBBUILDOPTS}' | \
+if echo "$CMD" | \
I had copied over the single quotes into the CMD definition, but that
meant an extra level of quoting since the echo args were not within
double-quotes (as I misread).
--
Loïc Minier
More information about the Pbuilder-maint
mailing list