Alternatively, you can exclude this requirement from the generated Requires list by adding this to the spec file

%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^libunwind$

Andthen add a weak dependency so that the package is installed only if it is available.

From the page  (Weak dependencies)
https://rpm-software-management.github.io/rpm/manual/dependencies.html

Recommends: libunwind

--
Evan

From: Hofi <hofione@gmail.com>
Sent: November 25, 2025 6:16 AM
To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu>
Subject: [syslog-ng]Re: Version 4.10.2 of syslog-ng is now available
 
You don't often get email from hofione@gmail.com. Learn why this is important
https://github.com/syslog-ng/syslog-ng/pull/5569 turned off stack dump usage temporarily in the package generation.

You can test it using the output of the Nightly release, e.g. https://ose-repo.syslog-ng.com/yum/nightly/rhel-8/x86_64/ 

-----------------------------------
Hofi - Istvan Hoffmann
https://memyselfandi.hu
https://mantisliagames.com
On Nov 25, 2025 at 00:00 +0100, Evan Rempel <erempel@uvic.ca>, wrote:
Just wondering if there has been any resolution or recommendation on the dependency of libunwind in the base syslog-ng package?

--
Evan


From: Hofi <hofione@gmail.com>
Sent: October 29, 2025 8:21 AM
To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu>
Subject: [syslog-ng]Re: Version 4.10.2 of syslog-ng is now available
 
Sorry for the inconvenience!

We will discuss this and let you know the result next week.

Thanks for reporting the problem.

-----------------------------------
Hofi - Istvan Hoffmann

On Oct 29, 2025 at 16:16 +0100, Evan Rempel <erempel@uvic.ca>, wrote:
That's good information. Referring to the current RPM from /ose-repo.syslog-ng.com/yum/
I am no longer able to install the base syslog-ng package on a vanilla RHEL8/9 system.
This base package now has a dependency on libunwind that has never been there before. That's why I think this is an oversight in the build of this latest RPM.

I understand that many of the additional RPMs for syslog-ng require the EPEL repository. Until now this was not a requirement of the base syslog-ng package.


--
Evan


From: Hofi <hofione@gmail.com>
Sent: October 29, 2025 8:02 AM
To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu>
Subject: [syslog-ng]Re: Version 4.10.2 of syslog-ng is now available
 
Libunwind is used to provide better crash reporting (and is also very helpful in debug builds).

It can be disabled using the `--disable-stackdump` or `-DENABLE_STACKDUMP=OFF` configure option.

The default state of this option is now `AUTO`, which checks for the presence of the libunwind library and automatically enables the stackdump feature if it is available.



-----------------------------------
Hofi - Istvan Hoffmann

______________________________________________________________________________
Member info: %(web_page_url)slistinfo/%(_internal_name)s
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq