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

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

    <bug>
          <bug_id>59901</bug_id>
          
          <creation_ts>2026-07-22 16:29:31 +0300</creation_ts>
          <short_desc>Не устанавливается ruby через mise use из-за отсутствия зависимостей</short_desc>
          <delta_ts>2026-09-04 10:57:23 +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>mise</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Маслаков Иван">maslakovis</reporter>
          <assigned_to name="Dmitry Maksimenkov">dmaks</assigned_to>
          <cc>dmaks</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>291487</commentid>
    <comment_count>0</comment_count>
    <who name="Маслаков Иван">maslakovis</who>
    <bug_when>2026-07-22 16:29:31 +0300</bug_when>
    <thetext>Версия пакета:
mise-2026.7.7-alt1

Cтенды:
ALT Workstation K 11.4
ALT Workstation 11.1
ALT Education 11.1  KDE 
ALT Education 11.1  XFCE 
ALT Server 11.1

Шаги для воспроизведения:
1. # apt-get install mise
2. $ mise use --global ruby@latest

Ожидаемый результат:
Корректная установка ruby
Реальный результат:
ruby не устанаваливается.
Ошибка:
BUILD FAILED (ALT 11.2 on x86_64 using ruby-build 20260716)
You can inspect the build directory at /tmp/.private/test/ruby-build.20260722161800.13475.D0UVra
See the full build log at /tmp/.private/test/ruby-build.20260722161800.13475.log
mise ERROR ~/.cache/mise/ruby/ruby-build/bin/ruby-build failed
==&gt; Downloading openssl-3.0.21.tar.gz...
-&gt; curl -q -fL -o openssl-3.0.21.tar.gz https://github.com/openssl/openssl/releases/download/openssl-3.0.21/openssl-3.0.21.tar.gz
==&gt; Installing openssl-3.0.21...
-&gt; ./config &quot;--prefix=$HOME/.local/share/mise/installs/ruby/4.0.6/openssl&quot; &quot;--openssldir=$HOME/.local/share/mise/installs/ruby/4.0.6/openssl/ssl&quot; --libdir=lib zlib-dynamic no-ssl3 shared &quot;-Wl,-rpath,$HOME/.local/share/mise/installs/ruby/4.0.6/openssl/lib&quot;
ruby@4.0.6      -&gt; ./config &quot;--prefix=$HOME/.local/share/mise/installs/ruby/4.0.6/openssl&quot; &quot;--openssldir=$HOME/.local/share/mise/installs/ruby/4.0.6/openssl/ssl&quot; --libdir=lib zlib-dynamic no-ssl3 shared &quot;-Wl,-rpath,$HOME/.local/share/mise/installs/ruby/4.0.6/openssl/… ◟
mise ERROR Failed to install core:ruby@latest: ~/.cache/mise/ruby/ruby-build/bin/ruby-build exited with non-zero status: exit code 1
mise ERROR Version: 2026.7.7 linux-x64 (2026-07-17)

Доп.информация:
Если установить следующие пакеты, ruby установится успешно:
# apt-get install perl-IPC-Cmd perl-Time-Piece gcc zlib-devel libyaml-devel libffi-devel
Также установка завершиться корректно, если использовать заранее скомпилированные бинарники:
$ mise settings ruby.compile=false</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>291489</commentid>
    <comment_count>1</comment_count>
    <who name="Маслаков Иван">maslakovis</who>
    <bug_when>2026-07-22 17:32:16 +0300</bug_when>
    <thetext>*завершится(Ответ для Маслаков Иван на комментарий #0)
&gt; Также установка завершиться корректно, если использовать заранее
&gt; скомпилированные бинарники:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>295346</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2026-09-04 10:57:23 +0300</bug_when>
    <thetext>Проверен mise-2026.7.7-alt1: Ruby устанавливается через ruby-build из исходников и требует сборочные зависимости. В документации этой версии это явно указано. Upstream начиная с 2026.8.0 переключил установку Ruby на готовые сборки по умолчанию; актуальный релиз — 2026.9.1. В Sisyphus пока остаётся 2026.7.7-alt1, поэтому закрывать рано. Нужны обновление пакета и повторная проверка установки ruby@latest.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>