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

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

    <bug>
          <bug_id>34120</bug_id>
          
          <creation_ts>2017-11-02 19:43:49 +0300</creation_ts>
          <short_desc>Обновить protobuf до 3.4.1</short_desc>
          <delta_ts>2017-11-06 17:53:12 +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>protobuf-compiler</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Антон Мидюков">antohami</reporter>
          <assigned_to name="Антон Мидюков">antohami</assigned_to>
          <cc>grenka</cc>
    
    <cc>majioa</cc>
    
    <cc>rider</cc>
    
    <cc>root</cc>
    
    <cc>sbolshakov</cc>
    
    <cc>scala</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>166888</commentid>
    <comment_count>0</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2017-11-02 19:43:49 +0300</bug_when>
    <thetext>В задании 192972 я пробую собрать версию 3.4.1. Обламывается сборка java:
[ERROR]   
[ERROR]   The project com.google.protobuf:protobuf-parent:3.4.1 (/usr/src/RPM/BUILD/protobuf-3.4.1/java/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for com.google.protobuf:protobuf-parent:3.4.1: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.google:google:pom:1 has not been downloaded from it before. and &apos;parent.relativePath&apos; points at wrong local POM @ line 6, column 11 -&gt; [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Впервые сталкиваюсь со сборкой java пакета, так что никаких мыслей нет, чего ему надо. С отключенной java сборка проходит успешно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166890</commentid>
    <comment_count>1</comment_count>
    <who name="viy">viy</who>
    <bug_when>2017-11-02 20:37:43 +0300</bug_when>
    <thetext>Помог бы
BuildRequires: mvn(com.google:google:pom)
только у нас в Сизифе такого нет :(
В федоре их добавляли как sourceXX.
Вот пример
#193033 BUILDING #1 [locked] [test-only] sisyphus srpm=protobuf-3.3.1-alt1_2.src.rpm

(если что, его можно в Сизиф отправить, правда, там 3.3.1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166900</commentid>
    <comment_count>2</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2017-11-03 05:49:06 +0300</bug_when>
    <thetext>(In reply to comment #1)
&gt; Помог бы
&gt; BuildRequires: mvn(com.google:google:pom)
&gt; только у нас в Сизифе такого нет :(
&gt; В федоре их добавляли как sourceXX.

Спасибо!
googletest 1.8 у нас есть. Возможно требуется googletest версии именно 1.7. Пока пробую у себя локально собирать с
BuildRequires: libgmock-devel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166966</commentid>
    <comment_count>3</comment_count>
    <who name="viy">viy</who>
    <bug_when>2017-11-05 17:29:52 +0300</bug_when>
    <thetext>Я собрал готовый к употреблению пакет protobuf, правда, версии 3.3.1
(но, лучше чем 2.х)
в [#193267] FAILED (try 2) srpm=protobuf-3.3.1-alt1_2jpp8.src.rpm

FAILED там только потому, что клиенты не пересобраны.

2017-Nov-05 14:13:52 :: build check OK
2017-Nov-05 14:14:04 :: noarch check OK
2017-Nov-05 14:14:05 :: version check OK
        i586: NEW unmet dependencies detected:
PokerTH#1.1.1-alt4              libprotobuf.so.9 &gt;= sibcoin-debuginfo#0.16.1.2-
[...]
        x86_64: NEW unmet dependencies detected:
PokerTH#1.1.1-alt4              libprotobuf.so.9()(64bit) &gt;= 
[...]

Если хотите, могу помочь с обновлением, в том смысле,
что импортирую в git и соберу в Сизиф 3.3.1, а там от 3.3.1 до 3.4.1
будет обновляться легче.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166967</commentid>
    <comment_count>4</comment_count>
    <who name="viy">viy</who>
    <bug_when>2017-11-05 17:33:07 +0300</bug_when>
    <thetext>http://git.altlinux.org/tasks/193267/logs/events.2.1.log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166968</commentid>
    <comment_count>5</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2017-11-05 19:05:47 +0300</bug_when>
    <thetext>(In reply to comment #3)
&gt; Я собрал готовый к употреблению пакет protobuf, правда, версии 3.3.1
&gt; (но, лучше чем 2.х)
&gt; в [#193267] FAILED (try 2) srpm=protobuf-3.3.1-alt1_2jpp8.src.rpm
&gt; 
&gt; FAILED там только потому, что клиенты не пересобраны.
&gt; 
&gt; 2017-Nov-05 14:13:52 :: build check OK
&gt; 2017-Nov-05 14:14:04 :: noarch check OK
&gt; 2017-Nov-05 14:14:05 :: version check OK
&gt;         i586: NEW unmet dependencies detected:
&gt; PokerTH#1.1.1-alt4              libprotobuf.so.9 &gt;= sibcoin-debuginfo#0.16.1.2-
&gt; [...]
&gt;         x86_64: NEW unmet dependencies detected:
&gt; PokerTH#1.1.1-alt4              libprotobuf.so.9()(64bit) &gt;= 
&gt; [...]
&gt; 
&gt; Если хотите, могу помочь с обновлением, в том смысле,
&gt; что импортирую в git и соберу в Сизиф 3.3.1, а там от 3.3.1 до 3.4.1
&gt; будет обновляться легче.

Спасибо! Сегодня руки как раз дошли попробовать пособирать, натолкнулся как раз на нехватку сборочных зависимостей. Так что ваш импортированный и работающий спек очень кстати. Но я всё же думаю, что стоит в данном конкретном случае воздержаться от простого импорта пакета, потому что:
1 пакет собирался в gear до этого
2 можно использовать системный пакет googletest, и не тащить в SOURCE два архива исходных текстов
3 соберу сразу последнюю версию, можно будет чуть дольше не думать об обновлении на новую версию
4 я опыта чуток наберусь :-)

Локально в хэшере собралось. Так что необходимости собирать версию 3.3.1 нет. Завтра вечером до ума спек доведу и отправлю на сборку. Спасибо за помощь.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166970</commentid>
    <comment_count>6</comment_count>
    <who name="viy">viy</who>
    <bug_when>2017-11-05 19:55:02 +0300</bug_when>
    <thetext>ок, спасибо!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166983</commentid>
    <comment_count>7</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-11-06 17:53:12 +0300</bug_when>
    <thetext>protobuf-3.4.1-alt1 -&gt; sisyphus:

Mon Nov 06 2017 Anton Midyukov &lt;antohami@altlinux&gt; 3.4.1-alt1
- New version 3.4.1 (Closes: 34120). Thanks Igor Vlasenko</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>