This looks similar to bug 1831492.  @vorlon was insistent that was a bug
in autopkgtest, but personally it seemed like a real bug to me, for the
reasons i explained in that bug.

However for this bug, I think it actually is a bug in autopkgtest,
because the resulting binaries are in fact separated by arch, even
though autopkgtest doesn't realize that.


IIUC, autopkgtest is looking at the package list for binutils, and it sees the 
same packages provided by 'binutils' as well as 'binutils-mipsen'; for example:

in debian/control for binutils in eoan-proposed there is:
Package: binutils-mipsel-linux-gnu
Priority: optional
Architecture: mipsel

in debian/control for binutils-mipsen in eoan-proposed there is:
Package: binutils-mipsel-linux-gnu
Priority: optional
Architecture: amd64 i386 x32


autopkgtest seems not currently smart enough to notice that those source 
packages don't *actually* overlap with those binary packages, because they are 
limited to separate archs.  So autopkgtest thinks that both source packages 
provide the same binary package, which causes this confusing error, because it 
can't find the '4~c4ubuntu1' version of the binutils source package.

Since I assume that even if we *do* start building for mips arch, you
don't want the binutils source package to build for it (you would want
the binutils-mipsen package to build for it, right?), removing the
conflicting binary packages from the binutils package debian/control
would "fix" this autopkgtest error.

Alternately, the autopkgtest should be taught that it needs to parse the
arch fields for the binary package list, to account for situations like
this.

That's all assuming I haven't misunderstood everything, of course.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1845157

Title:
  runner/autopkgtest fails to setup env with binary packages moved to
  another packge, and different source/binary versions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1845157/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to