Summary: | ruby-google-auth теряет requires и provides при пересборке | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Ivan A. Melnikov <iv> |
Component: | rpm-build-ruby | Assignee: | majioa <majioa> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | blocker | ||
Priority: | P3 | CC: | 3aHyga, aris, cas, imz, led, majioa, mike, nbr, pav, rider, stalker |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Ivan A. Melnikov
2019-08-08 15:32:02 MSK
Если посмотреть в логи сборки (ценный источник информации, да), можно увидеть, например такое: Ruby project file is '/usr/src/RPM/BUILD/google-auth-library-ruby-0.6.7/SetupConfig' setup.rb provides --install_prefix=/usr/src/tmp/ruby-google-auth-buildroot --package=ruby-google-auth -q [setup.rb] -> LoadError: cannot load such file -- rspec/core/rake_task gem 'googleauth' at /usr/src/RPM/BUILD/google-auth-library-ruby-0.6.7 (ruby 2.5.5 x86_64-linux) ERROR[LoadError]: cannot load such file -- rspec/core/rake_task * provs -> и что-то очень похожее для find requires. http://git.altlinux.org/tasks/235775/build/100/x86_64/log Аналогично. Собираю https://github.com/google/hrx-ruby, и ни тебе ни reqs, ни provs. Бардак. ... Detecting ruby requires for ruby-hrx-ruby... Ruby project file is '/usr/src/RPM/BUILD/hrx-ruby-1.1.0/SetupConfig' setup.rb requires --install_prefix=/usr/src/tmp/ruby-hrx-ruby-buildroot --package=ruby-hrx-ruby -q gem 'hrx' at /usr/src/RPM/BUILD/hrx-ruby-1.1.0 (ruby 2.5.5 x86_64-linux) ERROR[LoadError]: cannot load such file -- Rakefile * reqs -> Requires: /usr/bin/ruby Processing files: ruby-hrx-ruby-doc-1.1.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6KlMXy find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,ruby,shell) Detecting ruby provides for ruby-hrx-ruby-doc... --- '/usr/src/RPM/BUILD/hrx-ruby-1.1.0/SetupConfig' Ruby project file is '/usr/src/RPM/BUILD/hrx-ruby-1.1.0/SetupConfig' setup.rb provides --install_prefix=/usr/src/tmp/ruby-hrx-ruby-buildroot --package=ruby-hrx-ruby-doc -q gem 'hrx' at /usr/src/RPM/BUILD/hrx-ruby-1.1.0 (ruby 2.5.5 x86_64-linux) ERROR[LoadError]: cannot load such file -- Rakefile * provs -> Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.99wAPh find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,ruby,shebang,shell,static,symlinks) Detecting ruby requires for ruby-hrx-ruby-doc... Ruby project file is '/usr/src/RPM/BUILD/hrx-ruby-1.1.0/SetupConfig' setup.rb requires --install_prefix=/usr/src/tmp/ruby-hrx-ruby-buildroot --package=ruby-hrx-ruby-doc -q gem 'hrx' at /usr/src/RPM/BUILD/hrx-ruby-1.1.0 (ruby 2.5.5 x86_64-linux) ERROR[LoadError]: cannot load such file -- Rakefile * reqs -> rpm-build-ruby-1:1.0.0-alt9 -> sisyphus: Tue Feb 18 2020 Pavel Skrylev <majioa@altlinux> 1:1.0.0-alt9 - Fixed (!) ruby.prov (closes #36506, #37088) - changed (*) ruby.req output hrx собран тоже |