From dfbef48340083b0d5fd86174d1711a3b083679d7 Mon Sep 17 00:00:00 2001 From: webgtx Date: Wed, 20 Aug 2025 18:07:33 -0700 Subject: [PATCH 1/2] Add a warning about required debuginfo in Preparing Software/Makefile --- source/preparing-software.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/preparing-software.adoc b/source/preparing-software.adoc index 079931d..360693f 100644 --- a/source/preparing-software.adoc +++ b/source/preparing-software.adoc @@ -215,6 +215,9 @@ clean: ---- +WARNING: The ``-g`` flag is required with ``gcc`` because ``rpmbuild`` needs debug +information by default. + Now to build the software, simply run ``make``: [source,bash] From 125a1338b82ba38bce16c84cb7987f077f74471c Mon Sep 17 00:00:00 2001 From: webgtx Date: Wed, 20 Aug 2025 18:39:39 -0700 Subject: [PATCH 2/2] Add alternative solution to the mandatory debuginfo in cello --- source/preparing-software.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/preparing-software.adoc b/source/preparing-software.adoc index 360693f..fbfa008 100644 --- a/source/preparing-software.adoc +++ b/source/preparing-software.adoc @@ -216,7 +216,8 @@ clean: ---- WARNING: The ``-g`` flag is required with ``gcc`` because ``rpmbuild`` needs debug -information by default. +information by default. Alternatively, you can disable `debug_package` by adding +`%global debug_package %{nil}` line to the `cello.spec`. Now to build the software, simply run ``make``: