[publican-list] [Bug 735688] New: publican build fails on unrelated rpmlint error

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 5 00:38:33 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: publican build fails on unrelated rpmlint error

https://bugzilla.redhat.com/show_bug.cgi?id=735688

           Summary: publican build fails on unrelated rpmlint error
           Product: Publican
           Version: future
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: publican
        AssignedTo: jfearn at redhat.com
        ReportedBy: abeekhof at redhat.com
         QAContact: rlandman at redhat.com
                CC: mmcallis at redhat.com, publican-list at redhat.com
    Classification: Other
      Story Points: ---
              Type: ---


Description of problem:

When building Pacemaker in mock, we also use publican to build our in-tree
documentation.
    $(PUBLICAN) build --publish --langs=$(DOCBOOK_LANGS)
--formats=$(DOCBOOK_FORMATS)

However because the mock env variables are set publican thinks it should check
the SRPM - not realising it is the Pacemaker SRPM and not one generated by
'publican package'.

# Try to catch SRPMS created using outdated versions of publican in brew/koji
if (   ( $ENV{RPM_BUILD_DIR} )
    && ( $ENV{RPM_BUILD_DIR}  ne "" )
    && ( $ENV{RPM_PACKAGE_NAME} ne "publican" )
    && (-f
"/builddir/build/SRPMS/$ENV{RPM_PACKAGE_NAME}-$ENV{RPM_PACKAGE_VERSION}-$ENV{RPM_PACKAGE_RELEASE}.src.rpm"
    )
    )

In Pacemaker's case, there are some unavoidable rpmlint errors which triggers
the following abort:

    # sad we need to do this kind of thing
    if ( system( "rpmlint", "-f", "/usr/share/publican/rpmlint.cfg", "-i", $pkg
) != 0 ) {
        croak(
            "\n\nERROR: Package failed rpmlint validation. Fix errors and
retry."
        );
    }


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

Name        : publican
Version     : 2.6
Release     : 3.fc15

How reproducible:

Every time

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the publican-list mailing list