This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository buildscripts. from 75cc124 bin/sbuild-deb-package: use apt-get as dependency resolver on stretch and up. new 81810c7 bin/sbuild-deb-package: disable alternatives resolution in sbuild. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: bin/sbuild-deb-package | 4 ++++ 1 file changed, 4 insertions(+) -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit 81810c7560e2211db6831002eaaf6ecedfc074d0 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Aug 22 02:02:49 2017 +0200 bin/sbuild-deb-package: disable alternatives resolution in sbuild. This might come in handy at times, but bites back when using the apt-get resolver. By default, alternatives resolution is enabled and removes all but the first alternative for the apt-get resolver - for the aptitude resolver, it's disabled by default. If the first alternative is an unavailable package (for instance because it was removed in newer distro versions), builds will fail. Hope that apt-get is smart enough to resolve such situations correctly. --- bin/sbuild-deb-package | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/sbuild-deb-package b/bin/sbuild-deb-package index 6a31f6b..fd6605a 100755 --- a/bin/sbuild-deb-package +++ b/bin/sbuild-deb-package @@ -334,6 +334,10 @@ build_packages() { # Additionally, at the time of writing this comment, aptitude segfaults on # arm*- and stretch-based chroots with Qemu user emulation. sbuild_options+=("--build-dep-resolver=apt") + + # Also disable alternatives resolving, hoping that apt-get is smart enough + # to figure stuff out correctly. + sbuild_options+=("--no-resolve-alternatives") else sbuild_options+=("--build-dep-resolver=aptitude") fi -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git