Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61988 - [merlin] Need /etc/findlib.conf to exist to work

Attached to Project: Community Packages
Opened by Théo Cavignac (Lattay) - Tuesday, 12 March 2019, 21:50 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Saturday, 16 March 2019, 23:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When installing merlin from binary package nothing work until a valid /etc/findlib.conf is created.



Installing ocaml-findlib solve the problem and after removing it but keeping /etc/findlib.conf everything work.

Additional info:
*

Steps to reproduce:
Install merlin from repository (without ocaml-findlib installed)
Run the following command
$ ocamlmerlin-server
Fatal error: exception Failure("Config file not found - neither /etc/findlib.conf nor the directory /etc/findlib.conf.d")

Or try to open "file.ml" with vim/nvim

Creating /etc/findlib.conf with the following content fix the problem:
destdir="/usr/lib/ocaml"
path="/usr/lib/ocaml"
ocamlc="ocamlc.opt"
ocamlopt="ocamlopt.opt"
ocamldep="ocamldep.opt"
ocamldoc="ocamldoc.opt"

PS: It is my first bug report here so sorry if it lack some important informations.
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Saturday, 16 March 2019, 23:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Added ocaml-findlib to deps in 3.2.2-2.

Loading...