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

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

    <bug>
          <bug_id>44113</bug_id>
          
          <creation_ts>2022-10-22 06:52:37 +0300</creation_ts>
          <short_desc>libcaca FTBFS: /usr/local/lib/ruby</short_desc>
          <delta_ts>2022-11-07 10:45:00 +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>libcaca</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="majioa@altlinux.org">majioa</assigned_to>
          <cc>3aHyga</cc>
    
    <cc>majioa</cc>
    
    <cc>majioa</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>216311</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2022-10-22 06:52:37 +0300</bug_when>
    <thetext>Пересобранный в Сизифе libcaca не проходит sisyphus check:

/.out/ruby-caca-0.99-alt22.x86_64.rpm: FHS violations: /usr/local/lib/ruby/caca.rb /usr/local/lib64/ruby/caca.la /usr/local/lib64/ruby/caca.so
sisyphus_check: check-fhs ERROR: FHS violation
hsh-rebuild: libcaca-0.99-alt22.src.rpm: sisyphus_check failed.

Это мешало собрать пакет в sisyphus_riscv64, так что там я пока ruby убрал.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>216326</commentid>
    <comment_count>1</comment_count>
    <who name="Малъ Скрылевъ">3aHyga</who>
    <bug_when>2022-10-22 17:25:42 +0300</bug_when>
    <thetext>%if_enabled ruby
%files -n ruby-caca
%ruby_sitelibdir/caca.rb
%ruby_sitearchdir/caca.*
%endif

этот блок можно поменять на:

%if_enabled ruby
%files -n ruby-caca
%ruby_vendorlibdir/caca.rb
%ruby_vendorarchdir/caca.*
%endif

ну и соответственно в блоке установки также.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>216329</commentid>
    <comment_count>2</comment_count>
    <who name="Малъ Скрылевъ">3aHyga</who>
    <bug_when>2022-10-22 17:27:24 +0300</bug_when>
    <thetext>это согласно новой схеме распределения папок.

https://en.altlinux.org/Ruby/Policy_2.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>216984</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-11-07 10:45:00 +0300</bug_when>
    <thetext>libcaca-0.99-alt23 -&gt; sisyphus:

 Sat Oct 29 2022 Pavel Skrylev &lt;majioa@altlinux&gt; 0.99-alt23
 - ruby-caca: fixed install paths (closes #44113, #43828).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>