Home My Page Projects Dose: library and tools
Summary Activity Tracker Lists SCM Files

[#20946] Wrong depchains

Date:
2016-11-01 06:08
Priority:
3
State:
Open
Submitted by:
Johannes Schauer (josch)
Assigned to:
Nobody (None)
Summary:
Wrong depchains

Detailed description
The following setup:

curl --location --fail --retry 4 http://snapshot.debian.org/archive/debian/20161031T154134Z/dists/sid/main/binary-arm64/Packages.xz > Packages_main_arm64.xz
curl --location --fail --retry 4 http://snapshot.debian.org/archive/debian/20161031T154134Z/dists/sid/main/binary-mips/Packages.xz > Packages_main_mips.xz
curl --location --fail --retry 4 http://snapshot.debian.org/archive/debian/20161031T154134Z/dists/sid/main/source/Sources.xz > Sources.xz
xz --decompress --stdout Packages_main_mips.xz | grep-dctrl -X \( --not -FArchitecture all --and --not -FMulti-Arch foreign \) > Packages_main_mips_noall_nomaforeign
printf 'Package: crossbuild-essential-mips\nArchitecture: arm64\nDepends: libc-dev:mips, libstdc++-dev:mips\nVersion: 1\n\n' > crossbuild-essential-arm64-mips
dose-builddebcheck --deb-drop-b-d-indep --explain --failures --deb-native-arch=arm64 --deb-host-arch=mips --checkonly=aegis crossbuild-essential-arm64-mips Packages_main_arm64.xz Packages_main_mips_noall_nomaforeign Sources.xz

And I will get:

output-version: 1.2
native-architecture: arm64
host-architecture: mips
report:
-
package: aegis
version: 4.24.3-3
architecture: any,all
type: src
status: broken
reasons:
-
conflict:
pkg1:
package: zlib1g
version: 1:1.2.8.dfsg-2+b2
architecture: mips
unsat-conflict: zlib1g:arm64 (!= 1:1.2.8.dfsg-2+b2)
pkg2:
package: zlib1g
version: 1:1.2.8.dfsg-2+b1
architecture: arm64
depchain1:
-
depchain:
-
package: aegis
version: 4.24.3-3
architecture: any,all
type: src
depends: zlib1g-dev:mips
-
package: zlib1g-dev
version: 1:1.2.8.dfsg-2+b2
architecture: mips
depends: zlib1g:mips (= 1:1.2.8.dfsg-2+b2)
depchain2:
-
depchain:
-
package: aegis
version: 4.24.3-3
architecture: any,all
type: src
depends: zlib1g-dev:mips
-
package: zlib1g-dev
version: 1:1.2.8.dfsg-2+b2
architecture: mips
depends: zlib1g:mips (= 1:1.2.8.dfsg-2+b2)
-
package: zlib1g
version: 1:1.2.8.dfsg-2+b2
architecture: mips

binary-packages: 102334
source-packages: 27097
broken-packages: 1

The problem is correctly detected as a binNMU version skew between zlib1g on mips and on arm64. Specifically, the conflict is between zlib1g:arm64 (= 1:1.2.8.dfsg-2+b1) and zlib1g:mips (= 1:1.2.8.dfsg-2+b2). I would expect that the depchains will lead me to each of these packages. Instead, both depchains end with the package zlib1g:mips (= 1:1.2.8.dfsg-2+b2).

Since the native architecture is arm64, I assume that it has to do with zlib1g:arm64 (= 1:1.2.8.dfsg-2+b1) being pseudo-essential and thus, no direct depchain to it exists, but only an indirect one through one of the Essential:yes packages.

No Comments Have Been Posted

No Changes Have Been Made to This Item