#1141542 ocaml-tools: daily syntax errors from cron job running update-otags under OCaml 5.3

Package:
otags
Source:
otags
Description:
tags file generator for OCaml
Submitter:
Frank-Ulrich Sommer
Date:
2026-07-06 00:19:02 UTC
Severity:
normal
#1141542#5
Date:
2026-07-06 00:16:49 UTC
From:
To:
I must have installed ocaml-core manually with apt somewhen in the past and I have no specific requirement for package otags.

After enabling error reporting (which was never used before) I get daily error messages from cron:

  run-parts: /etc/cron.daily/otags exited with return code 3


Running the update-otags which is called from the cron job gets the following error:

  Fatal error: escaping exception File "/usr/lib/x86_64-linux-gnu/ocaml/5.3.0/compiler-libs/parmatch.mli", line 35, characters 0-68: type substitution in signatures are not supported before OCaml 4.08

  Please rerun otags with -v as *first* option to get a backtrace
  and send the command line, the input files and the backtrace
  as bug report to otags@askra.de


In the past I at least made an update from Bookworm to Trixie. The otags package does not seem to exist for Trixie but was not removed with autoremove.


aptitude why otags

  i   ocaml-core  Recommends ocaml-tools
  i A ocaml-tools Suggests   otags


the following package versions are installed:

  ocaml-core: 5
  ocaml-tools: 20120103-13
  otags: 4.05.1-3

I'm not sure if I did something wrong, but I think package otags is deprecated and should have been removed automatically.