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

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

    <bug>
          <bug_id>34260</bug_id>
          
          <creation_ts>2017-11-30 17:46:53 +0300</creation_ts>
          <short_desc>i586-пакет не предоставляет 32x битную java</short_desc>
          <delta_ts>2026-09-01 19:56:53 +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>java-1.8.0-openjdk-headless</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgeniy Korneechev">ekorneechev</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>lav</cc>
    
    <cc>mike</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>167587</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeniy Korneechev">ekorneechev</who>
    <bug_when>2017-11-30 17:46:53 +0300</bug_when>
    <thetext># apt-get install i586-java-1.8.0-openjdk-headless
.....
32: i586-java-1.8.0-openjdk-headless    ######################## [100%]
error: execution of %post scriptlet from i586-java-1.8.0-openjdk-headless-1.8.0.144-alt1_1.b01jpp8 failed, exit status 127
E: Произошли ошибки при выполнении транзакции

# java -version
openjdk version &quot;1.8.0_144&quot;
OpenJDK Runtime Environment (build 1.8.0_144-b01)
OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)

# rpmquery -p --scripts i586-java-1.8.0-openjdk-headless.32bit_0%3a1.8.0.144-alt3%5f1.b01jpp8_i586_1511850443.rpm 
postinstall scriptlet (through /bin/sh):
# java should be available ASAP
[ -x /usr/sbin/alternatives-update ] &amp;&amp; /usr/sbin/alternatives-update ||:

#see https://bugzilla.redhat.com/show_bug.cgi?id=513605
java=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.b01.i586/jre/bin/java
if [ -f /proc/cpuinfo ] &amp;&amp; ! [ -d /.ours ]; then #real workstation; not a mkimage-profile, etc
$java -Xshare:dump &gt;/dev/null 2&gt;/dev/null
fi

# java=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.b01.i586/jre/bin/java
# $java
-bash: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.b01.i586/jre/bin/java: Нет такого файла или каталога

# ls /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.b01.i586/jre/
lib</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294026</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-09-01 10:44:33 +0300</bug_when>
    <thetext>Результат проверки актуальности

Состояние: пакет жив (1.8.0.504.b01-alt1, 2026), i586-java-1.8.0-openjdk-headless в x86_64-i586 существует. Ошибка %post исправлена (вызов java -Xshare:dump теперь с ||:, установка не падает). При этом biarch-пакет по дизайну подрепозитория x86_64-i586 содержит только библиотеки (*.so) — полноценной 32-битной java (jre/bin/java) он предоставлять не будет.

Рекомендация: закрыть как FIXED (ошибка установки исправлена; остальное — by design).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>