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

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

    <bug>
          <bug_id>48441</bug_id>
          
          <creation_ts>2023-11-14 11:27:04 +0300</creation_ts>
          <short_desc>rebuild with swig-4.1.1 produces undefined symbol: SWIG_InstallConstants</short_desc>
          <delta_ts>2023-12-01 15:07:31 +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>subversion-python3</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>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>47870</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="viy">viy</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>aen</cc>
    
    <cc>cas</cc>
    
    <cc>ender</cc>
    
    <cc>shrek</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>237054</commentid>
    <comment_count>0</comment_count>
    <who name="viy">viy</who>
    <bug_when>2023-11-14 11:27:04 +0300</bug_when>
    <thetext>После пересборки со свежим swig-4.1.1 в subversion-python3 появляется undefined symbol: SWIG_InstallConstants
----------------------------------------------------
проверяем: пересобираем subversion, устанавливаем,
python3 -c &quot;from svn import client&quot; 
Traceback (most recent call last):
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib64/python3/site-packages/svn/client.py&quot;, line 26, in &lt;module&gt;
    from libsvn.client import *
  File &quot;/usr/lib64/python3/site-packages/libsvn/client.py&quot;, line 142, in &lt;module&gt;
    import libsvn.core
  File &quot;/usr/lib64/python3/site-packages/libsvn/core.py&quot;, line 27, in &lt;module&gt;
    from . import _core
ImportError: /usr/lib64/python3/site-packages/libsvn/_core.so: undefined symbol: SWIG_InstallConstants
----------------------------------------------------
К сожалению, для обновления perl мне нужно пересобрать subversion, и после этого
сборочница не пропускает всю транзакцию с сообщением
(*all arches*) NEW bad_elf_symbols detected:
subversion-python3-1.14.2-alt1.armh.rpm  /usr/lib/python3/site-packages/libsvn/_core.so    U  SWIG_InstallConstants

При этом SWIG_InstallConstants -- это #define.
Видимо, изменились условия для #if, они не срабатывают и не определяют SWIG_InstallConstants
В федоре есть какие-то патчи на swig, можно начать с них.

Могу взяться, так как важно и срочно, блокирует обновление perl.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>237157</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-11-15 03:07:52 +0300</bug_when>
    <thetext>subversion-1.14.2-alt2 -&gt; sisyphus:

 Tue Nov 14 2023 Andrey Cherepanov &lt;cas@altlinux&gt; 1.14.2-alt2
 - Built without subversion-python3 (ALT #48441).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>238174</commentid>
    <comment_count>2</comment_count>
    <who name="viy">viy</who>
    <bug_when>2023-12-01 15:07:31 +0300</bug_when>
    <thetext>Все, perl пересобран, можно на досуге разбираться, что там сломалось в subversion-python3.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>