Project

General

Profile

Bug #13684

Snapshots are broken

Added by vo.x (Vit Ondruch) over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-06-26 trunk 59180) [x86_64-linux]
[ruby-core:81780]

Description

make install of the ruby from snapshot fails with message:

$ make install DESTDIR=/builddir/build/BUILDROOT/ruby-2.5.0-0.1.r59180.fc27.x86_64

... snip ...

installing bundle gems:       /usr/share/ruby/gems/ (build_info, cache, doc, extensions, gems, specifications)
                              power_assert 1.0.2
                              xmlrpc 0.3.0
                              minitest 5.10.2
                              rake 12.0.0
                              net-telnet 0.1.1
                              test-unit 3.2.4
                              did_you_mean 1.1.2
/builddir/build/BUILD/ruby-2.5.0-r59180/lib/fileutils.rb:779:in `stat': No such file or directory @ rb_file_s_stat - /builddir/build/BUILD/ruby-2.5.0-r59180/gems/test-unit-3.2.4.gem (Errno::ENOENT)
    from /builddir/build/BUILD/ruby-2.5.0-r59180/lib/fileutils.rb:779:in `block in install'
    from /builddir/build/BUILD/ruby-2.5.0-r59180/lib/fileutils.rb:1461:in `block in fu_each_src_dest'
    from /builddir/build/BUILD/ruby-2.5.0-r59180/lib/fileutils.rb:1470:in `block in fu_each_src_dest0'
    from /builddir/build/BUILD/ruby-2.5.0-r59180/lib/fileutils.rb:1468:in `each'
    from /builddir/build/BUILD/ruby-2.5.0-r59180/lib/fileutils.rb:1468:in `fu_each_src_dest0'
    from /builddir/build/BUILD/ruby-2.5.0-r59180/lib/fileutils.rb:1459:in `fu_each_src_dest'
    from /builddir/build/BUILD/ruby-2.5.0-r59180/lib/fileutils.rb:778:in `install'
    from ./tool/rbinstall.rb:166:in `install'
    from ./tool/rbinstall.rb:807:in `block in <main>'
    from ./tool/rbinstall.rb:855:in `block in <main>'
    from ./tool/rbinstall.rb:852:in `each'
    from ./tool/rbinstall.rb:852:in `<main>'
make: *** [uncommon.mk:303: do-install-all] Error 1

Checking the tarball I created as well as the official nightly snapshot 1, the test-unit-3.2.4.gem is just broken symlink:

$ ls -la /builddir/build/BUILD/ruby-2.5.0-r59180/gems/test-unit-3.2.4.gem
lrwxrwxrwx. 1 mockbuild mockbuild 40 26. čen 15.34 /builddir/build/BUILD/ruby-2.5.0-r59180/gems/test-unit-3.2.4.gem -> ../.downloaded-cache/test-unit-3.2.4.gem

I might just guess that the troubles started with r58833


Related issues

Related to Ruby master - Bug #13709: Problem compiling https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz - symlinks point to non-existing .gem files during "make install" stepClosedActions

Associated revisions

Revision 5522d798
Added by nobu (Nobuyoshi Nakada) over 2 years ago

downloader.rb: get rid of symlinks

  • tool/downloader.rb: do not save downloaded files to cache. [ruby-core:81780] [Bug #13684]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 59185
Added by nobu (Nobuyoshi Nakada) over 2 years ago

downloader.rb: get rid of symlinks

  • tool/downloader.rb: do not save downloaded files to cache. [ruby-core:81780] [Bug #13684]

Revision 59185
Added by nobu (Nobuyoshi Nakada) over 2 years ago

downloader.rb: get rid of symlinks

  • tool/downloader.rb: do not save downloaded files to cache. [ruby-core:81780] [Bug #13684]

Revision 59185
Added by nobu (Nobuyoshi Nakada) over 2 years ago

downloader.rb: get rid of symlinks

  • tool/downloader.rb: do not save downloaded files to cache. [ruby-core:81780] [Bug #13684]

History

#1

Updated by nobu (Nobuyoshi Nakada) over 2 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r59185.


downloader.rb: get rid of symlinks

  • tool/downloader.rb: do not save downloaded files to cache. [ruby-core:81780] [Bug #13684]
#2

Updated by hsbt (Hiroshi SHIBATA) over 2 years ago

  • Related to Bug #13709: Problem compiling https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz - symlinks point to non-existing .gem files during "make install" step added

Also available in: Atom PDF