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

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

    <bug>
          <bug_id>34940</bug_id>
          
          <creation_ts>2018-05-23 15:53:04 +0300</creation_ts>
          <short_desc>сломано на e2k</short_desc>
          <delta_ts>2018-12-20 21:56:27 +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>apt-conf-sisyphus</component>
          <version>unstable</version>
          <rep_platform>e2k</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>iv</cc>
    
    <cc>ldv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>171247</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2018-05-23 15:53:04 +0300</bug_when>
    <thetext>Спасибо за починку насчёт arepo, но теперь на e2k собирается так:

[builder@localhost apt-conf-sisyphus-7.2]$ cat data/sources.list.d/alt.list 
# ftp.altlinux.org (ALT Linux, Moscow)

# ALT Linux Sisyphus
#rpm [alt] ftp://ftp.altlinux.org/pub/distributions/ALTLinux Sisyphus/ classic
#rpm [alt] ftp://ftp.altlinux.org/pub/distributions/ALTLinux Sisyphus/noarch classic

#rpm [alt] http://ftp.altlinux.org/pub/distributions/ALTLinux Sisyphus/ classic
#rpm [alt] http://ftp.altlinux.org/pub/distributions/ALTLinux Sisyphus/noarch classic

#rpm [alt] rsync://ftp.altlinux.org/ALTLinux Sisyphus/ classic
#rpm [alt] rsync://ftp.altlinux.org/ALTLinux Sisyphus/noarch classic

Просьба вернуть архитектуру :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171249</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2018-05-23 16:09:54 +0300</bug_when>
    <thetext>Как вариант (проверено на e2k и e2kv4):

diff --git a/apt-conf/mksourcelists b/apt-conf/mksourcelists
index 0bffe18..9334372 100755
--- a/apt-conf/mksourcelists
+++ b/apt-conf/mksourcelists
@@ -10,6 +10,10 @@ repolist=&quot;$@&quot;
 
 mkdir -p -- &quot;$listdir&quot;
 
+# handle earlier flavour too
+[ -n &quot;$RPM_ARCH&quot; ] || RPM_ARCH=&quot;$RPM_TARGET_ARCH&quot;
+[ -n &quot;$RPM_ARCH&quot; ] || exit 1
+
 for m in &quot;$mirrordir&quot;/*.desktop; do
 
     mname=&quot;$(meta &quot;$m&quot; Name) ($(meta &quot;$m&quot; Comment))&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172655</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2018-07-15 21:30:48 +0300</bug_when>
    <thetext>ping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172888</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2018-07-24 17:05:17 +0300</bug_when>
    <thetext>Отправил NMU в задании #210741.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173080</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2018-07-31 14:12:31 +0300</bug_when>
    <thetext>ping!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176879</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-12-20 21:39:31 +0300</bug_when>
    <thetext>apt-conf-sisyphus-7.4-alt1 -&gt; sisyphus:

Thu Dec 20 2018 Dmitry V. Levin &lt;ldv@altlinux&gt; 7.4-alt1
- Updated URL and license information.
- Fixed build with bash4.

Wed May 23 2018 Michael Shigorin &lt;mike@altlinux&gt; 7.3-alt1
- Consider RPM_TARGET_ARCH if RPM_ARCH is empty (closes: #34940).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176880</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2018-12-20 21:52:11 +0300</bug_when>
    <thetext>RTT меньше полугода, уже ничего :-)
Спасибо!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176881</commentid>
    <comment_count>7</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2018-12-20 21:56:27 +0300</bug_when>
    <thetext>Я так и не понял, зачем это изменение было нужно (у всех есть непустой $RPM_ARCH), но оно вроде бы ничего не ломает и ладно.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>