GNU bug report logs - #65294
[PATCH] maint: Fix compilation error on GNU/Hurd

Previous Next

Package: coreutils;

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

Date: Mon, 14 Aug 2023 19:03:02 UTC

Severity: normal

Tags: patch

Done: Pádraig Brady <P <at> draigBrady.com>

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 65294 in the body.
You can then email your comments to 65294 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-coreutils <at> gnu.org:
bug#65294; Package coreutils. (Mon, 14 Aug 2023 19:03: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-coreutils <at> gnu.org. (Mon, 14 Aug 2023 19:03: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-coreutils <at> gnu.org
Subject: [PATCH] maint: Fix compilation error on GNU/Hurd
Date: Mon, 14 Aug 2023 21:02:03 +0200
[Message part 1 (text/plain, inline)]
Compiling a current coreutils on Debian GNU/Hurd from 2022, I get this
compilation error:

  CC       src/copy.o
../src/copy.c: In function 'set_author':
../src/copy.c:984:15: error: 'MACH_PORT_nullptr' undeclared (first use in this function); did you mean 'MACH_PORT_NULL'?
  984 |   if (file == MACH_PORT_nullptr)
      |               ^~~~~~~~~~~~~~~~~
      |               MACH_PORT_NULL
../src/copy.c:984:15: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [Makefile:12489: src/copy.o] Error 1

The attached patch fixes it.

[0001-maint-Fix-compilation-error-on-GNU-Hurd-regression-2.patch (text/x-patch, attachment)]

Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Mon, 14 Aug 2023 21:16:02 GMT) Full text and rfc822 format available.

Notification sent to Bruno Haible <bruno <at> clisp.org>:
bug acknowledged by developer. (Mon, 14 Aug 2023 21:16:02 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: Bruno Haible <bruno <at> clisp.org>, 65294-done <at> debbugs.gnu.org
Subject: Re: bug#65294: [PATCH] maint: Fix compilation error on GNU/Hurd
Date: Mon, 14 Aug 2023 22:15:01 +0100
On 14/08/2023 20:02, Bruno Haible wrote:
> Compiling a current coreutils on Debian GNU/Hurd from 2022, I get this
> compilation error:
> 
>    CC       src/copy.o
> ../src/copy.c: In function 'set_author':
> ../src/copy.c:984:15: error: 'MACH_PORT_nullptr' undeclared (first use in this function); did you mean 'MACH_PORT_NULL'?
>    984 |   if (file == MACH_PORT_nullptr)
>        |               ^~~~~~~~~~~~~~~~~
>        |               MACH_PORT_NULL
> ../src/copy.c:984:15: note: each undeclared identifier is reported only once for each function it appears in
> make[2]: *** [Makefile:12489: src/copy.o] Error 1
> 
> The attached patch fixes it.
> 

Pushed.

thanks,
Pádraig




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 12 Sep 2023 11:24:11 GMT) Full text and rfc822 format available.

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

Previous Next


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