public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/29094] New: rpm_finder.cxx build broken by rpm-4.18.0-0.alpha1 moving rpmFreeCrypto declaration
@ 2022-04-26 18:37 wcohen at redhat dot com
  2022-04-27 18:30 ` [Bug translator/29094] " wcohen at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: wcohen at redhat dot com @ 2022-04-26 18:37 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/29094] rpm_finder.cxx build broken by rpm-4.18.0-0.alpha1 moving rpmFreeCrypto declaration
  2022-04-26 18:37 [Bug translator/29094] New: rpm_finder.cxx build broken by rpm-4.18.0-0.alpha1 moving rpmFreeCrypto declaration wcohen at redhat dot com
@ 2022-04-27 18:30 ` wcohen at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: wcohen at redhat dot com @ 2022-04-27 18:30 UTC (permalink / raw)
  To: systemtap

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

William Cohen <wcohen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from William Cohen <wcohen at redhat dot com> ---
Fixed by commit d752cdd14eefd0dd0c81bb5b4d7787394335a49e

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-27 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-26 18:37 [Bug translator/29094] New: rpm_finder.cxx build broken by rpm-4.18.0-0.alpha1 moving rpmFreeCrypto declaration wcohen at redhat dot com
2022-04-27 18:30 ` [Bug translator/29094] " wcohen at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).