From aa91486ccb7228f15c645c79a7cb647c70d1cb76 Mon Sep 17 00:00:00 2001 From: Otto Liljalaakso Date: Apr 19 2024 11:00:50 +0000 Subject: BuildRequire `texinfo` in tutorial In some situations, build script of GNU Hello attempts to run `makeinfo`. This has caused hard to debug errors for people trying to follow the tutorial. As a quick fix, BuildRequire `texinfo` which provides that command. A better fix would be adjust GNU Hello's build so that it is deterministic and the required toolset does not depend on the environment where the build is started. Fixes #97 --- diff --git a/modules/ROOT/pages/Packaging_Tutorial_GNU_Hello.adoc b/modules/ROOT/pages/Packaging_Tutorial_GNU_Hello.adoc index 755f9c6..a9cb176 100644 --- a/modules/ROOT/pages/Packaging_Tutorial_GNU_Hello.adoc +++ b/modules/ROOT/pages/Packaging_Tutorial_GNU_Hello.adoc @@ -220,6 +220,15 @@ BuildRequires: gcc BuildRequires: make ---- +For reasons that are too complex to explain in a tutorial, +in some situations `texinfo` package is also needed. +To avoid a possible error, add one more row: + +[source, rpm-spec] +---- +BuildRequires: texinfo +---- + Run a mockbuild again. The earlier error should be gone. @@ -546,6 +555,7 @@ BuildRequires: gettext BuildRequires: glibc-common BuildRequires: make BuildRequires: sed +BuildRequires: texinfo %description The GNU Hello program produces a familiar, friendly greeting. Yes, this is