From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gLUqDgAVpGYWRgAA62LTzQ:P1 (envelope-from ) for ; Fri, 26 Jul 2024 21:28:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gLUqDgAVpGYWRgAA62LTzQ (envelope-from ) for ; Fri, 26 Jul 2024 23:28:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=i+KjQ+TF; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722029312; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=fsW62Qu+sbkHSHA036C7208Bggz+BPzxJ0VDQAWXTcQ=; b=RKCyepTctpJX43XE4n+ayDmbTCaIzl/HFwXF1BvtuOIqtnyv04XDylIuh+hFOqSZtSQJ28 jlUBfm2e1mzngIF/OB2/18sUZibaiV/ilgDQ7qwMmaK60JTlHWPX9rj01e/4+xjLydl3vE vZgfGuuZYyUc8S677svvqxBzTnfAu3VstyFggd/AzOUNnNxXqUOVZ2NKW0h+Bhgep+Fwaj a0RDc7G4I23xzubbHUwhUYiO4XQnZKIGfXcl2mVQOSC19eo2npYZo0HrySW9CXC7GanJnZ oiOLtNjksTe4IoeSbwPL6hWTpClVPd+fsUhF7vEF7YZfNrUNrj3j+tNChjvNHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=i+KjQ+TF; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722029312; a=rsa-sha256; cv=none; b=ebHyo+JdpEZu3+qTzXeQR7G/1y+dguiosam3r9cPYZ/SL85UX7KIMOsQr0NgtbSwPRsgsP eYycNlBTXnrewefmkEOeelmbZKq/PC4Fogg89pNskjxCKwX7l8NXKtyBwjSvWKh1OmhYI3 mBPRW2ZfrO0ogKwRTyAPqEU0ZYKpxmFWCEM9f6B92gqKi1hcqixFww1e7Q8CGOkIc+nBd9 oW+OgHH/dWqNcAvNc1g16/fL0x+b4wSmOiHROaJg2XwGHdC3F6bHwxaNodcGIhXIHd+Ssr QvaaX0B4QymuVXn2zr78nAQg7GRFhTl/EPjm04akoRdAPx0uZsyZ4nVLla78FA== 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 09EBFDDB7 for ; Fri, 26 Jul 2024 23:28:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXSTn-0002lP-5H; Fri, 26 Jul 2024 17:27:59 -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 1sXSTh-0002kN-Ii for bug-guix@gnu.org; Fri, 26 Jul 2024 17:27:54 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sXSTh-0008U5-8t; Fri, 26 Jul 2024 17:27:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXSTq-0006mZ-9N; Fri, 26 Jul 2024 17:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72315: [core-updates] Native Hurd (i586-gnu) builds broken Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: janneke@gnu.org, dev@jpoiret.xyz, bug-guix@gnu.org Resent-Date: Fri, 26 Jul 2024 21:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72315 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72315@debbugs.gnu.org Cc: Janneke Nieuwenhuizen , Josselin Poiret X-Debbugs-Original-To: bug-guix@gnu.org X-Debbugs-Original-Xcc: Janneke Nieuwenhuizen , Josselin Poiret Received: via spool by submit@debbugs.gnu.org id=B.172202924726018 (code B ref -1); Fri, 26 Jul 2024 21:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2024 21:27:27 +0000 Received: from localhost ([127.0.0.1]:40143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXSTG-0006la-5e for submit@debbugs.gnu.org; Fri, 26 Jul 2024 17:27:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:48668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXSTE-0006lN-Ko for submit@debbugs.gnu.org; Fri, 26 Jul 2024 17:27:25 -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 1sXST5-0002fk-5a for bug-guix@gnu.org; Fri, 26 Jul 2024 17:27:15 -0400 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 1sXST4-0008Qu-TE for bug-guix@gnu.org; Fri, 26 Jul 2024 17:27:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=fsW62Qu+sbkHSHA036C7208Bggz+BPzxJ0VDQAWXTcQ=; b=i+KjQ+TFOLTwv6 G5rYuqEhhR/ZFFkx1zoXtcxRkveI+GUH6eiWuDtfKLjUnxKf32WqSJofMdXnrRCUdq/x5+5Ci/G4s oijns2nfFDW9wFaRcFHUPf027kaAMoVqNTzNWoM3AF+ivQd9AkWaXTgPpD31+ZzF0q31bHoSpkeb0 IKq33JgPxIUbDJoh+tH5iUWzJj0fEf0S59i/+utpXblDJa3XQhnzGSve+1jS4OQPsnegCFj25oNfi 6IH1Kbn2+cgo2E4Vwz89q/QQGoLocHCqB0nYvWrKe13z1OLVECSoaYdGcevnWm1MyAhmFxNC5o6MN u+KqS7TcBOUKUT3r0Dzg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 9 Thermidor an 232 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de la =?UTF-8?Q?M=C3=BBre?= 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: Fri, 26 Jul 2024 23:27:07 +0200 Message-ID: <877cd7c09g.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.32 X-Migadu-Queue-Id: 09EBFDDB7 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.32 X-TUID: lE5HqKyirb1F --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello! As of 21fe1e077aa77488bd413ef3255973c60d7468fe, native i586-gnu builds are broken on =E2=80=98core-updates=E2=80=99: --8<---------------cut here---------------start------------->8--- gcc -std=3Dgnu99 -fgnu89-inline -Wall -Werror=3Dold-style-definition -Werro= r=3Dimplicit-function-declaration -Werror=3Dstrict-prototypes -g -O3 -fno-s= trict-aliasing -g -O2 -I. -I.. -I../include -I../include -D_GNU_SOURCE -= D_FILE_OFFSET_BITS=3D64 -DPACKAGE_NAME=3D\"GNU\ Hurd\" -DPACKAGE_TARNAME= =3D\"hurd\" -DPACKAGE_VERSION=3D\"0.9\" -DPACKAGE_STRING=3D\"GNU\ Hurd\ 0.9= \" -DPACKAGE_BUGREPORT=3D\"bug-hurd@gnu.org\" -DPACKAGE_URL=3D\"http://www.= gnu.org/software/hurd/\" -DUTIME_NOW=3D-1 -DUTIME_OMIT=3D-2 -DSTDC_HEADERS= =3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAV= E_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H= =3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DX11_PREFIX=3D\"\" -DHAVE_STR= UCT_THREAD_SCHED_INFO_LAST_PROCESSOR=3D1 -c -o exec-reauth.o exec-reauth.c In file included from /gnu/store/manl7sfylldlpcsdgngbs2b07pf29y8l-glibc-boo= tstrap-0/include/mach.h:37:0, from exec-reauth.c:22: /gnu/store/manl7sfylldlpcsdgngbs2b07pf29y8l-glibc-bootstrap-0/include/mach/= mach_host.h:489:2: error: unknown type name 'kernel_boot_info_t' kernel_boot_info_t boot_info ^ /gnu/store/manl7sfylldlpcsdgngbs2b07pf29y8l-glibc-bootstrap-0/include/mach/= mach_host.h:978:2: error: unknown type name 'kernel_boot_info_t' kernel_boot_info_t boot_info ^ exec-reauth.c: In function 'reauth': exec-reauth.c:71:21: error: implicit declaration of function 'proc_reauthen= ticate_complete' [-Werror=3Dimplicit-function-declaration] err =3D proc_reauthenticate_complete (newport); ^ cc1: some warnings being treated as errors make[1]: *** [: exec-reauth.o] Error 1 make[1]: Leaving directory '/tmp/guix-build-hurd-minimal-boot0-0.9.git20231= 217.drv-0/source/libshouldbeinlibc' make: *** [Makefile:262: libshouldbeinlibc] Error 2 error: in phase 'build': uncaught exception: srfi-34 #=20 phase `build' failed after 4.1 seconds command "make" "-j" "1" "lib-subdirs=3Dlibshouldbeinlibc libihash libstore"= "prog-subdirs=3D" "other-subdirs=3D" failed with status 2 builder for `/gnu/store/pb157d8kfdsdz6grqrksha459aqjh99l-hurd-minimal-boot0= -0.9.git20231217.drv' failed with exit code 1 @ build-failed /gnu/store/pb157d8kfdsdz6grqrksha459aqjh99l-hurd-minimal-boo= t0-0.9.git20231217.drv - 1 builder for `/gnu/store/pb157d8kfdsdz6grqrksha45= 9aqjh99l-hurd-minimal-boot0-0.9.git20231217.drv' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- This is beacuse in =E2=80=98glibc-bootstrap=E2=80=99 exp= ects =E2=80=98kernel_boot_info_t=E2=80=99 to be defined, but the header from the updated =E2=80=98gnumach-headers-boot0=E2=80=99 no longer defines = it. (Note that there=E2=80=99s additional confusion due to origin inheritance: upgrading =E2=80=98gnumach-headers=E2=80=99 upgrades =E2=80=98gnumach-heade= rs-boot0=E2=80=99, even though that=E2=80=99s not indented.) The patch below reverts to something close to what we have on =E2=80=98mast= er=E2=80=99, but glibc 2.39 fails to build then: --8<---------------cut here---------------start------------->8--- i586-guix-gnu-gcc msg-destroy.c -c -std=3Dgnu11 -fgnu89-inline -g -O2 -Wal= l -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-= protector -fno-common -Wp,-U_FORTIFY_SOURCE -Wno-parentheses -Wstrict-proto= types -Wold-style-definition -fmath-errno -fPIE -ftls-model=3Dinitia= l-exec -I../include -I/tmp/guix-build-glibc-intermediate-2.39.drv-0/bui= ld/mach -I/tmp/guix-build-glibc-intermediate-2.39.drv-0/build -I../sysdep= s/mach/hurd/i386 -I../sysdeps/mach/hurd/x86 -I../sysdeps/mach/hurd/i386/h= tl -I../sysdeps/mach/hurd/htl -I../sysdeps/hurd/htl -I../sysdeps/mach/ht= l -I../sysdeps/htl/include -I../sysdeps/htl -I../sysdeps/pthread -I../sy= sdeps/i386/htl -I../sysdeps/x86/htl -I../sysdeps/mach/hurd -I../sysdeps/= gnu -I../sysdeps/unix/bsd -I../sysdeps/unix/inet -I../sysdeps/mach/i386 = -I../sysdeps/mach/x86 -I../sysdeps/mach/include -I../sysdeps/mach -I../s= ysdeps/i386/i586 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu -I../sysdeps= /i386 -I../sysdeps/x86/include -I../sysdeps/x86 -I../sysdeps/wordsize-32 = -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../s= ysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/f= lt-32 -I../sysdeps/hurd/include -I../sysdeps/hurd -I../sysdeps/unix -I..= /sysdeps/posix -I../sysdeps/ieee754 -I../sysdeps/generic -I../hurd -I/tmp= /guix-build-glibc-intermediate-2.39.drv-0/build/hurd/ -I../mach -I/tmp/guix= -build-glibc-intermediate-2.39.drv-0/build/mach/ -I.. -I../libio -I. -nostd= inc -isystem /gnu/store/vkqj1gblhllcj9k26jpjp13qwcm55j8p-gcc-cross-boot0-11= .4.0-lib/lib/gcc/i586-guix-gnu/11.4.0/include -isystem /gnu/store/vkqj1gblh= llcj9k26jpjp13qwcm55j8p-gcc-cross-boot0-11.4.0-lib/lib/gcc/i586-guix-gnu/11= .4.0/include-fixed -isystem /gnu/store/vqdzmb3i7ds3ghwvlj44xcasgq8nln55-hur= d-core-headers-0.9.git20231217/include -D_LIBC_REENTRANT -include /tmp/guix= -build-glibc-intermediate-2.39.drv-0/build/libc-modules.h -DMODULE_NAME=3Dl= ibc -include ../include/libc-symbols.h -DPIC -DTOP_NAMESPACE=3Dglibc -= o /tmp/guix-build-glibc-intermediate-2.39.drv-0/build/mach/msg-destroy.o -M= D -MP -MF /tmp/guix-build-glibc-intermediate-2.39.drv-0/build/mach/msg-dest= roy.o.dt -MT /tmp/guix-build-glibc-intermediate-2.39.drv-0/build/mach/msg-d= estroy.o msg-destroy.c: In function '__mach_msg_destroy': msg-destroy.c:114:21: error: unknown type name 'mach_port_name_inlined_t'; = did you mean 'mach_port_name_array_t'? 114 | mach_port_name_inlined_t *inlined_ports =3D (ma= ch_port_name_inlined_t *)addr; | ^~~~~~~~~~~~~~~~~~~~~~~~ | mach_port_name_array_t msg-destroy.c:114:64: error: 'mach_port_name_inlined_t' undeclared (first u= se in this function); did you mean 'mach_port_name_array_t'? 114 | mach_port_name_inlined_t *inlined_ports =3D (ma= ch_port_name_inlined_t *)addr; | ^~~~= ~~~~~~~~~~~~~~~~~~~~ | mach= _port_name_array_t msg-destroy.c:114:64: note: each undeclared identifier is reported only onc= e for each function it appears in msg-destroy.c:114:90: error: expected expression before ')' token 114 | mach_port_name_inlined_t *inlined_ports =3D (ma= ch_port_name_inlined_t *)addr; | = ^ msg-destroy.c:116:63: error: request for member 'name' in something not a s= tructure or union 116 | mach_msg_destroy_port(inlined_ports[i].name= , name); | ^ make[2]: *** [../o-iterator.mk:9: /tmp/guix-build-glibc-intermediate-2.39.d= rv-0/build/mach/msg-destroy.o] Error 1 make[2]: Leaving directory '/tmp/guix-build-glibc-intermediate-2.39.drv-0/g= libc-2.39/mach' make[1]: *** [Makefile:484: mach/subdir_lib] Error 2 make[1]: Leaving directory '/tmp/guix-build-glibc-intermediate-2.39.drv-0/g= libc-2.39' make: *** [Makefile:9: all] Error 2 error: in phase 'build': uncaught exception: srfi-34 #=20 phase `build' failed after 44.6 seconds command "make" "-j" "1" failed with status 2 builder for `/gnu/store/18p66bbg3w2l4rmvkqc0z57bl0j1wqlq-glibc-intermediate= -2.39.drv' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- Any idea where to go from here? Of course we could upgrade =E2=80=98glibc-bootstrap=E2=80=99, but it=E2=80= =99s even better if we can avoid it. Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index b31f976900..911625003c 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2628,10 +2628,11 @@ (define gnumach-headers-boot0 (package (inherit gnumach-headers) (name "gnumach-headers-boot0") - (version "1.8+git20230410") + ;; Note: The version used here must be compatible with the and + ;; related headers in 'glibc-bootstrap'. + (version "1.8+git20221224") (source (origin - (inherit (package-source gnumach-headers)) (method (git-fetch-from-tarball (origin @@ -2641,7 +2642,14 @@ (define gnumach-headers-boot0 "gnumach-" version ".tar.gz")) (sha256 (base32 - "1s09256g2ny46idrn8frzs7r51la9ni45bmglmswlsmz9ii7dpi4"))))))) + "0vb19ynvrxz302snqxkd0wgizwa5fw2x06a4zjsllqb9ijbq9mc8"))))) + (uri (git-reference + (url "https://git.savannah.gnu.org/git/hurd/gnumach.git") + (commit (string-append "v" version)))) + (file-name (git-file-name "gnumach" version)) + (sha256 + (base32 + "0f49zqxf64ds75rmskizpybl2mw7sxs05k59gjp3pgspvr87w7gs")))) (native-inputs (list autoconf-boot0 automake-boot0 texinfo-boot0)) (arguments (substitute-keyword-arguments (package-arguments gnumach-headers) @@ -2691,10 +2699,9 @@ (define hurd-headers-boot0 (package (inherit hurd-headers) (name "hurd-headers-boot0") - (version "0.9.git20230520") + (version "0.9.git20230216") (source (origin - (inherit (package-source hurd-headers)) (method (git-fetch-from-tarball (origin @@ -2704,7 +2711,14 @@ (define hurd-headers-boot0 "hurd-v" version ".tar.gz")) (sha256 (base32 - "0ybmx7bhy21zv1if2hfdspn13zn68vki1na72sw2jj87gj8przna"))))))) + "1f75nlkcl00dqnnrbrj1frvzs2qibfpygj3gwywqi85aldjl48y7"))))) + (uri (git-reference + (url "https://git.savannah.gnu.org/git/hurd/hurd.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0jm1dnqkx4kdwmby0z5w0yqp9m5qp4hbxd4jxlyhiqm8nkw9mkvv")))) (native-inputs (list autoconf-boot0 automake-boot0 mig-boot0)) (inputs '())))) @@ -2714,10 +2728,12 @@ (define hurd-minimal-boot0 (package (inherit hurd-minimal) (name "hurd-minimal-boot0") + (version (package-version hurd-headers-boot0)) (source (package-source hurd-headers-boot0)) (native-inputs (list autoconf-boot0 automake-boot0 gnumach-headers-boot0 mig-boot0)) - (inputs (list gnumach-headers-boot0))))) + (inputs (list gnumach-headers-boot0)) + (propagated-inputs '())))) (define/system-dependent hurd-core-headers-boot0 ;; Return the Hurd and Mach headers as well as initial Hurd libraries for --=-=-=--