Bug#802451: pbuilder: no longer overwrites Changed-By line in .changes file

Thorsten Glaser tg at mirbsd.de
Thu Jan 14 10:26:12 UTC 2016


Mattia Rizzolo dixit:

>Did you try? :)

Now I did. I added this to /etc/pbuilderrc:

case x$DEBEMAIL in
(x*' <'*'>')
	export DEBBUILDOPTS="-m'$DEBEMAIL' -e'$DEBEMAIL'"
	;;
(x)
	;;
(*)
	[[ -n $DEBFULLNAME ]] && \
	    export DEBBUILDOPTS="-m'$DEBFULLNAME <$DEBEMAIL>' -e'$DEBFULLNAME <$DEBEMAIL>'"
	;;
esac

This ought to restore previous behaviour. This works normally:

[…]
I: Building the package
I: Running cd /tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -m'Thorsten Glaser <tg at mirbsd.de>' -e'Thorsten Glaser <tg at mirbsd.de>' -sa -v2.4.9.1+dfsg-1.2 -sa -v2.4.9.1+dfsg-1.2 -rfakeroot
dpkg-buildpackage: source package opencv
[…]

It fails when using --binary-arch on the command line though,
because that somehow doubles the arguments (this is an old bug,
but previously, the doubling did not break the build):

[…]
I: Running cd /tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -m'Thorsten Glaser <tg at mirbsd.de>' -e'Thorsten Glaser <tg at mirbsd.de>' -B -m'\''Thorsten Glaser <tg at mirbsd.de>'\'' -e'\''Thorsten Glaser <tg at mirbsd.de>'\'' -B -rfakeroot
/bin/sh: 2: Syntax error: Unterminated quoted string
[…]

Do you need a new bugreport for that?

bye,
//mirabilos
-- 
This space for rent.



More information about the Pbuilder-maint mailing list