Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763252 - =dev-ruby/rubygems-3.2.4 fails to emerge - dodoc - No such file or directory: b'History.txt'
Summary: =dev-ruby/rubygems-3.2.4 fails to emerge - dodoc - No such file or directory:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-03 10:22 UTC by PhobosK
Modified: 2021-01-03 12:47 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PhobosK 2021-01-03 10:22:37 UTC
>>> Install dev-ruby/rubygems-3.2.4 into /dev/shm/portage/dev-ruby/rubygems-3.2.4/image
 * Running install phase for ruby26 ...
 * Running install phase for ruby27 ...
 * Running install phase for ruby30 ...
 * Running install phase for all ...
Traceback (most recent call last):
  File "/usr/lib/portage/python3.7/doins.py", line 594, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python3.7/doins.py", line 585, in main
    os.path.dirname(source)):
  File "/usr/lib/portage/python3.7/doins.py", line 434, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.7/doins.py", line 370, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python3.7/doins.py", line 179, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'History.txt'
 * ERROR: dev-ruby/rubygems-3.2.4::gentoo failed (install phase):
 *   dodoc failed
 *
 * If you need support, post the output of `emerge --info '=dev-ruby/rubygems-3.2.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/rubygems-3.2.4::gentoo'`.
 * The complete build log is located at '/dev/shm/portage/dev-ruby/rubygems-3.2.4/temp/build.log'.
 * The ebuild environment file is located at '/dev/shm/portage/dev-ruby/rubygems-3.2.4/temp/environment'.
 * Working directory: '/dev/shm/portage/dev-ruby/rubygems-3.2.4/work/all/rubygems-3.2.4'
 * S: '/dev/shm/portage/dev-ruby/rubygems-3.2.4/work/all/rubygems-3.2.4'


Did anyone at all bothered to check if the ebuild actually works, before uploading to portage tree the new bumped version of rubygems??!? Or is it a bots work :D... though even bots should do main checks :P

... like fixing the all_ruby_install() phase's	"dodoc History.txt README.md" ??!!

Reproducible: Always
Comment 1 HougeLangley 2021-01-03 10:30:55 UTC
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-ruby/rubygems-3.2.4::gentoo
>>> Failed to emerge dev-ruby/rubygems-3.2.4, Log file:
>>>  '/var/tmp/portage/dev-ruby/rubygems-3.2.4/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.49, 0.62, 0.70
 * Package:    dev-ruby/rubygems-3.2.4
 * Repository: gentoo
 * Maintainer: ruby@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby25 ruby_targets_ruby26 ruby_targets_ruby27 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking rubygems-3.2.4.tgz to /var/tmp/portage/dev-ruby/rubygems-3.2.4/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/rubygems-3.2.4/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rubygems-3.2.4/work ...
 * Running prepare phase for all ...
 * Running prepare phase for all ...
 * Adjusting to prefix /
 *   operating_system.rb ...
 [ ok ]
 * Running source copy phase for ruby25 ...
 * Running source copy phase for ruby26 ...
 * Running source copy phase for ruby27 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rubygems-3.2.4/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rubygems-3.2.4/work ...
 * Running compile phase for ruby25 ...
 * Running compile phase for ruby26 ...
 * Running compile phase for ruby27 ...
>>> Source compiled.
 * Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: dev-ruby/rubygems-3.2.4

>>> Install dev-ruby/rubygems-3.2.4 into /var/tmp/portage/dev-ruby/rubygems-3.2.4/image
 * Running install phase for ruby25 ...
 * Running install phase for ruby26 ...
 * Running install phase for ruby27 ...
 * Running install phase for all ...
Traceback (most recent call last):
  File "/usr/lib/portage/python3.8/doins.py", line 594, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python3.8/doins.py", line 582, in main
    if _doins(
  File "/usr/lib/portage/python3.8/doins.py", line 434, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.8/doins.py", line 370, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python3.8/doins.py", line 179, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'History.txt'
 * ERROR: dev-ruby/rubygems-3.2.4::gentoo failed (install phase):
 *   dodoc failed
 * 
 * If you need support, post the output of `emerge --info '=dev-ruby/rubygems-3.2.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/rubygems-3.2.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/rubygems-3.2.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rubygems-3.2.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/rubygems-3.2.4/work/all/rubygems-3.2.4'
 * S: '/var/tmp/portage/dev-ruby/rubygems-3.2.4/work/all/rubygems-3.2.4'

 * Messages for package dev-ruby/rubygems-3.2.4:

 * ERROR: dev-ruby/rubygems-3.2.4::gentoo failed (install phase):
 *   dodoc failed
 * 
 * If you need support, post the output of `emerge --info '=dev-ruby/rubygems-3.2.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/rubygems-3.2.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/rubygems-3.2.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rubygems-3.2.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/rubygems-3.2.4/work/all/rubygems-3.2.4'
 * S: '/var/tmp/portage/dev-ruby/rubygems-3.2.4/work/all/rubygems-3.2.4'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (dev-ruby/rubygems-3.2.4:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-ruby/rubygems-3.2.4/temp/build.log'
 *
Comment 2 Jan Psota 2021-01-03 10:36:35 UTC
Have the same.
Comment 3 Torsten Kaiser 2021-01-03 10:37:22 UTC
Nobody tests USE=doc when revbumping. :-(

The file got renamed from History.txt to CHANGELOG.md:
https://github.com/rubygems/rubygems/commit/d43270af0fc24917f2f6ab9792767233a9727066

# for i in /usr/portage/distfiles/rubygems-3.2*.tgz; do tar -tzf $i; done |egrep "(History|CHANGELOG)"
rubygems-3.2.0/History.txt
rubygems-3.2.0/bundler/CHANGELOG.md
rubygems-3.2.3/History.txt
rubygems-3.2.3/bundler/CHANGELOG.md
rubygems-3.2.4/bundler/CHANGELOG.md
rubygems-3.2.4/CHANGELOG.md
Comment 4 Jan Psota 2021-01-03 10:40:29 UTC
> The file got renamed from History.txt to CHANGELOG.md:
Haha! You were faster :-) I've just found it :-)
Comment 5 PhobosK 2021-01-03 10:50:56 UTC
(In reply to Torsten Kaiser from comment #3)
> Nobody tests USE=doc when revbumping. :-(
> 

Well... there is no doc IUSE flag :) and there's never been ;)

My point is that QA of the uploaded ebuilds (even the unstable ~ ones) is dropping drastically by the year... even by the month i would say and obviously no one makes any effort to follow some simple basic workflow even when rev bumping, like test with all flags on and test with no flags on... etc...

Which as long time Gentoo user I find sad for my fav distro :)

Anyway this is a bug reporting tool not a forum :D
Comment 6 Larry the Git Cow gentoo-dev 2021-01-03 10:52:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4056acf402a709eb9198a8b97916127eb4211cb2

commit 4056acf402a709eb9198a8b97916127eb4211cb2
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2021-01-03 10:51:00 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2021-01-03 10:51:00 +0000

    dev-ruby/rubygems: 3.2.4: fix dodoc calling, make it actually pass src_install...
    
    Closes: https://bugs.gentoo.org/763252
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 dev-ruby/rubygems/rubygems-3.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)