ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: her@sorah.jp
To: ruby-core@ruby-lang.org
Subject: [ruby-core:95182] [Ruby master Bug#16197] make install under non-root user fails for Ruby 2.4.8 tarball
Date: Wed, 02 Oct 2019 04:25:52 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-81814.20191002042551.1a3be5062b9bdeb2@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-16197.20191002035057@ruby-lang.org

Issue #16197 has been updated by sorah (Sorah Fukumori).


The cause should be resolved with the following commits:

- https://github.com/ruby/ruby/commit/5af2c8735a22e6b54acf4164b1f1f7bac98e7111
- https://github.com/ruby/ruby/commit/a61ae414b6f8310c9dff9a6f18b6064499167513

We're preparing to release 2.4.9.

----------------------------------------
Bug #16197: make install under non-root user fails for Ruby 2.4.8 tarball 
https://bugs.ruby-lang.org/issues/16197#change-81814

* Author: sorah (Sorah Fukumori)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
http://www.ruby-lang.org/en/news/2019/10/01/ruby-2-4-8-released/

Ruby 2.4.8 tarball doesn't install under non-root user with the following error:

```
installing bundle gems:       /usr/share/rbenv/versions/2.4.8/lib/ruby/gems/2.4.0 (build_info, cache, doc, extensions, gems, specifications)
/usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package.rb:383:in `initialize': Permission denied @ rb_sysopen - /usr/share/rbenv/versions/2.4.8/lib/ruby/gems/2.4.0/gems/did_you_mean-1.1.0/.gitignore (Errno::EACCES)
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package.rb:383:in `open'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package.rb:383:in `block (2 levels) in extract_tar_gz'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package/tar_reader.rb:65:in `each'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package.rb:365:in `block in extract_tar_gz'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package.rb:492:in `block in open_tar_gz'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package.rb:489:in `wrap'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package.rb:489:in `open_tar_gz'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package.rb:364:in `extract_tar_gz'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package.rb:345:in `block (2 levels) in extract_files'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package/tar_reader.rb:65:in `each'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package.rb:342:in `block in extract_files'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package/file_source.rb:30:in `open'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package/file_source.rb:30:in `with_read_io'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/package.rb:339:in `extract_files'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/installer.rb:801:in `extract_files'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/installer.rb:302:in `install'
        from ./tool/rbinstall.rb:685:in `call'
        from ./tool/rbinstall.rb:685:in `block in <class:Installer>'
        from ./tool/rbinstall.rb:784:in `block (3 levels) in <main>'
        from /usr/share/rbenv/sources/2.4.8/ruby-2.4.8/lib/rubygems/user_interaction.rb:51:in `use_ui'
        from ./tool/rbinstall.rb:784:in `block (2 levels) in <main>'
        from ./tool/rbinstall.rb:780:in `each'
        from ./tool/rbinstall.rb:780:in `block in <main>'
        from ./tool/rbinstall.rb:822:in `block in <main>'
        from ./tool/rbinstall.rb:819:in `each'
        from ./tool/rbinstall.rb:819:in `<main>'
make: *** [uncommon.mk:284: do-install-nodoc] Error 1
```

Release maintainers are aware of this issue and give a follow up soon.
Opening this ticket for tracking the issue. I will post an update on www.ruby-lang.org.





-- 
https://bugs.ruby-lang.org/

  parent reply	other threads:[~2019-10-02  4:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-16197.20191002035057@ruby-lang.org>
2019-10-02  3:50 ` [ruby-core:95181] [Ruby master Bug#16197] make install under non-root user fails for Ruby 2.4.8 tarball her
2019-10-02  4:25 ` her [this message]
2019-10-02  9:27 ` [ruby-core:95186] " mame

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-81814.20191002042551.1a3be5062b9bdeb2@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).