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

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

    <bug>
          <bug_id>52042</bug_id>
          
          <creation_ts>2024-11-14 15:43:19 +0300</creation_ts>
          <short_desc>Ошибка libgumbo.so: cannot open shared object file при импорте модуля</short_desc>
          <delta_ts>2024-11-14 18:48:04 +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>python3-module-gumbo</component>
          <version>unstable</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="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>254484</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2024-11-14 15:43:19 +0300</bug_when>
    <thetext>Версия пакета: 0.12.2-alt1

Шаги воспроизведения:
```
# apt-get install python3-module-gumbo
# rpm -qa | grep gumbo
libgumbo2-0.12.2-alt1.x86_64
python3-module-gumbo-0.12.2-alt1.noarch

$ python3 -c &quot;import gumbo&quot;
```

Получаемый результат:
```
Traceback (most recent call last):
  File &quot;/usr/lib/python3/site-packages/gumbo/gumboc.py&quot;, line 41, in &lt;module&gt;
    _dll = ctypes.cdll.LoadLibrary(os.path.join(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib64/python3.12/ctypes/__init__.py&quot;, line 460, in LoadLibrary
    return self._dlltype(name)
           ^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib64/python3.12/ctypes/__init__.py&quot;, line 379, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: /usr/lib/python3/site-packages/gumbo/../../.libs/libgumbo.so: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib/python3/site-packages/gumbo/__init__.py&quot;, line 33, in &lt;module&gt;
    from gumbo.gumboc import *
  File &quot;/usr/lib/python3/site-packages/gumbo/gumboc.py&quot;, line 45, in &lt;module&gt;
    _dll = ctypes.cdll.LoadLibrary(os.path.join(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib64/python3.12/ctypes/__init__.py&quot;, line 460, in LoadLibrary
    return self._dlltype(name)
           ^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib64/python3.12/ctypes/__init__.py&quot;, line 379, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: /usr/lib/python3/site-packages/gumbo/libgumbo.so: cannot open shared object file: No such file or directory
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254500</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-11-14 18:48:04 +0300</bug_when>
    <thetext>libgumbo-0.12.2-alt2 -&gt; sisyphus:

 Thu Nov 14 2024 Mikhail Efremov &lt;sem@altlinux&gt; 0.12.2-alt2
 - Don&apos;t use deprecated python macros.
 - Fixed system library loading (closes: #52042).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>