-
Notifications
You must be signed in to change notification settings - Fork 470
Failed to parse file, not adding version and locations information #4389
Copy link
Copy link
Closed
ocaml/opam-repository
#20521Description
Sorry for the avalanche of bug reports y'all, I hope that they are useful..
This one seems like a bug, at least it looks like I'm doing everything as documented.
I'm using the new sites feature to install our local library files:
dune-project:
(lang dune 2.8)
(using menhir 2.1)
(using dune_site 0.1)
(package
(name liquidsoap)
(version 2.0.0)
(sites (share libs)))
libs/dune:
(install
(section
(site
(liquidsoap libs)))
(files
audio.liq
deprecations.liq
...))
When installing, I see this error:
Installing /Users/toots/.opam/4.10.2/lib/liquidsoap/dune-package
File "_build/install/default/lib/liquidsoap/dune-package", line 1, characters 0-0:
Warning: Failed to parse file, not adding version and locations information.
The content of dune-package is automatically generated seems okay:
dune-package:
(lang dune 2.8)
(name liquidsoap)
(version 2.0.0)
(sections
(share
/Users/toots/sources/savonet/liquidsoap/_build/install/default/share/liquidsoap))
(sites (libs share))
The installed binary segfaults, I believe because it cannot find the location information at runtime.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels