Версия пакета: # rpm -q foreman foreman-3.13.0-alt2.noarch Выполнение railsctl setup foreman завершается ошибкой: Renewing dependencies... Error code is: 3 В логах: # cat /var/log/foreman/bundle.log [DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'development test'`, and stop using this flag [DEPRECATED] This Gemfile does not include an explicit global source. Not using an explicit global source may result in a different lockfile being generated depending on the gems you have installed locally before bundler is run. Instead, define a global source in your Gemfile like this: source "https://rubygems.org". Could not find gem 'gettext_i18n_rails_js (~> 1.4)' in locally installed gems. The source contains the following gems matching 'gettext_i18n_rails_js': * gettext_i18n_rails_js-1.3.1.1 [DEPRECATED] This Gemfile does not include an explicit global source. Not using an explicit global source may result in a different lockfile being generated depending on the gems you have installed locally before bundler is run. Instead, define a global source in your Gemfile like this: source "https://rubygems.org". Could not find gem 'gettext_i18n_rails_js (~> 1.4)' in locally installed gems. The source contains the following gems matching 'gettext_i18n_rails_js': * gettext_i18n_rails_js-1.3.1.1 Пакет gem-gettext-i18n-rails-js установлен, но не ожидаемой версии: # rpm -qi gem-gettext-i18n-rails-js Name : gem-gettext-i18n-rails-js Version : 1.3.1.1 Release : alt0.1 DistTag : sisyphus+296741.540.42.6 Architecture: noarch Install Date: Пт 17 июл 2026 15:46:55 Group : Development/Ruby Size : 106078 License : MIT Signature : RSA/SHA512, Ср 26 окт 2022 20:17:47, Key ID ff979dedda2773bb Source RPM : gem-gettext-i18n-rails-js-1.3.1.1-alt0.1.src.rpm Build Date : Ср 26 окт 2022 20:17:45 Build Host : majioa-sisyphus.hasher.altlinux.org
Версия пакета: foreman-3.13.0-alt2.noarch Дополнение к ошибке: Тот же сбой `railsctl setup foreman` («Error code is: 3») воспроизводится на актуальной p11, но список неразрешённых gem больше Для воспроизведения выполнить: # deploy foreman ... Подготовить экземпляр Foreman... localhost failed | msg: The command exited with a non-zero return code. | stdout: Work dir is '/var/lib/foreman' Processing rails application 'foreman' setup... Applying variables from '/etc/sysconfig/foreman' Renewing dependencies... Error code is: 3 В логах: # tail /var/log/foreman/bundle.log Could not find gem 'spice-html5-rails (~> 0.1.5)' in locally installed gems. После установки gem-spice-html5-rails (пакет в p11 есть, 0.1.5-alt1.2) - следующий отсутствующий gem: # railsctl setup foreman; tail /var/log/foreman/bundle.log Could not find gem 'patternfly-sass (~> 3.59.4)' in locally installed gems. При этом Gemfile требует эти gem явно: # grep -n spice /var/lib/foreman/Gemfile 49:gem 'spice-html5-rails', '~> 0.1.5', group: %i(alt) Но в зависимости пакета они не вынесены: # rpm -qR foreman | grep -E 'spice|gettext' gem(fast_gettext) >= 2.1 gem(gettext_i18n_rails) >= 1.8 Итого `Requires` foreman не покрывает gem, которые разрешаются на этапе `railsctl setup`: spice-html5-rails (~> 0.1.5), patternfly-sass (~> 3.59.4) и gettext_i18n_rails_js (~> 1.4) - последнего в p11 нет в нужной версии (кандидат 1.3.1.1-alt0.1).