Summary: | Invalid libdir builtin in menhir | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Vitaly Chikunov <vt> |
Component: | ocaml-menhir | Assignee: | Anton Farygin <rider> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P3 | CC: | rider |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux | ||
Bug Depends on: | |||
Bug Blocks: | 35493 |
Description
Vitaly Chikunov
2018-05-14 02:56:40 MSK
При компиляции coccinelle возникает ошибка Error: /usr/src/tmp/ocaml-menhir-buildroot/usr/share/menhir/standard.mly: No such file or directory [builder@localhost ~]$ strings /usr/bin/menhir | grep buildroot /usr/src/tmp/ocaml-menhir-buildroot/usr/share/menhir [builder@localhost ~]$ ls -l /usr/share/menhir/standard.mly -rw-r--r-- 1 rooter rooter 6521 Jul 11 2017 /usr/share/menhir/standard.mly в ocaml-menhir/menhir/src/settings.ml есть такая запись: (* By default, [stdlib_path] is [Installation.libdir], that is, the directory that was specified when Menhir was compiled. This is overridden by the environment variable $MENHIR_STDLIB, if it is defined, and by the --stdlib command line option, if present. *) Workaround, установить MENHIR_STDLIB работает. Однако, это не совсем правильно, что по-умолчанию в путь попал buildroot. ocaml-menhir-20180530-alt1.S1 -> sisyphus: Thu May 31 2018 Anton Farygin <rider@altlinux.ru> 20180530-alt1.S1 - 20180530 (closes: #34902) |