Bug 721238 - Fails to build in mock (%check)
Summary: Fails to build in mock (%check)
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: perl-WWW-Mechanize
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-14 06:35 UTC by Mathieu Bridon
Modified: 2020-11-11 15:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-11 15:17:51 UTC
Type: ---


Attachments (Terms of Use)

Description Mathieu Bridon 2011-07-14 06:35:29 UTC
Description of problem:
During the unit tests, I get a failure:
Can't locate CGI.pm in @INC (@INC contains: t/ /builddir/build/BUILD/WWW-Mechanize-1.62/blib/lib /builddir/build/BUILD/WWW-Mechanize-1.62/blib/arch /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/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=3198000

Adding the following makes the package build again:
    BuildRequires:  perl(CGI)

Note that this had been fixed in Fedora 15 already:
    http://bugzilla.redhat.com/661086
    http://pkgs.fedoraproject.org/gitweb/?p=perl-WWW-Mechanize.git;a=blobdiff;f=perl-WWW-Mechanize.spec;h=08f43ea47471d14d40cd8e7185a5c8837fa9847c;hp=e45740494b2d0c59ba6ed687c6677f905e05d3e1;hb=2b2c8daf677dc48a36286101789770b304738b5e;hpb=b64cbb7c462877e2a3d24e4d22aeb2db191695ec

Comment 1 Mathieu Bridon 2011-07-15 04:10:50 UTC
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-WWW-Mechanize >= 1.62-3)

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-WWW-Mechanize (add the --anonymous option if you are not a Fedora packager)
$ cd perl-WWW-Mechanize
$ fedpkg mockbuild

Comment 2 Fedora Admin user for bugzilla script actions 2020-11-02 14:58:41 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 3 Ben Cotton 2020-11-05 16:53:03 UTC
This message is a reminder that EPEL 6 is nearing its end of life. Fedora will stop maintaining and issuing updates for EPEL 6 on 2020-11-30. It is our policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of 'el6'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later EPEL version.

Thank you for reporting this issue and we are sorry that we were not able to fix it before EPEL 6 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged  change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.

Comment 4 Ben Cotton 2020-11-05 16:55:40 UTC
This message is a reminder that EPEL 6 is nearing its end of life. Fedora will stop maintaining and issuing updates for EPEL 6 on 2020-11-30. It is policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of 'el6'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later EPEL version.

Thank you for reporting this issue and we are sorry that we were not able to fix it before EPEL 6 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version, you are encouraged to change the 'version' to a later version prior this bug is closed as described in the policy above.


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