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

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

    <bug>
          <bug_id>33544</bug_id>
          
          <creation_ts>2017-06-12 19:35:16 +0300</creation_ts>
          <short_desc>При сборке пакета libtgvoip возникает canonicalization unexpectedly shrank by one character</short_desc>
          <delta_ts>2020-01-27 10:43:48 +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>rpm-build</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</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="Vitaly Lipatov">lav</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>arseny</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>164075</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-06-12 19:35:16 +0300</bug_when>
    <thetext>Adjusting library links in /usr/src/tmp/libtgvoip-buildroot
./usr/lib64:
	libtgvoip.so -&gt; libtgvoip.so.0 (changed)
/usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character
error: Bad exit status from /usr/src/tmp/rpm-tmp.77352 (%install)

Почему-то при повторном вызове ошибка уходит:
[lav@builder64 libtgvoip-buildroot]$ /usr/lib/rpm/debugedit -b /tmp/.private/lav/RPM/BUILD -d /usr/src/debug -l .tmp/src ./usr/lib64/libtgvoip.so.0
/usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character
[lav@builder64 libtgvoip-buildroot]$ /usr/lib/rpm/debugedit -b /tmp/.private/lav/RPM/BUILD -d /usr/src/debug -l .tmp/src ./usr/lib64/libtgvoip.so.0


Что-то похожее:
https://bugzilla.redhat.com/show_bug.cgi?id=304121</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164076</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-06-12 19:35:58 +0300</bug_when>
    <thetext>http://git.altlinux.org/tasks/184100/logs/events.1.1.log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164077</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2017-06-12 19:39:54 +0300</bug_when>
    <thetext>canonicalization unexpectedly shrank by one character это всегда ошибка сборки пакета.  Можно поискать рецепты в архиве списка рассылки</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164120</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-06-15 04:19:53 +0300</bug_when>
    <thetext>libtgvoip-0.4.1-alt2 -&gt; sisyphus:

Thu Jun 15 2017 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 0.4.1-alt2
- rebuild with debuginfo (ALT bug 33544)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164121</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-06-15 04:36:53 +0300</bug_when>
    <thetext>Нашёл в рассылке, спасибо:
https://lists.altlinux.org/pipermail/devel/2012-June/194691.html

Но найти причину не смог. Грепал log:
$ grep &apos;//&apos; libtgvoip-0.4.1-alt1-SS.log

$ strings /usr/lib64/libtgvoip.so.0 | grep &apos;//&apos;
...
webrtc_dsp/webrtc/modules/audio_processing//utility

не очень понял, но исправил в исходниках
-#include &quot;webrtc/modules/audio_processing//utility/ooura_fft.h&quot;
+#include &quot;webrtc/modules/audio_processing/utility/ooura_fft.h&quot;

и это помогло.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>164815</commentid>
    <comment_count>5</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-07-23 16:14:29 +0300</bug_when>
    <thetext>Чтобы -debuginfo приобрёл необходимый provides debug(libtgvoip.so.0), пришлось исправить сборку, и добавить soname библиотеке.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184660</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2019-09-30 11:50:19 +0300</bug_when>
    <thetext>Виталик, у тебя ещё в rutilt 2012 года такое наблюдается (неважно, конечно).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184666</commentid>
    <comment_count>7</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2019-09-30 13:29:53 +0300</bug_when>
    <thetext>(В ответ на комментарий №6)
&gt; Виталик, у тебя ещё в rutilt 2012 года такое наблюдается (неважно, конечно).
238343 BUILDING #2 [locked] sisyphus del=rutilt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185769</commentid>
    <comment_count>8</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2019-11-25 15:29:56 +0300</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; canonicalization unexpectedly shrank by one character это всегда ошибка сборки пакета.
https://src.fedoraproject.org/rpms/qt5-qtwebengine/c/ddcf6aaa1ac7b4c81ff128f2e7d65218011028e5
Это тоже?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187245</commentid>
    <comment_count>9</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2020-01-25 00:02:18 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #8)
&gt; (В ответ на комментарий №2)
&gt; &gt; canonicalization unexpectedly shrank by one character это всегда ошибка сборки пакета.
&gt; https://src.fedoraproject.org/rpms/qt5-qtwebengine/c/
&gt; ddcf6aaa1ac7b4c81ff128f2e7d65218011028e5
&gt; Это тоже?
И это оно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187246</commentid>
    <comment_count>10</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2020-01-25 00:04:01 +0300</bug_when>
    <thetext>(Ответ для Dmitry V. Levin на комментарий #2)
&gt; canonicalization unexpectedly shrank by one character это всегда ошибка
&gt; сборки пакета.  Можно поискать рецепты в архиве списка рассылки
https://lists.altlinux.org/pipermail/devel/2012-June/194690.html

Если яснее, искать надо путь к файлу (каталогу сборки, путю к заголовочным файлам), в котором получилось два слеша рядом:
/usr/include//libname</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187265</commentid>
    <comment_count>11</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2020-01-27 10:43:48 +0300</bug_when>
    <thetext>В chromium такое решилось частичным отключением debuginfo.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>