guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packing Emacs 28.0.91 with native compilation


From: André A . Gomes
Subject: Re: Packing Emacs 28.0.91 with native compilation
Date: Tue, 11 Jan 2022 23:28:46 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Maxime Devos <maximedevos@telenet.be> writes:

> André A. Gomes schreef op di 11-01-2022 om 22:13 [+0300]:
>> Maxime Devos <maximedevos@telenet.be> 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", then "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: $? = 0
configure:5377: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/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: $? = 0
configure:5377: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:5388: $? = 1
configure:5377: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean 
'--version'?
gcc: fatal error: no input files
compilation terminated.
configure:5388: $? = 1
configure:5377: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:5388: $? = 1
configure:5408: checking whether the C compiler works
configure:5430: gcc    conftest.c  >&5
configure:5434: $? = 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: $? = 0
configure:5526: result:
configure:5548: checking whether we are cross compiling
configure:5556: gcc -o conftest    conftest.c  >&5
configure:5560: $? = 0
configure:5567: ./conftest
configure:5571: $? = 0
configure:5586: result: no
configure:5591: checking for suffix of object files
configure:5613: gcc -c   conftest.c >&5
configure:5617: $? = 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: $? = 0
configure:5670: result: yes
configure:5679: checking whether gcc accepts -g
configure:5699: gcc -c -g  conftest.c >&5
configure:5699: $? = 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: $? = 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: $? = 0
configure:6211: result: no
configure:6215: checking for compiler option needed when checking for 
declarations
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: $? = 0
configure:6348: gcc -c conftest.c -o conftest2.o >&5
configure:6352: $? = 0
configure:6363: cc -c conftest.c >&5
./configure: line 6365: cc: command not found
configure:6367: $? = 127
configure:6407: result: yes
configure:6444: checking how to run the C preprocessor
configure:6475: gcc -E  conftest.c
configure:6475: $? = 0
configure:6489: gcc -E  conftest.c
conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory
   10 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:6489: $? = 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 <ac_nonexistent.h>
configure:6514: result: gcc -E
configure:6534: gcc -E  conftest.c
configure:6534: $? = 0
configure:6548: gcc -E  conftest.c
conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory
   10 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:6548: $? = 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 <ac_nonexistent.h>
--8<---------------cut here---------------end--------------->8---


--
André A. Gomes
"Free Thought, Free World"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]