From unknown Fri Jun 20 07:09:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#65294 <65294@debbugs.gnu.org> To: bug#65294 <65294@debbugs.gnu.org> Subject: Status: [PATCH] maint: Fix compilation error on GNU/Hurd Reply-To: bug#65294 <65294@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:09:31 +0000 retitle 65294 [PATCH] maint: Fix compilation error on GNU/Hurd reassign 65294 coreutils submitter 65294 Bruno Haible severity 65294 normal tag 65294 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 14 15:02:18 2023 Received: (at submit) by debbugs.gnu.org; 14 Aug 2023 19:02:18 +0000 Received: from localhost ([127.0.0.1]:34425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVcpW-0008GP-2o for submit@debbugs.gnu.org; Mon, 14 Aug 2023 15:02:18 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVcpT-0008GA-Ps for submit@debbugs.gnu.org; Mon, 14 Aug 2023 15:02:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVcpO-0006OJ-BL for bug-coreutils@gnu.org; Mon, 14 Aug 2023 15:02:10 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.160]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVcpM-0001Mf-HC for bug-coreutils@gnu.org; Mon, 14 Aug 2023 15:02:10 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1692039724; cv=none; d=strato.com; s=strato-dkim-0002; b=Ofj4JSz+aYlv+wKRq6BVV0kUzW1XnEe/taO0G4VmTmzKIkd+IqkHDmZYZpihG/eR0A 6i9QhH8ZDdffv8xvpPmrmgRUaVbbmqajJ94Y+LbGj8zcHKZ0uz3WoE4J5qHr210hAZ1D n4MxeI8lmHA1KVr/sRwj/hNNxVx54LGqhBRB37y/vH3Cy9thhkkkgjeOeQdjiHLp/7vb HDcZSROO0cIAP93DTsXx09KAxCAEns0NUcbFWBm8TzW98kQt/8lRFMOsPlFXpzb4b91x egvxABsvr/KIxtYrS7A2xJvvDfbEbJeteh6+aa64gZM/gbwrb95Mu1ZxbAgIswWrBUHD isaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1692039724; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=4WkBIj60vIFzGm/cEPKao4DuYPeLB0h65Q2J1jvxOik=; b=MstZP/AX7qJg5IER8eqvLSsV3si/fLjiSSFxFsn0c3QczmyjA1023cDIXrH8Xs6S/g qH/fWrYLChdtaGIPUmRkfD4qtQ58crUsd+fk4L5KzFiRIhWgAiNeh88OEC34EACUM83/ JDuaajWd3M5pYWiCWJzFwfXZlIAA/6jT9Ry5oG79H+TSRHTs/5QciYYkRCkvZN3ECjrV uw1+g6WaNU9aG5+ZVRn8JQd9gnwp2QgbmmmKhhNvSjtmZ+3EheE6z7AIO9QSfs41dTof J3v87WoC/p/4h4f7fM6bbmbt1LYSNnqR7uIGez1L0rC+GIiypoWy7JcwauyLtq2iPfTK AMWA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1692039724; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=4WkBIj60vIFzGm/cEPKao4DuYPeLB0h65Q2J1jvxOik=; b=df6jnRdjmmR9hp/26mFf6vClI6NCkhuB9VXTxUtBerp58UrUauKS1Yj6Q3PRuxV8jZ 0d6Ocn8+UrkdmLvj9jaGs3ycyJZwfvvugoY4g0EtGJivdgkT+lK0jqMkwiS6Aa7UfgD9 au7GyTtx9J/CPBqR3xXmLyZ1yJfKKlZeeCdloljibhlg+2J1sfMtNBYQL7yNjEQTD2gH jzdK4/kuRx1lXpmxcQd2jzC9WXkL0Lk4qZe5XkrjOPu9nQYOzH8yWOQhpf/6MlTqNYTl iWOgJQJPwjlYACBMUK88b9jibntolh6k4/zYaBlmDBpDFx6ENG9qKzcbAyVIwz3j6wVl Hm7w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1692039724; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=4WkBIj60vIFzGm/cEPKao4DuYPeLB0h65Q2J1jvxOik=; b=NSGcap2w3mtScodi+1/EfQ9E5MfX8PClViw5McY9ji6eCmjSlrxKejhmp728jHeksM JSAge9hxGxKiPVZHd2Aw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOS2fWDGOgxOcu1B5qnjc7VLcorpA==" Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.6 AUTH) with ESMTPSA id x129eaz7EJ24Wjj (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 14 Aug 2023 21:02:04 +0200 (CEST) From: Bruno Haible To: bug-coreutils@gnu.org Subject: [PATCH] maint: Fix compilation error on GNU/Hurd Date: Mon, 14 Aug 2023 21:02:03 +0200 Message-ID: <6017262.GgsCmDxjPa@nimes> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart9265566.qaZJAuVS9Z" Content-Transfer-Encoding: 7Bit Received-SPF: none client-ip=81.169.146.160; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --nextPart9265566.qaZJAuVS9Z Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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. --nextPart9265566.qaZJAuVS9Z Content-Disposition: attachment; filename="0001-maint-Fix-compilation-error-on-GNU-Hurd-regression-2.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-maint-Fix-compilation-error-on-GNU-Hurd-regression-2.patch" >From 2046827462094dde4ac8391865a3edc74e313126 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 14 Aug 2023 20:59:41 +0200 Subject: [PATCH] maint: Fix compilation error on GNU/Hurd (regression 2023-06-29) * src/copy.c (set_author): Revert change from MACH_PORT_NULL to MACH_PORT_nullptr. --- src/copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/copy.c b/src/copy.c index 90eebf6bc..a4aad06a8 100644 --- a/src/copy.c +++ b/src/copy.c @@ -981,7 +981,7 @@ set_author (char const *dst_name, int dest_desc, const struct stat *src_sb) file_t file = (dest_desc < 0 ? file_name_lookup (dst_name, 0, 0) : getdport (dest_desc)); - if (file == MACH_PORT_nullptr) + if (file == MACH_PORT_NULL) error (0, errno, _("failed to lookup file %s"), quoteaf (dst_name)); else { -- 2.34.1 --nextPart9265566.qaZJAuVS9Z-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 14 17:15:10 2023 Received: (at 65294-done) by debbugs.gnu.org; 14 Aug 2023 21:15:11 +0000 Received: from localhost ([127.0.0.1]:34494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVeu6-00037U-L6 for submit@debbugs.gnu.org; Mon, 14 Aug 2023 17:15:10 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:53590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVeu4-00037F-UB for 65294-done@debbugs.gnu.org; Mon, 14 Aug 2023 17:15:09 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3110ab7110aso4468552f8f.3 for <65294-done@debbugs.gnu.org>; Mon, 14 Aug 2023 14:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692047703; x=1692652503; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=8Q9KRHfkrwk96r9+unAf3rEvPt7Gs/ObknVNCuiVaOs=; b=JPUWe+SlMG4NV5hjx+NJM96e1LIbcwat1r9+J7EMXj4ZZ1Y4VYEkJwFi+o0mk/upzY c1b52YHmY6EsAdfQnVKM8vYnkNYeX7FnFvEAx+yKB4PIosrROo56BiQnVpDZQPl3tFDQ EpqddZFgjjhC2H6QlsS9OVUe3x1NBDuXurkCaSc4oMKjPaAYQh9c6HO6Qxo93OSWA9Xc zkXK6JuymET3Q7/h6Ff3y9pWrvxJT24rsOvJmPFPCPDbZO4HiciQiQpOKHgF+yLL7+us EWsBghqPeItw+fTmDh6XlxAHLOA2pO65qpsTbVkRuTH92mdCCYUyW9XT12P+drwaKbKV r7lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692047703; x=1692652503; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8Q9KRHfkrwk96r9+unAf3rEvPt7Gs/ObknVNCuiVaOs=; b=RVbmCtZUwOlWbKvT6gGmFGwl5+mTg/YS8lxCFAxu+7JlVk2lOa+Ecudk/BOZgEnXol 6UB7Tnm7ONHmA6bDrzcJIZOu3GFL0oPkpienpcAzTVO+p91JlFNLHxBGL+LkTcL5zde2 H0sGYfF9HOA//9nthg2ELw/KC5hFOLSxjnF+RbkCtnXpCozHWs9Yq5w8hHyChojhRIDI NPRe9tvgMiIMkjnQJawspTX9Rr4o8c4II+nuhW8ryPwanz5lWH0BUyFIBrlVD7/DEP9F fIwCfbi3wmeomPYw1BTbrur5DosN/sqihBNt8rYFtZJz7Izns1lGFvv9XoLAy6hr8jiW f35w== X-Gm-Message-State: AOJu0YwFAioCAEnCMEzBy5Hg/KJyxsE1vshCADn1KrDmnxcS529c9qwx 36AIQs1RveHu0EBiFcpC0o2IbEYkQZI= X-Google-Smtp-Source: AGHT+IH4oWL344+PFuhsnbxd01rAEUTNUv7tbypUAsgHgt4PQMDaYP6miwRwNW0O/QQXODmr4XOq5A== X-Received: by 2002:adf:ffc9:0:b0:313:fbd0:9813 with SMTP id x9-20020adfffc9000000b00313fbd09813mr7903270wrs.28.1692047702900; Mon, 14 Aug 2023 14:15:02 -0700 (PDT) Received: from [192.168.1.20] (95-44-90-175-dynamic.agg2.lod.rsl-rtd.eircom.net. [95.44.90.175]) by smtp.googlemail.com with ESMTPSA id c13-20020a5d528d000000b003142c85fbcdsm15443150wrv.11.2023.08.14.14.15.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Aug 2023 14:15:02 -0700 (PDT) Message-ID: <7bb62ed5-1883-2ae0-1cdd-f04b98f68299@draigBrady.com> Date: Mon, 14 Aug 2023 22:15:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#65294: [PATCH] maint: Fix compilation error on GNU/Hurd Content-Language: en-US To: Bruno Haible , 65294-done@debbugs.gnu.org References: <6017262.GgsCmDxjPa@nimes> From: =?UTF-8?Q?P=C3=A1draig_Brady?= In-Reply-To: <6017262.GgsCmDxjPa@nimes> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 65294-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) 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 From unknown Fri Jun 20 07:09:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 12 Sep 2023 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator