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

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

    <bug>
          <bug_id>21991</bug_id>
          
          <creation_ts>2009-10-19 12:54:49 +0400</creation_ts>
          <short_desc>insufficient formal deps: undefined symbol: set_escdelay (/usr/bin/alsamixer)</short_desc>
          <delta_ts>2010-06-28 04:54:15 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>alsa-utils</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>
          <dependson>15079</dependson>
    
    <dependson>21992</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>mike</cc>
    
    <cc>shrek</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101805</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-10-19 12:54:49 +0400</bug_when>
    <thetext>alsa-utils-1.0.21-alt1

I have apt-get-installed alsa-utils from Sisyphus (on a Desktop 4.1 system), but alsamixer doesn&apos;t work now:

$ alsamixer
alsamixer: symbol lookup error: alsamixer: undefined symbol: set_escdelay
                                                                         [imz@localhost ~]$ 

Info: 

$ ldd -r &quot;$(which alsamixer)&quot;
undefined symbol: set_escdelay	(/usr/bin/alsamixer)
	linux-gate.so.1 =&gt;  (0xb7ee5000)
	libformw.so.5 =&gt; /usr/lib/libformw.so.5 (0xb7eb9000)
	libmenuw.so.5 =&gt; /usr/lib/libmenuw.so.5 (0xb7eb2000)
	libpanelw.so.5 =&gt; /usr/lib/libpanelw.so.5 (0xb7eaf000)
	libncursesw.so.5 =&gt; /usr/lib/libncursesw.so.5 (0xb7e87000)
	libtinfo.so.5 =&gt; /lib/libtinfo.so.5 (0xb7e6f000)
	libasound.so.2 =&gt; /usr/lib/libasound.so.2 (0xb7da7000)
	libpthread.so.0 =&gt; /lib/libpthread.so.0 (0xb7d8f000)
	libc.so.6 =&gt; /lib/libc.so.6 (0xb7c41000)
	libgpm.so.1 =&gt; /usr/lib/libgpm.so.1 (0xb7c3b000)
	/lib/ld-linux.so.2 (0xb7ee6000)
	libm.so.6 =&gt; /lib/libm.so.6 (0xb7c12000)
	libdl.so.2 =&gt; /lib/libdl.so.2 (0xb7c0e000)
	librt.so.1 =&gt; /lib/librt.so.1 (0xb7c05000)
$ ldd -r &quot;$(which alsamixer)&quot; | cut --fields=3 -d&apos; &apos; | xargs rpm -qf | sort -u
undefined symbol: set_escdelay	(/usr/bin/alsamixer)
glibc-core-2.10.1-alt4
glibc-pthread-2.10.1-alt4
libalsa-1.0.21a-alt1
libgpm-1.20.1-alt8
libncursesw-5.6-alt4
libtinfo-5.6-alt4
$ 

The previously installed release was: alsa-utils-1.0.15-alt1, which used to work on this system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101808</commentid>
    <comment_count>1</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2009-10-19 13:02:10 +0400</bug_when>
    <thetext>ССЗБ</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101811</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-10-19 13:36:01 +0400</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; ССЗБ

Ну а почему бы не стараться обеспечить гладкое обновление пакета, когда это возможно? Тут может быть интересно и обновление из дистрибутива в Sisyphus, и из дистрибутива в следующий бранч (но он-то тоже делается из Sisyphus, поэтому работать над этой проблемой стоило бы в Sisyphus). 

(У меня же даже не чёрти какие старые библиотеки стояли, а из 4.1, послднего выпущенного дистрибутива.)

Можно версионировать символы в библиотеке (ncursesw, наверное) и пересобрать пакет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101814</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2009-10-19 14:22:11 +0400</bug_when>
    <thetext>The symbol you are talking about is defined in libncurses.so.5 and libncursesw.so.5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102113</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2009-10-26 00:19:15 +0300</bug_when>
    <thetext>alsa-utils-1.0.21-alt2 -&gt; sisyphus:

* Sun Oct 25 2009 Michael Shigorin &lt;mike@altlinux&gt; 1.0.21-alt2

- added crude versioning of ncurses dependency (closes: #21991)
- _unpackaged_files_terminate_build again
- spec cleanup</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108074</commentid>
    <comment_count>5</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2010-03-24 08:38:18 +0300</bug_when>
    <thetext>(In reply to comment #4)
&gt; alsa-utils-1.0.21-alt2 -&gt; sisyphus:
&gt; 
&gt; * Sun Oct 25 2009 Michael Shigorin &lt;mike@altlinux&gt; 1.0.21-alt2
&gt; 
&gt; - added crude versioning of ncurses dependency (closes: #21991)
&gt; - _unpackaged_files_terminate_build again
&gt; - spec cleanup

Спасибо! В 1.0.21-alt2, который сейчас сохранился в ветке 5.1 (ftp://ftp.altlinux.org/pub/distributions/ALTLinux/5.1/branch/files/i586/RPMS/alsa-utils-1.0.21-alt2.i586.rpm ), замечание действительно было учтено:

# rpm -Uhv --oldpackage alsa-utils-1.0.21-alt2.i586.rpm 
error: failed dependencies:
	libncursesw &gt;= 5.7 is needed by alsa-utils-1.0.21-alt2
	aplay = 1.0.21-alt2 is needed by alsa-utils-1.0.21-alt2
	amixer = 1.0.21-alt2 is needed by alsa-utils-1.0.21-alt2

но в alsa-utils-1.0.22-alt1 из Сизифа этого нет -- обновление из Сизифа этого пакета не вытянуло нужные свежие зависимости:

$ rpm -qf /usr/bin/alsamixer
alsa-utils-1.0.22-alt1
$ alsamixer
alsamixer: symbol lookup error: alsamixer: undefined symbol: set_escdelay
$ ldd -r /usr/bin/alsamixer | awk &apos;/=&gt; \// {print $3;}&apos; | xargs rpm -qf | sort -u
undefined symbol: set_escdelay	(/usr/bin/alsamixer)
glibc-core-2.11.1-alt2
glibc-pthread-2.11.1-alt2
libalsa-1.0.21a-alt1
libgpm-1.20.1-alt8
libncursesw-5.6-alt4
libtinfo-5.6-alt4
$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108194</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2010-03-27 16:25:37 +0300</bug_when>
    <thetext>Есть такое дело.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108495</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2010-04-10 10:11:31 +0400</bug_when>
    <thetext>alsa-utils - Advanced Linux Sound Architecture (ALSA) utils
* Fri Apr 09 2010 Michael Shigorin &lt;mike@altlinux&gt; 1:1.0.22-alt2.1
- slightly softened libalsa dependency (version only, dropped release)
* Sat Mar 27 2010 Michael Shigorin &lt;mike@altlinux&gt; 1:1.0.22-alt2
- merge-up: shrek@ didn&apos;t notice my 1.0.22 &quot;test please&quot; announce
  and did an independent update
  + reverted localized descriptions removal, no policy so far
    and I consider these useful                              
  + minor spec cleanup
  + re-added crude versioning of ncurses dependency (closes: #21991)
* Thu Dec 24 2009 Valery Inozemtsev &lt;shrek@altlinux&gt; 1:1.0.22-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110155</commentid>
    <comment_count>8</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2010-06-28 04:54:15 +0400</bug_when>
    <thetext>Спасибо, сейчас с alsa-utils-1.0.23-alt1 всё хорошо.

(In reply to comment #7)
&gt; alsa-utils - Advanced Linux Sound Architecture (ALSA) utils
&gt; * Fri Apr 09 2010 Michael Shigorin &lt;mike@altlinux&gt; 1:1.0.22-alt2.1
&gt; - slightly softened libalsa dependency (version only, dropped release)
&gt; * Sat Mar 27 2010 Michael Shigorin &lt;mike@altlinux&gt; 1:1.0.22-alt2
&gt; - merge-up: shrek@ didn&apos;t notice my 1.0.22 &quot;test please&quot; announce
&gt;   and did an independent update
&gt;   + reverted localized descriptions removal, no policy so far
&gt;     and I consider these useful                              
&gt;   + minor spec cleanup
&gt;   + re-added crude versioning of ncurses dependency (closes: #21991)
&gt; * Thu Dec 24 2009 Valery Inozemtsev &lt;shrek@altlinux&gt; 1:1.0.22-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>