[Bug translator/29094] New: rpm_finder.cxx build broken by rpm-4.18.0-0.alpha1 moving rpmFreeCrypto declaration

wcohen at redhat dot com sourceware-bugzilla@sourceware.org
Tue Apr 26 18:37:24 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=29094

            Bug ID: 29094
           Summary: rpm_finder.cxx build broken by rpm-4.18.0-0.alpha1
                    moving rpmFreeCrypto declaration
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: wcohen at redhat dot com
  Target Milestone: ---

On a fresh rawhide image with rpm-devel-4.18.0-0.alpha1.1.fc37.x86_64 the build
of rpm_finder.cxx fails with:

  CXX      stap-rpm_finder.o
rpm_finder.cxx: In function ‘int missing_rpm_enlist(systemtap_session&, const
char*, const char*)’:
rpm_finder.cxx:191:3: error: ‘rpmFreeCrypto’ was not declared in this scope
  191 |   rpmFreeCrypto (); // Shuts down NSS within librpm
      |   ^~~~~~~~~~~~~
make[2]: *** [Makefile:1534: stap-rpm_finder.o] Error 1
make[2]: Leaving directory '/home/wcohen/systemtap_write/systemtap'
make[1]: *** [Makefile:2135: all-recursive] Error 1
make[1]: Leaving directory '/home/wcohen/systemtap_write/systemtap'
make: *** [Makefile:800: all] Error 2

The rpmFreeCrypto declaration has been moved from /usr/include/rpm/rpmpgp.h to
/usr/include/rpm/rpmcrypto.h by the following upstream rpm source file commit
ca822ed6d239954ec56d6888559bd386b4d076ea:


    Split off rpmDigest*() APIs from rpmpgp.h to a new rpmcrypto.h header

    These APIs never belonged to rpmpgp.h anyway, it was only used for
    being the least-worst fit within rpm. As if it was so hard to just

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list