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

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

    <bug>
          <bug_id>52174</bug_id>
          
          <creation_ts>2024-11-25 13:16:36 +0300</creation_ts>
          <short_desc>32 на 64: mangle2:: xz compress failed with error code 5</short_desc>
          <delta_ts>2024-11-25 14:12:06 +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>squashfs-tools</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</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="Michael Shigorin">mike</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>antohami</cc>
    
    <cc>cas</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>254985</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2024-11-25 13:16:36 +0300</bug_when>
    <thetext>У cas@ на basalt при сборке alt-education.iso для i586 вылез старый баг:

---
I have a reproducible situation (can arrange a livecd/vm to carry
it over) where 32-bit mksquashfs running on 64-bit host like
this: FATAL ERROR:mangle2:: xz compress failed with error code 5
--- http://github.com/plougher/squashfs-tools/issues/4

Ответ автора:

---
Your issue is caused by the failure of Mksquashfs to correctly size the default memory usage of a 32-bit process when running on a PAE or 64-bit kernel, where 25% of physical memory may be more than than is addressable by a 32-bit process.

Basically put on your 24GB phys mem system, 25% of phys mem is 6GB, which is more than a 32-bit process can address. [...]
---

2 rider: можешь кого отрядить посмотреть squashfs-tools на предмет повторного вылезания проблемы?  Вот коммит, которым исправили тогда:
http://github.com/plougher/squashfs-tools/commit/55f7ba830d40d438f0b0663a505e0c227fc68b6b

2 antohami: помоги cas уменьшить объём altinst на i586, крайний раз он выходил где-то в окрестности упомянутых в апстримном баге размеров (591 млн байт).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254986</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2024-11-25 13:17:32 +0300</bug_when>
    <thetext>PS: речь о squashfs-tools 4.5.1 из p10; возможно, сборка 4.6.1 поможет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254987</commentid>
    <comment_count>2</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2024-11-25 13:35:23 +0300</bug_when>
    <thetext>Возможно, Андрей просто забыл, что нужно собирать с параметром PACK_SQUASHFS_PROCESSORS=32 или меньшим числом.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254991</commentid>
    <comment_count>3</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2024-11-25 13:38:05 +0300</bug_when>
    <thetext>(Ответ для Michael Shigorin на комментарий #0)
&gt; 2 antohami: помоги cas уменьшить объём altinst на i586, крайний раз он
&gt; выходил где-то в окрестности упомянутых в апстримном баге размеров (591 млн
&gt; байт).

live всяко будет больше altinst, так что это совершенно бесполезная затея (в образе и altinst и live).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254992</commentid>
    <comment_count>4</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2024-11-25 13:40:54 +0300</bug_when>
    <thetext>(Ответ для Антон Мидюков на комментарий #3)
&gt; (Ответ для Michael Shigorin на комментарий #0)
&gt; &gt; 2 antohami: помоги cas уменьшить объём altinst на i586, крайний раз он
&gt; &gt; выходил где-то в окрестности упомянутых в апстримном баге размеров (591 млн
&gt; &gt; байт).
&gt; 
&gt; live всяко будет больше altinst, так что это совершенно бесполезная затея (в
&gt; образе и altinst и live).

Хотя нет. Но live то ему тоже надо собирать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254997</commentid>
    <comment_count>5</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2024-11-25 14:12:06 +0300</bug_when>
    <thetext>Андрей не использовал параметр PACK_SQUASHFS_PROCESSORS=32</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>