[elbe-devel] [PATCH] elbe: pbuilder: workaround for aptitude segmentation fault
Manuel Traut
manuel.traut at linutronix.de
Thu Jun 29 12:35:52 CEST 2017
Hi Kurt,
because stretch is stable now. I merged this patch into devel/elbe-2.0
Regards,
Manuel
On Fri, Mar 10, 2017 at 12:25:16PM +0100, Kurt Kanzenbach wrote:
> There seems to be a "known" problem with armhf and debian/sid pbuilder
> changeroots. Aptitude just crashes. The workaround is just as simple:
> do not use aptitude for dependency calculation.
>
> Debian Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834990
>
> Tested with stretch pbuilder project.
>
> Signed-off-by: Kurt Kanzenbach <kurt at linutronix.de>
> ---
> elbepack/pbuilder.py | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/elbepack/pbuilder.py b/elbepack/pbuilder.py
> index 77e7cfc..37ac36b 100644
> --- a/elbepack/pbuilder.py
> +++ b/elbepack/pbuilder.py
> @@ -35,6 +35,10 @@ def pbuilder_write_config (builddir, xml, log):
> fp.write ('DEBOOTSTRAPOPTS=("${DEBOOTSTRAPOPTS[@]}" "--no-check-gpg")\n')
> fp.write ('export ALLOWUNTRUSTED="yes"\n')
>
> + # aptitude segfaults with sid armhf changeroots, great! :)
> + # link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834990
> + if distname == 'stretch':
> + fp.write ('PBUILDERSATISFYDEPENDSCMD=/usr/lib/pbuilder/pbuilder-satisfydepends-experimental\n')
>
> fp.close()
>
> --
> 2.1.4
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
More information about the elbe-devel
mailing list