Bug#903975: autopkgtest: regression with alternative dependencies from own package

2018-07-20 Thread Paul Gevers
Hi Niko, On 20-07-18 13:24, Niko Tyni wrote: > Right, I was just thinking of fixing the worst bug where we currently > try to install both the alternatives rather than just one of them. Sure. I was just not sure it that would be too easy. > Tracking which alternative dependency got installed by

Bug#903975: autopkgtest: regression with alternative dependencies from own package

2018-07-20 Thread Niko Tyni
On Thu, Jul 19, 2018 at 08:43:03PM +0200, Paul Gevers wrote: > On 19-07-18 13:41, Niko Tyni wrote: > > I think breaking out of the for loop after the first time > > we call _synthesize_deps() would work? > > From a quick look that sounds like it works in most cases, yes. However, > you don't actu

Bug#903975: autopkgtest: regression with alternative dependencies from own package

2018-07-19 Thread Paul Gevers
Hi Niko, On 19-07-18 13:41, Niko Tyni wrote: > The relevant code in lib/testdesc.py:_parse_debian_depends() : > > for dep in alt_group_str.split('|'): > (pkg, version) = _debian_check_dep(testname, dep) > if pkg in my_packages_no_arch: >

Bug#903975: autopkgtest: regression with alternative dependencies from own package

2018-07-19 Thread Niko Tyni
On Tue, Jul 17, 2018 at 07:55:56PM +0200, Paul Gevers wrote: > > From: Samuel Thibault > > Depends: hwloc-nox | hwloc > > > > but it seems that autopkgtest does not understand that? > > It is 100% supposed to support that. However, I think we have hit a bug > here with new functionality. One ca

Bug#903975: autopkgtest: regression with alternative dependencies from own package

2018-07-17 Thread Paul Gevers
Package: autopkgtest Version: 5.4 Severity: important Hi Samuel, > From: Samuel Thibault > I'm trying to add autopkgtest support to my packages, Great. Truly great. > I'm however having > an issue with hwloc: Let us help. > https://ci.debian.net/data/autopkgtest/testing/amd64/h/hwloc/621648