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

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

    <bug>
          <bug_id>25431</bug_id>
          
          <creation_ts>2011-04-12 11:51:50 +0400</creation_ts>
          <short_desc>libcurl link-time version is older than compile-time version</short_desc>
          <delta_ts>2020-09-20 11:42:27 +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>python-module-pycurl</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="manowar@altlinux.org">manowar</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>3aHyga</cc>
    
    <cc>antohami</cc>
    
    <cc>cas</cc>
    
    <cc>cow</cc>
    
    <cc>darktemplar</cc>
    
    <cc>evg</cc>
    
    <cc>george</cc>
    
    <cc>grenka</cc>
    
    <cc>imz</cc>
    
    <cc>jackie.rosen</cc>
    
    <cc>kotopesutility</cc>
    
    <cc>lav</cc>
    
    <cc>nbr</cc>
    
    <cc>qa_viy</cc>
    
    <cc>real.altlinux.org</cc>
    
    <cc>rider</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
    
    <cc>sin</cc>
    
    <cc>slev</cc>
    
    <cc>vitty</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>120207</commentid>
    <comment_count>0</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2011-04-12 11:51:50 +0400</bug_when>
    <thetext>Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
/usr/bin/miro: line 27: 18079 Аварийный останов         miro.real &quot;$@&quot;

Проблема обнаружилась после установки Miro из Сизифа в свежеустановленный «Кентавр». Обновление libcurl решает проблему. Но мне кажется, что пакет с pycurl должен сам вытягивать по зависимостям ту версию libcurl, которая ему нужна.

Сейчас ограничение по версии вроде бы присутствует:
$ rpm -q --requires python-module-pycurl | grep libcurl
libcurl.so.4 &gt;= set:mhU60jsKB6XjqoGeeqT0EGIlIgFNsZhSM14KXZi1jPgii5ByrMJ8DDEBPgJAqDJRi4JDHo35Za8spXy

Однако я, к сожалению, не знаю, обновлялся ли pycurl вместе с libcurl.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120211</commentid>
    <comment_count>1</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2011-04-12 12:11:22 +0400</bug_when>
    <thetext>pycurl обновлялся ПОСЛЕ libcurl, что хорошо видно на prometheus.altlinux.org.

NOTABUG?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120221</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2011-04-12 14:22:40 +0400</bug_when>
    <thetext>Тут скорее всего придется по старинке проставить жесткую зависимость на версию libcurl, а то и на релиз сборки.

Просто кроме нас в rpm таких проверок по символам никто не делает, и авторы pycurl решили делать проверку версии в runtime. При отсутствии внешней проверки зависимостей это единственный выход.

Как второй вариант - выпилить эту проверку, или сделать просто warning, а не fatal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120325</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2011-04-14 21:10:07 +0400</bug_when>
    <thetext>Я не могу оценить, насколько важно для pycurl точное соответствие версий. Думаю, что достаточно pycurl &gt;= libcurl, а значит, достаточно автоматической зависимости + замена Fatal на Warning.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176063</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2018-11-26 04:59:21 +0300</bug_when>
    <thetext>Не наблюдаю проблемы.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176064</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2018-11-26 05:31:34 +0300</bug_when>
    <thetext>Ничего не изменилось.

$ git show 7.43.0.2-alt1:pycurl/src/module.c |sed -n &apos;/Check the version/,/^$/p&apos;
    /* Check the version, as this has caused nasty problems in
     * some cases. */
    vi = curl_version_info(CURLVERSION_NOW);
    if (vi == NULL) {
        PyErr_SetString(PyExc_ImportError, &quot;pycurl: curl_version_info() failed&quot;);
        goto error;
    }
    if (vi-&gt;version_num &lt; LIBCURL_VERSION_NUM) {
        PyErr_Format(PyExc_ImportError, &quot;pycurl: libcurl link-time version (%s) is older than compile-time version (%s)&quot;, vi-&gt;version, LIBCURL_VERSION);
        goto error;
    }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192684</commentid>
    <comment_count>6</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2020-09-20 11:01:44 +0300</bug_when>
    <thetext>*** Bug 38235 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192688</commentid>
    <comment_count>7</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2020-09-20 11:42:27 +0300</bug_when>
    <thetext>python3-module-pycurl-7.43.0.6-alt1 -&gt; sisyphus:

 Sun Sep 20 2020 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 7.43.0.6-alt1
 - new version 7.43.0.6 (with rpmrb script)
 - require libcurl not older than was at building time (ALT bug 25431)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>