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

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

    <bug>
          <bug_id>54897</bug_id>
          
          <creation_ts>2025-06-23 16:51:42 +0300</creation_ts>
          <short_desc>govarnam: wrong soname; wrong prefix and libdir in pc-file</short_desc>
          <delta_ts>2025-09-10 08:18:04 +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>libgovarnam-devel</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>P1</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>46625</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Yuri N. Sedunov">aris</reporter>
          <assigned_to name="ulysses@altlinux.org">ulysses</assigned_to>
          <cc>aoipkn</cc>
    
    <cc>cas</cc>
    
    <cc>rider</cc>
    
    <cc>ulysses</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>267671</commentid>
    <comment_count>0</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2025-06-23 16:51:42 +0300</bug_when>
    <thetext>$ grep prefix /usr/lib/pkgconfig/govarnam.pc 
prefix=/usr/local
       ^^^^^^^^^^
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/libgovarnam</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267769</commentid>
    <comment_count>1</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2025-06-25 10:16:38 +0300</bug_when>
    <thetext>$ rpmql -p https://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/x86_64/RPMS/libgovarnam-1.9.1-alt1.x86_64.rpm
/usr/lib64/libgovarnam.so.1.9.1
/usr/lib64/libgovarnam.so.latest

С этим .latest уже слинкован 
$ rpmqR -p https://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/x86_64/RPMS/fcitx5-varnam-0.0.2-alt1.x86_64.rpm|grep varnam
libgovarnam.so.latest()(64bit) &gt;= set:jfebtq2cMweOZK9sihvzrucIXgp0N6YZ3

varnamcli требует libgovarnam, но с не слинкован с ней.

$ rpmqR -p https://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/x86_64/RPMS/varnamcli-1.9.1-alt1.x86_64.rpm
/lib64/ld-linux-x86-64.so.2
libgovarnam = 1.9.1-alt1:sisyphus+381934.140.4.1
rpmlib(PayloadIsLzma)

Вопрос: как это попало в сизиф?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267942</commentid>
    <comment_count>2</comment_count>
    <who name="Ulysses Apokin">aoipkn</who>
    <bug_when>2025-06-27 12:46:57 +0300</bug_when>
    <thetext>Простите, не пришло уведомление о баге на почту.
Посмотрю.
Ох уж, я намучился с этим проектом :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267952</commentid>
    <comment_count>3</comment_count>
    <who name="Ulysses Apokin">aoipkn</who>
    <bug_when>2025-06-27 13:31:45 +0300</bug_when>
    <thetext>ldd говорит, что слинкован.
Но *.pc надо префикс пропатчить, это точно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267954</commentid>
    <comment_count>4</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2025-06-27 13:38:41 +0300</bug_when>
    <thetext>(Ответ для Ulysses Apokin на комментарий #3)
&gt; ldd говорит, что слинкован.
&gt; Но *.pc надо префикс пропатчить, это точно.

Будьте внимательны, $libdir тоже не верен
$ grep libdir /usr/lib64/pkgconfig/govarnam.pc 
libdir=${exec_prefix}/lib
                      ^^^ 
Лучше не констылить, а переписать мейкфайлы и предложить апстриму исправленные.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268223</commentid>
    <comment_count>5</comment_count>
    <who name="Ulysses Apokin">aoipkn</who>
    <bug_when>2025-07-02 11:45:47 +0300</bug_when>
    <thetext>Ожидаю
https://github.com/varnamproject/govarnam/pull/69</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270932</commentid>
    <comment_count>6</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2025-08-15 12:08:08 +0300</bug_when>
    <thetext>(Ответ для Ulysses Apokin на комментарий #5)
&gt; Ожидаю
&gt; https://github.com/varnamproject/govarnam/pull/69

Похоже не дождемся. Предлагаю сделать по вашему у нас.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270933</commentid>
    <comment_count>7</comment_count>
    <who name="Ulysses Apokin">aoipkn</who>
    <bug_when>2025-08-15 12:14:41 +0300</bug_when>
    <thetext>(In reply to Yuri N. Sedunov from comment #6)
&gt; (Ответ для Ulysses Apokin на комментарий #5)
&gt; &gt; Ожидаю
&gt; &gt; https://github.com/varnamproject/govarnam/pull/69
&gt; 
&gt; Похоже не дождемся. Предлагаю сделать по вашему у нас.

Я уже сделал, жду аппрува от rider...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270934</commentid>
    <comment_count>8</comment_count>
    <who name="Ulysses Apokin">aoipkn</who>
    <bug_when>2025-08-15 12:20:49 +0300</bug_when>
    <thetext>https://git.altlinux.org/tasks/392262 

libgovarnam:

- исправлены Makefile и pc-файл;

- пакет упакован в соответствии с shared libs policy;

- модули для go теперь вендорятся;

- модуль для go упакован в отдельный tar-архив;

- почищен спек.

fcitx5-varnam:

- при сборке задействован pc-файл (потому что он был починен в libgovarnam);

- почищен спек.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270935</commentid>
    <comment_count>9</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2025-08-15 12:27:09 +0300</bug_when>
    <thetext>(Ответ для Ulysses Apokin на комментарий #7)
&gt; (In reply to Yuri N. Sedunov from comment #6)
&gt; &gt; (Ответ для Ulysses Apokin на комментарий #5)
&gt; &gt; &gt; Ожидаю
&gt; &gt; &gt; https://github.com/varnamproject/govarnam/pull/69
&gt; &gt; 
&gt; &gt; Похоже не дождемся. Предлагаю сделать по вашему у нас.
&gt; 
&gt; Я уже сделал, жду аппрува от rider...

Товарищ rider, одобрите, пожалуйста, https://git.altlinux.org/tasks/392262</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>272226</commentid>
    <comment_count>10</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-09-10 08:18:04 +0300</bug_when>
    <thetext>libgovarnam-1.9.1-alt2 -&gt; sisyphus:

Mon Sep 08 2025 Ulysses Apokin &lt;ulysses@altlinux&gt; 1.9.1-alt2
- Fixed wrong prefix and libdir in pc-file (ALT #54897).
- Used vendoring go modules.
- Corrected as per shared libs policy.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>