[Bug 499913] New: Review Request: expatmm - C++ wrapper for the expat XML parser library

bugzilla at redhat.com bugzilla at redhat.com
Fri May 8 21:16:18 UTC 2009


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

Summary: Review Request: expatmm - C++ wrapper for the expat XML parser library

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

           Summary: Review Request: expatmm - C++ wrapper for the expat
                    XML parser library
           Product: Fedora
           Version: rawhide
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: medium
         Component: Package Review
        AssignedTo: nobody at fedoraproject.org
        ReportedBy: loganjerry at gmail.com
         QAContact: extras-qa at fedoraproject.org
                CC: notting at redhat.com, fedora-package-review at redhat.com
   Estimated Hours: 0.0
    Classification: Fedora


Spec URL: http://jjames.fedorapeople.org/expatmm/expatmm.spec
SRPM URL: http://jjames.fedorapeople.org/expatmm/expatmm-1.0.1-1.fc10.src.rpm
Description: ExpatMM is a C++ library that uses the efficient expat XML parser
to create a C++ class base for the development of C++ event-driver parser
objects.  This library provides the developer with two C++ classes:
  - ExpatXMLParser: a generic parser where the developer must supply
    event methods for parse tokens, as well as supply the event method
    for reading input data into a local buffer.
  - ExpatXMLFileParser: a parser where the event method for reading
    input data is implemented as a file reader, with the filename being
    specified at instance construction.

I see that rpmlint is complaining about an unused direct shlib dependency on
libm.  Libtool is generating a link command including -lm.  So I tried
relinking in the spec file, like so:

cd src/.libs
g++ -shared ${RPM_OPT_FLAGS} ExpatXMLParser.o ExpatXMLFileParser.o
ExpatMM-version.o -Xlinker -soname -Xlinker libexpatmm.so.1 -o
libexpatmm.so.%{version} -lexpat

... and rpmlint still complains about the unused direct shlib dependency.  It
appears that libstdc++ is linked against libm, which may be the source of the
problem.  In any case, I don't know how to satisfy rpmlint.

-- 
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 Fedora-package-review mailing list