| Summary: | Fails to build in mock (%check) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Mathieu Bridon <bochecha> |
| Component: | perl-Test-WWW-Mechanize | Assignee: | Mark Chappell <tremble> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | rc040203, tremble |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-02 12:04:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
I just pushed a fix for this issue in the el6 branch of the Fedora dist-git. However, it's not worth pushing an update just for this, so this will really be fixed in EPEL the next time the package will be rebuilt for other reasons. (this will be perl-Test-WWW-Mechanize >= 1.28-2) In the meantime, if you need to rebuild this package, don't do it from the source RPM available in the repositories, do it with fedpkg: $ fedpkg clone --branch el6 perl-Test-WWW-Mechanize (add the --anonymous option if you are not a Fedora packager) $ cd perl-Test-WWW-Mechanize $ fedpkg mockbuild |
Description of problem: During the unit tests, I get a failure: Can't locate CGI.pm in @INC (@INC contains: t /builddir/build/BUILD/Test-WWW-Mechanize-1.28/blib/lib /builddir/build/BUILD/Test-WWW-Mechanize-1.28/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/HTTP/Server/Simple/CGI.pm line 12, <DATA> line 16. See this scratch build for example: http://koji.fedoraproject.org/koji/taskinfo?taskID=3198087 Adding the following makes the package build again: BuildRequires: perl(CGI) Note that this had been fixed in Fedora 15 already: https://bugzilla.redhat.com/show_bug.cgi?id=661092 http://pkgs.fedoraproject.org/gitweb/?p=perl-Test-WWW-Mechanize.git;a=blobdiff;f=perl-Test-WWW-Mechanize.spec;h=6a82efa462b8f74a707fe3ab0be39e31d4ceb53b;hp=2359a1bfa1152842a469afba3d8e22a203ff8227;hb=c4031d52cbe628fd9b81bf6deb768c8565a47376;hpb=be3d11fe77483b6a60cba699ae1c6e15f147699e