public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Coiby Xu <coxu@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ima-evm-utils] f44: spec: Disable debug mode to not use level 1 optimization
Date: Mon, 30 Nov 2026 06:15:44 GMT	[thread overview]
Message-ID: <179601934470.1.11683614510798134075.rpms-ima-evm-utils-08ae1411ab90@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ima-evm-utils
            Branch : f44
            Commit : 08ae1411ab901045899f5be691e615b53f32754c
            Author : Coiby Xu <coxu@redhat.com>
            Date   : 2026-11-30T10:51:07+08:00
            Stats  : +2/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ima-evm-utils/c/08ae1411ab901045899f5be691e615b53f32754c?branch=f44

            Log:
            spec: Disable debug mode to not use level 1 optimization

Currently annocheck fails with the following message,
    # annocheck --no-use-debuginfod --ignore-unknown --debug-dir=./usr/lib/debug/ --verbose --profile=fedora ./usr/bin/evmctl
    ...
    FAIL: optimization test because level too low (based upon annobin data) (lto)

This is because ima-evm-utils enable debugging mode by default which in
turns enable -O1. Fedora's _d_optflags uses -O2. So disable debug mode
to honor this option.

Signed-off-by: Coiby Xu <coxu@redhat.com>

---
diff --git a/ima-evm-utils.spec b/ima-evm-utils.spec
index 0d862a7..5acbbb2 100644
--- a/ima-evm-utils.spec
+++ b/ima-evm-utils.spec
@@ -83,13 +83,13 @@ popd
 
 %build
 autoreconf -vif
-%configure --disable-static --disable-engine
+%configure --disable-static --disable-engine --disable-debug
 %make_build
 
 %if 0%{bootstrap}
 pushd compat/
 autoreconf -vif
-%configure --disable-static --disable-engine
+%configure --disable-static --disable-engine --disable-debug
 %make_build
 popd
 %endif

                 reply	other threads:[~2026-11-30  6:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=179601934470.1.11683614510798134075.rpms-ima-evm-utils-08ae1411ab90@fedoraproject.org \
    --to=coxu@redhat.com \
    --cc=git-commits@fedoraproject.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