From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uCGjABAXKGQmawAASxT56A (envelope-from ) for ; Sat, 01 Apr 2023 13:35:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WDVPABAXKGSmNgEAauVa8A (envelope-from ) for ; Sat, 01 Apr 2023 13:35:44 +0200 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 0BFAE82C7 for ; Sat, 1 Apr 2023 13:35:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piZCL-0004QD-96; Sat, 01 Apr 2023 07:15:05 -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 1piZCI-0004Ph-Sj for bug-guix@gnu.org; Sat, 01 Apr 2023 07:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1piZCI-0001tQ-JF for bug-guix@gnu.org; Sat, 01 Apr 2023 07:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piZCI-0003Us-DE for bug-guix@gnu.org; Sat, 01 Apr 2023 07:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62226: bash-minimal fails to build on x86_64-w64-mingw32 References: In-Reply-To: Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 01 Apr 2023 11:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62226 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "62226@debbugs.gnu.org" <62226@debbugs.gnu.org> Received: via spool by 62226-submit@debbugs.gnu.org id=B62226.168034767113384 (code B ref 62226); Sat, 01 Apr 2023 11:15:02 +0000 Received: (at 62226) by debbugs.gnu.org; 1 Apr 2023 11:14:31 +0000 Received: from localhost ([127.0.0.1]:35609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piZBn-0003To-5l for submit@debbugs.gnu.org; Sat, 01 Apr 2023 07:14:31 -0400 Received: from mail-4022.proton.ch ([185.70.40.22]:41709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piZBj-0003TW-DC for 62226@debbugs.gnu.org; Sat, 01 Apr 2023 07:14:30 -0400 Date: Sat, 01 Apr 2023 11:14:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1680347660; x=1680606860; bh=Qnd0q9A4KmrstO8r9ku2O41mVMqry3l+mDljycTzz90=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=nVo2e4m7T5yZj6krDvpKxT90dqYN7YBR9q4Afe1P7z7N/Vgkd+ohk8rb/RX6yx2yJ YjJvFWiTSh34PhowILhz6NLhRFi5lfAtS6jrlqig3ORHuGQ3ksDpTgz7RxBoYpO97H LUcWGh6Oy6pauG5Rxn09OaMXOVNSGBipLUktgGC2yzFK6YN9mQHCaqWNz5UcdkGp3T A4zG7s+4Yc72Vrrnm5CtR3AldP1ieQkUwRPC0i5QpzSFcaiVlNz+NcznMhFhCkTxXY Sjz39ICBAav64Y1rKlgvJUsnj2HldkAt3brySpBUGU0O1adWGjQAwe/FH6WWHamdpu vIQ9k4PWVJsMQ== From: Ekaitz Zarraga Message-ID: Feedback-ID: 3263582:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680348943; a=rsa-sha256; cv=none; b=HBXAtBsBlEGDMI/AWnTXHhL6N9rtQFLRPZHt4Rfvu7TsAErLmquh96RJTfud/FlgPVHn7x hyFy/Pr+jaAb20IDs2R7Lafk/dwS5GCR5F360k0UwQsPsDb+HPyc39ERZRRi6Z/Hjy0Xoj W+XQQ1zbBa3stXyjzYhmOEPyvD5FU7QnNXTof7M+JkLkgR6xbklHIpGRAXg5IrTK5Sxfdk DfoJIHBjgR+9bE5Vs7NQ3N8tZdjj7h8LNx2DtmdyqXpd8/refHjnyzdxTPS/XOhZpgrdlO fKm/zdphHm56G9KjlYYrv5V11etZjWCjyGXo+akfwTdtdh43hNnANYBWoECffg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail header.b=nVo2e4m7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680348943; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Qnd0q9A4KmrstO8r9ku2O41mVMqry3l+mDljycTzz90=; b=MsAyIOtZpQPnv1P1u7Z9LtF8WVOp1moRtS69DQKi40g8ERNiNJcL1kkyyTbparwBdxGK+N KEqmVXmW9xypCP5BP2+8DG0iriGWVvD0QtKylXcJPbYvfSotS5R88mr4qUB6HxNpWvovJI ayIVBODnUJfcQwGRjvoQnPBQ3/Wd9qSPEvuwprOQizujR69SBpoxl+pw3i/ud0dgX0XXvg bmvnLzmz8WfhmvTv/7z+YFM7XeECwCvU+hMaS4FBriJps2Ghmmzb+E9VZ509hsH+PdwoLp sUmBe1JBcDAD6bmKQrprlNaJS3zi4wZ1BtJyq0RS0h6cV5BIT5LF2A+newZ/Pg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail header.b=nVo2e4m7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.43 X-Spam-Score: -2.43 X-Migadu-Queue-Id: 0BFAE82C7 X-TUID: l/mHmQXWJWl/ Hi, Adding: ``` "ac_cv_header_sys_socket_h=3Dno" ``` To configure flags in the case the target is mingw solves the first issue, = but more issues appear. I have no enough knowledge about autotools to dig into this much further bu= t it looks like we are finding wrong stuff in the configure step: ``` In file included from shell.c:28: config.h:340:18: error: =E2=80=98long long long=E2=80=99 is too long for GC= C 340 | #define intmax_t long long | ^~~~ config.h:340:23: error: =E2=80=98long long long=E2=80=99 is too long for GC= C 340 | #define intmax_t long long | ^~~~ config.h:343:19: error: duplicate =E2=80=98unsigned=E2=80=99 343 | #define uintmax_t unsigned long long | ^~~~~~~~ config.h:343:28: error: =E2=80=98long long long=E2=80=99 is too long for GC= C 343 | #define uintmax_t unsigned long long | ^~~~ config.h:343:33: error: =E2=80=98long long long=E2=80=99 is too long for GC= C 343 | #define uintmax_t unsigned long long | ^~~~ In file included from bashjmp.h:24, from shell.h:25, from shell.c:53: ./include/posixjmp.h:29:21: error: unknown type name =E2=80=98sigjmp_buf= =E2=80=99 29 | # define procenv_t sigjmp_buf | ^~~~~~~~~~ bashjmp.h:26:8: note: in expansion of macro =E2=80=98procenv_t=E2=80=99 26 | extern procenv_t top_level; | ^~~~~~~~~ ./include/posixjmp.h:29:21: error: unknown type name =E2=80=98sigjmp_buf= =E2=80=99 29 | # define procenv_t sigjmp_buf | ^~~~~~~~~~ bashjmp.h:27:8: note: in expansion of macro =E2=80=98procenv_t=E2=80=99 27 | extern procenv_t subshell_top_level; | ^~~~~~~~~ ./include/posixjmp.h:29:21: error: unknown type name =E2=80=98sigjmp_buf= =E2=80=99 29 | # define procenv_t sigjmp_buf | ^~~~~~~~~~ bashjmp.h:28:8: note: in expansion of macro =E2=80=98procenv_t=E2=80=99 28 | extern procenv_t return_catch; /* used by `return' builtin */ | ^~~~~~~~~ ./include/posixjmp.h:29:21: error: unknown type name =E2=80=98sigjmp_buf= =E2=80=99 29 | # define procenv_t sigjmp_buf | ^~~~~~~~~~ bashjmp.h:29:8: note: in expansion of macro =E2=80=98procenv_t=E2=80=99 29 | extern procenv_t wait_intr_buf; | ^~~~~~~~~ In file included from shell.h:28, from shell.c:53: /gnu/store/7b119byi86gb3ab5x87ld9fz5xg5bwyd-mingw-w64-x86_64-10.0.0/include= /ctype.h:144:13: error: expected identifier or =E2=80=98(=E2=80=99 before = =E2=80=98int=E2=80=99 144 | int __cdecl isblank(int _C); | ^~~~~~~ syntax.h:103:27: error: expected =E2=80=98)=E2=80=99 before =E2=80=98=3D=3D= =E2=80=99 token 103 | # define isblank(x) ((x) =3D=3D ' ' || (x) =3D=3D '\t') | ^~ In file included from shell.h:29, from shell.c:53: general.h:33:12: fatal error: sys/resource.h: No such file or directory 33 | # include | ^~~~~~~~~~~~~~~~ compilation terminated. ``` ElenQ Technology Ethical Innovation