GNU bug report logs - #51129
Check for gperf if running from git: this avoids breaking at runtime.

Previous Next

Package: guile;

Reported by: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>

Date: Mon, 11 Oct 2021 05:37:02 UTC

Severity: normal

Done: lloda <lloda <at> sarc.name>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: lloda <lloda <at> sarc.name>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#51129: closed (Check for gperf if running from git: this
 avoids breaking at runtime.)
Date: Tue, 02 Aug 2022 17:29:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 2 Aug 2022 19:27:54 +0200
with message-id <B0682E2D-5559-4B52-8E83-769214923522 <at> sarc.name>
and subject line gperf
has caused the debbugs.gnu.org bug report #51129,
regarding Check for gperf if running from git: this avoids breaking at runtime.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
51129: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51129
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: bug-guile <at> gnu.org
Subject: Check for gperf if running from git: this avoids breaking at runtime.
Date: Mon, 11 Oct 2021 07:35:31 +0200
[0001-autoconf-Check-for-gperf-if-running-from-git.patch (text/x-patch, inline)]
From 0b70a54dd7df0075c392067a7ce17d0f05a59adf Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab <at> web.de>
Date: Mon, 11 Oct 2021 07:33:23 +0200
Subject: [PATCH] autoconf: Check for gperf if running from git

this avoids breaking at runtime.
---
 configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/configure.ac b/configure.ac
index a3cdaff78..5e1231a6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,15 @@ else
   fi
 fi
 
+# Check for gperf if running from git
+AC_MSG_CHECKING([Checking for gperf if built from git])
+if ! test -f ".tarball-version" && false; then
+  AC_CHECK_TOOL([GPERF], [gperf], [no])
+  if test x"$GPERF" = x"no"; then
+    AC_MSG_ERROR([Building from git requires gperf, but it could not be found. Please install gperf.])
+  fi
+fi
+
 gl_EARLY
 AC_PROG_CPP
 AC_PROG_SED
-- 
2.33.0

[Message part 4 (text/plain, inline)]
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[signature.asc (application/pgp-signature, inline)]
[Message part 6 (message/rfc822, inline)]
From: lloda <lloda <at> sarc.name>
To: 51129-done <at> debbugs.gnu.org
Subject: gperf
Date: Tue, 2 Aug 2022 19:27:54 +0200
Fixed in 50d4b5020333275eadcdba71f0bdd3fc2571101c.

Thank you!



This bug report was last modified 2 years and 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.