Bug 766650

Summary: Publican needs perl(Date::Parse) as requirement
Product: [Fedora] Fedora Reporter: Ismael Olea <ismael>
Component: publicanAssignee: Ruediger Landmann <rlandman>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: mmcallis, rlandman+disabled, rlandman
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: 2012-02-06 13:32:28 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 Ismael Olea 2011-12-12 14:30:21 UTC
Description of problem:



Version-Release number of selected component (if applicable):

publican-2.8-1.fc15.noarch

How reproducible:


Steps to Reproduce:
1. yum install publican
2. publican
  
Actual results:

Can't locate Date/Parse.pm in @INC (@INC contains: /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/vendor_perl/DateTime/Format/DateParse.pm line 14, <DATA> line 1662.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/DateTime/Format/DateParse.pm line 14, <DATA> line 1662.
Compilation failed in require at /usr/share/perl5/vendor_perl/Publican/Builder.pm line 22, <DATA> line 1662.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Publican/Builder.pm line 22, <DATA> line 1662.
Compilation failed in require at /usr/share/perl5/vendor_perl/Publican/CreateBook.pm line 13, <DATA> line 1662.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Publican/CreateBook.pm line 13, <DATA> line 1662.
Compilation failed in require at /usr/bin/publican line 17, <DATA> line 1662.
BEGIN failed--compilation aborted at /usr/bin/publican line 17, <DATA> line 1662.



Additional info:
1. yum install publican
2. yum install perl-TimeDate-1:1.20-4.fc15.noarch
3. publican


¡Acción necesaria!

Usage:
    publican <command options>

    publican <action> <action options>

    Command Options

        --help              Display help message
        --man               Display the man page
        --help_actions      Display a list of valid actions
        -v                  Display the version of Publican

    Valid actions are:

        build         Transform XML to other formats (pdf, html, html-single, etc)
        bump          TECH PREVIEW: bump the pubsnumber [revision]. This feature is intended to have an additional argument to add a revision history entry and message. This feature is UNTESTED
        clean         Remove all temporary files and directories
        clean_ids     Run clean ids for source XML
        clean_set     Remove local copies of remote set books
        create        Create a new book, set, or article
        create_brand  Create a new brand
        create_site   Create a new WebSite in the supplied location.
        help_config   Display help text for the configuration file
        install_book  Install a book in to a WebSite.
        install_brand  Install a brand to the supplied location
        lang_stats    report PO statistics
        old2new       Create a publican.cfg file from the Makefile of an old book, set, or article
        package       Package a language for shipping
        print_banned  Print a list of banned DocBook tags
        print_known   Print a list of QA'd DocBook tags
        print_tree    Print a tree of the xi:includes
        print_unused  Print a list of unused XML files
        remove_book   Remove a book from a WebSite.
        rename        Rename a publican book
        site_stats    Report on the contents of a WebSite
        update_db     Add or remove database entries. Used for processing pre-build books, such as when building packages.
        update_po     Update the PO files
        update_pot    Update the POT files
        update_site   Update an existing sites templates.

    Run: 'publican <action> --help' for details on action usage

Comment 1 Jeff Fearn 🐞 2012-01-23 00:01:57 UTC
Publican does not use perl(Date::Parse) directly, that module is used by perl(DateTime::Format::DateParse).

If perl(DateTime::Format::DateParse) isn't pulling in it's deps then that is a bug in perl(DateTime::Format::DateParse).

According to RPM on F15 this dep is correct.

$ rpm -q --whatrequires 'perl(Date::Parse)'
perl-DateTime-Format-DateParse-0.04-8.f15.noarch

$ rpm -q --whatrequires 'perl(DateTime::Format::DateParse)'
publican-2.8-1.fc15.noarch

This isn't an upstream issue, moving back to fedora.

Comment 2 Ismael Olea 2012-02-06 13:32:28 UTC
Now seems to be working in F16... so closing it.