GNU bug report logs - #77840
Testing diffutils 3.12 on PPC Mac OS X 10.4.11, Tiger, produces so many failures

Previous Next

Package: diffutils;

Reported by: Peter Dyballa <Peter_Dyballa <at> Web.DE>

Date: Wed, 16 Apr 2025 10:55:02 UTC

Severity: normal

Full log


Message #101 received at 77840 <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Web.DE>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 77840 <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#77840: Testing diffutils 3.12 on PPC Mac OS X
 10.4.11, Tiger, produces so many failures
Date: Tue, 17 Jun 2025 12:12:48 +0200
Diffutils 3.11 fail exactly as 3.12 do.

Diffutils 3.10 did not compile here since May 2023, see for example: https://trac.macports.org/ticket/67488, https://trac.macports.org/ticket/67248, https://trac.macports.org/ticket/68964.
They were never installed here (from time to time I am recording what is installed). This little patch, as taken from the resolutions of tickets mentioned above, makes diffutils 3.10 compile:

	--- lib/stdio.in.h~ 2023-05-14 08:33:35.000000000 +0200
	+++ lib/stdio.in.h 2025-06-17 11:20:27.000000000 +0200
	@@ -37,7 +37,7 @@
	 #ifndef _ <at> GUARD_PREFIX <at> _STDIO_H
	   /* Suppress macOS deprecation warnings for sprintf and vsprintf.  */
	-#if (defined __APPLE__ && defined __MACH__) && !defined _POSIX_C_SOURCE
	+#if (defined __APPLE__ && defined __MACH__) && !defined _POSIX_C_SOURCE && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050)
	 # define _POSIX_C_SOURCE 200809L
	 # define _GL_DEFINED__POSIX_C_SOURCE
	 #endif

Well, what can I write, or cite:

	tiger pete 234 /\  /opt/local/var/macports/build/_Users_btest_ports_sysutils_diffutils/diffutils/work/diffutils-3.10/src/diff -u Portfile-graphite2-312 Portfile-graphite2
	--- Portfile-graphite2-312 2025-06-17 08:43:05.000000000 +0200
	+++ Portfile-graphite2 2025-06-17 08:42:18.000000000 +0200
	@@ -31,7 +31,7 @@
	 compiler.cxx_standard \
	                     2011
	  -set py_ver          3.12
	+set py_ver          3.13
	 set py_ver_nodot    [string map {. {}} ${py_ver}]
	   test.run            yes
	Exit 1

(Even the line numbers are the same as on my High Sierra Mac.) I tried also a few more pairs to diff from some regular routine, and all was successful. So the bug was introduced quite recently between versions 3.10 and 3.11.


If bisecting with git does not bring a result, I'd try a parallel GDB session in two Emacsen with both. (A Mac allows to use an X client, the NeXTStep successor, and the "Carbon" unofficial variant.) This might show differences in behaviour.

--

Greetings

  Pete

We need a president who's fluent in at least one language.
				– Buck Henry

  Pete

Radio heißt: Erst denken, dann reden.
TV heißt: Erst schminken, dann reden.





This bug report was last modified 92 days ago.

Previous Next


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