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

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

    <bug>
          <bug_id>27309</bug_id>
          
          <creation_ts>2012-05-08 16:04:53 +0400</creation_ts>
          <short_desc>[PATCH] Wrong search path</short_desc>
          <delta_ts>2016-05-07 14:35:17 +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>unrtf</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></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="Dmitry Chistikov">dd1email</reporter>
          <assigned_to name="Ilya Mashkin">oddity</assigned_to>
          <cc>icesik</cc>
    
    <cc>lav</cc>
    
    <cc>oddity</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>131117</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry Chistikov">dd1email</who>
    <bug_when>2012-05-08 16:04:53 +0400</bug_when>
    <thetext>unrtf ищет свои файлы в /usr/local/lib, а они лежат в /usr/lib:

$ unrtf first_inf.rtf
/usr/local/lib/unrtf/html.conf: No such file or directory
no config directories

Решение: приложить патч (см. вложение).

(Кроме меня, unrtf&apos;ом никто не пользуется? ;))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131118</commentid>
    <comment_count>1</comment_count>
      <attachid>5456</attachid>
    <who name="Dmitry Chistikov">dd1email</who>
    <bug_when>2012-05-08 16:06:10 +0400</bug_when>
    <thetext>Created attachment 5456
Search path fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134609</commentid>
    <comment_count>2</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2012-11-07 04:05:39 +0400</bug_when>
    <thetext>Приложенный патч не будет работать на x86_64. Сделал вот так:

sed -i s,/usr/local/lib/unrtf/,/usr/lib/unrtf/,g src/path.h

и отправил на сборку.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134610</commentid>
    <comment_count>3</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2012-11-07 04:08:05 +0400</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; Приложенный патч не будет работать на x86_64. Сделал вот так:
&gt; 
&gt; sed -i s,/usr/local/lib/unrtf/,/usr/lib/unrtf/,g src/path.h

Конечно же sed -i &apos;s,/usr/local/lib/unrtf/,%_libdir/unrtf/,g&apos; src/path.h

&gt; и отправил на сборку.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>134611</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-11-07 04:11:36 +0400</bug_when>
    <thetext>unrtf-0.21.2-alt1 -&gt; sisyphus:

* Wed Nov 07 2012 Igor Zubkov &lt;icesik@altlinux&gt; 0.21.2-alt1
- 0.21.1 -&gt; 0.21.2
- debuginfo
- fix search path (closes: #27309)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156616</commentid>
    <comment_count>5</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-05-07 14:35:17 +0300</bug_when>
    <thetext> $ rpm -q unrtf
unrtf-0.21.2-alt1

 $ unrtf
/usr/local/lib/unrtf/html.conf: No such file or directory</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>5456</attachid>
            <date>2012-05-08 16:06:10 +0400</date>
            <delta_ts>2012-05-08 16:06:10 +0400</delta_ts>
            <desc>Search path fix</desc>
            <filename>unrtf-0.21.1-alt-search-path.patch</filename>
            <type>text/plain</type>
            <size>293</size>
            <attacher name="Dmitry Chistikov">dd1email</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL3VucnRmL3NyYy9wYXRoLmggYi91bnJ0Zi9zcmMvcGF0aC5oCmluZGV4IDY4
YTIxNjcuLmFmZTc0NjAgMTAwNjQ0Ci0tLSBhL3VucnRmL3NyYy9wYXRoLmgKKysrIGIvdW5ydGYv
c3JjL3BhdGguaApAQCAtMSw0ICsxLDQgQEAKLSNkZWZpbmUgREVGQVVMVF9VTlJURl9TRUFSQ0hf
UEFUSAkiL3Vzci9sb2NhbC9saWIvdW5ydGYvIgorI2RlZmluZSBERUZBVUxUX1VOUlRGX1NFQVJD
SF9QQVRICSIvdXNyL2xpYi91bnJ0Zi8iCiAKIGNoYXIJKnNlYXJjaF9wYXRoOwogaW50CW5fcGF0
aF9kaXJzOwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>