Bug 1334753 - hivex-1.3.13-4.fc25 FTBFS: 'rake/rdoctask' is obsolete and no longer supported
Summary: hivex-1.3.13-4.fc25 FTBFS: 'rake/rdoctask' is obsolete and no longer supported
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: hivex
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-10 13:07 UTC by Petr Pisar
Modified: 2016-05-10 13:50 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-10 13:50:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2016-05-10 13:07:08 UTC
hivex-1.3.13-4.fc25 fails to build in F25:

Making all in ruby
make[2]: Entering directory '/builddir/build/BUILD/hivex-1.3.13/ruby'
rake build
rake aborted!
ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead.
/builddir/build/BUILD/hivex-1.3.13/ruby/Rakefile:27:in `rescue in <top (required)>'
/builddir/build/BUILD/hivex-1.3.13/ruby/Rakefile:24:in `<top (required)>'
LoadError: cannot load such file -- rdoc/task
/builddir/build/BUILD/hivex-1.3.13/ruby/Rakefile:25:in `<top (required)>'
(See full trace by running task with --trace)
Makefile:1631: recipe for target 'all' failed

I don't know what causes the failure. The first failure is dated to 2016-04-09 <https://apps.fedoraproject.org/koschei/build/1558312> that was apparently not caused by ruby. There can be more reasons.

Comment 1 Richard W.M. Jones 2016-05-10 13:26:59 UTC
This is likely to be a missing dependency.

Recently dnf in Koji in Rawhide was changed so that Recommended
packages are no longer installed.

Since rubygem-rdoc is not listed as an explicit BuildRequires, but
was (previously) only being pulled in as a side effect of a
Recommended dep of some other package, it is now missing.

I've pushed a new package that adds the explicit BR, so let's see
what happens:

http://koji.fedoraproject.org/koji/taskinfo?taskID=13995135

Comment 2 Richard W.M. Jones 2016-05-10 13:39:57 UTC
And rubygem(json) too (but see also bug 1325022).

http://koji.fedoraproject.org/koji/taskinfo?taskID=13995249

Comment 3 Richard W.M. Jones 2016-05-10 13:50:29 UTC
That seems to have worked, so closing.  Thanks for the clear
bug report.


Note You need to log in before you can comment on or make changes to this bug.