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

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

    <bug>
          <bug_id>45720</bug_id>
          
          <creation_ts>2023-03-31 15:42:21 +0300</creation_ts>
          <short_desc>libtool_2.4: поддержка архитектуры LoongArch</short_desc>
          <delta_ts>2023-03-31 18:51:57 +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>libtool_2.4</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Sheplyakov">asheplyakov</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>iv</cc>
    
    <cc>ldv</cc>
    
    <cc>nir</cc>
    
    <cc>placeholder</cc>
    
    <cc>sin</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>223733</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2023-03-31 15:42:21 +0300</bug_when>
    <thetext>Бинарники и библиотеки, собранные с помощью libtool (2.4.7-alt1) на архитектуре LoongArch, имеют rpath /usr/lib64, что сильно печалит rpm-build:

Adjusting library links in /home/asheplyakov/tmp/attr-buildroot
./lib64: (from &lt;cmdline&gt;:0)
    libattr.so.1 -&gt; libattr.so.1.1.2501
./usr/lib64: (from &lt;cmdline&gt;:0)
Verifying ELF objects in /home/asheplyakov/tmp/attr-buildroot (arch=strict,fhs=strict,lfs=strict,lint=strict,rpath=strict,stack=strict,textrel=strict,unresolved=strict)
verify-elf: ERROR: ./usr/bin/setfattr: RPATH contains standard library path &quot;/usr/lib64&quot;: /usr/lib64
verify-elf: ERROR: ./usr/bin/attr: RPATH contains standard library path &quot;/usr/lib64&quot;: /usr/lib64
verify-elf: ERROR: ./usr/bin/getfattr: RPATH contains standard library path &quot;/usr/lib64&quot;: /usr/lib64
error: Bad exit status from /home/asheplyakov/tmp/rpm-tmp.77353 (%install)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223734</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Sheplyakov">asheplyakov</who>
    <bug_when>2023-03-31 15:54:21 +0300</bug_when>
    <thetext>#317834 BUILDING #1 [locked] [test-only] sisyphus libtool_2.4.git=2.4.7-alt2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>223763</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-03-31 18:51:57 +0300</bug_when>
    <thetext>libtool_2.4-2.4.7-alt2 -&gt; sisyphus:

 Fri Mar 31 2023 Alexey Sheplyakov &lt;asheplyakov@altlinux&gt; 2.4.7-alt2
 - Adjusted libtool.m4 to use lib64 suffix for LoongArch 64-bit ABIs (closes: #45720)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>