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: Bruno Haible <bruno <at> clisp.org>
Subject: bug#71456: closed (Re: [bug-diffutils] bug#71456: compilation
 error in function 'same_file')
Date: Tue, 11 Jun 2024 16:14:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#71456: compilation error in function 'same_file'

which was filed against the diffutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 71456 <at> debbugs.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: 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 3 (text/plain, inline)]
Thanks, I installed the attached.
[0001-maint-port-to-birthtime-platforms.patch (text/x-patch, attachment)]
[Message part 5 (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






This bug report was last modified 1 year and 40 days ago.

Previous Next


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