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

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

    <bug>
          <bug_id>41774</bug_id>
          
          <creation_ts>2022-01-22 09:57:26 +0300</creation_ts>
          <short_desc>gem-method-source теряет requires/provides при пересборке</short_desc>
          <delta_ts>2022-01-24 13:55:23 +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>rpm-build-ruby</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>P5</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="majioa@altlinux.org">majioa</assigned_to>
          <cc>3aHyga</cc>
    
    <cc>admsasha</cc>
    
    <cc>aen</cc>
    
    <cc>cas</cc>
    
    <cc>ldv</cc>
    
    <cc>majioa</cc>
    
    <cc>mike</cc>
    
    <cc>nbr</cc>
    
    <cc>pav</cc>
    
    <cc>rider</cc>
    
    <cc>sin</cc>
    
    <cc>stanv</cc>
    
    <cc>thatman</cc>
    
    <cc>timonbl4</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>206999</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2022-01-22 09:57:26 +0300</bug_when>
    <thetext>В результате простого rebuild&apos;а gem-method-source 1.0.0-alt1 в окружении текущего Сизифа на любой его архитектуре получается RPM с пустыми requires и provides. Воспроизводится и в hasher&apos;е, и в girar:

https://git.altlinux.org/tasks/293943/logs/events.1.1.log
https://git.altlinux.org/tasks/293943/build/100/x86_64/log

Пакет нужно пересобрать в sisyphus_riscv64, где я эту ошибку сначала и обнаружил; поэтому major.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207003</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2022-01-22 12:25:35 +0300</bug_when>
    <thetext>Та же проблема есть и с другими модулями:

gem-power-assert: https://git.altlinux.org/tasks/293945/logs/events.1.1.log

gem-regexp-parser: https://git.altlinux.org/tasks/293946/logs/events.1.1.log

Это вряд ли исчерпывающий список, но пока я наткнулся только на эти три.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207004</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2022-01-22 12:34:59 +0300</bug_when>
    <thetext>Из логов последней пересборки на x86_64 можно попробовать получить более полный список. Например, так:

[iv@team ~]$ grep -e  &apos;-Provides: gem(&apos; /beehive/logs/Sisyphus-x86_64/latest/success/gem-*
/beehive/logs/Sisyphus-x86_64/latest/success/gem-android-key-attestation-0.3.0-alt1:-Provides: gem(android_key_attestation) = 0.3.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-bcrypt-pbkdf-1.1.0-alt1:-Provides: gem(bcrypt_pbkdf) = 1.1.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-benchmark-suite-1.0.0-alt3.git32101ee13:-Provides: gem(benchmark_suite) = 1.0.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-bundler-ext-0.4.0-alt2:-Provides: gem(bundler_ext) = 0.4.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-chef-16.13.16-alt1:-Provides: gem(chef-bin) = 16.13.16
/beehive/logs/Sisyphus-x86_64/latest/success/gem-chef-16.13.16-alt1:-Provides: gem(chef-config) = 16.13.16
/beehive/logs/Sisyphus-x86_64/latest/success/gem-chef-16.13.16-alt1:-Provides: gem(chef-utils) = 16.13.16
/beehive/logs/Sisyphus-x86_64/latest/success/gem-css-parser-1.7.1-alt1:-Provides: gem(css_parser) = 1.7.1
/beehive/logs/Sisyphus-x86_64/latest/success/gem-deep-merge-1.2.1-alt4.1:-Provides: gem(deep_merge) = 1.2.1
/beehive/logs/Sisyphus-x86_64/latest/success/gem-escape-utils-1.2.1-alt3:-Provides: gem(escape_utils) = 1.2.1
/beehive/logs/Sisyphus-x86_64/latest/success/gem-exception-notification-4.4.0-alt1.1:-Provides: gem(exception_notification) = 4.4.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-fast-gettext-1.8.0-alt2:-Provides: gem(fast_gettext) = 1.8.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-friendly-id-5.4.1-alt1:-Provides: gem(friendly_id) = 5.4.1
/beehive/logs/Sisyphus-x86_64/latest/success/gem-gem-plugin-0.2.3-alt3:-Provides: gem(gem_plugin) = 0.2.3
/beehive/logs/Sisyphus-x86_64/latest/success/gem-gettext-i18n-rails-1.8.1-alt1:-Provides: gem(gettext_i18n_rails) = 1.8.1
/beehive/logs/Sisyphus-x86_64/latest/success/gem-http-parser-rb-0.6.1-alt3:-Provides: gem(http_parser.rb) = 0.6.1
/beehive/logs/Sisyphus-x86_64/latest/success/gem-inspec-core-4.38.6-alt1:-Provides: gem(inspec) = 4.38.6
/beehive/logs/Sisyphus-x86_64/latest/success/gem-inspec-core-4.38.6-alt1:-Provides: gem(inspec-bin) = 4.38.6
/beehive/logs/Sisyphus-x86_64/latest/success/gem-inspec-core-4.38.6-alt1:-Provides: gem(inspec-core-bin) = 4.38.6
/beehive/logs/Sisyphus-x86_64/latest/success/gem-jaro-winkler-1.5.4-alt1:-Provides: gem(jaro_winkler) = 1.5.4
/beehive/logs/Sisyphus-x86_64/latest/success/gem-json-2.5.1-alt1:-Provides: gem(json_pure) = 2.5.1
/beehive/logs/Sisyphus-x86_64/latest/success/gem-license-scout-1.1.8-alt1:-Provides: gem(license_scout) = 1.1.8
/beehive/logs/Sisyphus-x86_64/latest/success/gem-method-source-1.0.0-alt1:-Provides: gem(method_source) = 1.0.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-multi-json-1.15.0-alt1:-Provides: gem(multi_json) = 1.15.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-mustermann-1.1.1-alt1.1:-Provides: gem(mustermann-contrib) = 1.1.1
/beehive/logs/Sisyphus-x86_64/latest/success/gem-oedipus-lex-2.5.2-alt1:-Provides: gem(oedipus_lex) = 2.5.2
/beehive/logs/Sisyphus-x86_64/latest/success/gem-openssl-signature-algorithm-1.0.0-alt1:-Provides: gem(openssl-signature_algorithm) = 1.0.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-posix-mq-2.4.1-alt3:-Provides: gem(posix_mq) = 2.4.1
/beehive/logs/Sisyphus-x86_64/latest/success/gem-power-assert-1.1.7-alt1:-Provides: gem(power_assert) = 1.1.7
/beehive/logs/Sisyphus-x86_64/latest/success/gem-puppet-resource-api-1.8.13-alt1:-Provides: gem(puppet-resource_api) = 1.8.13
/beehive/logs/Sisyphus-x86_64/latest/success/gem-record-tag-helper-1.0.1-alt1:-Provides: gem(record_tag_helper) = 1.0.1
/beehive/logs/Sisyphus-x86_64/latest/success/gem-regexp-parser-1.8.2-alt1:-Provides: gem(regexp_parser) = 1.8.2
/beehive/logs/Sisyphus-x86_64/latest/success/gem-ruby-parser-3.15.0-alt1.1:-Provides: gem(ruby_parser) = 3.15.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-rubygems-update-3.2.19-alt1:-Provides: gem(bundler) = 2.2.19
/beehive/logs/Sisyphus-x86_64/latest/success/gem-safety-net-attestation-0.4.0-alt1:-Provides: gem(safety_net_attestation) = 0.4.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-scoped-search-4.1.9-alt1:-Provides: gem(scoped_search) = 4.1.9
/beehive/logs/Sisyphus-x86_64/latest/success/gem-sd-notify-0.1.0-alt1:-Provides: gem(sd_notify) = 0.1.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-semantic-puppet-1.0.2-alt2.1:-Provides: gem(semantic_puppet) = 1.0.2
/beehive/logs/Sisyphus-x86_64/latest/success/gem-sexp-processor-4.15.0-alt1:-Provides: gem(sexp_processor) = 4.15.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-sinatra-1:2.1.0-alt1:-Provides: gem(rack-protection) = 2.1.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-sinatra-1:2.1.0-alt1:-Provides: gem(sinatra-contrib) = 2.1.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-smart-proxy-ansible-3.0.1-alt1:-Provides: gem(smart_proxy_ansible) = 3.0.1
/beehive/logs/Sisyphus-x86_64/latest/success/gem-smart-proxy-chef-0.2.0-alt1:-Provides: gem(smart_proxy_chef) = 0.2.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-smart-proxy-discovery-1.0.5-alt1:-Provides: gem(smart_proxy_discovery) = 1.0.5
/beehive/logs/Sisyphus-x86_64/latest/success/gem-smart-proxy-pulp-2.1.0-alt1:-Provides: gem(smart_proxy_pulp) = 2.1.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-structured-warnings-0.4.0-alt1:-Provides: gem(structured_warnings) = 0.4.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-tpm-key-attestation-0.10.0-alt1:-Provides: gem(tpm-key_attestation) = 0.10.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-train-3.7.6-alt1:-Provides: gem(train-core) = 3.7.6
/beehive/logs/Sisyphus-x86_64/latest/success/gem-unf-ext-0.0.7.6-alt1:-Provides: gem(unf_ext) = 0.0.7.6
/beehive/logs/Sisyphus-x86_64/latest/success/gem-unicode-utils-1.4.0-alt1.3:-Provides: gem(unicode_utils) = 1.4.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-validates-lengths-from-database-0.8.0-alt1:-Provides: gem(validates_lengths_from_database) = 0.8.0
/beehive/logs/Sisyphus-x86_64/latest/success/gem-vpim-13.11.11-alt3:-Provides: gem(vpim_icalendar) = 1.1

Это не точный метод, но я проверил несколько случайно выбранных  логов из этого списка, проблема как раз та самая.

Похоже, проблема носит системный характер. Перевешиваю на rpm-build-ruby.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207019</commentid>
    <comment_count>3</comment_count>
    <who name="Малъ Скрылевъ">3aHyga</who>
    <bug_when>2022-01-22 23:10:00 +0300</bug_when>
    <thetext>#293959</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207040</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-01-24 10:48:34 +0300</bug_when>
    <thetext>rpm-build-ruby-1:1.0.0-alt17 -&gt; sisyphus:

 Sat Jan 22 2022 Pavel Skrylev &lt;majioa@altlinux&gt; 1:1.0.0-alt17
 - ! lost provides / requires for aliases (closes #41774)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207041</commentid>
    <comment_count>5</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2022-01-24 10:54:07 +0300</bug_when>
    <thetext>Павел, не могли бы вы писать changelog в формате, понятном обычным пользователям без чтения дополнительной легенды.

Спасибо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207047</commentid>
    <comment_count>6</comment_count>
    <who name="Малъ Скрылевъ">3aHyga</who>
    <bug_when>2022-01-24 11:30:51 +0300</bug_when>
    <thetext>Я подумаю над вашим предложением:)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207056</commentid>
    <comment_count>7</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2022-01-24 13:55:23 +0300</bug_when>
    <thetext>(In reply to Repository Robot from comment #4)
&gt; rpm-build-ruby-1:1.0.0-alt17 -&gt; sisyphus:
&gt; 
&gt;  Sat Jan 22 2022 Pavel Skrylev &lt;majioa@altlinux&gt; 1:1.0.0-alt17
&gt;  - ! lost provides / requires for aliases (closes #41774)

Спасибо.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>