Bug 748140

Summary: Can't locate object method "new" via package "HTML::TreeBuilder::XPath"
Product: [Fedora] Fedora Reporter: Ralf Corsepius <rc040203>
Component: perl-HTML-TreeBuilder-XPathAssignee: Iain Arnell <iarnell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: iarnell, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-HTML-TreeBuilder-XPath-0.14-2.fc14.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-06 23:56:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ralf Corsepius 2011-10-22 11:21:04 UTC
Description of problem:

Building the perl-HTML-Selector-XPath-0.09 package (in Fedora's git) fails to build for fedora 14 with this error:
...
Can't locate object method "new" via package "HTML::TreeBuilder::XPath" at t/02_html.t line 13, <DATA> line 1.
...

perl-HTML-Selector-XPath-0.09 (almost idential specs) builds fine for f15, f16 and rawhide.

 I am not sure, but I'd assume this error to originate from perl-HTML-TreeBuilder-XPath or one of packages underneath of it.

Version-Release number of selected component (if applicable):
perl-HTML-TreeBuilder-XPath-0.14-2.fc14.noarch.rpm


How reproducible:
Always.

Steps to Reproduce:
rebuild fedora/f14's perl-HTML-Selector-XPath in a local mock (fedpkg mockbuild) or in koji (fedpkg scratch-build)
  
Actual results:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3451421

Expected results:


Additional info:

Comment 1 Iain Arnell 2011-10-22 12:01:45 UTC
(In reply to comment #0)
>  I am not sure, but I'd assume this error to originate from
> perl-HTML-TreeBuilder-XPath or one of packages underneath of it.

Yes. It's a missing dependency on perl(HTML::TreeBuilder) - rpm 4.8 doesn't recognize dependencies due to 'use base'. 

Update coming soon. And I guess you'd like a buildroot override too.

Comment 2 Fedora Update System 2011-10-22 12:04:30 UTC
perl-HTML-TreeBuilder-XPath-0.14-2.fc14.1 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/perl-HTML-TreeBuilder-XPath-0.14-2.fc14.1

Comment 3 Iain Arnell 2011-10-22 12:26:17 UTC
It should be in the buildroot as well now.

Comment 4 Iain Arnell 2011-10-22 12:31:03 UTC
And scratch build of perl-HTML-Selector-XPath-0.09-1.fc14.src.rpm in dist-f14 is working now.

Comment 5 Fedora Update System 2011-10-23 03:30:08 UTC
perl-HTML-Selector-XPath-0.09-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/perl-HTML-Selector-XPath-0.09-1.fc14

Comment 6 Fedora Update System 2011-10-24 22:55:03 UTC
Package perl-HTML-TreeBuilder-XPath-0.14-2.fc14.1:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-HTML-TreeBuilder-XPath-0.14-2.fc14.1'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14803
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-11-02 06:59:16 UTC
perl-HTML-Selector-XPath-0.09-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-11-06 23:56:47 UTC
perl-HTML-TreeBuilder-XPath-0.14-2.fc14.1 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.