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

Bug#979493: Error: Rule failed to generate the following targets: _doc/_html/highlight.pack.js



Hi Josch,

On Thu, Jan 07, 2021 at 11:47:06AM +0100, Johannes 'josch' Schauer wrote:

> I now investigated further and it seems that the package has an
> autopkgtest (yay!) so I triggered that and it failed with the same error
> message that I got:
> 
> https://ci.debian.net/data/autopkgtest/unstable/amd64/o/ocaml-odoc/9469763/log.gz
> 
> Since the logs are removed after some time, here the last lines from the
> log:
> 
> autopkgtest [02:11:21]: test odoc-on-odoc: [-----------------------
> File series fully applied, ends at patch debian/patches/no-vendored-js-highlight
> File "_doc/_html/_unknown_", line 1, characters 0-0:
> Error: Rule failed to generate the following targets:
> - _doc/_html/highlight.pack.js

That seems to be due to a missing libjs-highlight.js. This used to be
only a Recommends, and hence was not pulled in by the test runner. I
have now made it a Depends, I hope that will solve the problem.

> [ I also took the liberty to add salsaci to the ocaml-odoc repository on

> salsa and it seems there is also a FTBFS which I was unable to trigger
> locally using sbuild:
> https://salsa.debian.org/ocaml-team/ocaml-odoc/-/pipelines/216353 ]
> 
> This makes me believe that this is probably not a problem with my system
> but with the ocaml-odoc package itself.

Error: Too many opam files for package "dune_odoc_test":
1285- test/dune/dune_odoc_test.opam
1286- debian/output/source_dir/test/dune/dune_odoc_test.opam

That is weird. In particular I have no idea where that debian/output is
coming from. Anyway, I think that this is an indepenent problem.

Cheers -Ralf.


Reply to: