Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704142 - dev-ruby/multi_xml-0.6.0-r1 USE=doc - rake: rake aborted! LoadError: cannot load such file -- rubocop/rake_task
Summary: dev-ruby/multi_xml-0.6.0-r1 USE=doc - rake: rake aborted! LoadError: cannot l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-29 06:36 UTC by Stuart Longland
Modified: 2020-06-26 14:32 UTC (History)
0 users

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


Attachments
build.log (build.log,2.75 KB, text/plain)
2019-12-29 06:36 UTC, Stuart Longland
Details
emerge --info (emerge-info.txt,9.20 KB, text/plain)
2019-12-29 06:37 UTC, Stuart Longland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Longland 2019-12-29 06:36:21 UTC
Created attachment 601620 [details]
build.log

# emerge -1 dev-ruby/multi_xml

 * IMPORTANT: 26 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!

!!! The following installed packages are masked:
- media-libs/jasper-2.0.14::gentoo (masked by: JasPer2.0 license(s))
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-ruby/multi_xml-0.6.0-r1::gentoo
 * multi_xml-0.6.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                                        [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
>>> Unpacking multi_xml-0.6.0.tar.gz to /var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/work
>>> Preparing source in /var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/work ...
 * Running prepare phase for all ...
 * Running prepare phase for all ...
 * Applying multi_xml-0.6.0-ox24.patch ...                                                                                   [ ok ]
 * Running source copy phase for ruby24 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/work ...
 * Running compile phase for all ...
rake aborted!
LoadError: cannot load such file -- rubocop/rake_task
/var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/work/all/multi_xml-0.6.0/Rakefile:9:in `<top (required)>'
(See full trace by running task with --trace)
 * ERROR: dev-ruby/multi_xml-0.6.0-r1::gentoo failed (compile phase):
 *   failed to (re)build documentation
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 1954:  Called ruby-ng_src_compile
 *   environment, line 1594:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  559:  Called all_ruby_compile
 *   environment, line  643:  Called all_fakegem_compile
 *   environment, line  603:  Called die
 * The specific snippet of code:
 *                   rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to (re)build documentation"
 *
 * If you need support, post the output of `emerge --info '=dev-ruby/multi_xml-0.6.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/multi_xml-0.6.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/work/all/multi_xml-0.6.0'
 * S: '/var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/work/all/multi_xml-0.6.0'

>>> Failed to emerge dev-ruby/multi_xml-0.6.0-r1, Log file:

>>>  '/var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/temp/build.log'

 * Messages for package dev-ruby/multi_xml-0.6.0-r1:

 * ERROR: dev-ruby/multi_xml-0.6.0-r1::gentoo failed (compile phase):
 *   failed to (re)build documentation
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 1954:  Called ruby-ng_src_compile
 *   environment, line 1594:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  559:  Called all_ruby_compile
 *   environment, line  643:  Called all_fakegem_compile
 *   environment, line  603:  Called die
 * The specific snippet of code:
 *                   rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to (re)build documentation"
 * 
 * If you need support, post the output of `emerge --info '=dev-ruby/multi_xml-0.6.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/multi_xml-0.6.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/work/all/multi_xml-0.6.0'
 * S: '/var/tmp/portage/dev-ruby/multi_xml-0.6.0-r1/work/all/multi_xml-0.6.0'
rikishi ~ # emerge -1 dev-ruby/multi_xml --trace
usage: emerge [--prune] [--version] [--metadata] [--rage-clean] [--search]
              [--sync] [--list-sets] [--check-news] [--depclean] [--info]
              [--help] [--regen] [--unmerge] [--clean] [--moo] [--config]
              [--alphabetical] [--ask-enter-invalid] [--buildpkgonly]
              [--changed-use] [--changelog] [--columns] [--debug] [--digest]
              [--emptytree] [--verbose-conflicts] [--fetchonly]
              [--fetch-all-uri] [--ignore-default-opts] [--noconfmem]
              [--newrepo] [--newuse] [--nodeps] [--noreplace] [--nospinner]
              [--oneshot] [--onlydeps] [--pretend] [--quiet-repo-display]
              [--quiet-unmerge-warn] [--resume] [--searchdesc] [--skipfirst]
              [--tree] [--unordered-display] [--update] [-1] [-B] [-c] [-C]
              [-d] [-e] [-f] [-F] [-h] [-l] [-n] [-N] [-o] [-O] [-p] [-P] [-r]
              [-s] [-S] [-t] [-u] [-U] [-V] [--cols] [--skip-first]
              [--alert {True,y,n}] [--ask {True,y,n}]
              [--autounmask {True,y,n}] [--autounmask-backtrack {y,n}]
              [--autounmask-continue {True,y,n}]
              [--autounmask-only {True,y,n}] [--autounmask-license {y,n}]
              [--autounmask-unrestricted-atoms {True,y,n}]
              [--autounmask-use {y,n}] [--autounmask-keep-keywords {True,y,n}]
              [--autounmask-keep-masks {True,y,n}]
              [--autounmask-write {True,y,n}]
              [--accept-properties ACCEPT_PROPERTIES]
              [--accept-restrict ACCEPT_RESTRICT] [--backtrack BACKTRACK]
              [--binpkg-changed-deps {True,y,n}] [--buildpkg {True,y,n}]
              [--buildpkg-exclude BUILDPKG_EXCLUDE]
              [--changed-deps {True,y,n}] [--changed-deps-report {True,y,n}]
              [--changed-slot {True,y,n}] [--config-root CONFIG_ROOT]
              [--color {y,n}] [--complete-graph {True,y,n}]
              [--complete-graph-if-new-use {y,n}]
              [--complete-graph-if-new-ver {y,n}] [--deep DEEP]
              [--depclean-lib-check {True,y,n}] [--deselect {True,y,n}]
              [--dynamic-deps {y,n}] [--exclude EXCLUDE]
              [--fail-clean {True,y,n}] [--fuzzy-search {True,y,n}]
              [--ignore-built-slot-operator-deps {y,n}]
              [--ignore-soname-deps {y,n}] [--ignore-world {True,y,n}]
              [--jobs JOBS] [--keep-going {True,y,n}]
              [--load-average LOAD_AVERAGE] [--misspell-suggestions {y,n}]
              [--with-bdeps {y,n}] [--with-bdeps-auto {y,n}]
              [--reinstall {changed-use}] [--reinstall-atoms REINSTALL_ATOMS]
              [--binpkg-respect-use {True,y,n}] [--getbinpkg {True,y,n}]
              [--getbinpkgonly {True,y,n}] [--usepkg-exclude USEPKG_EXCLUDE]
              [--onlydeps-with-rdeps {True,y,n}]
              [--rebuild-exclude REBUILD_EXCLUDE]
              [--rebuild-ignore REBUILD_IGNORE] [--package-moves {True,y,n}]
              [--prefix PREFIX] [--pkg-format PKG_FORMAT] [--quiet {True,y,n}]
              [--quiet-build {True,y,n}] [--quiet-fail {True,y,n}]
              [--read-news {True,y,n}] [--rebuild-if-new-slot {True,y,n}]
              [--rebuild-if-new-rev {True,y,n}]
              [--rebuild-if-new-ver {True,y,n}]
              [--rebuild-if-unbuilt {True,y,n}]
              [--rebuilt-binaries {True,y,n}]
              [--rebuilt-binaries-timestamp REBUILT_BINARIES_TIMESTAMP]
              [--root ROOT] [--root-deps {True,rdeps}] [--search-index {y,n}]
              [--search-similarity SEARCH_SIMILARITY] [--select {True,y,n}]
              [--selective {True,y,n}] [--sync-submodule {glsa,news,profiles}]
              [--sysroot SYSROOT] [--use-ebuild-visibility {True,y,n}]
              [--useoldpkg-atoms USEOLDPKG_ATOMS] [--usepkg {True,y,n}]
              [--usepkgonly {True,y,n}] [--verbose {True,y,n}]
              [--verbose-slot-rebuilds {True,y,n}]
              [--with-test-deps {True,y,n}]
              [positional_args [positional_args ...]]
emerge: error: unrecognized arguments: --trace
Comment 1 Stuart Longland 2019-12-29 06:37:45 UTC
Created attachment 601622 [details]
emerge --info
Comment 2 Jon Daniel 2020-06-24 10:43:36 UTC
Missing dependency is rubocop:

Try getting https://github.com/rubocop-hq/rubocop
and run gem install rubocop

and/or create a ebuild for it.
Comment 3 Larry the Git Cow gentoo-dev 2020-06-26 14:32:28 UTC
The bug has been closed via the following commit(s):

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

commit b8d155bb988460c8cecf1d0406782282f8bfb757
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2020-06-26 13:57:12 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2020-06-26 14:32:06 +0000

    dev-ruby/multi_xml: avoid dep on rubocop
    
    Closes: https://bugs.gentoo.org/704142
    Package-Manager: Portage-2.3.99, Repoman-2.3.23
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/multi_xml/multi_xml-0.6.0-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)