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

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

    <bug>
          <bug_id>32573</bug_id>
          
          <creation_ts>2016-10-05 16:13:59 +0300</creation_ts>
          <short_desc>Собрать libv8 5.1.281, используемый в node 6.x.x LTS</short_desc>
          <delta_ts>2021-09-13 12:35:31 +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>libv8-nodejs</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></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>33647</blocked>
    
    <blocked>33648</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>cas</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>159027</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-10-05 16:13:59 +0300</bug_when>
    <thetext>Если есть возможность, просьба собрать libv8 версии 5.1.281,
она будет использоваться для nodejs, где часто выходят новые релизы nodejs при редком изменении libv8, которая может и должна быть внешней.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159028</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2016-10-05 16:20:06 +0300</bug_when>
    <thetext>Может, назвать v8-nodejs?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159038</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2016-10-05 18:45:34 +0300</bug_when>
    <thetext>v8-nodejs-5.1.281.75-alt1 -&gt; sisyphus:

* Wed Oct 05 2016 Andrey Cherepanov &lt;cas@altlinux&gt; 5.1.281.75-alt1
- Initial build  to Sisyphus (ALT #32573)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159125</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-10-08 12:45:23 +0300</bug_when>
    <thetext>Вроде как в заголовочных файлах должна ещё libplatform находится, вот, например:
https://github.com/rosmo/v8-rpm/blob/master/v8-4.2.spec</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160341</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-11-30 20:51:43 +0300</bug_when>
    <thetext>Просьба посмотреть, не хватает libplatform для сборки:
(В ответ на комментарий №3)
&gt; Вроде как в заголовочных файлах должна ещё libplatform находится, вот,
&gt; например:
&gt; https://github.com/rosmo/v8-rpm/blob/master/v8-4.2.spec</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160344</commentid>
    <comment_count>5</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-11-30 21:48:24 +0300</bug_when>
    <thetext>Печаль, дочитал заявление разработчиков, что сборка с внешней v8 вообще не поддерживается. Буду разбираться.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160355</commentid>
    <comment_count>6</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2016-12-01 10:08:59 +0300</bug_when>
    <thetext>Это, кстати, у многих.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163394</commentid>
    <comment_count>7</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-04-21 10:32:09 +0300</bug_when>
    <thetext>Пока сборка произведена.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164715</commentid>
    <comment_count>8</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-07-15 11:41:15 +0300</bug_when>
    <thetext>Что упаковано в Fedora:

$ rpm -ql v8
/usr/bin/d8
/usr/bin/parser_fuzzer
/usr/lib64/libv8.so.5
/usr/lib64/natives_blob.bin
/usr/lib64/snapshot_blob.bin

$ rpm -ql v8-devel
/usr/include/libplatform
/usr/include/libplatform/libplatform.h
/usr/include/v8
/usr/include/v8-debug.h
/usr/include/v8-experimental.h
/usr/include/v8-platform.h
/usr/include/v8-profiler.h
/usr/include/v8-testing.h
/usr/include/v8-util.h
/usr/include/v8-version.h
/usr/include/v8.h
/usr/include/v8/extensions/*
/usr/include/v8config.h
/usr/lib64/libv8.so
/usr/lib64/libv8_base.a
/usr/lib64/libv8_external_snapshot.a
/usr/lib64/libv8_libbase.a
/usr/lib64/libv8_libplatform.a
/usr/lib64/libv8_nosnapshot.a

Странное различие в количестве экспортированным символов.
В ALT:
$ nm -C -D /usr/lib64/libv8.so.5.1 | grep Tick
00000000000dfd70 T
v8::CpuProfileNode::GetLineTicks(v8::CpuProfileNode::LineTick*, unsigned int)
const

$ nm -C -D /usr/lib64/libv8.so.5.1 | wc -l
1062

В Fedora:
[lav@fedora64 ~]$ nm -C -D /usr/lib64/libv8.so | grep Ticks
0000000000b360c0 T v8::base::TimeTicks::HighResolutionNow()
0000000000b36130 T v8::base::TimeTicks::IsHighResolutionClockWorking()
0000000000b36050 T v8::base::TimeTicks::Now()

[lav@fedora64 ~]$ nm -C -D /usr/lib64/libv8.so | wc -l
23887</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>