Skip to content

ruby: disable parallel install#221442

Merged
mweinelt merged 1 commit intoNixOS:stagingfrom
trofi:ruby-disable-parallel-install
Mar 16, 2023
Merged

ruby: disable parallel install#221442
mweinelt merged 1 commit intoNixOS:stagingfrom
trofi:ruby-disable-parallel-install

Conversation

@trofi
Copy link
Copy Markdown
Contributor

@trofi trofi commented Mar 16, 2023

Without the change parallel installs fail as:

installing rdoc:                    ...-ruby-2.7.7-devdoc/share/ri/2.7.0/system
Traceback (most recent call last):
        13: from ./tool/rbinstall.rb:954:in `<main>'
        12: from ./tool/rbinstall.rb:954:in `each'
        11: from ./tool/rbinstall.rb:957:in `block in <main>'
        10: from ./tool/rbinstall.rb:438:in `block in <main>'
         9: from ./tool/rbinstall.rb:262:in `install_recursive'
         8: from ./tool/rbinstall.rb:262:in `each'
         7: from ./tool/rbinstall.rb:271:in `block in install_recursive'
         6: from ./tool/rbinstall.rb:174:in `install'
         5: from /build/ruby-2.7.7/lib/fileutils.rb:876:in `install'
         4: from /build/ruby-2.7.7/lib/fileutils.rb:1587:in `fu_each_src_dest'
         3: from /build/ruby-2.7.7/lib/fileutils.rb:1605:in `fu_each_src_dest0'
         2: from /build/ruby-2.7.7/lib/fileutils.rb:1589:in `block in fu_each_src_dest'
         1: from /build/ruby-2.7.7/lib/fileutils.rb:882:in `block in install'
/build/ruby-2.7.7/lib/fileutils.rb:882:in `chmod': No such file or directory @ apply2files - ...-ruby-2.7.7-devdoc/share/ri/2.7.0/system/ARGF/inspect-i.ri (Errno::ENOENT)
make: *** [uncommon.mk:373: do-install-all] Error 1
make: *** Waiting for unfinished jobs....
Description of changes
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Without the change parallel installs fail as:

    installing rdoc:                    ...-ruby-2.7.7-devdoc/share/ri/2.7.0/system
    Traceback (most recent call last):
            13: from ./tool/rbinstall.rb:954:in `<main>'
            12: from ./tool/rbinstall.rb:954:in `each'
            11: from ./tool/rbinstall.rb:957:in `block in <main>'
            10: from ./tool/rbinstall.rb:438:in `block in <main>'
             9: from ./tool/rbinstall.rb:262:in `install_recursive'
             8: from ./tool/rbinstall.rb:262:in `each'
             7: from ./tool/rbinstall.rb:271:in `block in install_recursive'
             6: from ./tool/rbinstall.rb:174:in `install'
             5: from /build/ruby-2.7.7/lib/fileutils.rb:876:in `install'
             4: from /build/ruby-2.7.7/lib/fileutils.rb:1587:in `fu_each_src_dest'
             3: from /build/ruby-2.7.7/lib/fileutils.rb:1605:in `fu_each_src_dest0'
             2: from /build/ruby-2.7.7/lib/fileutils.rb:1589:in `block in fu_each_src_dest'
             1: from /build/ruby-2.7.7/lib/fileutils.rb:882:in `block in install'
    /build/ruby-2.7.7/lib/fileutils.rb:882:in `chmod': No such file or directory @ apply2files - ...-ruby-2.7.7-devdoc/share/ri/2.7.0/system/ARGF/inspect-i.ri (Errno::ENOENT)
    make: *** [uncommon.mk:373: do-install-all] Error 1
    make: *** Waiting for unfinished jobs....
@trofi trofi requested a review from marsam as a code owner March 16, 2023 08:03
@github-actions github-actions bot added the 6.topic: ruby A dynamic, open source programming language with a focus on simplicity and productivity. label Mar 16, 2023
@ofborg ofborg bot requested review from manveru and vrthra March 16, 2023 08:22
@ofborg ofborg bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. labels Mar 16, 2023
@mweinelt mweinelt merged commit 986e601 into NixOS:staging Mar 16, 2023
@trofi trofi deleted the ruby-disable-parallel-install branch March 16, 2023 08:42
@Atemu
Copy link
Copy Markdown
Member

Atemu commented Mar 16, 2023

Shouldn't this go into master now that staging-next hit? I mean, ruby is a pretty important package, isn't it?

@Atemu
Copy link
Copy Markdown
Member

Atemu commented Mar 16, 2023

Nvm, parallel install just went to staging of course, not staging-next/master. Sorry for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: ruby A dynamic, open source programming language with a focus on simplicity and productivity. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants