Package: autopkgtest
Version: 5.4
Severity: important

Hi Samuel,

> From: Samuel Thibault <sthiba...@debian.org>

> 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/log.gz
> 
>  Broken hwloc-nox:amd64 Conflicts on hwloc:amd64 < none -> 1.11.10-3 @un
> puN >
>  Considering hwloc:amd64 9999 as a solution to hwloc-nox:amd64 10001
>  Conflicts//Breaks against version 1.11.10-2 for hwloc but that is not
> InstVer, ignoring
> 
> The story is that the hwloc source package provides both a X11 build
> (hwloc) and a non-X11 build (hwloc-nox). I was thinking that for CI
> using hwloc-nox is preferred to make the build lighter, but allowing
> hwloc too is helpful so I can also run the test on my box with the null
> container. Thus I had set
> 
> 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 can see in the log that the initial
install went flawless. Only after that, during the second run this
fails. In version 5.4 we added this second run to fix bug #867081. The
second run explicitly ask apt to install packages that are in the test
depends from ones own package to avoid packages with Version Provides to
be from other packages. However, we appear to have missed this use case
and are asking apt to install two conflicting packages.

We'll fix this, soon I hope (bug submitted with this mail). Until then I
recommend you to avoid the alternative.

Paul

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to