Project

General

Profile

Actions

Bug #13684

closed

Snapshots are broken

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

Status:
Closed
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 1 (0 open1 closed)

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
Actions #1

Updated by nobu (Nobuyoshi Nakada) over 7 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r59185.


downloader.rb: get rid of symlinks

Actions #2

Updated by hsbt (Hiroshi SHIBATA) over 7 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
Actions

Also available in: Atom PDF

Like0
Like0Like0