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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71456 in the body.
You can then email your comments to 71456 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#71456; Package diffutils. (Sun, 09 Jun 2024 21:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Haible <bruno <at> clisp.org>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Sun, 09 Jun 2024 21:53:02 GMT) Full text and rfc822 format available.

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

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







Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Tue, 11 Jun 2024 16:14:01 GMT) Full text and rfc822 format available.

Notification sent to Bruno Haible <bruno <at> clisp.org>:
bug acknowledged by developer. (Tue, 11 Jun 2024 16:14:02 GMT) Full text and rfc822 format available.

Message #10 received at 71456-done <at> debbugs.gnu.org (full text, mbox):

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 1 (text/plain, inline)]
Thanks, I installed the attached.
[0001-maint-port-to-birthtime-platforms.patch (text/x-patch, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Jul 2024 11:24:18 GMT) Full text and rfc822 format available.

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.