Your message dated Sat, 17 Jan 2026 21:57:08 +0100
with message-id <aWv3pGUMqhi3Pon6@end>
and subject line Re: Bug#828961: gretl: FTBFS on hurd-i386
has caused the Debian Bug report #828961,
regarding gretl: FTBFS on hurd-i386
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
828961: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828961
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gretl
Version: 2016b-3
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd

Hi,

gretl fails to build on GNU/Hurd due to a name clash with OSX/Apple, both
defining the __MACH__ keyword. The intended usage is for OSX-based systems,
including <mach/mach_time.h>, which does not exist on GNU/Hurd. This package
has built before, latest successful build was 2016a-1. The attached patch fixes
the build problems for version 2016b-3.

Thanks!
Index: gretl-2016b/lib/src/gretl_utils.c
===================================================================
--- gretl-2016b.orig/lib/src/gretl_utils.c
+++ gretl-2016b/lib/src/gretl_utils.c
@@ -2877,7 +2877,7 @@ const char *blas_variant_string (void)
     }
 }
 
-#ifdef __MACH__
+#if defined(__MACH__) && defined(__APPLE__)
 # include <mach/mach_time.h>
 #elif GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 28
 
@@ -2909,7 +2909,7 @@ static gint64 posix_monotonic_time (void
 
 gint64 gretl_monotonic_time (void)
 {
-#ifdef __MACH__
+#if defined(__MACH__) && defined(__APPLE__)
     return (gint64) mach_absolute_time();
 #elif GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 28
     return posix_monotonic_time();

--- End Message ---
--- Begin Message ---
Hello,

João Pedro Malhado, le sam. 17 janv. 2026 20:41:37 +0000, a ecrit:
> The path in this bug report does not seem to be needed anymore as the latest
> version of gretl seems to be building for the hurd.
> Should this bug be closed?

Apparently gretl dropped support for macos-mach, so yes it's not needed
any more, closing :)

Samuel

--- End Message ---

Reply via email to