From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0HtcJaDt3WFGGAAAgWs5BA (envelope-from ) for ; Tue, 11 Jan 2022 21:50:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cIitIqDt3WHWgQAA9RJhRA (envelope-from ) for ; Tue, 11 Jan 2022 21:50:40 +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 2933C3A8F3 for ; Tue, 11 Jan 2022 21:50:40 +0100 (CET) Received: from localhost ([::1]:56980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7O6I-0007rv-VK for larch@yhetil.org; Tue, 11 Jan 2022 15:50:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7NlD-0005lK-H7 for guix-devel@gnu.org; Tue, 11 Jan 2022 15:28:53 -0500 Received: from [2a00:1450:4864:20::12c] (port=46691 helo=mail-lf1-x12c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7NlB-0004cS-Jt for guix-devel@gnu.org; Tue, 11 Jan 2022 15:28:51 -0500 Received: by mail-lf1-x12c.google.com with SMTP id d3so628822lfv.13 for ; Tue, 11 Jan 2022 12:28:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=WB1cyblmRcLcjtVA7I4Lwa6hd7Q0aR0LdPuc0ZhuCfY=; b=R8ACjzwjwnTont5+LSj1NC/o3sRqAoW5jm+h9mL1632Wh0hWZUxIPElBGi1bAYm3lj DxFwJxn565DJs8a7jWDWSBtaLZ4CI8PYGcfv2Pd3wZgEiYEbTu79M7TnvF6EUCQrRTMF lt0UiFiiFYcVea/b7c+pU5kfBPxGtxspxAB7Zz29sl6ILIrDCFf5Oc6TuNdTL5hcbzRJ V2YZdYpZqszfbrxYaHXZqHp5uRWLrR86eoLBpWF33q96VoKISs1UoAaiZ4R0FJdpZbh9 MNEERc9j91GLxbwKrE4F92Z7vms3knMbH+7H/Vk6Hrv+jKspEYM0oWPiRHKwgUwSqP1S S3Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=WB1cyblmRcLcjtVA7I4Lwa6hd7Q0aR0LdPuc0ZhuCfY=; b=mBRZ2NdC9TK7eA4Pt6AHk1RqdfbHflLjxoVuy+Ab5LKhKP5MYlrqDI12s5vualEQMD EyTgL1kcVyDB7wNGbj+xqSQw8HvWBNNeiY82VCfwAYeYdKNmu4Aydl53G80AhQRPtSpc Nk0DJheQBMRldgRTYElxSlHvNsH4WRoX6wqTLb9M5OPv9knZs3Nbiw2hOzUQPrSD27Ld SgA64JkzFFanC8f8TAbukpKbDQCjqkPQ4wfRekbw0x8etC9i6TzeE/LHUnc6yzJOBtAr UWI5sqsrhtmUV+WrQKjjDd5AJZqLWKFejXSj+UULQV96OzhTGkyX57qVzG69Z7hzG3fT SPbw== X-Gm-Message-State: AOAM532s2JKPMQraBDyGtMl444cd0Fd6l/2BS0BSn4JiWwd879nNMnHP brn9q5AlEngZUd/c1CxBSeNmU4nUDd0= X-Google-Smtp-Source: ABdhPJxgNIL1vn+I01U07VUrD6n6grupd3ibIR9ihLgaearx8RsMKoeOHlI4YyDxzgcnihpjNkl+OQ== X-Received: by 2002:ac2:5458:: with SMTP id d24mr4614934lfn.38.1641932927908; Tue, 11 Jan 2022 12:28:47 -0800 (PST) Received: from guix-xps13 ([89.113.46.52]) by smtp.gmail.com with ESMTPSA id w16sm319347ljh.122.2022.01.11.12.28.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 12:28:47 -0800 (PST) From: =?utf-8?Q?Andr=C3=A9_A=2E_Gomes?= To: Maxime Devos Subject: Re: Packing Emacs 28.0.91 with native compilation References: <87czkygm1y.fsf@gmail.com> <94eeba46e379269a15c1544c8ac267ffe01d5f88.camel@telenet.be> <8735lu13wq.fsf@gmail.com> <3816a112b9d1a526bd69ff164774e427843264fd.camel@telenet.be> Date: Tue, 11 Jan 2022 23:28:46 +0300 In-Reply-To: <3816a112b9d1a526bd69ff164774e427843264fd.camel@telenet.be> (Maxime Devos's message of "Tue, 11 Jan 2022 20:41:09 +0100") Message-ID: <87wnj6yq2p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=andremegafone@gmail.com; helo=mail-lf1-x12c.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641934240; 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=WB1cyblmRcLcjtVA7I4Lwa6hd7Q0aR0LdPuc0ZhuCfY=; b=ubbVQrJMaQKK2R+UnTCaNakYIeLEpsgT0jdvzR4xWql6aDL4DZLhmfReBkW2lndEbg2vcK VGecHmRoCHBsXG950JosONR4ulHql3ecOh0Xct2qRFgxLsN7HupF0PAhAjCKFUnQkHQXxL NJkvaOB/PQxHPlebZWLkWLM6mwtFzlgr0Pf45nfFEf/3/3P/i/1W0abCy/V6VvUvX0gsVC YUz7ojMvhuOs1O/DNymWIOxi/OTNOLbxZ7lrzWqxWl/OIPbbfyqRzWBNYfVBxlRc+2GS7g lQhjJwVnz2VEw+mgPf5UHHD9nzkVTSREZMO4xi4P07E59eTN2EHf35bCJJsu5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641934240; a=rsa-sha256; cv=none; b=JdTkXHzRkwc0osjb4F0p/lFM5ts7cZokdsB0wHD87C4VgF3E4evU6g1zEyou5bZvvcn0Ed aXxCL2gpKWn028Yh0m7LgX79ZZG4+eN+b07kyfuQl35o30YCrQ6LAwV3BZ/B26H9E8v9n6 MTUfTP4wm+hJNQ6Upcyxp9UQx3fI7AupQ4P+FGhimJvIb2EAShBHfZk86VJxEUNn86f+CH TK/GeRfsclUEw/HmXxCdCWxbfO/HK3AZHKxDmtzpgRWT38/QiZB2iInI5Ou5IOTlHoOzsC pQE5x+Hb0hNUONFM4UdyV7OoPmc2OkhZwrqQQZRdAmUlaCViyDNS/qHPdmOoAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=R8ACjzwj; dmarc=pass (policy=none) header.from=gmail.com; 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-Spam-Score: -9.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=R8ACjzwj; dmarc=pass (policy=none) header.from=gmail.com; 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-Queue-Id: 2933C3A8F3 X-Spam-Score: -9.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: gj6Q6fJTlg6+ Maxime Devos writes: > Andr=C3=A9 A. Gomes schreef op di 11-01-2022 om 22:13 [+0300]: >> Maxime Devos writes: >> >> > > A log below. >> > > >> > > --8<---------------cut here---------------start------------->8--- >> > > configure: error: The installed libgccjit failed to compile and run = a test program using >> > > the libgccjit library; see config.log for the details of the failure. >> > > [...] >> > >> > configure is telling that "config.log" has details, please include it. >> >> Right, but I couldn't figure out what's this file or where it's >> located. > > You can pass --keep-failed to "guix build",=C2=A0then "config.log" should= be > in (a subdirectory) of /tmp/guix-build-aadcg-emacs-28.0.91-0 > (not sure about the directory name). Ah-ah! I was doing it with guix package, instead of guix build (silly me). Seems that the issue comes from here: --8<---------------cut here---------------start------------->8--- configure:5377: gcc --version >&5 gcc (GCC) 10.3.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:5388: $? =3D 0 configure:5377: gcc -v >&5 Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/gnu/store/vakvgvrb839igv16jkif4lmx11d25jqb-gcc-10.3.= 0/libexec/gcc/x86_64-unknown-linux-gnu/10.3.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.3.0 (GCC) configure:5388: $? =3D 0 configure:5377: gcc -V >&5 gcc: error: unrecognized command-line option '-V' gcc: fatal error: no input files compilation terminated. configure:5388: $? =3D 1 configure:5377: gcc -qversion >&5 gcc: error: unrecognized command-line option '-qversion'; did you mean '--v= ersion'? gcc: fatal error: no input files compilation terminated. configure:5388: $? =3D 1 configure:5377: gcc -version >&5 gcc: error: unrecognized command-line option '-version' gcc: fatal error: no input files compilation terminated. configure:5388: $? =3D 1 configure:5408: checking whether the C compiler works configure:5430: gcc conftest.c >&5 configure:5434: $? =3D 0 configure:5482: result: yes configure:5485: checking for C compiler default output file name configure:5487: result: a.out configure:5493: checking for suffix of executables configure:5500: gcc -o conftest conftest.c >&5 configure:5504: $? =3D 0 configure:5526: result: configure:5548: checking whether we are cross compiling configure:5556: gcc -o conftest conftest.c >&5 configure:5560: $? =3D 0 configure:5567: ./conftest configure:5571: $? =3D 0 configure:5586: result: no configure:5591: checking for suffix of object files configure:5613: gcc -c conftest.c >&5 configure:5617: $? =3D 0 configure:5638: result: o configure:5642: checking whether we are using the GNU C compiler configure:5661: gcc -c conftest.c >&5 configure:5661: $? =3D 0 configure:5670: result: yes configure:5679: checking whether gcc accepts -g configure:5699: gcc -c -g conftest.c >&5 configure:5699: $? =3D 0 configure:5740: result: yes configure:5757: checking for gcc option to enable C11 features configure:5960: gcc -c -g -O2 conftest.c >&5 configure:5960: $? =3D 0 configure:5974: result: none needed configure:6182: checking whether the compiler is clang configure:6203: gcc -c -g -O2 conftest.c >&5 configure:6203: $? =3D 0 configure:6211: result: no configure:6215: checking for compiler option needed when checking for decla= rations configure:6246: result: none configure:6307: checking whether gcc and cc understand -c and -o together configure:6338: gcc -c conftest.c -o conftest2.o >&5 configure:6342: $? =3D 0 configure:6348: gcc -c conftest.c -o conftest2.o >&5 configure:6352: $? =3D 0 configure:6363: cc -c conftest.c >&5 ./configure: line 6365: cc: command not found configure:6367: $? =3D 127 configure:6407: result: yes configure:6444: checking how to run the C preprocessor configure:6475: gcc -E conftest.c configure:6475: $? =3D 0 configure:6489: gcc -E conftest.c conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:6489: $? =3D 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU Emacs" | #define PACKAGE_TARNAME "emacs" | #define PACKAGE_VERSION "28.0.91" | #define PACKAGE_STRING "GNU Emacs 28.0.91" | #define PACKAGE_BUGREPORT "bug-gnu-emacs@gnu.org" | #define PACKAGE_URL "https://www.gnu.org/software/emacs/" | #define HAVE_PDUMPER 1 | /* end confdefs.h. */ | #include configure:6514: result: gcc -E configure:6534: gcc -E conftest.c configure:6534: $? =3D 0 configure:6548: gcc -E conftest.c conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:6548: $? =3D 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU Emacs" | #define PACKAGE_TARNAME "emacs" | #define PACKAGE_VERSION "28.0.91" | #define PACKAGE_STRING "GNU Emacs 28.0.91" | #define PACKAGE_BUGREPORT "bug-gnu-emacs@gnu.org" | #define PACKAGE_URL "https://www.gnu.org/software/emacs/" | #define HAVE_PDUMPER 1 | /* end confdefs.h. */ | #include --8<---------------cut here---------------end--------------->8--- -- Andr=C3=A9 A. Gomes "Free Thought, Free World"