<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>34902</bug_id>
          
          <creation_ts>2018-05-14 02:56:40 +0300</creation_ts>
          <short_desc>Invalid libdir builtin in menhir</short_desc>
          <delta_ts>2018-10-09 08:25:56 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>ocaml-menhir</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>35493</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Chikunov">vt</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>171047</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2018-05-14 02:56:40 +0300</bug_when>
    <thetext></thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171048</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2018-05-14 03:02:23 +0300</bug_when>
    <thetext>При компиляции 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171475</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-05-31 18:26:20 +0300</bug_when>
    <thetext>ocaml-menhir-20180530-alt1.S1 -&gt; sisyphus:

Thu May 31 2018 Anton Farygin &lt;rider@altlinux.ru&gt; 20180530-alt1.S1
- 20180530 (closes: #34902)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>