From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oMZzB2fSoGN3CQEAbAwnHQ (envelope-from ) for ; Mon, 19 Dec 2022 22:06:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4KGuBmfSoGPKjgAAG6o9tA (envelope-from ) for ; Mon, 19 Dec 2022 22:06:47 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8671724DAC for ; Mon, 19 Dec 2022 22:06:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7NKm-0001Tb-SB; Mon, 19 Dec 2022 16:06:04 -0500 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 1p7NKm-0001TI-4c for guix-devel@gnu.org; Mon, 19 Dec 2022 16:06:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7NKl-0002Qr-O0; Mon, 19 Dec 2022 16:06:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=a4Y7cBn5qHzKg013o7O8GgOeCZv+TrteDfySEECpjWI=; b=fJu5Yw5MD+owULhcQzp6 BqRSrKvky/GKRfOc5E+uZqYjBpsZR1QRuFcDY4LrmwRByu7ocMgL6hC1HgvYTa4MEfqqMXhuNjveT 2/SrJ2/nirrZVShQrSIgbakmqpC0QZVDBBst+b+zs2/mu1kstsNFDVh9gSVXYK74Ht4wJxmnk6uFW Dr0Wn8dTXLkoJDvddGVfclDow6LTLpLlkKdrm27iDVQX+l8xnRiY8KFoEYgwT9G6z21ps6VDSxJWY NqiDqTqTuFdAILO9h+j8lHRDJky4+sKCDSFcE7e3Ro/g1HiF9iatnNVMDiM8k76VgNOdFH5GJsZUr itNQqAxicDWoEg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7NKl-0003UX-Ak; Mon, 19 Dec 2022 16:06:03 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zamfofex Cc: "guix-devel@gnu.org" Subject: Re: GMP GCC C++ Hurd cross-build failure on core-updates References: <1309771808.1564506.1670138591125@privateemail.com> <87fsdtq1dy.fsf@gnu.org> <662026881.1697453.1670321161488@privateemail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 29 Frimaire an 231 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour de l'Olive X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 19 Dec 2022 22:06:00 +0100 In-Reply-To: <662026881.1697453.1670321161488@privateemail.com> (zamfofex@twdb.moe's message of "Tue, 6 Dec 2022 07:06:01 -0300 (BRT)") Message-ID: <87mt7jcddz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=fJu5Yw5M; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671484006; a=rsa-sha256; cv=none; b=PTcAX9C3VsYbS36xwfVET2yU7fcKK4rHj9ldISukCZUpSzSGVnjZ0LDyFl96B3LGiz1EnU LDwXm7Jx52Efq4qu80kCpvL4UJJR+leMhVDhqFMMe33ZBr0f+iIxgx56g7eQ6ju8rY/I7/ zjt0PxTZpV2dTxmX6MWufusZf+NqSj41EWHX05eiVudaKOl9nPqHsDukp2kJJnAY2rXOs1 t1iYgTdk3hcCQKJOnJfCta8pQ63IcYWeKOT1+Wm8jLrgaX9APRJXvi0DWZ/XQUuExugqqs 1DhJMpetLEsnYoVpso8p8zhvNF6X5JV9jhUjruJB/nQrnfuOnmUZptkBLm/eZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671484006; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=a4Y7cBn5qHzKg013o7O8GgOeCZv+TrteDfySEECpjWI=; b=LfB3wOItfWz2bea5no5RlVIZUVxYdqyYeteWIsZNUu9uF0j8yrNHkVxGpoDe5oif3WmZX9 qTQZjFZ82FS78AIIqNKmxfS7X0ayjKsCRedmx1cv/q+X94XkOfLMmyFRWMH28S6yZzvDcM yC4hUOCZGAMnYR+he20jRhCa1yLU4a3dwvXTCbTj7pnLeZalxk82Vx/tGbXD7dv75iUf4w Qkkjos5XEKDGaKXdOlNYUEhq498zwOuJF6wWwaReYcpKk5vi7Jiyx+scfgdh3wmsQOGFLC wMl9NZI8+rAYRpqp42fQN9LZCKSvcuNpxEAc5pw7MENZRDMIazviGdJ4LU/FHA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=fJu5Yw5M; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -5.90 X-Spam-Score: -5.90 X-Migadu-Queue-Id: 8671724DAC X-TUID: lU3sGAdO4FvS Hi zamfofex, And sorry for the late reply=E2=80=A6 zamfofex skribis: > hurdauth.c:166:1: error: conflicting types for =E2=80=98_S_msg_del_auth= =E2=80=99; have =E2=80=98kern_return_t(mach_port_t, task_t, const int *, = mach_msg_type_number_t, const int *, mach_msg_type_number_t)=E2=80=99 {aka= =E2=80=98int(long unsigned int, long unsigned int, const int *, unsigned= int, const int *, unsigned int)=E2=80=99} > 166 | _S_msg_del_auth (mach_port_t me, > | ^~~~~~~~~~~~~~~ > In file included from hurdauth.c:19: > /tmp/guix-build-glibc-cross-i586-pc-gnu-2.35.drv-0/build/hurd/hurd/msg_se= rver.h:72:15: note: previous declaration of =E2=80=98_S_msg_del_auth=E2=80= =99 with type =E2=80=98kern_return_t(mach_port_t, mach_port_t, int *, mac= h_msg_type_number_t, int *, mach_msg_type_number_t)=E2=80=99 {aka =E2=80= =98int(long unsigned int, long unsigned int, int *, unsigned int, int *,= unsigned int)=E2=80=99} > 72 | kern_return_t _S_msg_del_auth > | ^~~~~~~~~~~~~~~ > make[2]: *** [../o-iterator.mk:9: /tmp/guix-build-glibc-cross-i586-pc-gnu= -2.35.drv-0/build/hurd/hurdauth.o] Error 1 Looking at this, glibc now has =E2=80=98const=E2=80=99 qualifiers for the = =E2=80=98uids=E2=80=99 and =E2=80=98gids=E2=80=99 parameters: --8<---------------cut here---------------start------------->8--- kern_return_t _S_msg_del_auth (mach_port_t me, task_t task, const_intarray_t uids, mach_msg_type_number_t nuids, const_intarray_t gids, mach_msg_type_number_t ngids) --8<---------------cut here---------------end--------------->8--- This comes from this glibc commit: commit 0eb230ccceee70c4b5d2a75807d2189aa4ed6e7c Date: Sun Jan 16 18:28:40 2022 +0000 hurd: Make RPC input array parameters const This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server side") My guess is that you=E2=80=99re running a version of MiG that=E2=80=99s old= er than cf4bcc3f1435 (MiG commit), and thus it generates stubs (such as the =E2=80=98msg_server.h=E2=80=99 file mentioned in the error message above) t= hat lack those =E2=80=98const=E2=80=99 qualifiers. If that reasoning is good, updating MiG should fix it. HTH, Ludo=E2=80=99.