Bug 46576 - ruby: сборочная зависимость от самой себя
Summary: ruby: сборочная зависимость от самой себя
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: ruby (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: majioa@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-17 15:43 MSK by Alexey Sheplyakov
Modified: 2023-06-23 15:42 MSK (History)
12 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Sheplyakov 2023-06-17 15:43:29 MSK
Для сборки ruby требуется rpm-build-ruby, а rpm-build-ruby требует ruby [1].
А как предлагается делать начальную сборку?

Причём для сборки из исходников согласно официальной инструкции:
https://github.com/ruby/ruby/blob/master/doc/contributing/building_ruby.md
нужны только C компилятор и немного библиотек (openssl, libyaml, zlib)


[1] на x86_64

$ hsh-install rpm-build-ruby
<13>Jun 17 12:29:48 rpmi: libruby-3.1.2-alt2 sisyphus+313736.360.47.3 1677064589 installed
<13>Jun 17 12:29:48 rpmi: libncurses-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed
<13>Jun 17 12:29:48 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed
<13>Jun 17 12:29:48 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094928 installed
<13>Jun 17 12:29:48 rpmi: libyaml-devel-0.2.5-alt1 sisyphus+278391.100.1.1 1626094928 installed
<13>Jun 17 12:29:48 rpmi: libgdbm-devel-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed
<13>Jun 17 12:29:48 rpmi: rpm-macros-ruby-1:1.1.0-alt2 sisyphus+313736.360.47.3 1677064589 installed
<13>Jun 17 12:29:51 rpmi: valgrind-3.17.0-alt3 sisyphus+284325.100.1.1 1630488680 installed
<13>Jun 17 12:29:51 rpmi: valgrind-devel-3.17.0-alt3 sisyphus+284325.100.1.1 1630488680 installed
<13>Jun 17 12:29:51 rpmi: zlib-devel-1.2.13-alt1 sisyphus+309409.200.2.1 1667402043 installed
<13>Jun 17 12:29:51 rpmi: libreadline-devel-7.0.3-alt4 sisyphus+283725.100.1.2 1629849376 installed
<13>Jun 17 12:29:51 rpmi: groff-base-1.22.3-alt2 sisyphus+275306.100.2.1 1624538375 installed
<13>Jun 17 12:29:51 rpmi: libtinfo-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed
<13>Jun 17 12:29:51 rpmi: libncurses-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed
<13>Jun 17 12:29:51 rpmi: libncursesw-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed
<13>Jun 17 12:29:51 rpmi: libffi-devel-1:3.4.2-alt2 sisyphus+287629.100.2.1 1634659242 installed
<13>Jun 17 12:29:51 rpmi: libdb4.7-devel-4.7.25-alt12 sisyphus+283793.100.2.1 1629966936 installed
<13>Jun 17 12:29:51 rpmi: doxygen-1:1.9.6-alt1 sisyphus+317413.100.1.2 1679681943 installed
<13>Jun 17 12:29:51 rpmi: chrpath-0.16-alt1 sisyphus+278100.500.1.1 1626056633 installed
<13>Jun 17 12:29:51 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed
<13>Jun 17 12:29:51 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359624 installed
<13>Jun 17 12:29:51 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Jun 17 12:29:51 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Jun 17 12:29:51 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed
<13>Jun 17 12:29:51 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed
<13>Jun 17 12:29:51 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed
<13>Jun 17 12:29:51 rpmi: libcrypto1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474736 installed
<13>Jun 17 12:29:51 rpmi: libssl1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474736 installed
<13>Jun 17 12:29:51 rpmi: gem-2:3.3.7-alt2 sisyphus+313736.360.47.3 1677064589 installed
<13>Jun 17 12:29:51 rpmi: gem-minitest-5.16.3-alt1 sisyphus+296741.13600.43.1 1666814669 installed
<13>Jun 17 12:29:51 rpmi: gem-net-telnet-0.2.0.1-alt0.1 sisyphus+238996.14500.5.1 1630597117 installed
<13>Jun 17 12:29:51 rpmi: gem-power-assert-2.0.1-alt1 sisyphus+296637.272.56.4 1654656448 installed
<13>Jun 17 12:29:51 rpmi: gem-rake-13.0.6-alt1 sisyphus+296637.11240.56.4 1654660010 installed
<13>Jun 17 12:29:51 rpmi: gem-test-unit-3.5.3-alt1 sisyphus+296703.16.105.2 1663319196 installed
<13>Jun 17 12:29:51 rpmi: gem-webrick-1.7.0-alt1 sisyphus+264413.200.1.1 1610122897 installed
<13>Jun 17 12:29:52 rpmi: gem-xmlrpc-0.3.2-alt1.1 sisyphus+296703.16100.105.2 1663323187 installed
<13>Jun 17 12:29:52 rpmi: ri-6.4.0.1-alt1 sisyphus+296703.306.105.2 1663320293 installed
<13>Jun 17 12:29:52 rpmi: gem-rdoc-6.4.0.1-alt1 sisyphus+296703.306.105.2 1663320293 installed
<13>Jun 17 12:29:52 rpmi: rdoc-6.4.0.1-alt1 sisyphus+296703.306.105.2 1663320293 installed
<13>Jun 17 12:29:52 rpmi: rake-13.0.6-alt1 sisyphus+296637.11240.56.4 1654660010 installed
<13>Jun 17 12:29:52 rpmi: erb-3.1.2-alt2 sisyphus+313736.360.47.3 1677064589 installed
<13>Jun 17 12:29:52 rpmi: irb-3.1.2-alt2 sisyphus+313736.360.47.3 1677064589 installed
<13>Jun 17 12:29:52 rpmi: bundle-2.2.19-alt1 sisyphus+263530.240.88.5 1629542341 installed
<13>Jun 17 12:29:53 rpmi: gem-bundler-2.2.19-alt1 sisyphus+263530.240.88.5 1629542341 installed
<13>Jun 17 12:29:53 rpmi: ruby-3.1.2-alt2 sisyphus+313736.360.47.3 1677064589 installed
<13>Jun 17 12:29:53 rpmi: ruby-stdlibs-3.1.2-alt2 sisyphus+313736.360.47.3 1677064589 installed
<13>Jun 17 12:29:53 rpmi: gem-setup-5.999.6-alt7 sisyphus+313736.6.47.3 1677064188 installed
<13>Jun 17 12:29:53 rpmi: setup-rb-5.999.6-alt7 sisyphus+313736.6.47.3 1677064188 installed
<13>Jun 17 12:29:53 rpmi: libssl-devel-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474736 installed
<13>Jun 17 12:29:53 rpmi: libruby-devel-3.1.2-alt2 sisyphus+313736.360.47.3 1677064589 installed
<13>Jun 17 12:29:53 rpmi: rpm-build-ruby-1:1.1.0-alt1 sisyphus+296703.146.105.1 1663266216 installed

А как предлагается делать начальную сборку?
Comment 1 Repository Robot 2023-06-23 15:42:09 MSK
ruby-3.1.2-alt2.1 -> sisyphus:

 Mon Jun 19 2023 Pavel Skrylev <majioa@altlinux> 3.1.2-alt2.1
 - - removed rpm-build-ruby build dependency (closes #46576)