GNU bug report logs - #71456
compilation error in function 'same_file'

Previous Next

Package: diffutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Sun, 9 Jun 2024 21:53:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#71456: closed (compilation error in function 'same_file')
Date: Tue, 11 Jun 2024 16:14:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 11 Jun 2024 09:13:22 -0700
with message-id <7a1b9ba4-a2db-47ec-ae17-eaf1edaf0719 <at> cs.ucla.edu>
and subject line Re: [bug-diffutils] bug#71456: compilation error in function 'same_file'
has caused the debbugs.gnu.org bug report #71456,
regarding compilation error in function 'same_file'
to be marked as done.

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


-- 
71456: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71456
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Bruno Haible <bruno <at> clisp.org>
To: bug-diffutils <at> gnu.org
Subject: compilation error in function 'same_file'
Date: Sun, 09 Jun 2024 23:52:28 +0200
Compiling the current git master on
  - macOS
  - FreeBSD
  - NetBSD
  - Cygwin
  - mingw
  - MSVC

I get a compilation error:

  CC       system.o
../../src/system.c: In function 'same_file':
../../src/system.c:73:3: error: unknown type name 'timespec'; use 'struct' keyword to refer to the type
   73 |   timespec sbirth = get_stat_birthtime (s);
      |   ^~~~~~~~
      |   struct 

or

  CC       system.o
../../src/system.c:73:3: error: must use 'struct' tag to refer to type 'timespec'
  timespec sbirth = get_stat_birthtime (s);
  ^

To me, it looks like a regression in commit 1fa953a0c415cc65d0afdae2c9de0ad2bd2944eb.

Bruno





[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>
Cc: 71456-done <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#71456: compilation error in function
 'same_file'
Date: Tue, 11 Jun 2024 09:13:22 -0700
[Message part 4 (text/plain, inline)]
Thanks, I installed the attached.
[0001-maint-port-to-birthtime-platforms.patch (text/x-patch, attachment)]

This bug report was last modified 347 days ago.

Previous Next


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