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

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

    <bug>
          <bug_id>47559</bug_id>
          
          <creation_ts>2023-09-13 15:39:38 +0300</creation_ts>
          <short_desc>golang: -buildmode=shared не поддерживается на riscv64 и loongarch64</short_desc>
          <delta_ts>2023-09-15 19:10:46 +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>golang</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="Alexey Shabalin">shaba</assigned_to>
          <cc>asheplyakov</cc>
    
    <cc>shaba</cc>
    
    <cc>sin</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>233036</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2023-09-13 15:39:38 +0300</bug_when>
    <thetext>Из логов сборки golang 1.21.0:

+ GOROOT=/usr/src/RPM/BUILD/golang-1.21.0
+ PATH=/usr/src/RPM/BUILD/golang-1.21.0/bin:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ go install -v -buildmode=shared -v -x std
-buildmode=shared not supported on linux/riscv64

Для loongarch64 аналогично.

Просьба внести в спек вот такое или аналогичное изменение:

https://git.altlinux.org/people/iv/packages/?p=golang.git;a=commitdiff;h=e96fac888d51c81db9a91c3621d7c7c181cc2c13</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233312</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-09-15 19:10:46 +0300</bug_when>
    <thetext>golang-1.21.1-alt2 -&gt; sisyphus:

 Fri Sep 15 2023 Alexey Shabalin &lt;shaba@altlinux&gt; 1.21.1-alt2
 - Don&apos;t use -buildmode=shared on loongarch64 and riscv64 (thx to iv@) (ALT#47559).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>