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

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

    <bug>
          <bug_id>40522</bug_id>
          
          <creation_ts>2021-07-17 13:58:16 +0300</creation_ts>
          <short_desc>ocaml-luv FTBFS</short_desc>
          <delta_ts>2021-07-29 11:47:39 +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-luv</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>https://lists.altlinux.org/pipermail/sisyphus-incominger/2021-July/622431.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>27222</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitry V. Levin">ldv</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>aen</cc>
    
    <cc>lav</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>200630</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2021-07-17 13:58:16 +0300</bug_when>
    <thetext>http://git.altlinux.org/tasks/279417/logs/events.1.1.log:
#100 build 0.5.8-alt1 from /gears/o/ocaml-luv.git fetched at 2021-Jul-17 10:23:15 from sisyphus
...
[x86_64] 4 failures! in 4.684s. 410 tests run.
[aarch64] 4 failures! in 5.363s. 410 tests run.
[ppc64le] 4 failures! in 4.981s. 410 tests run.
[i586] 4 failures! in 5.024s. 410 tests run.
[armh] 4 failures! in 5.333s. 410 tests run.

This is result of the following libuv update:
https://lists.altlinux.org/pipermail/sisyphus-incominger/2021-July/622256.html

proscriptions$ grep ocaml-luv dist.src_ftbfs
ocaml-luv	 alt-server-v-x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200642</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2021-07-17 23:00:10 +0300</bug_when>
    <thetext>потому что апстрим тестирует версию libuv, что несколько странно:

commit 2f66e155f4917f75a7116d2513e622b53309b592
Author: Anton Bachin &lt;antonbachin@yahoo.com&gt;
Date:   Mon Feb 15 20:22:33 2021 +0300

    Upgrade libuv to 1.41.0

diff --git a/test/version.ml b/test/version.ml
index e703837..57ec8e4 100644
--- a/test/version.ml
+++ b/test/version.ml
@@ -9,7 +9,7 @@ let tests = [
       Alcotest.(check int) &quot;number&quot; 1 Luv.Version.major);
 
     &quot;minor&quot;, `Quick, (fun () -&gt;
-      Alcotest.(check int) &quot;number&quot; 40 Luv.Version.minor);
+      Alcotest.(check int) &quot;number&quot; 41 Luv.Version.minor);
 
     &quot;patch&quot;, `Quick, (fun () -&gt;
       Alcotest.(check int) &quot;number&quot; 0 Luv.Version.patch);
@@ -21,12 +21,12 @@ let tests = [
       Alcotest.(check string) &quot;suffix&quot; &quot;&quot; Luv.Version.suffix);
 
     &quot;hex&quot;, `Quick, (fun () -&gt;
-      Alcotest.(check int) &quot;number&quot; 0x012800 Luv.Version.hex);
+      Alcotest.(check int) &quot;number&quot; 0x012900 Luv.Version.hex);
 
     &quot;version&quot;, `Quick, (fun () -&gt;
-      Alcotest.(check int) &quot;number&quot; 0x012800 (Luv.Version.version ()));
+      Alcotest.(check int) &quot;number&quot; 0x012900 (Luv.Version.version ()));
 
     &quot;string&quot;, `Quick, (fun () -&gt;
-      Alcotest.(check string) &quot;value&quot; &quot;1.40.0&quot; (Luv.Version.string ()));
+      Alcotest.(check string) &quot;value&quot; &quot;1.41.0&quot; (Luv.Version.string ()));
   ]
 ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200657</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2021-07-18 14:12:38 +0300</bug_when>
    <thetext>В таком случае надо либо ставить жёсткую зависимость на версию libuv (желательно и в бинарный пакет, тогда нельзя будет обновить libuv по ошибке), либо оторвать это тестирование версии.
Со своей стороны в связи с высокой стабильностью API у libuv я не вижу причин для жёсткой привязки.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200999</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2021-07-28 19:50:09 +0300</bug_when>
    <thetext>ping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201004</commentid>
    <comment_count>4</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2021-07-29 08:22:47 +0300</bug_when>
    <thetext>pong</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201011</commentid>
    <comment_count>5</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2021-07-29 11:47:39 +0300</bug_when>
    <thetext>(Ответ для Vitaly Lipatov на комментарий #2)
&gt; В таком случае надо либо ставить жёсткую зависимость на версию libuv
&gt; (желательно и в бинарный пакет, тогда нельзя будет обновить libuv по
&gt; ошибке), либо оторвать это тестирование версии.
&gt; Со своей стороны в связи с высокой стабильностью API у libuv я не вижу
&gt; причин для жёсткой привязки.

На самом деле привязка осмысленна, но возможно не такая жёсткая.

ocaml-luv новой версии требует уже libluv-1.42.0 и тесты на нашей версии падают.

В общем я отправил в репозиторий ocaml-luv в котором заапдейтил версию в тестах, повешу что-то в апстрим по этому поводу и посмотрим на реакцию.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>