public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Reduce debuginfo level on i386 to avoid memory exhaustion
Date: Fri, 28 Aug 2026 13:32:41 GMT	[thread overview]
Message-ID: <178792396180.1.3533589035079497215.rpms-opencv-b645eac1f17d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : b645eac1f17dd2c587e0ccc4a9cac1aef5d70c30
Author : Jerry James <loganjerry@gmail.com>
Date   : 2024-02-24T16:38:02-07:00
Stats  : +7/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/b645eac1f17dd2c587e0ccc4a9cac1aef5d70c30?branch=opencv5

Log:
Reduce debuginfo level on i386 to avoid memory exhaustion

---
diff --git a/opencv.spec b/opencv.spec
index 5d6774f..36c537c 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -430,6 +430,12 @@ install -pm 0644 %{S:4} .cache/ade/
 # non available on Fedora: FFMPEG, XINE
 # disabling IPP because it is closed source library from intel
 
+# Workaround for "virtual memory exhausted: Cannot allocate memory"
+%ifarch %{ix86}
+export CFLAGS='%{build_cflags} -g1'
+export CXXFLAGS='%{build_cxxflags} -g1'
+%endif
+
 %cmake \
 %if 0%{?fedora} > 38
  -DCMAKE_CXX_STANDARD=17 \
@@ -499,7 +505,6 @@ install -pm 0644 %{S:4} .cache/ade/
 
 %cmake_build
 
-
 %install
 %cmake_install
 cd %{__cmake_builddir}/python_loader/
@@ -581,6 +586,7 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
 * Fri Feb 23 2024 Jerry James <loganjerry@gmail.com> - 4.9.0-3
 - Rebuild (coin-or-Clp)
 - Use uppercase connectives in SPDX expression
+- Reduce debuginfo level on i386 to avoid memory exhaustion
 
 * Mon Feb 05 2024 Sérgio Basto <sergio@serjux.com> - 4.9.0-2
 - Revert drop compat symlink to opencv.pc

                 reply	other threads:[~2026-08-28 13:32 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=178792396180.1.3533589035079497215.rpms-opencv-b645eac1f17d@fedoraproject.org \
    --to=loganjerry@gmail.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