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

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

    <bug>
          <bug_id>44791</bug_id>
          
          <creation_ts>2023-01-02 18:47:06 +0300</creation_ts>
          <short_desc>Kicad. Падает spice симулятор. Не может найти libngspice.so.0.0.0</short_desc>
          <delta_ts>2023-01-19 21:58:34 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p10</product>
          <component>kicad</component>
          <version>не указана</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Андрей">aneagle</reporter>
          <assigned_to name="Антон Мидюков">antohami</assigned_to>
          <cc>aneagle</cc>
    
    <cc>antohami</cc>
    
    <cc>monastirskiyii</cc>
          
          <qa_contact name="qa-p10@altlinux.org">qa-p10</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>219666</commentid>
    <comment_count>0</comment_count>
    <who name="Андрей">aneagle</who>
    <bug_when>2023-01-02 18:47:06 +0300</bug_when>
    <thetext>При открытии Spice симуляторе (Eeschema -&gt; Инструменты -&gt; Симулятор), kicad падает с ошибкой
&gt; Missing ngspice shared library
&gt; libngspice.so.0.0.0: cannot open shared object file: No such file or directory
Лечится установкой ngspice и симлинком на libngspice.
&gt; sudo epm install ngspice
&gt; sudo ln -s /usr/lib64/libngspice.so.0 /usr/lib64/libngspice.so.0.0.0
Библиотека является частью пакета libngspice-38-alt1.x86_64.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219669</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2023-01-02 20:13:46 +0300</bug_when>
    <thetext>Суть проблемы в том, что не возникает зависимость на libngspice.so.X.X.X при сборке пакета kicad. Пакет ngspice обновляется, у kicad ломается Spice симулятор. Если бы была зависимость, сборочница не пропустила бы ngspice, пока не пересоберётся kicad c ним.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219670</commentid>
    <comment_count>2</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2023-01-03 14:31:37 +0300</bug_when>
    <thetext>(Ответ для Антон Мидюков на комментарий #1)
&gt; Суть проблемы в том, что не возникает зависимость на libngspice.so.X.X.X при
&gt; сборке пакета kicad. Пакет ngspice обновляется, у kicad ломается Spice
&gt; симулятор. Если бы была зависимость, сборочница не пропустила бы ngspice,
&gt; пока не пересоберётся kicad c ним.

Исправил, чтобы kicad требовал libngspice.so.0, добавил kicad зависимость на libngspice:
#312818 EPERM #5 p10 kicad.git=5.1.9-alt2.1.p10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220341</commentid>
    <comment_count>3</comment_count>
    <who name="Монастырский Илья">monastirskiyii</who>
    <bug_when>2023-01-19 14:24:55 +0300</bug_when>
    <thetext>Версия пакета:
kicad5.1.9-alt2.1.p10

Проводил тестирование на стендах:
p10-kworkstation-10.1-x86-64
p10-workstation-10-x86-64
p10-server-10-x86-64
p10-education-10-x86-64-kde
p10-education-10-x86-64

Ошибка больше не воспроизводится</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220366</commentid>
    <comment_count>4</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2023-01-19 21:58:34 +0300</bug_when>
    <thetext>[#312818] p10 DONE (try 6) kicad.git=5.1.9-alt2.1.p10</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>