Bug 748140 - Can't locate object method "new" via package "HTML::TreeBuilder::XPath"
Summary: Can't locate object method "new" via package "HTML::TreeBuilder::XPath"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-HTML-TreeBuilder-XPath
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Iain Arnell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-22 11:21 UTC by Ralf Corsepius
Modified: 2011-11-06 23:56 UTC (History)
2 users (show)

Fixed In Version: perl-HTML-TreeBuilder-XPath-0.14-2.fc14.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-06 23:56:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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