Bug 1334753

Summary: hivex-1.3.13-4.fc25 FTBFS: 'rake/rdoctask' is obsolete and no longer supported
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: hivexAssignee: Richard W.M. Jones <rjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mbooth, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=13990935
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-10 13:50:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.