[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#904284: dose-distcheck: duplicate dependency with virtual package in OR clause of yaml output



Package: dose-distcheck
Version: 5.0.1-10
Severity: wishlist

Hi,

I didn't investigate yet why this happens but I verified that this
problem didn't happen with version 5.0.1-9 (where the output was
actually wrong because the version constraint was missing) but it
started showing up with 5.0.1-10. To reproduce use the following
Packages file:

Package: foo
Version: 1
Architecture: all
Depends: bar (>= 1)

Package: baz
Version: 1
Architecture: all
Provides: bar

Package: bar
Version: 1
Architecture: all
Depends: unsat

An feed it to distcheck:

$ dose-debcheck --explain --failures --checkonly=foo Packages
output-version: 1.2
report:
 -
  package: foo
  version: 1
  architecture: all
  status: broken
  reasons:
   -
    missing:
     pkg:
      package: bar
      version: 1
      architecture: all
      unsat-dependency: unsat
     depchains:
      -
       depchain:
        -
         package: foo
         version: 1
         architecture: all
         depends: bar (>= 1) | bar (>= 1)
 
background-packages: 2
foreground-packages: 1
total-packages: 3
broken-packages: 1

As you can see, the depends of "foo" reads "bar (>= 1) | bar (>= 1)".
This is technically correct but an annoyance since this duplication
could be avoided.

Thanks!

cheers, josch


Reply to: