Bug#940471: diffoscope: test failures

Gianfranco Costamagna locutusofborg at debian.org
Mon Sep 16 15:38:38 BST 2019


tags 940471 - moreinfo
> thanks
> 
> Hi Gianfranco,
> 
> > Hello, looks like the latest diffoscope in unstable has a test failure 
> > that is preventing it from entering testing:
> 
> Hm, I can't reproduce this unfortunately.
> 
> > FileNotFoundError: [Errno 2] No such file or directory: 'ocamlc': 'ocamlc'
> 
> This does not make immediate sense to me - ocamlc is provided by the
> ocaml-nox package which is listed in the Build-Depends and in the
> autopkgtest debian/tests/control file.
> 
> Any ideas?
> 


If you look at the log,
https://ci.debian.net/packages/d/diffoscope/testing/amd64/

you can see that pytest-with-recommends works, because it installs ocaml-nox,
while pytest doesn't...

look at debian/tests/control

Tests: pytest
Depends: diffoscope, python3-pytest, file, python3-tlsh

I would expect either:
1) ocaml-nox to become a runtime dependency for pytest test
2) test being skipped when ocaml-nox is not installed
3) ocaml-nox become a runtime dependency of diffoscope.

I don't really know which one is better, I think 2),
but since it requires code modifications, I went for 1) in Ubuntu
https://launchpad.net/ubuntu/+source/diffoscope/123ubuntu1

(lets see how it goes)

G.
> 
> Regards,
> 
> -- 
>       ,''`.
>      : :'  :     Chris Lamb
>      `. `'`      lamby at debian.org ???? chris-lamb.co.uk
>        `-
> 
> 



More information about the Reproducible-builds mailing list