#980099 virtual packages are failing to resolve when older versions of real packages are present when building buster-backports

#980099#5
Date:
2021-01-14 14:33:16 UTC
From:
To:
When trying to build node-buble (and any other package that build
depends on node-acorn provided as a virtual package by
node-debbundle-acorn in buster-backports)

(I)Distcheck: Cudf Universe: 61258 packages
(I)Distcheck: --checkonly specified, consider all packages as
background packages
(I)Distcheck: Solving...
output-version: 1.2
native-architecture: amd64
report:
 -
  package: sbuild-build-depends-main-dummy
  version: 0.invalid.0
  architecture: amd64
  status: broken
  reasons:
   -
    missing:
     pkg:
      package: sbuild-build-depends-main-dummy
      version: 0.invalid.0
      architecture: amd64
      unsat-dependency: node-acorn:amd64 (>= 6~) | node-acorn:amd64 (>=
6~)

node-buble says node-acorn (>= 6~) in Build-Depends

and node-debbundle-acorn in buster-backports provides
node-acorn (= 8.0.4+ds+~cs19.19.27-1)

and node-acorn real package version in buster is 5.5.3+ds3-3

Build command used is,

sbuild -A -s --force-orig-source -c buster-amd64-sbuild
--extra-repository='deb http://deb.debian.org/debian buster-backports 
main' --extra-repository='deb http://incoming.debian.org/debian-buildd
buildd-buster-backports main' --build-dep-resolver=aptitude
--no-run-lintian

fails for both aptitude and aspcud

#980099#10
Date:
2021-01-14 16:07:17 UTC
From:
To:
It seems node-buble not only build-depends versioned on
node-debbundle-acorn but also unversioned on rollup.

Since dependency on rollup is unversioned, the package from buster is
prioritized over the one from backports, and the one from buster depends
unversioned on node-acorn.

Seems the package need to build-depend versioned on rollup as well.


 - Jonas