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

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

    <bug>
          <bug_id>41641</bug_id>
          
          <creation_ts>2021-12-28 00:00:31 +0300</creation_ts>
          <short_desc>can&apos;t get distro version from distr_info</short_desc>
          <delta_ts>2023-05-23 04:28:28 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p8</product>
          <component>etersoft-build-utils</component>
          <version>не указана</version>
          <rep_platform>x86_64</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Y. Afonin">asy</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          
          
          <qa_contact name="qa-p8@altlinux.org">qa-p8</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>206407</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2021-12-28 00:00:31 +0300</bug_when>
    <thetext>$ rpmbb
Using autodetected spec /home/asy/RPM/GIT/pingnoo/pingnoo.spec ...
...
Error in rpmbb: can&apos;t get distro version from distr_info, write lav@etersoft

Оно, конечно, p8, но вот вылезло на свежей (ага :-) ) системе.
В старом p8 у меня откуда-то есть /usr/bin/distr_info, но

$ rpm -qf /usr/bin/distr_info
warning: file /usr/bin/distr_info is not owned by any package</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206409</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2021-12-28 00:34:25 +0300</bug_when>
    <thetext>Вспомнил, это опечатка, а есть

$ rpm -qf /usr/bin/distro_info
distro_info-1.6-alt0.M80P.1

Я себе в прошлый раз симлинк distr_info делал.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206411</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2021-12-28 00:36:51 +0300</bug_when>
    <thetext>Я же сам и bug 37712 вешал.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226228</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2023-05-23 04:28:28 +0300</bug_when>
    <thetext>(Ответ для Sergey Y. Afonin на комментарий #1)
&gt; Вспомнил, это опечатка, а есть
&gt; 
&gt; $ rpm -qf /usr/bin/distro_info
&gt; distro_info-1.6-alt0.M80P.1
Опечатки нет, есть две утилиты.
В настоящий момент (3.2.4-alt1) etersoft-build-utils переведён на тесную интеграцию с epm, поэтому данной проблемы больше не может возникнуть.
Если в репозитории вашей системы etersoft-build-utils ещё не обновлён, то
epm ei eepm
epm ei etersoft-build-utils</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>