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

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

    <bug>
          <bug_id>49556</bug_id>
          
          <creation_ts>2024-02-28 23:51:08 +0300</creation_ts>
          <short_desc>neofetch: huge amount of dependencies</short_desc>
          <delta_ts>2024-02-29 12:57:32 +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>neofetch</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>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yuri N. Sedunov">aris</reporter>
          <assigned_to name="Alexander Makeenkov">amakeenk</assigned_to>
          <cc>aen</cc>
    
    <cc>amakeenk</cc>
    
    <cc>armatik</cc>
    
    <cc>glebfm</cc>
    
    <cc>iv</cc>
    
    <cc>lav</cc>
    
    <cc>oleg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>242332</commentid>
    <comment_count>0</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2024-02-28 23:51:08 +0300</bug_when>
    <thetext>Не получился &quot;Filter out more dependencies&quot;.

$ rpmqR neofetch|wc -l
13
$ rpmqR -p /storage/ALTLinux/Sisyphus/files/noarch/RPMS/neofetch-7.1.0-alt3.1.noarch.rpm |wc -l
50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242335</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2024-02-29 06:21:32 +0300</bug_when>
    <thetext>Вопрос к тому, кто это сделал:

$ rpm -q neofetch &amp;&amp; rpm -qR neofetch | wc -l
neofetch-7.1.0-alt3.noarch
13

$ rpm -qpR neofetch-7.1.0-alt3.1.noarch.rpm | wc -l
50

$ rpm -qp neofetch-7.1.0-alt3.1.noarch.rpm --lastchange 
* Ср фев 28 2024 Ivan A. Melnikov &lt;iv@altlinux.org&gt; 7.1.0-alt3.1
- Filter out more dependencies (fixes rebuilding).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242336</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2024-02-29 06:28:16 +0300</bug_when>
    <thetext>https://git.altlinux.org/tasks/archive/done/_333/341626/gears/100/git?p=git;a=commitdiff;h=cd2b8fef7f930a56be7c14d45dccd4e6ab8b2fbe

+%filter_from_requires /uname/d
+%filter_from_requires /pve-manager/d
+%filter_from_requires /powerpc-utils/d

Там же и так нет этих зависимостей:

$ rpm -q neofetch &amp;&amp; rpm -qR neofetch | grep -E -c &quot;uname|pve|powerpc&quot;
neofetch-7.1.0-alt3.noarch
0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242338</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2024-02-29 09:33:33 +0300</bug_when>
    <thetext>Изменился порядок поиска зависимостей shell.req -- я думаю, из-за обновления bash, так как раньше конструкции вида $(foo) не приводили к появлениям зависимостей на foo, а теперь, похоже, приводят.

Глеб, ты что-нибудь про это знаешь?


В результате простая пересборка neofetch привела к появлению новых зависимостей.

https://git.altlinux.org/tasks/341625/

Я это заметил при попытке собрать neofetch под loongarch64, проблема оказалась переносимой на все архитектуры. Я выкинул те, которые мешали сборке пакета, и теперь neofetch собран под loongarch64.

Если Вам мои изменения не нравятся, попробуйте их откатить, и вы увидите, зачем они. Воможно, для этого пакета нужно вообще отключить shell.req и прописать необходимый минимум вручную.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242339</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2024-02-29 09:36:27 +0300</bug_when>
    <thetext>&gt;  Assignee: Ivan A. Melnikov

Я могу решить эту проблему двумя способами:
- отключить shell.req и прописать необходимый зависимостей вручную, на сво</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242340</commentid>
    <comment_count>5</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2024-02-29 09:38:15 +0300</bug_when>
    <thetext>Извиняюсь, случайно отправил недописанный комментарий:

&gt;  Assignee: Ivan A. Melnikov

Я могу решить эту проблему двумя способами:
- отключить shell.req и прописать необходимый зависимостей вручную, на свой вкус
- накидать ещё фильтров чтобы стало &quot;как было&quot;

Что выберет майнтейнер?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242341</commentid>
    <comment_count>6</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2024-02-29 09:39:31 +0300</bug_when>
    <thetext>(Ответ для Ivan A. Melnikov на комментарий #5)
&gt; Что выберет майнтейнер?

Я поправлю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242343</commentid>
    <comment_count>7</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-02-29 10:02:46 +0300</bug_when>
    <thetext>neofetch-7.1.0-alt4 -&gt; sisyphus:

 Thu Feb 29 2024 Alexander Makeenkov &lt;amakeenk@altlinux&gt; 7.1.0-alt4
 - Disabled AutoReq for shell (closes: #49556).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242344</commentid>
    <comment_count>8</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2024-02-29 10:08:46 +0300</bug_when>
    <thetext>Спасибо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>242364</commentid>
    <comment_count>9</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2024-02-29 12:57:32 +0300</bug_when>
    <thetext>*** Bug 49560 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>