public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "wcohen at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug translator/29094] New: rpm_finder.cxx build broken by rpm-4.18.0-0.alpha1 moving rpmFreeCrypto declaration
Date: Tue, 26 Apr 2022 18:37:24 +0000	[thread overview]
Message-ID: <bug-29094-6586@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2022-04-26 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-26 18:37 wcohen at redhat dot com [this message]
2022-04-27 18:30 ` [Bug translator/29094] " wcohen at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-29094-6586@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).