nix-community / emacs-overlay

Bleeding edge emacs overlay [maintainer=@adisbladis]
506 stars 166 forks source link

Build segfaults on aarch64-linux #264

Closed malte-v closed 1 year ago

malte-v commented 1 year ago

I'm unable to build Emacs on my M2 MacBook (running Linux) because some program involved in the build process segfaults. It looks like the segfaults are caused by compiler errors on some lisp source files (Error: wrong-type-argument ("../lisp/button.el" listp (#s(comp-mvar (symbol) nil nil nil 6777278 6)))), though I don't know any Lisp, so this is a hard one to debug for me :/ Any pointers would be much appreciated!

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/bdvknyvx2shl7skqs85zj6b4ml1mpb95-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './oldXMenu/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './lisp/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './doc/lispintro/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './doc/emacs/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './doc/lispref/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './doc/misc/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './nextstep/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './lwlib/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './leim/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './lib/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './nt/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './admin/unidata/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './admin/grammars/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './admin/charsets/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './msdos/autogen/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './src/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './test/manual/noverlay/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './test/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './test/infra/Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './Makefile.in'
substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './lib-src/Makefile.in'
substituteStream(): WARNING: pattern '(defcustom native-comp-driver-options nil' doesn't match anything in file 'lisp/emacs-lisp/comp.el'
@nix { "action": "setPhase", "phase": "autoreconfPhase" }
autoreconfPhase
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /nix/store/b8lnvfa5lss6fbnjag1cv9x1xmqn3gpz-autoconf-2.71/bin/autoconf --force
autoreconf: running: /nix/store/b8lnvfa5lss6fbnjag1cv9x1xmqn3gpz-autoconf-2.71/bin/autoheader --force
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory '.'
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.guess
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
configure flags: --prefix=/nix/store/rlzwn2jgyxwlpzbmjsqmwz6ii1rj6pyw-emacs-pgtk-native-comp-20221117.0 --disable-build-details --with-modules --with-x-toolkit=gtk3 --with-cairo --with-native-compilation --with-pgtk
checking for xcrun... no
checking for GNU Make... make
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether the compiler is clang... no
checking for compiler option needed when checking for declarations... none
checking whether gcc and cc understand -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for linux/fs.h... yes
checking for malloc.h... yes
checking for sys/systeminfo.h... no
checking for sys/sysinfo.h... yes
checking for coff.h... no
checking for pty.h... yes
checking for sys/resource.h... yes
checking for sys/utsname.h... yes
checking for pwd.h... yes
checking for utmp.h... yes
checking for util.h... no
checking for sanitizer/lsan_interface.h... yes
checking for sys/socket.h... yes
checking for sys/param.h... yes
checking for pthread.h... yes
checking for malloc/malloc.h... no
checking for sys/un.h... yes
checking for vfork.h... no
checking for dirent.h... yes
checking for execinfo.h... yes
checking for stdio_ext.h... yes
checking for sys/vfs.h... yes
checking for sys/fs_types.h... no
checking for getopt.h... yes
checking for sys/cdefs.h... yes
checking for sys/time.h... yes
checking for ieee754.h... yes
checking for limits.h... yes
checking for sys/select.h... yes
checking for stdalign.h... yes
checking for stdbool.h... yes
checking for sys/random.h... yes
checking for stdckdint.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /nix/store/c25cs8a2df2k0j461vp7awxb172izidx-gnugrep-3.7/bin/grep
checking for egrep... /nix/store/c25cs8a2df2k0j461vp7awxb172izidx-gnugrep-3.7/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether gcc accepts -g3 -O2... yes
checking whether the compiler is clang... no
checking whether C compiler handles -Werror -Wunknown-warning-option... no
checking for a BSD-compatible install... /nix/store/1gjq7k2a4ry774a8x9a8vgf9x3lflisk-coreutils-9.1/bin/install -c
checking command to symlink files in the same directory... ln -s
checking for install-info... /nix/store/xlxvlfybdl3550wlwzfvsavw36qkl58x-texinfo-6.8/bin/install-info
checking for gzip... /nix/store/bi95wbx42rbvwqrhnfbp1fzn2a8w72ib-gzip-1.12/bin/gzip
checking for 'find' args to delete a file... -delete
checking for brew... no
checking for -znocombreloc... not needed
checking whether addresses are sanitized... no
checking for math library... -lm
checking pkg-config is at least version 0.9.0... yes
checking for machine/soundcard.h... no
checking for sys/soundcard.h... yes
checking for soundcard.h... no
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... no
checking for alsa >= 1.0.0... no
checking for ADDR_NO_RANDOMIZE... yes
checking if Linux sysinfo may be used... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for net/if.h... yes
checking for ifaddrs.h... yes
checking for net/if_dl.h... no
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... yes
checking for struct ifreq.ifr_netmask... yes
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for struct ifreq.ifr_addr.sa_len... no
checking whether gcc understands -MMD -MF... yes
checking for X... libraries , headers 
checking whether malloc is Doug Lea style... no
checking for sbrk... yes
checking for getpagesize... yes
checking for __lsan_ignore_object... no
checking for fork... yes
checking for vfork... yes
checking for fchmod... yes
checking for canonicalize_file_name... yes
checking for faccessat... yes
checking for realpath... yes
checking for lstat... yes
checking for readlinkat... yes
checking for explicit_bzero... yes
checking for memset_s... no
checking for fchmodat... yes
checking for lchmod... yes
checking for fcntl... yes
checking for fdopendir... yes
checking for fstatat... yes
checking for fsync... yes
checking for futimens... yes
checking for getrandom... yes
checking for gettimeofday... yes
checking for mkostemp... yes
checking for pipe2... yes
checking for pselect... yes
checking for pthread_sigmask... yes
checking for readlink... yes
checking for isblank... yes
checking for iswctype... yes
checking for strtoimax... yes
checking for symlink... yes
checking for localtime_r... yes
checking for timegm... yes
checking for utimensat... yes
checking for getdtablesize... yes
checking for futimes... yes
checking for futimesat... yes
checking for lutimes... yes
checking for working mmap... yes
checking for main in -lXbsd... no
checking for pthread library... none needed
checking for thread support... yes
checking for librsvg-2.0 >= 2.14.0... yes
checking for libwebpdemux >= 0.6.0... no
checking for sqlite3_open_v2 in -lsqlite3... yes
checking for sqlite3_load_extension in -lsqlite3... yes
checking for getaddrinfo_a in -lanl... yes
checking for gtk+-3.0 >= 3.22.23 glib-2.0 >= 2.37.5... yes
checking whether GTK compiles... yes
configure: WARNING: Your version of Gtk+ will have problems with
       closing open displays.  This is no problem if you just use
       one display, but if you use more than one and close one of them
       Emacs may crash.
       See https://gitlab.gnome.org/GNOME/gtk/issues/221
checking for malloc_trim... yes
checking for dbus-1 >= 1.0... yes
checking for dbus_watch_get_unix_fd... yes
checking for dbus_type_is_valid... yes
checking for dbus_validate_bus_name... yes
checking for dbus_validate_path... yes
checking for dbus_validate_interface... yes
checking for dbus_validate_member... yes
checking for gio-2.0 >= 2.26... yes
checking whether GSettings is in gio... yes
checking for gobject-2.0 >= 2.0... yes
checking for lgetfilecon in -lselinux... yes
checking for gnutls >= 2.12.2... yes
checking for libsystemd >= 222... yes
checking for jansson >= 2.7... yes
checking for sys/inotify.h... yes
checking for inotify_init1... yes
checking for cairo >= 1.12.0... yes
checking for fontconfig >= 2.2.0... yes
checking for freetype2... yes
checking for libotf... yes
checking for OTF_get_variation_glyphs in -lotf... yes
checking for harfbuzz >= 0.9.42... yes
checking for jpeglib 6b or later... -ljpeg
checking for lcms2... no
checking for library containing inflateEnd... -lz
checking for dladdr... yes
checking for dlfunc... no
checking for gcc_jit_context_acquire in -lgccjit... yes
checking for libgccjit.h... yes
checking for libpng >= 1.0.0... yes
checking whether png_longjmp is declared... yes
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... yes
checking for gif_lib.h... yes
checking for GifMakeMapObject in -lgif... yes
checking for gpm.h... no
checking for libxml-2.0 > 2.6.17... yes
checking for htmlReadMemory in -lxml2... yes
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for maillock.h... no
checking for linux/seccomp.h... yes
checking whether SECCOMP_SET_MODE_FILTER is declared... yes
checking whether SECCOMP_FILTER_FLAG_TSYNC is declared... yes
checking for linux/filter.h... yes
checking whether SECCOMP_SET_MODE_FILTER is declared... (cached) yes
checking whether SECCOMP_FILTER_FLAG_TSYNC is declared... (cached) yes
checking for libseccomp >= 2.5.2... no
checking size of long... 8
checking for accept4... yes
checking for fchdir... yes
checking for gethostname... yes
checking for getrusage... yes
checking for get_current_dir_name... yes
checking for lrand48... yes
checking for random... yes
checking for rint... yes
checking for trunc... yes
checking for select... yes
checking for getpagesize... (cached) yes
checking for setlocale... yes
checking for newlocale... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for shutdown... yes
checking for pthread_sigmask... (cached) yes
checking for strsignal... yes
checking for setitimer... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockname... yes
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking for gai_strerror... yes
checking for sync... yes
checking for getpwent... yes
checking for endpwent... yes
checking for getgrent... yes
checking for endgrent... yes
checking for cfmakeraw... yes
checking for cfsetspeed... yes
checking for __executable_start... yes
checking for log2... yes
checking for pthread_setname_np... yes
checking for pthread_set_name_np... no
checking whether pthread_setname_np takes a single argument... no
checking whether pthread_setname_np takes three arguments... no
checking for aligned_alloc... yes
checking whether aligned_alloc is declared... yes
checking for posix_madvise... yes
checking for __builtin_frame_address... yes
checking for __builtin_unwind_init... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for grantpt... yes
checking for getpt... yes
checking for posix_openpt... yes
checking for library containing tputs... -ltinfo
checking whether -ltinfo library defines BC... yes
checking for timerfd interface... yes
checking whether signals can be handled on alternate stack... yes
checking for valgrind/valgrind.h... no
checking for struct unipair.unicode... yes
checking for pid_t... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for snprintf... yes
checking for spawn.h... yes
checking for posix_spawn... yes
checking for posix_spawn_file_actions_addchdir... no
checking for posix_spawn_file_actions_addchdir_np... yes
checking for posix_spawnattr_setflags... yes
checking whether POSIX_SPAWN_SETSID is declared... yes
checking whether GLib is linked in... yes
checking for nl_langinfo and CODESET... yes
checking for nl_langinfo and _NL_PAPER_WIDTH... yes
checking for mbstate_t... yes
checking for signals via characters... yes
checking for _setjmp... yes
checking for sigsetjmp... yes
checking POSIX termios... yes
checking size of speed_t... 4
checking for usable FIONREAD... yes
checking for usable SIGIO... yes
checking for struct alignment... yes
checking for typeof syntax and keyword spelling... typeof
checking for statement expressions... yes
checking whether malloc (0) returns nonnull... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for a race-free mkdir -p... /nix/store/1gjq7k2a4ry774a8x9a8vgf9x3lflisk-coreutils-9.1/bin/mkdir -p
checking whether the preprocessor supports include_next... yes
checking whether source code line length is unlimited... yes
checking whether lstat correctly handles trailing slash... yes
checking whether // is distinct from /... no
checking whether realpath works... yes
checking for getcwd... yes
checking for C/C++ restrict keyword... __restrict__
checking whether byte ordering is bigendian... no
checking if environ is properly declared... yes
checking for complete errno.h... yes
checking whether ctype.h defines __header_inline... no
checking for mode_t... yes
checking whether strmode is declared... no
checking for gawk... gawk
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking for working GNU getopt_long function... yes
checking for timespec_get... yes
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether limits.h has WORD_BIT, BOOL_WIDTH etc.... yes
checking whether the compiler produces multi-arch binaries... no
checking whether stdint.h conforms to C99... yes
checking whether stdint.h works without ISO C predefines... yes
checking whether stdint.h has UINTMAX_WIDTH etc.... yes
checking whether memmem is declared... yes
checking whether memrchr is declared... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... yes
checking whether time_t is signed... yes
checking whether alarm is declared... yes
checking for working mktime... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking whether <sys/select.h> is self-contained... yes
checking for inline... inline
checking for sigset_t... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking for wchar_t... yes
checking for good max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether fcloseall is declared... yes
checking which flavor of printf attribute matches inttypes macros... system
checking whether ecvt is declared... yes
checking whether fcvt is declared... yes
checking whether gcvt is declared... yes
checking whether strnlen is declared... yes
checking whether strtoimax is declared... yes
checking whether stat file-mode macros are broken... no
checking for nlink_t... yes
checking for struct timespec in <time.h>... yes
checking for TIME_UTC in <time.h>... yes
checking whether execvpe is declared... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking type of array argument to getgroups... gid_t
checking whether getdtablesize is declared... yes
checking whether malloc is ptrdiff_t safe... yes
checking whether malloc, realloc, calloc set errno on failure... yes
checking for O_CLOEXEC... yes
checking for promoted mode_t type... mode_t
checking whether the utimes function works... yes
checking for C compiler option to allow warnings... -Wno-error
checking for sys/acl.h... no
configure: WARNING: libacl development library was not found or not usable.
configure: WARNING: GNU Emacs will be built without ACL support.
checking for alloca as a compiler built-in... yes
checking for static_assert... yes, an <assert.h> macro
checking for __builtin_expect... yes
checking for byteswap.h... yes
checking for library containing clock_gettime... none required
checking for clock_getres... yes
checking for clock_gettime... yes
checking for clock_settime... yes
checking for copy_file_range... yes
checking whether copy_file_range is known to work... yes
checking for d_type member in directory struct... yes
checking whether // is distinct from /... (cached) no
checking whether dup2 works... yes
checking for library containing backtrace_symbols_fd... none required
checking whether fchmodat works... yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking for getxattr with XATTR_NAME_POSIX_ACL macros... yes
checking for flexible array member... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking whether free is known to preserve errno... yes
checking whether fstatat (..., 0) works... yes
checking for sys/mount.h... yes
checking for statvfs function (SVR4)... yes
checking whether to use statvfs64... no
checking for two-argument statfs with statfs.f_frsize member... yes
checking for sys/fs/s5param.h... no
checking for sys/statfs.h... yes
checking for statfs that truncates block counts... no
checking whether futimens works... yes
checking for getloadavg... yes
checking for sys/loadavg.h... no
checking whether getloadavg is declared... yes
checking whether getrandom is compatible with its GNU+BSD signature... yes
checking for gettimeofday with POSIX signature... yes
checking whether the compiler supports the __inline keyword... yes
checking for gmp.h... yes
checking for library containing __gmpz_roinit_n... -lgmp
checking for memmem... yes
checking whether memmem works... yes
checking for mempcpy... yes
checking for memrchr... yes
checking for library containing nanosleep... none required
checking for working nanosleep... no (mishandles large arguments)
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/param.h... (cached) yes
checking for sys/sysctl.h... no
checking for sched_getaffinity... yes
checking for sched_getaffinity_np... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for sysctl... no
checking for glibc compatible sched_getaffinity... yes
checking whether signature of pselect conforms to POSIX... yes
checking whether pselect detects invalid fds... yes
checking whether pthread_sigmask is a macro... no
checking whether pthread_sigmask works without -lpthread... yes
checking whether pthread_sigmask returns error numbers... yes
checking whether pthread_sigmask unblocks signals correctly... guessing yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking whether readlink truncates results correctly... yes
checking whether readlinkat signature is correct... yes
checking for working re_compile_pattern... yes
checking for sig2str... no
checking for sigdescr_np... yes
checking for socklen_t... yes
checking for ssize_t... yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for alignas and alignof... yes, <stdalign.h> macros
checking for bool, true, false... no
checking for stpcpy... yes
checking for working strnlen... yes
checking whether strtoimax works... yes
checking whether symlink handles trailing slash correctly... yes
checking whether localtime_r is declared... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking whether localtime works even near extrema... yes
checking for timezone_t... no
checking whether timer_settime is declared... yes
checking for library containing timer_settime... none required
checking for timer_settime... yes
checking whether utimensat works... yes
checking for variable-length arrays... yes
checking whether getdtablesize works... yes
checking for timer_getoverrun... yes
checking for gcc option to disable position independent executables... not needed

Configured for 'aarch64-unknown-linux-gnu'.

  Where should the build process find the source code?    .
  What compiler should emacs be built with?               gcc -g3 -O2
  Should Emacs use the GNU version of malloc?             no
    (The GNU allocators don't work with this system configuration.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    pgtk
  What toolkit should Emacs use?                          GTK3
  Where do we find X Windows header files?                Standard dirs
  Where do we find X Windows libraries?                   Standard dirs
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   no
  Does Emacs use -ljpeg?                                  yes
  Does Emacs use -ltiff?                                  yes
  Does Emacs use a gif library?                           yes -lgif
  Does Emacs use a png library?                           yes -L/nix/store/f3z03i2zfyhssp747zm6cnzl3hlp25zh-zlib-1.2.12/lib -L/nix/store/6mb9f5imph2pw2j59jx10zrl29gg3s3s-libpng-apng-1.6.37/lib -lpng16 -lz
  Does Emacs use -lrsvg-2?                                yes
  Does Emacs use -lwebp?                                  no
  Does Emacs use -lsqlite3?                               yes
  Does Emacs use cairo?                                   yes
  Does Emacs use -llcms2?                                 no
  Does Emacs use imagemagick?                             no
  Does Emacs use native APIs for images?                  no
  Does Emacs support sound?                               yes
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  yes
  Does Emacs use -lgconf?                                 no
  Does Emacs use GSettings?                               yes
  Does Emacs use a file notification library?             yes -lglibc (inotify)
  Does Emacs use access control lists?                    no
  Does Emacs use -lselinux?                               yes
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              yes
  Does Emacs use HarfBuzz?                                yes
  Does Emacs use -lm17n-flt?                              
  Does Emacs use -lotf?                                   yes
  Does Emacs use -lxft?                                   
  Does Emacs use -lsystemd?                               yes
  Does Emacs use -ljansson?                               yes
  Does Emacs use the GMP library?                         yes
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                yes
  Does Emacs use toolkit scroll bars?                     yes
  Does Emacs support Xwidgets?                            no
  Does Emacs have threading support in lisp?              yes
  Does Emacs support the portable dumper?                 yes
  Does Emacs support legacy unexec dumping?               no
  Which dumping strategy does Emacs use?                  pdumper
  Does Emacs have native lisp compiler?                   yes
  Does Emacs use version 2 of the X Input Extension?      no
  Does Emacs generate a smaller-size Japanese dictionary? no

configure: creating ./config.status
config.status: creating src/verbose.mk
config.status: creating src/emacs-module.h
config.status: creating Makefile
config.status: creating lib/gnulib.mk
config.status: creating ./doc/man/emacs.1
config.status: creating lib/Makefile
config.status: creating lib-src/Makefile
config.status: creating oldXMenu/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating src/Makefile
config.status: creating lwlib/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating nextstep/Makefile
config.status: creating nt/Makefile
config.status: creating test/Makefile
config.status: creating test/manual/noverlay/Makefile
config.status: creating test/infra/Makefile
config.status: creating admin/charsets/Makefile
config.status: creating admin/unidata/Makefile
config.status: creating admin/grammars/Makefile
config.status: creating src/config.h
config.status: executing src/epaths.h commands
config.status: executing src/.gdbinit commands
config.status: executing doc/emacs/emacsver.texi commands
config.status: executing etc-refcards-emacsver.tex commands
configure: WARNING: This configuration installs a 'movemail' program
that does not retrieve POP3 email.  By default, Emacs 25 and earlier
installed a 'movemail' program that retrieved POP3 email via only
insecure channels, a practice that is no longer recommended but that
you can continue to support by using './configure --with-pop'.
configure: You might want to install GNU Mailutils
<https://mailutils.org> and use './configure --with-mailutils'.
configurePhase completed in 41 seconds
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j8 SHELL=/nix/store/6w0kph7zrb8pflva64irvzfhnaj296hf-bash-5.1-p16/bin/bash
make actual-all || make advice-on-failure make-target=all exit-status=$?
make[1]: Entering directory '/build/source'
make -C lib all
make -C doc/lispref info
make -C doc/lispintro info
make -C doc/emacs info
  GEN      info/dir
make[2]: Entering directory '/build/source/doc/lispref'
/nix/store/1gjq7k2a4ry774a8x9a8vgf9x3lflisk-coreutils-9.1/bin/mkdir -p ../../info
make[2]: Entering directory '/build/source/doc/emacs'
/nix/store/1gjq7k2a4ry774a8x9a8vgf9x3lflisk-coreutils-9.1/bin/mkdir -p ../../info
  GEN      ../../info/elisp.info
glib-compile-schemas --strict --dry-run --schema-file=./etc/org.gnu.emacs.defaults.gschema.xml
make[2]: Entering directory '/build/source/doc/lispintro'
  GEN      ../../info/eintr.info
  GEN      ../../info/emacs.info
/nix/store/1gjq7k2a4ry774a8x9a8vgf9x3lflisk-coreutils-9.1/bin/mkdir -p etc
touch etc/org.gnu.emacs.defaults.gschema.valid
make[2]: Entering directory '/build/source/lib'
  GEN      alloca.h
  GEN      dirent.h
  GEN      fcntl.h
  GEN      inttypes.h
  GEN      limits.h
  GEN      signal.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/random.h
  GEN      sys/select.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/types.h
  GEN      time.h
  GEN      unistd.h
  CC       fingerprint.o
  CC       acl-errno-valid.o
  CC       acl-internal.o
  CC       get-permissions.o
  CC       set-permissions.o
  CC       allocator.o
  CC       binary-io.o
  CC       c-ctype.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       careadlinkat.o
  CC       close-stream.o
  CC       count-leading-zeros.o
  CC       count-one-bits.o
  CC       count-trailing-zeros.o
  CC       md5-stream.o
  CC       md5.o
  CC       sha1.o
  CC       sha256.o
  CC       sha512.o
  CC       dtoastr.o
make[2]: Leaving directory '/build/source/doc/lispintro'
  CC       dtotimespec.o
  CC       fcntl.o
  CC       file-has-acl.o
  CC       filemode.o
  CC       filevercmp.o
  CC       fsusage.o
  CC       gettime.o
  CC       nanosleep.o
  CC       nproc.o
  CC       nstrftime.o
  CC       pipe2.o
  CC       qcopy-acl.o
  CC       sig2str.o
  CC       stat-time.o
  CC       tempname.o
  CC       time_rz.o
  CC       timespec.o
  CC       timespec-add.o
  CC       timespec-sub.o
  CC       u64.o
  CC       unistd.o
  CC       openat-die.o
  CC       save-cwd.o
  AR       libgnu.a
make[2]: Leaving directory '/build/source/lib'
make -C lib-src all
make[2]: Entering directory '/build/source/lib-src'
  CCLD     etags
  CCLD     ctags
  CCLD     emacsclient
  CCLD     ebrowse
  CCLD     hexl
  CC       pop.o
  CCLD     make-docfile
  CCLD     make-fingerprint
make[2]: Leaving directory '/build/source/doc/emacs'
  CCLD     movemail
make[2]: Leaving directory '/build/source/doc/lispref'
make[2]: Leaving directory '/build/source/lib-src'
make -C src BIN_DESTDIR=''/nix/store/rlzwn2jgyxwlpzbmjsqmwz6ii1rj6pyw-emacs-pgtk-native-comp-20221117.0/bin/'' \
     ELN_DESTDIR='/nix/store/rlzwn2jgyxwlpzbmjsqmwz6ii1rj6pyw-emacs-pgtk-native-comp-20221117.0/lib/emacs/29.0.50/' all
make[2]: Entering directory '/build/source/src'
  GEN      lisp.mk
  GEN      globals.h
  GEN      buildobj.h
make -C ../admin/charsets all
make -C ../admin/unidata charscript.el
make -C ../admin/unidata emoji-zwj.el
make -C ../admin/charsets cp51932.el
make[3]: Entering directory '/build/source/admin/unidata'
make -C ../admin/charsets eucjp-ms.el
make[3]: Entering directory '/build/source/admin/unidata'
make[3]: Entering directory '/build/source/admin/charsets'
  GEN      ../../etc/charsets/8859-2.map
  GEN      ../../etc/charsets/8859-3.map
  GEN      ../../etc/charsets/8859-4.map
make[3]: Entering directory '/build/source/admin/charsets'
  GEN      ../../etc/charsets/CP932-2BYTE.map
  GEN      ../../lisp/international/charscript.el
  GEN      ../../lisp/international/emoji-zwj.el
make[3]: Entering directory '/build/source/admin/charsets'
  GEN      ../../lisp/international/eucjp-ms.el
  GEN      ../../etc/charsets/8859-5.map
make[3]: Leaving directory '/build/source/admin/unidata'
  GEN      ../../etc/charsets/8859-6.map
  GEN      ../../etc/charsets/8859-7.map
make[3]: Leaving directory '/build/source/admin/unidata'
  GEN      ../../etc/charsets/8859-8.map
  GEN      ../../etc/charsets/8859-9.map
  GEN      ../../etc/charsets/8859-10.map
  GEN      ../../etc/charsets/8859-11.map
make[3]: Leaving directory '/build/source/admin/charsets'
  GEN      ../../etc/charsets/8859-13.map
  GEN      ../../etc/charsets/8859-14.map
  GEN      ../../etc/charsets/8859-15.map
  GEN      ../../etc/charsets/8859-16.map
  GEN      ../../etc/charsets/IBM037.map
  GEN      ../../etc/charsets/IBM038.map
  GEN      ../../etc/charsets/IBM256.map
  GEN      ../../etc/charsets/IBM273.map
  GEN      ../../etc/charsets/IBM274.map
  GEN      ../../etc/charsets/IBM275.map
  GEN      ../../etc/charsets/IBM277.map
  GEN      ../../lisp/international/cp51932.el
  CC       dispnew.o
  GEN      ../../etc/charsets/IBM278.map
  CC       frame.o
  GEN      ../../etc/charsets/IBM280.map
  CC       scroll.o
  GEN      ../../etc/charsets/IBM281.map
make[3]: Leaving directory '/build/source/admin/charsets'
  CC       xdisp.o
  CC       menu.o
  CC       window.o
  CC       charset.o
  GEN      ../../etc/charsets/IBM284.map
  GEN      ../../etc/charsets/IBM285.map
  GEN      ../../etc/charsets/IBM290.map
  GEN      ../../etc/charsets/IBM297.map
  GEN      ../../etc/charsets/IBM420.map
  GEN      ../../etc/charsets/IBM423.map
  GEN      ../../etc/charsets/IBM424.map
  GEN      ../../etc/charsets/IBM437.map
  GEN      ../../etc/charsets/IBM500.map
  GEN      ../../etc/charsets/IBM850.map
  GEN      ../../etc/charsets/IBM851.map
  GEN      ../../etc/charsets/IBM852.map
  CC       coding.o
  GEN      ../../etc/charsets/IBM855.map
  GEN      ../../etc/charsets/IBM856.map
  GEN      ../../etc/charsets/IBM857.map
  GEN      ../../etc/charsets/IBM860.map
  GEN      ../../etc/charsets/IBM861.map
  GEN      ../../etc/charsets/IBM862.map
  GEN      ../../etc/charsets/IBM863.map
  GEN      ../../etc/charsets/IBM864.map
  CC       category.o
  GEN      ../../etc/charsets/IBM865.map
  GEN      ../../etc/charsets/IBM866.map
  GEN      ../../etc/charsets/IBM868.map
  GEN      ../../etc/charsets/IBM869.map
  GEN      ../../etc/charsets/IBM870.map
  GEN      ../../etc/charsets/IBM871.map
  GEN      ../../etc/charsets/IBM874.map
  GEN      ../../etc/charsets/IBM875.map
  GEN      ../../etc/charsets/IBM880.map
  GEN      ../../etc/charsets/IBM891.map
  GEN      ../../etc/charsets/IBM903.map
  GEN      ../../etc/charsets/IBM904.map
  GEN      ../../etc/charsets/IBM905.map
  GEN      ../../etc/charsets/IBM918.map
  GEN      ../../etc/charsets/IBM1004.map
  GEN      ../../etc/charsets/IBM1026.map
  GEN      ../../etc/charsets/IBM1047.map
  GEN      ../../etc/charsets/CP737.map
  GEN      ../../etc/charsets/CP775.map
  GEN      ../../etc/charsets/CP1125.map
  GEN      ../../etc/charsets/CP1250.map
  GEN      ../../etc/charsets/CP1251.map
  GEN      ../../etc/charsets/CP1252.map
  GEN      ../../etc/charsets/CP1253.map
  CC       ccl.o
  GEN      ../../etc/charsets/CP1254.map
  GEN      ../../etc/charsets/CP1255.map
  GEN      ../../etc/charsets/CP1256.map
  GEN      ../../etc/charsets/CP1257.map
  GEN      ../../etc/charsets/CP1258.map
  GEN      ../../etc/charsets/CP10007.map
  GEN      ../../etc/charsets/CP720.map
  GEN      ../../etc/charsets/CP858.map
  GEN      ../../etc/charsets/GB2312.map
  GEN      ../../etc/charsets/GBK.map
  GEN      ../../etc/charsets/GB180302.map
  GEN      ../../etc/charsets/BIG5.map
  CC       character.o
  GEN      ../../etc/charsets/BIG5-HKSCS.map
  GEN      ../../etc/charsets/CNS-1.map
  CC       chartab.o
  CC       bidi.o
  GEN      ../../etc/charsets/CNS-2.map
  GEN      ../../etc/charsets/CNS-3.map
  GEN      ../../etc/charsets/CNS-4.map
  GEN      ../../etc/charsets/CNS-5.map
  GEN      ../../etc/charsets/CNS-6.map
  CC       cm.o
  GEN      ../../etc/charsets/CNS-7.map
  CC       term.o
  GEN      ../../etc/charsets/CNS-F.map
  CC       terminal.o
  GEN      ../../etc/charsets/JISX0201.map
  CC       xfaces.o
  GEN      ../../etc/charsets/JISX0208.map
  GEN      ../../etc/charsets/JISX0212.map
  GEN      ../../etc/charsets/JISX2132.map
  GEN      ../../etc/charsets/JISC6226.map
  GEN      ../../etc/charsets/JISX213A.map
  CC       gtkutil.o
  GEN      ../../etc/charsets/KSC5601.map
  GEN      ../../etc/charsets/KSC5636.map
  GEN      ../../etc/charsets/JOHAB.map
  GEN      ../../etc/charsets/KOI-8.map
  GEN      ../../etc/charsets/KOI8-R.map
  GEN      ../../etc/charsets/KOI8-U.map
  GEN      ../../etc/charsets/KOI8-T.map
  GEN      ../../etc/charsets/ALTERNATIVNYJ.map
  GEN      ../../etc/charsets/MIK.map
  GEN      ../../etc/charsets/PTCP154.map
  GEN      ../../etc/charsets/TIS-620.map
  GEN      ../../etc/charsets/VISCII.map
  GEN      ../../etc/charsets/VSCII.map
  GEN      ../../etc/charsets/VSCII-2.map
  GEN      ../../etc/charsets/KA-PS.map
  GEN      ../../etc/charsets/KA-ACADEMY.map
  GEN      ../../etc/charsets/HP-ROMAN8.map
  GEN      ../../etc/charsets/NEXTSTEP.map
  GEN      ../../etc/charsets/MACINTOSH.map
  GEN      ../../etc/charsets/EBCDICUK.map
  GEN      ../../etc/charsets/EBCDICUS.map
  GEN      ../../etc/charsets/stdenc.map
  GEN      ../../etc/charsets/symbol.map
  GEN      ../../etc/charsets/CP949-2BYTE.map
  GEN      ../../etc/charsets/BIG5-1.map
  GEN      ../../etc/charsets/BIG5-2.map
  GEN      ../../etc/charsets/MULE-ethiopic.map
  GEN      ../../etc/charsets/MULE-ipa.map
  GEN      ../../etc/charsets/MULE-is13194.map
  GEN      ../../etc/charsets/MULE-sisheng.map
  GEN      ../../etc/charsets/MULE-tibetan.map
  GEN      ../../etc/charsets/MULE-lviscii.map
  GEN      ../../etc/charsets/MULE-uviscii.map
  GEN      ../../etc/charsets/GB180304.map
  GEN      ../../etc/charsets/JISX2131.map
  GEN      charsets.stamp
make[3]: Leaving directory '/build/source/admin/charsets'
  CC       emacsgtkfixed.o
  CC       dbusbind.o
  CC       emacs.o
  CC       keyboard.o
  CC       macros.o
  CC       keymap.o
  CC       sysdep.o
  CC       bignum.o
  CC       buffer.o
  CC       filelock.o
  CC       insdel.o
  CC       marker.o
  CC       minibuf.o
  CC       fileio.o
  CC       dired.o
  CC       cmds.o
  CC       casetab.o
  CC       casefiddle.o
  CC       indent.o
  CC       search.o
  CC       regex-emacs.o
  CC       undo.o
  CC       alloc.o
  CC       pdumper.o
  CC       data.o
  CC       doc.o
  CC       editfns.o
pdumper.c: In function 'dump_do_dump_relocation':
pdumper.c:5322:1: note: parameter passing for argument of type 'const struct dump_reloc' changed in GCC 9.1
 5322 | dump_do_dump_relocation (const uintptr_t dump_base,
      | ^~~~~~~~~~~~~~~~~~~~~~~
  CC       callint.o
  CC       eval.o
  CC       floatfns.o
  CC       fns.o
  CC       sort.o
  CC       font.o
  CC       print.o
  CC       lread.o
  CC       emacs-module.o
  CC       syntax.o
  CC       bytecode.o
  CC       comp.o
  CC       dynlib.o
  CC       process.o
  CC       gnutls.o
  CC       callproc.o
  CC       region-cache.o
  CC       sound.o
  CC       timefns.o
  CC       atimer.o
  CC       doprnt.o
  CC       intervals.o
  CC       textprop.o
  CC       composite.o
  CC       xml.o
  CC       lcms.o
  CC       inotify.o
  CC       profiler.o
  CC       decompress.o
  CC       thread.o
  CC       systhread.o
  CC       sqlite.o
  CC       itree.o
  CC       ftfont.o
  CC       ftcrfont.o
  CC       hbfont.o
  CC       fontset.o
  CC       fringe.o
  CC       image.o
  CC       xgselect.o
  CC       json.o
  CC       pgtkfns.o
  CC       pgtkterm.o
  CC       pgtkselect.o
  CC       pgtkmenu.o
  CC       pgtkim.o
  CC       xsettings.o
  CC       terminfo.o
  CC       lastfile.o
  CCLD     temacs
  GEN      ../etc/DOC
/nix/store/1gjq7k2a4ry774a8x9a8vgf9x3lflisk-coreutils-9.1/bin/mkdir -p ../etc
make -C ../lisp update-subdirs
make[3]: Entering directory '/build/source/lisp'
make[3]: Leaving directory '/build/source/lisp'
cp -f temacs bootstrap-emacs
rm -f bootstrap-emacs.pdmp
env -i ./temacs --batch --no-build-details -l loadup --temacs=pbootstrap \
    --bin-dest /nix/store/rlzwn2jgyxwlpzbmjsqmwz6ii1rj6pyw-emacs-pgtk-native-comp-20221117.0/bin/ --eln-dest /nix/store/rlzwn2jgyxwlpzbmjsqmwz6ii1rj6pyw-emacs-pgtk-native-comp-20221117.0/lib/emacs/29.0.50/
Loading loadup.el (source)...
Dump mode: pbootstrap
Using load-path (/build/source/lisp /build/source/lisp/emacs-lisp /build/source/lisp/progmodes /build/source/lisp/language /build/source/lisp/international /build/source/lisp/textmodes /build/source/lisp/vc)
Loading emacs-lisp/debug-early (source)...
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading keymap (source)...
Loading version (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading international/mule (source)...
Loading international/mule-conf (source)...
Loading env (source)...
Loading format (source)...
Loading bindings (source)...
Loading window (source)...
Loading /build/source/lisp/files.el (source)...
Loading /build/source/lisp/emacs-lisp/macroexp.el (source)...
Loading /build/source/lisp/emacs-lisp/pcase.el (source)...
Loading /build/source/lisp/emacs-lisp/macroexp.el (source)...
Loading /build/source/lisp/cus-face.el (source)...
Loading /build/source/lisp/faces.el (source)...
Loading /build/source/lisp/ldefs-boot.el (source)...
Loading /build/source/lisp/button.el (source)...
Loading /build/source/lisp/emacs-lisp/cl-preloaded.el (source)...
Loading /build/source/lisp/emacs-lisp/oclosure.el (source)...
Loading /build/source/lisp/obarray.el (source)...
Loading /build/source/lisp/abbrev.el (source)...
Loading /build/source/lisp/help.el (source)...
Loading /build/source/lisp/jka-cmpr-hook.el (source)...
Loading /build/source/lisp/epa-hook.el (source)...
Loading /build/source/lisp/international/mule-cmds.el (source)...
Loading /build/source/lisp/case-table.el (source)...
Loading /build/source/lisp/international/characters.el (source)...
Loading /build/source/lisp/international/charscript.el (source)...
Loading /build/source/lisp/international/emoji-zwj.el (source)...
Loading /build/source/lisp/composite.el (source)...
Loading /build/source/lisp/language/chinese.el (source)...
Loading /build/source/lisp/language/cyrillic.el (source)...
Loading /build/source/lisp/language/indian.el (source)...
Loading /build/source/lisp/language/sinhala.el (source)...
Loading /build/source/lisp/language/english.el (source)...
Loading /build/source/lisp/language/ethiopic.el (source)...
Loading /build/source/lisp/language/european.el (source)...
Loading /build/source/lisp/language/czech.el (source)...
Loading /build/source/lisp/language/slovak.el (source)...
Loading /build/source/lisp/language/romanian.el (source)...
Loading /build/source/lisp/language/greek.el (source)...
Loading /build/source/lisp/language/hebrew.el (source)...
Loading /build/source/lisp/international/cp51932.el (source)...
Loading /build/source/lisp/international/eucjp-ms.el (source)...
Loading /build/source/lisp/language/japanese.el (source)...
Loading /build/source/lisp/language/korean.el (source)...
Loading /build/source/lisp/language/lao.el (source)...
Loading /build/source/lisp/language/tai-viet.el (source)...
Loading /build/source/lisp/language/thai.el (source)...
Loading /build/source/lisp/language/tibetan.el (source)...
Loading /build/source/lisp/language/vietnamese.el (source)...
Loading /build/source/lisp/language/misc-lang.el (source)...
Loading /build/source/lisp/language/utf-8-lang.el (source)...
Loading /build/source/lisp/language/georgian.el (source)...
Loading /build/source/lisp/language/khmer.el (source)...
Loading /build/source/lisp/language/burmese.el (source)...
Loading /build/source/lisp/language/cham.el (source)...
Loading /build/source/lisp/language/philippine.el (source)...
Loading /build/source/lisp/language/indonesian.el (source)...
Loading /build/source/lisp/indent.el (source)...
Loading /build/source/lisp/emacs-lisp/cl-generic.el (source)...
Loading /build/source/lisp/simple.el (source)...
Loading /build/source/lisp/emacs-lisp/seq.el (source)...
Loading /build/source/lisp/emacs-lisp/nadvice.el (source)...
Loading /build/source/lisp/minibuffer.el (source)...
Loading /build/source/lisp/frame.el (source)...
Loading /build/source/lisp/startup.el (source)...
Loading /build/source/lisp/term/tty-colors.el (source)...
Loading /build/source/lisp/font-core.el (source)...
Loading /build/source/lisp/emacs-lisp/syntax.el (source)...
Loading /build/source/lisp/font-lock.el (source)...
Loading /build/source/lisp/jit-lock.el (source)...
Loading /build/source/lisp/mouse.el (source)...
Loading /build/source/lisp/scroll-bar.el (source)...
Loading /build/source/lisp/select.el (source)...
Loading /build/source/lisp/emacs-lisp/timer.el (source)...
Loading /build/source/lisp/emacs-lisp/easymenu.el (source)...
Loading /build/source/lisp/isearch.el (source)...
Loading /build/source/lisp/rfn-eshadow.el (source)...
Loading /build/source/lisp/menu-bar.el (source)...
Loading /build/source/lisp/tab-bar.el (source)...
Loading /build/source/lisp/emacs-lisp/lisp.el (source)...
Loading /build/source/lisp/textmodes/page.el (source)...
Loading /build/source/lisp/register.el (source)...
Loading /build/source/lisp/textmodes/paragraphs.el (source)...
Loading /build/source/lisp/progmodes/prog-mode.el (source)...
Loading /build/source/lisp/emacs-lisp/lisp-mode.el (source)...
Loading /build/source/lisp/textmodes/text-mode.el (source)...
Loading /build/source/lisp/textmodes/fill.el (source)...
Loading /build/source/lisp/newcomment.el (source)...
Loading /build/source/lisp/replace.el (source)...
Loading /build/source/lisp/emacs-lisp/tabulated-list.el (source)...
Loading /build/source/lisp/buff-menu.el (source)...
Loading /build/source/lisp/fringe.el (source)...
Loading /build/source/lisp/emacs-lisp/regexp-opt.el (source)...
Loading /build/source/lisp/image.el (source)...
Loading /build/source/lisp/international/fontset.el (source)...
Loading /build/source/lisp/dnd.el (source)...
Loading /build/source/lisp/tool-bar.el (source)...
Loading /build/source/lisp/dynamic-setting.el (source)...
Loading /build/source/lisp/pgtk-dnd.el (source)...
Loading /build/source/lisp/term/common-win.el (source)...
Loading /build/source/lisp/term/pgtk-win.el (source)...
Loading /build/source/lisp/mwheel.el (source)...
Loading /build/source/lisp/progmodes/elisp-mode.el (source)...
Loading /build/source/lisp/emacs-lisp/float-sup.el (source)...
Loading /build/source/lisp/vc/vc-hooks.el (source)...
Loading /build/source/lisp/vc/ediff-hook.el (source)...
Loading /build/source/lisp/uniquify.el (source)...
Loading /build/source/lisp/electric.el (source)...
Loading /build/source/lisp/paren.el (source)...
Loading /build/source/lisp/emacs-lisp/shorthands.el (source)...
Loading /build/source/lisp/emacs-lisp/eldoc.el (source)...
Loading /build/source/lisp/emacs-lisp/cconv.el (source)...
Loading /build/source/lisp/cus-start.el (source)...
Loading /build/source/lisp/tooltip.el (source)...
Loading /build/source/lisp/international/iso-transl.el (source)...
Loading /build/source/lisp/emacs-lisp/rmc.el (source)...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name bootstrap-emacs.pdmp
Dumping fingerprint: 9a831b16dabdb3782d9028449018132e3e37c43c503b53c266cd0272c945d2cc
Dump complete
Byte counts: header=100 hot=15409700 discardable=192568 cold=10767848
Reloc counts: hot=1079054 discardable=5298
ANCIENT=yes make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
make[3]: Entering directory '/build/source/lisp'
  ELC      emacs-lisp/macroexp.elc
  ELC      emacs-lisp/byte-opt.elc
  ELC      emacs-lisp/cconv.elc
  ELC      emacs-lisp/comp.elc
  ELC      emacs-lisp/bytecomp.elc
  ELC      emacs-lisp/comp-cstr.elc
  ELC      emacs-lisp/loaddefs-gen.elc
  ELC      emacs-lisp/radix-tree.elc
TZ=UTC0 touch -t 197001010000 emacs-lisp/radix-tree.elc
TZ=UTC0 touch -t 197001010000 emacs-lisp/loaddefs-gen.elc
TZ=UTC0 touch -t 197001010000 emacs-lisp/byte-opt.elc
TZ=UTC0 touch -t 197001010000 emacs-lisp/macroexp.elc
TZ=UTC0 touch -t 197001010000 emacs-lisp/cconv.elc
TZ=UTC0 touch -t 197001010000 emacs-lisp/bytecomp.elc
TZ=UTC0 touch -t 197001010000 emacs-lisp/comp-cstr.elc
TZ=UTC0 touch -t 197001010000 emacs-lisp/comp.elc
make[3]: Leaving directory '/build/source/lisp'
make -C ../lisp compile-first EMACS="../src/bootstrap-emacs"
make[3]: Entering directory '/build/source/lisp'
  ELC+ELN  emacs-lisp/macroexp.elc
  ELC+ELN  emacs-lisp/byte-opt.elc
  ELC+ELN  emacs-lisp/cconv.elc
  ELC+ELN  emacs-lisp/bytecomp.elc
  ELC+ELN  emacs-lisp/comp.elc
  ELC+ELN  emacs-lisp/comp-cstr.elc
  ELC+ELN  emacs-lisp/loaddefs-gen.elc
  ELC+ELN  emacs-lisp/radix-tree.elc
make[3]: Leaving directory '/build/source/lisp'
make -C ../lisp autoloads EMACS="../src/bootstrap-emacs"
make[3]: Entering directory '/build/source/lisp'
  ELC+ELN  ../lisp/abbrev.elc
  ELC+ELN  international/titdic-cnv.elc
  ELC+ELN  ../lisp/buff-menu.elc
  ELC+ELN  ../lisp/case-table.elc
  ELC+ELN  ../lisp/bindings.elc
  ELC+ELN  ../lisp/button.elc
  ELC+ELN  ../lisp/cus-face.elc
  ELC+ELN  ../lisp/composite.elc
make -C ../admin/grammars all EMACS="../../src/bootstrap-emacs"
make[4]: Entering directory '/build/source/admin/grammars'
  GEN      ../../lisp/cedet/semantic/bovine/c-by.el
  GEN      ../../lisp/cedet/semantic/bovine/make-by.el
  ELC+ELN  ../lisp/cus-start.elc
  ELC+ELN  ../lisp/custom.elc

Error: wrong-type-argument ("../lisp/button.el" listp (#s(comp-mvar (symbol) nil nil nil 6777278 6)))
Backtrace:
../src/bootstrap-emacs[0x512c5c]
../src/bootstrap-emacs[0x41ee68]
../src/bootstrap-emacs[0x41f070]
../src/bootstrap-emacs[0x510d88]
../src/bootstrap-emacs[0x510e18]
linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0xfffff7ff47cc]
../src/bootstrap-emacs[0x554a3c]
../src/bootstrap-emacs[0x57cabc]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57b65c]
../src/bootstrap-emacs[0x57c1e8]
../src/bootstrap-emacs[0x57a870]
../src/bootstrap-emacs[0x57ad78]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57b65c]
../src/bootstrap-emacs[0x577064]
../src/bootstrap-emacs[0x577280]
../src/bootstrap-emacs[0x577540]
../src/bootstrap-emacs[0x57ad68]
../src/bootstrap-emacs[0x57aac0]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57c78c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57b65c]
../src/bootstrap-emacs[0x57c1e8]
../src/bootstrap-emacs[0x57a870]
../src/bootstrap-emacs[0x57c998]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57c78c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57c09c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57c78c]
../src/bootstrap-emacs[0x57ae00]
...
make[3]: *** [Makefile:282: ../lisp/button.elc] Segmentation fault (core dumped)
make[2]: *** [Makefile:838: ../lisp/button.elc] Error 2
make[2]: *** Waiting for unfinished jobs....
  GEN      ../../lisp/cedet/semantic/bovine/scm-by.el
  GEN      ../../lisp/cedet/semantic/grammar-wy.el
  GEN      ../../lisp/cedet/semantic/wisent/javat-wy.el
  GEN      ../../lisp/cedet/semantic/wisent/js-wy.el
Loading /build/source/lisp/cedet/semantic/grm-wy-boot.el (source)...
  GEN      ../../lisp/cedet/semantic/wisent/python-wy.el
Loading /build/source/lisp/cedet/semantic/grm-wy-boot.el (source)...
  GEN      ../../lisp/cedet/srecode/srt-wy.el
Loading /build/source/lisp/cedet/semantic/grm-wy-boot.el (source)...
Loading /build/source/lisp/cedet/semantic/grm-wy-boot.el (source)...
make -C ../leim all EMACS="../src/bootstrap-emacs"
make[4]: Entering directory '/build/source/leim'
  GEN      ../lisp/leim/quail/CCDOSPY.el
  GEN      ../lisp/leim/quail/Punct.el
  GEN      ../lisp/leim/quail/QJ.el
Loading /build/source/lisp/cedet/semantic/grm-wy-boot.el (source)...
Loading /build/source/lisp/cedet/semantic/grm-wy-boot.el (source)...
  GEN      ../lisp/leim/quail/SW.el
Backtrace:
../src/bootstrap-emacs[0x512c5c]
../src/bootstrap-emacs[0x41ee68]
../src/bootstrap-emacs[0x41f070]
../src/bootstrap-emacs[0x510d88]
../src/bootstrap-emacs[0x510e18]
linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0xfffff7ff47cc]
../src/bootstrap-emacs[0x4c2cbc]
../src/bootstrap-emacs[0x59d284]
../src/bootstrap-emacs[0x59fd24]
/build/source/native-lisp/29.0.50-9b791a7e/titdic-cnv-765ac3be-7e3dd66e.eln(F7469742d70726f636573732d686561646572_tit_process_header_0+0x330)[0xffffee642ac8]
../src/bootstrap-emacs[0x577064]
/build/source/native-lisp/29.0.50-9b791a7e/titdic-cnv-765ac3be-7e3dd66e.eln(F7469746469632d636f6e76657274_titdic_convert_0+0x3d8)[0xffffee644588]
../src/bootstrap-emacs[0x577064]
/build/source/native-lisp/29.0.50-9b791a7e/titdic-cnv-765ac3be-7e3dd66e.eln(F62617463682d7469746469632d636f6e76657274_batch_titdic_convert_0+0x320)[0xffffee644a88]
../src/bootstrap-emacs[0x577064]
../src/bootstrap-emacs[0x57aaf8]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57ca1c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57c09c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57ca1c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57c78c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57c78c]
../src/bootstrap-emacs[0x57ae00]
../src/bootstrap-emacs[0x57b14c]
../src/bootstrap-emacs[0x57b65c]
../src/bootstrap-emacs[0x57c1e8]
...
make[4]: *** [Makefile:102: ../lisp/leim/quail/Punct.el] Segmentation fault (core dumped)
make[4]: *** Waiting for unfinished jobs....
Loading /build/source/lisp/cedet/semantic/grm-wy-boot.el (source)...
make[4]: Leaving directory '/build/source/leim'
make[3]: *** [Makefile:414: leim] Error 2
make[3]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/source/admin/grammars'
make[3]: Leaving directory '/build/source/lisp'
make[2]: *** [Makefile:886: ../lisp/loaddefs.el] Error 2
make[2]: Leaving directory '/build/source/src'
make[1]: *** [Makefile:542: src] Error 2
make[1]: Leaving directory '/build/source'
make[1]: Entering directory '/build/source'
***
*** "make all" failed with exit status 2.
***
*** You could try to:
*** - run "make bootstrap", which might fix the problem
*** - run "make V=1", which displays the full commands invoked by make,
***   to further investigate the problem
***
make[1]: *** [Makefile:413: advice-on-failure] Error 2
make[1]: Leaving directory '/build/source'
make: *** [Makefile:370: all] Error 2
jasonjckn commented 1 year ago

i'm able to reproduce this too on aarch64-linux and emacs v29 (running NixOS inside a VM on apple hardware)

this is an issue with nixpkgs, not just emacs-overlay

jasonjckn commented 1 year ago

@malte-v 28.2 compiles fine for me.

malte-v commented 1 year ago

@jasonjckn yup, 28.2 compiles, just like v29 without native comp. it's only v29 with native comp that fails. btw, the non-NativeComp attributes also have native compilation on by default; i manually disabled it through an override.

jasonjckn commented 1 year ago

@malte-v it might be worth posting on nixpkgs, because whatever the issue is, its upstream from emacs-overlay.

have you tried building from source? the issue may even be in emacs repo.

codygman commented 1 year ago

I found out something interesting and don't know why it works.

If you clone the emacs-overlay and run the recommended testing command of:

nix-build --expr 'with (import <nixpkgs> { overlays = [ (import ./.) ]; }); emacsGit'

It will compile fine on aarch64 on m1 for me at commit d54a1521619daa37c9aa8c9e3362abb34e676007.

However if I use emacs-overlay in my system configuration with nix-update.

nix update output ``` • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/decf4c588c7e1a056bc7da2f25794018590ad1bf' (2022-11-23) → 'github:nix-community/emacs-overlay/d54a1521619daa37c9aa8c9e3362abb34e676007' (2022-11-28) • Updated input 'emacs-overlay/nixpkgs': 'path:/nix/store/p6xfpp6i1a2h4ia3v81d1r414v6a603i-source?lastModified=1668765800&narHash=sha256-rC40+%2fW6Hio7b%2fRsY8SvQPKNx4WqNcTgfYv8cUMAvJk=&rev=52b2ac8ae18bbad4374ff0dd5aeee0fdf1aea739' (2022-11-18) → 'path:/nix/store/wnc5v5blnjx1aj162331pg36wmxfh32s-source?lastModified=1668505710&narHash=sha256-DulcfsGjpSXL9Ma0iQIsb3HRbARCDcA+CNH67pPyMQ0=&rev=85d6b3990def7eef45f4502a82496de02a02b6e8' (2022-11-15) ```

I get a failure that looks like:

  ELC+ELN  ../lisp/emacs-lisp/macroexp.elc

Error: wrong-type-argument ("../lisp/emacs-lisp/lisp-mode.el" listp ((call set-match-data #s(comp-mvar nil nil ((0 . 0)) nil 6189160 1) #s(comp-mvar nil (t) nil nil 6189530 2))))

Loading macroexp.elc...
Eager macro-expansion failure: (void-variable unshared)
make[3]: *** [Makefile:282: ../lisp/emacs-lisp/lisp-mode.elc] Error 255
make[2]: *** [Makefile:841: ../lisp/emacs-lisp/lisp-mode.elc] Error 2
make[2]: *** Waiting for unfinished jobs....
full build output ``` @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/ky8bymg9j8xk4fqg2z8h4xfc4drz752k-source source root is source @nix { "action": "setPhase", "phase": "patchPhase" } patching sources substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './leim/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './lib-src/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './test/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './test/infra/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './test/manual/noverlay/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './doc/lispintro/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './doc/lispref/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './doc/emacs/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './doc/misc/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './oldXMenu/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './lisp/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './nextstep/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './lwlib/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './msdos/autogen/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './lib/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './admin/grammars/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './admin/charsets/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './admin/unidata/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './nt/Makefile.in' substituteStream(): WARNING: pattern '/bin/pwd' doesn't match anything in file './src/Makefile.in' substituteStream(): WARNING: pattern '(defcustom native-comp-driver-options nil' doesn't match anything in file 'lisp/emacs-lisp/comp.el' @nix { "action": "setPhase", "phase": "autoreconfPhase" } autoreconfPhase autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /nix/store/as8shpw26b6qdscz44qnpmzpja020f51-autoconf-2.71/bin/autoconf --force autoreconf: running: /nix/store/as8shpw26b6qdscz44qnpmzpja020f51-autoconf-2.71/bin/autoheader --force autoreconf: configure.ac: not using Automake autoreconf: Leaving directory '.' @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.sub Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.guess @nix { "action": "setPhase", "phase": "configurePhase" } configuring configure flags: --prefix=/nix/store/0wk142dmqdxqfdi2bnvz6lb7983iihyz-emacs-git-20221128.0 --disable-build-details --with-modules --with-x-toolkit=lucid --with-xft --with-cairo --with-native-compilation checking for xcrun... no checking for GNU Make... make checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether the compiler is clang... no checking for compiler option needed when checking for declarations... none checking whether gcc and cc understand -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for linux/fs.h... yes checking for malloc.h... yes checking for sys/systeminfo.h... no checking for sys/sysinfo.h... yes checking for coff.h... no checking for pty.h... yes checking for sys/resource.h... yes checking for sys/utsname.h... yes checking for pwd.h... yes checking for utmp.h... yes checking for util.h... no checking for sanitizer/lsan_interface.h... yes checking for sys/socket.h... yes checking for sys/param.h... yes checking for pthread.h... yes checking for malloc/malloc.h... no checking for sys/un.h... yes checking for vfork.h... no checking for dirent.h... yes checking for execinfo.h... yes checking for stdio_ext.h... yes checking for sys/vfs.h... yes checking for sys/fs_types.h... no checking for getopt.h... yes checking for sys/cdefs.h... yes checking for sys/time.h... yes checking for ieee754.h... yes checking for limits.h... yes checking for sys/select.h... yes checking for stdalign.h... yes checking for stdbool.h... yes checking for stdckdint.h... no checking for sys/random.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /nix/store/skrvb4xpb48kmw4iacrvsxkgyphzl3rx-gnugrep-3.7/bin/grep checking for egrep... /nix/store/skrvb4xpb48kmw4iacrvsxkgyphzl3rx-gnugrep-3.7/bin/grep -E checking for Minix Amsterdam compiler... no checking for ar... ar checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether gcc accepts -g3 -O2... yes checking whether the compiler is clang... no checking whether C compiler handles -Werror -Wunknown-warning-option... no checking for a BSD-compatible install... /nix/store/9j39c8lhbi9k7h70wir5n716za1qg0wa-coreutils-9.1/bin/install -c checking command to symlink files in the same directory... ln -s checking for install-info... /nix/store/ykk402hjw2zzb7kdradkzxyaww59w3gd-texinfo-6.8/bin/install-info checking for gzip... /nix/store/lkszw5jmpby3spbapfyhpcsmv3s4qzr3-gzip-1.12/bin/gzip checking for 'find' args to delete a file... -delete checking for brew... no checking for -znocombreloc... not needed checking whether addresses are sanitized... no checking for math library... -lm checking pkg-config is at least version 0.9.0... yes checking for machine/soundcard.h... no checking for sys/soundcard.h... yes checking for soundcard.h... no checking for mmsystem.h... no checking for _oss_ioctl in -lossaudio... no checking for alsa >= 1.0.0... no checking for ADDR_NO_RANDOMIZE... yes checking if Linux sysinfo may be used... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for net/if.h... yes checking for ifaddrs.h... yes checking for net/if_dl.h... no checking for struct ifreq.ifr_flags... yes checking for struct ifreq.ifr_hwaddr... yes checking for struct ifreq.ifr_netmask... yes checking for struct ifreq.ifr_broadaddr... yes checking for struct ifreq.ifr_addr... yes checking for struct ifreq.ifr_addr.sa_len... no checking whether gcc understands -MMD -MF... yes checking for X... libraries , headers checking whether malloc is Doug Lea style... no checking for sbrk... yes checking for getpagesize... yes checking for __lsan_ignore_object... no checking for fork... yes checking for vfork... yes checking for fchmod... yes checking for canonicalize_file_name... yes checking for faccessat... yes checking for realpath... yes checking for lstat... yes checking for readlinkat... yes checking for explicit_bzero... yes checking for memset_s... no checking for fchmodat... yes checking for lchmod... yes checking for fcntl... yes checking for fdopendir... yes checking for fstatat... yes checking for fsync... yes checking for futimens... yes checking for getrandom... yes checking for gettimeofday... yes checking for mkostemp... yes checking for pipe2... yes checking for pselect... yes checking for pthread_sigmask... yes checking for readlink... yes checking for isblank... yes checking for iswctype... yes checking for strtoimax... yes checking for symlink... yes checking for localtime_r... yes checking for timegm... yes checking for utimensat... yes checking for getdtablesize... yes checking for futimes... yes checking for futimesat... yes checking for lutimes... yes checking for working mmap... yes checking for main in -lXbsd... no checking for pthread library... none needed checking for thread support... yes checking whether X on GNU/Linux needs -b to link... no checking for Xkb... yes checking for XkbRefreshKeyboardMapping... yes checking for XkbFreeNames... yes checking for XrmSetDatabase... yes checking for XScreenResourceString... yes checking for XScreenNumberOfScreen... yes checking for XDisplayCells... yes checking for XDestroySubwindows... yes checking X11 version 6... 6 or newer checking for XICCallback.callback... yes checking for librsvg-2.0 >= 2.14.0... yes checking for libwebpdemux >= 0.6.0... yes checking for sqlite3_open_v2 in -lsqlite3... yes checking for sqlite3_load_extension in -lsqlite3... yes checking for getaddrinfo_a in -lanl... yes checking for malloc_trim... yes checking for dbus-1 >= 1.0... yes checking for dbus_watch_get_unix_fd... yes checking for dbus_type_is_valid... yes checking for dbus_validate_bus_name... yes checking for dbus_validate_path... yes checking for dbus_validate_interface... yes checking for dbus_validate_member... yes checking for gio-2.0 >= 2.26... yes checking whether GSettings is in gio... yes checking for gobject-2.0 >= 2.0... yes checking for lgetfilecon in -lselinux... yes checking for gnutls >= 2.12.2... yes checking for libsystemd >= 222... yes checking for jansson >= 2.7... yes checking for tree-sitter >= 0.20.2... no checking for tree-sitter >= 0.6.3... no checking for sys/inotify.h... yes checking for inotify_init1... yes checking for XawScrollbarSetThumb in -lXaw3d... yes checking for xaw3d... yes; using Lucid toolkit checking X11 toolkit version... 6 or newer checking for library containing XmuConvertStandardSelection... -lXmu checking for XRenderQueryExtension in -lXrender... yes checking for cairo >= 1.8.0... yes checking for cairo-xcb >= 1.8.0... yes checking for freetype2... yes checking for fontconfig >= 2.2.0... yes checking for FT_Face_GetCharVariantIndex... yes checking for libotf... yes checking for OTF_get_variation_glyphs in -lotf... yes checking for m17n-flt... yes checking for harfbuzz >= 0.9.42... yes checking for X11/Xlib-xcb.h... yes checking for xcb_translate_coordinates in -lxcb... yes checking for XGetXCBConnection in -lX11-xcb... yes checking for xcb_aux_sync in -lxcb-util... yes checking for X11/xpm.h... yes checking for XpmReadFileToPixmap in -lXpm... yes checking for XpmReturnAllocPixels preprocessor define... yes checking for jpeglib 6b or later... -ljpeg checking for lcms2... no checking for library containing inflateEnd... -lz checking for dladdr... yes checking for dlfunc... no checking for gcc_jit_context_acquire in -lgccjit... yes checking for libgccjit.h... yes checking for libpng >= 1.0.0... yes checking whether png_longjmp is declared... yes checking for tiffio.h... yes checking for TIFFGetVersion in -ltiff... yes checking for gif_lib.h... yes checking for GifMakeMapObject in -lgif... yes checking for gpm.h... no checking for X11/SM/SMlib.h... yes checking for SmcOpenConnection in -lSM... yes checking for xrandr >= 1.2.2... no checking for X11/extensions/Xrandr.h... no checking for xinerama >= 1.0.2... no checking for X11/extensions/Xinerama.h... no checking for xfixes >= 4.0.0... no checking for X11/extensions/Xfixes.h... no checking for xi... no checking for X11/extensions/sync.h... yes checking for XSyncQueryExtension in -lXext... yes checking for XSyncTriggerFence... yes checking for X11/extensions/Xdbe.h... yes checking for XdbeAllocateBackBufferName in -lXext... yes checking for X11/extensions/shape.h... yes checking for XShapeQueryVersion in -lXext... yes checking for xcb/shape.h... yes checking for xcb_shape_combine in -lxcb-shape... yes checking for X11/extensions/Xcomposite.h... no checking for libxml-2.0 > 2.6.17... yes checking for htmlReadMemory in -lxml2... yes checking for maillock in -lmail... no checking for maillock in -llockfile... no checking for liblockfile.so... no checking for maillock.h... no checking for linux/seccomp.h... yes checking whether SECCOMP_SET_MODE_FILTER is declared... yes checking whether SECCOMP_FILTER_FLAG_TSYNC is declared... yes checking for linux/filter.h... yes checking whether SECCOMP_SET_MODE_FILTER is declared... (cached) yes checking whether SECCOMP_FILTER_FLAG_TSYNC is declared... (cached) yes checking for libseccomp >= 2.5.2... no checking size of long... 8 checking for accept4... yes checking for fchdir... yes checking for gethostname... yes checking for getrusage... yes checking for get_current_dir_name... yes checking for lrand48... yes checking for random... yes checking for rint... yes checking for trunc... yes checking for select... yes checking for getpagesize... (cached) yes checking for setlocale... yes checking for newlocale... yes checking for getrlimit... yes checking for setrlimit... yes checking for shutdown... yes checking for pthread_sigmask... (cached) yes checking for strsignal... yes checking for setitimer... yes checking for sendto... yes checking for recvfrom... yes checking for getsockname... yes checking for getifaddrs... yes checking for freeifaddrs... yes checking for gai_strerror... yes checking for sync... yes checking for getpwent... yes checking for endpwent... yes checking for getgrent... yes checking for endgrent... yes checking for cfmakeraw... yes checking for cfsetspeed... yes checking for __executable_start... yes checking for log2... yes checking for pthread_setname_np... yes checking for pthread_set_name_np... no checking whether pthread_setname_np takes a single argument... no checking whether pthread_setname_np takes three arguments... no checking for aligned_alloc... yes checking whether aligned_alloc is declared... yes checking for posix_madvise... yes checking for __builtin_frame_address... yes checking for __builtin_unwind_init... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for grantpt... yes checking for getpt... yes checking for posix_openpt... yes checking for library containing tputs... -ltinfo checking whether -ltinfo library defines BC... yes checking for timerfd interface... yes checking whether signals can be handled on alternate stack... yes checking for valgrind/valgrind.h... no checking for struct unipair.unicode... yes checking for pid_t... yes checking for working fork... yes checking for working vfork... (cached) yes checking for snprintf... yes checking for spawn.h... yes checking for posix_spawn... yes checking for posix_spawn_file_actions_addchdir... no checking for posix_spawn_file_actions_addchdir_np... yes checking for posix_spawnattr_setflags... yes checking whether POSIX_SPAWN_SETSID is declared... yes checking whether GLib is linked in... yes checking for nl_langinfo and CODESET... yes checking for nl_langinfo and _NL_PAPER_WIDTH... yes checking for mbstate_t... yes checking for signals via characters... yes checking for _setjmp... yes checking for sigsetjmp... yes checking POSIX termios... yes checking size of speed_t... 4 checking for usable FIONREAD... yes checking for usable SIGIO... yes checking for struct alignment... yes checking for typeof syntax and keyword spelling... typeof checking for statement expressions... yes checking whether malloc (0) returns nonnull... yes checking for working alloca.h... yes checking for alloca... yes checking for a race-free mkdir -p... /nix/store/9j39c8lhbi9k7h70wir5n716za1qg0wa-coreutils-9.1/bin/mkdir -p checking whether the preprocessor supports include_next... yes checking whether source code line length is unlimited... yes checking whether lstat correctly handles trailing slash... yes checking whether // is distinct from /... no checking whether realpath works... yes checking for getcwd... yes checking for C/C++ restrict keyword... __restrict__ checking whether byte ordering is bigendian... no checking if environ is properly declared... yes checking for complete errno.h... yes checking whether ctype.h defines __header_inline... no checking for mode_t... yes checking whether strmode is declared... no checking for gawk... gawk checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... yes checking for working GNU getopt function... yes checking for working GNU getopt_long function... yes checking for timespec_get... yes checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... yes checking whether limits.h has WORD_BIT, BOOL_WIDTH etc.... yes checking whether the compiler produces multi-arch binaries... no checking whether stdint.h conforms to C99... yes checking whether stdint.h works without ISO C predefines... yes checking whether stdint.h has UINTMAX_WIDTH etc.... yes checking whether memmem is declared... yes checking whether memrchr is declared... yes checking whether defines MIN and MAX... no checking whether defines MIN and MAX... yes checking whether time_t is signed... yes checking whether alarm is declared... yes checking for working mktime... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct tm.tm_gmtoff... yes checking whether is self-contained... yes checking for inline... inline checking for sigset_t... yes checking for volatile sig_atomic_t... yes checking for sighandler_t... yes checking for wchar_t... yes checking for good max_align_t... yes checking whether NULL can be used in arbitrary expressions... yes checking whether fcloseall is declared... yes checking which flavor of printf attribute matches inttypes macros... system checking whether ecvt is declared... yes checking whether fcvt is declared... yes checking whether gcvt is declared... yes checking whether strnlen is declared... yes checking whether strtoimax is declared... yes checking whether stat file-mode macros are broken... no checking for nlink_t... yes checking for struct timespec in ... yes checking for TIME_UTC in ... yes checking whether execvpe is declared... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking whether fputc_unlocked is declared... yes checking whether fputs_unlocked is declared... yes checking whether fread_unlocked is declared... yes checking whether fwrite_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking type of array argument to getgroups... gid_t checking whether getdtablesize is declared... yes checking whether malloc is ptrdiff_t safe... yes checking whether malloc, realloc, calloc set errno on failure... yes checking for O_CLOEXEC... yes checking for promoted mode_t type... mode_t checking whether the utimes function works... yes checking for C compiler option to allow warnings... -Wno-error checking for sys/acl.h... no configure: WARNING: libacl development library was not found or not usable. configure: WARNING: GNU Emacs will be built without ACL support. checking for alloca as a compiler built-in... yes checking for static_assert... yes, an macro checking for __builtin_expect... yes checking for byteswap.h... yes checking for library containing clock_gettime... none required checking for clock_getres... yes checking for clock_gettime... yes checking for clock_settime... yes checking for copy_file_range... yes checking whether copy_file_range is known to work... yes checking for d_type member in directory struct... yes checking whether // is distinct from /... (cached) no checking whether dup2 works... yes checking for library containing backtrace_symbols_fd... none required checking whether fchmodat works... yes checking whether fcntl handles F_DUPFD correctly... yes checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check checking whether fdopendir is declared... yes checking whether fdopendir works... yes checking for getxattr with XATTR_NAME_POSIX_ACL macros... yes checking for flexible array member... yes checking for __fpending... yes checking whether __fpending is declared... yes checking whether free is known to preserve errno... yes checking whether fstatat (..., 0) works... yes checking for sys/mount.h... yes checking for statvfs function (SVR4)... yes checking whether to use statvfs64... no checking for two-argument statfs with statfs.f_frsize member... yes checking for sys/fs/s5param.h... no checking for sys/statfs.h... yes checking for statfs that truncates block counts... no checking whether futimens works... yes checking for getloadavg... yes checking for sys/loadavg.h... no checking whether getloadavg is declared... yes checking whether getrandom is compatible with its GNU+BSD signature... yes checking for gettimeofday with POSIX signature... yes checking whether the compiler supports the __inline keyword... yes checking for gmp.h... yes checking for library containing __gmpz_roinit_n... -lgmp checking for memmem... yes checking whether memmem works... yes checking for mempcpy... yes checking for memrchr... yes checking for library containing nanosleep... none required checking for working nanosleep... no (mishandles large arguments) checking for sys/pstat.h... no checking for sys/sysmp.h... no checking for sys/param.h... (cached) yes checking for sys/sysctl.h... no checking for sched_getaffinity... yes checking for sched_getaffinity_np... no checking for pstat_getdynamic... no checking for sysmp... no checking for sysctl... no checking for glibc compatible sched_getaffinity... yes checking whether signature of pselect conforms to POSIX... yes checking whether pselect detects invalid fds... yes checking whether pthread_sigmask is a macro... no checking whether pthread_sigmask works without -lpthread... yes checking whether pthread_sigmask returns error numbers... yes checking whether pthread_sigmask unblocks signals correctly... guessing yes checking whether readlink signature is correct... yes checking whether readlink handles trailing slash correctly... yes checking whether readlink truncates results correctly... yes checking whether readlinkat signature is correct... yes checking for working re_compile_pattern... yes checking for sig2str... no checking for sigdescr_np... yes checking for socklen_t... yes checking for ssize_t... yes checking for struct stat.st_atim.tv_nsec... yes checking whether struct stat.st_atim is of type struct timespec... yes checking for struct stat.st_birthtimespec.tv_nsec... no checking for struct stat.st_birthtimensec... no checking for struct stat.st_birthtim.tv_nsec... no checking for alignas and alignof... yes, macros checking for bool, true, false... no checking for stpcpy... yes checking for working strnlen... yes checking whether strtoimax works... yes checking whether symlink handles trailing slash correctly... yes checking whether localtime_r is declared... yes checking whether localtime_r is compatible with its POSIX signature... yes checking whether localtime works even near extrema... yes checking for timezone_t... no checking whether timer_settime is declared... yes checking for library containing timer_settime... none required checking for timer_settime... yes checking whether utimensat works... yes checking for variable-length arrays... yes checking whether getdtablesize works... yes checking for timer_getoverrun... yes checking for gcc option to disable position independent executables... not needed Configured for 'aarch64-unknown-linux-gnu'. Where should the build process find the source code? . What compiler should emacs be built with? gcc -g3 -O2 Should Emacs use the GNU version of malloc? no (The GNU allocators don't work with this system configuration.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? LUCID Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? yes Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use a png library? yes -L/nix/store/x26adrlyxxqrlmqbrm6ja5iyj6rbzhv0-zlib-1.2.13/lib -L/nix/store/n0i2c0swmp4acrykq2ghh8clbxvpy1b2-libpng-apng-1.6.37/lib -lpng16 -lz Does Emacs use -lrsvg-2? yes Does Emacs use -lwebp? yes Does Emacs use -lsqlite3? yes Does Emacs use cairo? yes Does Emacs use -llcms2? no Does Emacs use imagemagick? no Does Emacs use native APIs for images? no Does Emacs support sound? yes Does Emacs use -lgpm? no Does Emacs use -ldbus? yes Does Emacs use -lgconf? no Does Emacs use GSettings? yes Does Emacs use a file notification library? yes -lglibc (inotify) Does Emacs use access control lists? no Does Emacs use -lselinux? yes Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? yes Does Emacs use HarfBuzz? yes Does Emacs use -lm17n-flt? yes Does Emacs use -lotf? yes Does Emacs use -lxft? no Does Emacs use -lsystemd? yes Does Emacs use -ljansson? yes Does Emacs use -ltree-sitter? no Does Emacs use the GMP library? yes Does Emacs directly use zlib? yes Does Emacs have dynamic modules support? yes Does Emacs use toolkit scroll bars? yes Does Emacs support Xwidgets? no Does Emacs have threading support in lisp? yes Does Emacs support the portable dumper? yes Does Emacs support legacy unexec dumping? no Which dumping strategy does Emacs use? pdumper Does Emacs have native lisp compiler? yes Does Emacs use version 2 of the X Input Extension? no Does Emacs generate a smaller-size Japanese dictionary? no configure: creating ./config.status config.status: creating src/verbose.mk config.status: creating src/emacs-module.h config.status: creating Makefile config.status: creating lib/gnulib.mk config.status: creating ./doc/man/emacs.1 config.status: creating lib/Makefile config.status: creating lib-src/Makefile config.status: creating oldXMenu/Makefile config.status: creating doc/emacs/Makefile config.status: creating doc/misc/Makefile config.status: creating doc/lispintro/Makefile config.status: creating doc/lispref/Makefile config.status: creating src/Makefile config.status: creating lwlib/Makefile config.status: creating lisp/Makefile config.status: creating leim/Makefile config.status: creating nextstep/Makefile config.status: creating nt/Makefile config.status: creating test/Makefile config.status: creating test/manual/noverlay/Makefile config.status: creating test/infra/Makefile config.status: creating admin/charsets/Makefile config.status: creating admin/unidata/Makefile config.status: creating admin/grammars/Makefile config.status: creating src/config.h config.status: executing src/epaths.h commands config.status: executing src/.gdbinit commands config.status: executing doc/emacs/emacsver.texi commands config.status: executing etc-refcards-emacsver.tex commands configure: WARNING: This configuration installs a 'movemail' program that does not retrieve POP3 email. By default, Emacs 25 and earlier installed a 'movemail' program that retrieved POP3 email via only insecure channels, a practice that is no longer recommended but that you can continue to support by using './configure --with-pop'. configure: You might want to install GNU Mailutils and use './configure --with-mailutils'. configurePhase completed in 39 seconds @nix { "action": "setPhase", "phase": "buildPhase" } building build flags: -j6 SHELL=/nix/store/99bgmihz5ybclg11h00nm9lgqmsfhp4p-bash-5.1-p16/bin/bash make actual-all || make advice-on-failure make-target=all exit-status=$? make[1]: Entering directory '/build/source' make -C lib all make -C doc/lispref info make -C doc/lispintro info make -C doc/emacs info GEN info/dir make[2]: Entering directory '/build/source/doc/lispintro' /nix/store/9j39c8lhbi9k7h70wir5n716za1qg0wa-coreutils-9.1/bin/mkdir -p ../../info make[2]: Entering directory '/build/source/doc/lispref' /nix/store/9j39c8lhbi9k7h70wir5n716za1qg0wa-coreutils-9.1/bin/mkdir -p ../../info make[2]: Entering directory '/build/source/doc/emacs' /nix/store/9j39c8lhbi9k7h70wir5n716za1qg0wa-coreutils-9.1/bin/mkdir -p ../../info GEN ../../info/eintr.info GEN ../../info/elisp.info GEN ../../info/emacs.info make[2]: Entering directory '/build/source/lib' GEN alloca.h GEN dirent.h GEN fcntl.h GEN inttypes.h GEN limits.h GEN signal.h GEN stdckdint.h GEN stdio.h GEN stdlib.h GEN string.h GEN sys/random.h GEN sys/select.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN time.h GEN unistd.h CC fingerprint.o CC acl-errno-valid.o CC acl-internal.o CC get-permissions.o CC set-permissions.o CC allocator.o CC binary-io.o CC c-ctype.o CC c-strcasecmp.o CC c-strncasecmp.o CC careadlinkat.o CC close-stream.o CC count-leading-zeros.o CC count-one-bits.o CC count-trailing-zeros.o CC md5-stream.o CC md5.o CC sha1.o CC sha256.o make[2]: Leaving directory '/build/source/doc/lispintro' CC sha512.o CC dtoastr.o CC dtotimespec.o CC fcntl.o CC file-has-acl.o CC filemode.o CC filevercmp.o CC fsusage.o CC gettime.o CC nanosleep.o CC nproc.o CC nstrftime.o CC pipe2.o CC qcopy-acl.o CC sig2str.o CC stat-time.o CC tempname.o CC time_rz.o CC timespec.o CC timespec-add.o CC timespec-sub.o CC u64.o CC unistd.o CC openat-die.o CC save-cwd.o AR libgnu.a make[2]: Leaving directory '/build/source/lib' make -C lib-src all make[2]: Entering directory '/build/source/lib-src' CCLD etags CCLD ctags CCLD emacsclient CCLD ebrowse CCLD hexl CC pop.o make[2]: Leaving directory '/build/source/doc/emacs' CCLD make-docfile CCLD make-fingerprint CCLD movemail make[2]: Leaving directory '/build/source/lib-src' make -C src BIN_DESTDIR=''/nix/store/0wk142dmqdxqfdi2bnvz6lb7983iihyz-emacs-git-20221128.0/bin/'' \ ELN_DESTDIR='/nix/store/0wk142dmqdxqfdi2bnvz6lb7983iihyz-emacs-git-20221128.0/lib/emacs/29.0.50/' all make[2]: Entering directory '/build/source/src' GEN lisp.mk GEN globals.h GEN buildobj.h make -C ../admin/charsets all make -C ../admin/unidata charscript.el make -C ../admin/unidata emoji-zwj.el make[3]: Entering directory '/build/source/admin/unidata' make[3]: Entering directory '/build/source/admin/charsets' GEN ../../etc/charsets/8859-2.map GEN ../../etc/charsets/8859-3.map GEN ../../lisp/international/charscript.el make[3]: Entering directory '/build/source/admin/unidata' GEN ../../etc/charsets/8859-4.map make[3]: Leaving directory '/build/source/admin/unidata' make -C ../admin/charsets cp51932.el GEN ../../lisp/international/emoji-zwj.el make[3]: Entering directory '/build/source/admin/charsets' GEN ../../etc/charsets/CP932-2BYTE.map make[3]: Leaving directory '/build/source/admin/unidata' make -C ../admin/charsets eucjp-ms.el make[3]: Entering directory '/build/source/admin/charsets' GEN ../../lisp/international/eucjp-ms.el GEN ../../etc/charsets/8859-5.map make -C ../lwlib/ liblw.a CC dispnew.o make[3]: Entering directory '/build/source/lwlib' CC lwlib.o CC lwlib-Xlw.o GEN ../../lisp/international/cp51932.el make[3]: Leaving directory '/build/source/admin/charsets' make[3]: Leaving directory '/build/source/admin/charsets' CC frame.o CC scroll.o GEN ../../etc/charsets/8859-6.map GEN ../../etc/charsets/8859-7.map GEN ../../etc/charsets/8859-8.map GEN ../../etc/charsets/8859-9.map CC xdisp.o GEN ../../etc/charsets/8859-10.map GEN ../../etc/charsets/8859-11.map GEN ../../etc/charsets/8859-13.map GEN ../../etc/charsets/8859-14.map GEN ../../etc/charsets/8859-15.map make[2]: Leaving directory '/build/source/doc/lispref' CC xlwmenu.o GEN ../../etc/charsets/8859-16.map GEN ../../etc/charsets/IBM037.map GEN ../../etc/charsets/IBM038.map GEN ../../etc/charsets/IBM256.map GEN ../../etc/charsets/IBM273.map GEN ../../etc/charsets/IBM274.map GEN ../../etc/charsets/IBM275.map GEN ../../etc/charsets/IBM277.map GEN ../../etc/charsets/IBM278.map GEN ../../etc/charsets/IBM280.map CC lwlib-Xaw.o GEN ../../etc/charsets/IBM281.map GEN ../../etc/charsets/IBM284.map CC lwlib-utils.o GEN ../../etc/charsets/IBM285.map GEN ../../etc/charsets/IBM290.map CC menu.o GEN ../../etc/charsets/IBM297.map GEN ../../etc/charsets/IBM420.map GEN ../../etc/charsets/IBM423.map GEN ../../etc/charsets/IBM424.map GEN ../../etc/charsets/IBM437.map GEN ../../etc/charsets/IBM500.map GEN ../../etc/charsets/IBM850.map GEN ../../etc/charsets/IBM851.map GEN ../../etc/charsets/IBM852.map GEN ../../etc/charsets/IBM855.map GEN ../../etc/charsets/IBM856.map GEN ../../etc/charsets/IBM857.map GEN ../../etc/charsets/IBM860.map GEN ../../etc/charsets/IBM861.map GEN ../../etc/charsets/IBM862.map GEN ../../etc/charsets/IBM863.map GEN ../../etc/charsets/IBM864.map GEN ../../etc/charsets/IBM865.map GEN ../../etc/charsets/IBM866.map GEN ../../etc/charsets/IBM868.map GEN ../../etc/charsets/IBM869.map GEN ../../etc/charsets/IBM870.map GEN ../../etc/charsets/IBM871.map GEN ../../etc/charsets/IBM874.map GEN ../../etc/charsets/IBM875.map GEN ../../etc/charsets/IBM880.map GEN ../../etc/charsets/IBM891.map GEN ../../etc/charsets/IBM903.map GEN ../../etc/charsets/IBM904.map GEN ../../etc/charsets/IBM905.map GEN ../../etc/charsets/IBM918.map GEN ../../etc/charsets/IBM1004.map CC xmenu.o GEN ../../etc/charsets/IBM1026.map GEN ../../etc/charsets/IBM1047.map GEN ../../etc/charsets/CP737.map GEN ../../etc/charsets/CP775.map GEN liblw.a GEN ../../etc/charsets/CP1125.map GEN ../../etc/charsets/CP1250.map make[3]: Leaving directory '/build/source/lwlib' CC window.o GEN ../../etc/charsets/CP1251.map GEN ../../etc/charsets/CP1252.map GEN ../../etc/charsets/CP1253.map GEN ../../etc/charsets/CP1254.map GEN ../../etc/charsets/CP1255.map GEN ../../etc/charsets/CP1256.map GEN ../../etc/charsets/CP1257.map GEN ../../etc/charsets/CP1258.map GEN ../../etc/charsets/CP10007.map GEN ../../etc/charsets/CP720.map GEN ../../etc/charsets/CP858.map GEN ../../etc/charsets/GB2312.map GEN ../../etc/charsets/GBK.map GEN ../../etc/charsets/GB180302.map GEN ../../etc/charsets/BIG5.map CC charset.o CC coding.o GEN ../../etc/charsets/BIG5-HKSCS.map CC category.o GEN ../../etc/charsets/CNS-1.map GEN ../../etc/charsets/CNS-2.map GEN ../../etc/charsets/CNS-3.map GEN ../../etc/charsets/CNS-4.map GEN ../../etc/charsets/CNS-5.map GEN ../../etc/charsets/CNS-6.map CC ccl.o GEN ../../etc/charsets/CNS-7.map GEN ../../etc/charsets/CNS-F.map GEN ../../etc/charsets/JISX0201.map CC character.o GEN ../../etc/charsets/JISX0208.map GEN ../../etc/charsets/JISX0212.map GEN ../../etc/charsets/JISX2132.map GEN ../../etc/charsets/JISC6226.map GEN ../../etc/charsets/JISX213A.map GEN ../../etc/charsets/KSC5601.map GEN ../../etc/charsets/KSC5636.map GEN ../../etc/charsets/JOHAB.map GEN ../../etc/charsets/KOI-8.map GEN ../../etc/charsets/KOI8-R.map GEN ../../etc/charsets/KOI8-U.map GEN ../../etc/charsets/KOI8-T.map GEN ../../etc/charsets/ALTERNATIVNYJ.map CC chartab.o GEN ../../etc/charsets/MIK.map GEN ../../etc/charsets/PTCP154.map GEN ../../etc/charsets/TIS-620.map GEN ../../etc/charsets/VISCII.map GEN ../../etc/charsets/VSCII.map GEN ../../etc/charsets/VSCII-2.map GEN ../../etc/charsets/KA-PS.map GEN ../../etc/charsets/KA-ACADEMY.map GEN ../../etc/charsets/HP-ROMAN8.map GEN ../../etc/charsets/NEXTSTEP.map GEN ../../etc/charsets/MACINTOSH.map GEN ../../etc/charsets/EBCDICUK.map GEN ../../etc/charsets/EBCDICUS.map GEN ../../etc/charsets/stdenc.map GEN ../../etc/charsets/symbol.map GEN ../../etc/charsets/CP949-2BYTE.map GEN ../../etc/charsets/BIG5-1.map GEN ../../etc/charsets/BIG5-2.map GEN ../../etc/charsets/MULE-ethiopic.map CC bidi.o GEN ../../etc/charsets/MULE-ipa.map GEN ../../etc/charsets/MULE-is13194.map GEN ../../etc/charsets/MULE-sisheng.map GEN ../../etc/charsets/MULE-tibetan.map GEN ../../etc/charsets/MULE-lviscii.map GEN ../../etc/charsets/MULE-uviscii.map GEN ../../etc/charsets/GB180304.map GEN ../../etc/charsets/JISX2131.map GEN charsets.stamp make[3]: Leaving directory '/build/source/admin/charsets' CC cm.o CC term.o CC terminal.o CC xfaces.o CC xterm.o CC xfns.o CC xselect.o CC xrdb.o CC xsmfns.o CC xsettings.o CC dbusbind.o CC emacs.o CC keyboard.o CC macros.o CC keymap.o CC sysdep.o CC bignum.o CC buffer.o CC filelock.o CC insdel.o CC marker.o CC minibuf.o CC fileio.o CC dired.o CC cmds.o CC casetab.o CC casefiddle.o CC indent.o CC search.o CC regex-emacs.o CC undo.o CC alloc.o CC pdumper.o CC data.o CC doc.o CC editfns.o pdumper.c: In function 'dump_do_dump_relocation': pdumper.c:5322:1: note: parameter passing for argument of type 'const struct dump_reloc' changed in GCC 9.1 5322 | dump_do_dump_relocation (const uintptr_t dump_base, | ^~~~~~~~~~~~~~~~~~~~~~~ CC callint.o CC eval.o CC floatfns.o CC fns.o CC sort.o CC font.o CC print.o CC lread.o CC emacs-module.o CC syntax.o CC bytecode.o CC comp.o CC dynlib.o CC process.o CC gnutls.o CC callproc.o CC region-cache.o CC sound.o CC timefns.o CC atimer.o CC doprnt.o CC intervals.o CC textprop.o CC composite.o CC xml.o CC lcms.o CC inotify.o CC profiler.o CC decompress.o CC thread.o CC systhread.o CC sqlite.o CC treesit.o CC itree.o CC xfont.o CC ftfont.o CC ftcrfont.o CC hbfont.o CC fontset.o CC fringe.o CC image.o CC xgselect.o CC json.o CC terminfo.o CC lastfile.o CC widget.o CCLD temacs GEN ../etc/DOC /nix/store/9j39c8lhbi9k7h70wir5n716za1qg0wa-coreutils-9.1/bin/mkdir -p ../etc make -C ../lisp update-subdirs make[3]: Entering directory '/build/source/lisp' make[3]: Leaving directory '/build/source/lisp' cp -f temacs bootstrap-emacs rm -f bootstrap-emacs.pdmp env -i ./temacs --batch --no-build-details -l loadup --temacs=pbootstrap \ --bin-dest /nix/store/0wk142dmqdxqfdi2bnvz6lb7983iihyz-emacs-git-20221128.0/bin/ --eln-dest /nix/store/0wk142dmqdxqfdi2bnvz6lb7983iihyz-emacs-git-20221128.0/lib/emacs/29.0.50/ Loading loadup.el (source)... Dump mode: pbootstrap Using load-path (/build/source/lisp /build/source/lisp/emacs-lisp /build/source/lisp/progmodes /build/source/lisp/language /build/source/lisp/international /build/source/lisp/textmodes /build/source/lisp/vc) Loading emacs-lisp/debug-early (source)... Loading emacs-lisp/byte-run (source)... Loading emacs-lisp/backquote (source)... Loading subr (source)... Loading keymap (source)... Loading version (source)... Loading widget (source)... Loading custom (source)... Loading emacs-lisp/map-ynp (source)... Loading international/mule (source)... Loading international/mule-conf (source)... Loading env (source)... Loading format (source)... Loading bindings (source)... Loading window (source)... Loading /build/source/lisp/files.el (source)... Loading /build/source/lisp/emacs-lisp/macroexp.el (source)... Loading /build/source/lisp/emacs-lisp/pcase.el (source)... Loading /build/source/lisp/emacs-lisp/macroexp.el (source)... Loading /build/source/lisp/cus-face.el (source)... Loading /build/source/lisp/faces.el (source)... Loading /build/source/lisp/ldefs-boot.el (source)... Loading /build/source/lisp/button.el (source)... Loading /build/source/lisp/emacs-lisp/cl-preloaded.el (source)... Loading /build/source/lisp/emacs-lisp/oclosure.el (source)... Loading /build/source/lisp/obarray.el (source)... Loading /build/source/lisp/abbrev.el (source)... Loading /build/source/lisp/help.el (source)... Loading /build/source/lisp/jka-cmpr-hook.el (source)... Loading /build/source/lisp/epa-hook.el (source)... Loading /build/source/lisp/international/mule-cmds.el (source)... Loading /build/source/lisp/case-table.el (source)... Loading /build/source/lisp/international/characters.el (source)... Loading /build/source/lisp/international/charscript.el (source)... Loading /build/source/lisp/international/emoji-zwj.el (source)... Loading /build/source/lisp/composite.el (source)... Loading /build/source/lisp/language/chinese.el (source)... Loading /build/source/lisp/language/cyrillic.el (source)... Loading /build/source/lisp/language/indian.el (source)... Loading /build/source/lisp/language/sinhala.el (source)... Loading /build/source/lisp/language/english.el (source)... Loading /build/source/lisp/language/ethiopic.el (source)... Loading /build/source/lisp/language/european.el (source)... Loading /build/source/lisp/language/czech.el (source)... Loading /build/source/lisp/language/slovak.el (source)... Loading /build/source/lisp/language/romanian.el (source)... Loading /build/source/lisp/language/greek.el (source)... Loading /build/source/lisp/language/hebrew.el (source)... Loading /build/source/lisp/international/cp51932.el (source)... Loading /build/source/lisp/international/eucjp-ms.el (source)... Loading /build/source/lisp/language/japanese.el (source)... Loading /build/source/lisp/language/korean.el (source)... Loading /build/source/lisp/language/lao.el (source)... Loading /build/source/lisp/language/tai-viet.el (source)... Loading /build/source/lisp/language/thai.el (source)... Loading /build/source/lisp/language/tibetan.el (source)... Loading /build/source/lisp/language/vietnamese.el (source)... Loading /build/source/lisp/language/misc-lang.el (source)... Loading /build/source/lisp/language/utf-8-lang.el (source)... Loading /build/source/lisp/language/georgian.el (source)... Loading /build/source/lisp/language/khmer.el (source)... Loading /build/source/lisp/language/burmese.el (source)... Loading /build/source/lisp/language/cham.el (source)... Loading /build/source/lisp/language/philippine.el (source)... Loading /build/source/lisp/language/indonesian.el (source)... Loading /build/source/lisp/indent.el (source)... Loading /build/source/lisp/emacs-lisp/cl-generic.el (source)... Loading /build/source/lisp/simple.el (source)... Loading /build/source/lisp/emacs-lisp/seq.el (source)... Loading /build/source/lisp/emacs-lisp/nadvice.el (source)... Loading /build/source/lisp/minibuffer.el (source)... Loading /build/source/lisp/frame.el (source)... Loading /build/source/lisp/startup.el (source)... Loading /build/source/lisp/term/tty-colors.el (source)... Loading /build/source/lisp/font-core.el (source)... Loading /build/source/lisp/emacs-lisp/syntax.el (source)... Loading /build/source/lisp/font-lock.el (source)... Loading /build/source/lisp/jit-lock.el (source)... Loading /build/source/lisp/mouse.el (source)... Loading /build/source/lisp/scroll-bar.el (source)... Loading /build/source/lisp/select.el (source)... Loading /build/source/lisp/emacs-lisp/timer.el (source)... Loading /build/source/lisp/emacs-lisp/easymenu.el (source)... Loading /build/source/lisp/isearch.el (source)... Loading /build/source/lisp/rfn-eshadow.el (source)... Loading /build/source/lisp/menu-bar.el (source)... Loading /build/source/lisp/tab-bar.el (source)... Loading /build/source/lisp/emacs-lisp/lisp.el (source)... Loading /build/source/lisp/textmodes/page.el (source)... Loading /build/source/lisp/register.el (source)... Loading /build/source/lisp/textmodes/paragraphs.el (source)... Loading /build/source/lisp/progmodes/prog-mode.el (source)... Loading /build/source/lisp/emacs-lisp/lisp-mode.el (source)... Loading /build/source/lisp/textmodes/text-mode.el (source)... Loading /build/source/lisp/textmodes/fill.el (source)... Loading /build/source/lisp/newcomment.el (source)... Loading /build/source/lisp/replace.el (source)... Loading /build/source/lisp/emacs-lisp/tabulated-list.el (source)... Loading /build/source/lisp/buff-menu.el (source)... Loading /build/source/lisp/fringe.el (source)... Loading /build/source/lisp/emacs-lisp/regexp-opt.el (source)... Loading /build/source/lisp/image.el (source)... Loading /build/source/lisp/international/fontset.el (source)... Loading /build/source/lisp/dnd.el (source)... Loading /build/source/lisp/tool-bar.el (source)... Loading /build/source/lisp/dynamic-setting.el (source)... Loading /build/source/lisp/x-dnd.el (source)... Loading /build/source/lisp/term/common-win.el (source)... Loading /build/source/lisp/term/x-win.el (source)... Loading /build/source/lisp/mwheel.el (source)... Loading /build/source/lisp/progmodes/elisp-mode.el (source)... Loading /build/source/lisp/emacs-lisp/float-sup.el (source)... Loading /build/source/lisp/vc/vc-hooks.el (source)... Loading /build/source/lisp/vc/ediff-hook.el (source)... Loading /build/source/lisp/uniquify.el (source)... Loading /build/source/lisp/electric.el (source)... Loading /build/source/lisp/paren.el (source)... Loading /build/source/lisp/emacs-lisp/shorthands.el (source)... Loading /build/source/lisp/emacs-lisp/eldoc.el (source)... Loading /build/source/lisp/emacs-lisp/cconv.el (source)... Loading /build/source/lisp/cus-start.el (source)... Loading /build/source/lisp/tooltip.el (source)... Loading /build/source/lisp/international/iso-transl.el (source)... Loading /build/source/lisp/emacs-lisp/rmc.el (source)... Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name bootstrap-emacs.pdmp Dumping fingerprint: 67b46bcab1afdf667f1d7106605e98ab1df78e73e8784017b4a369235530eeb8 Dump complete Byte counts: header=100 hot=15549540 discardable=196792 cold=10839360 Reloc counts: hot=1084380 discardable=5408 ANCIENT=yes make -C ../lisp compile-first EMACS="../src/bootstrap-emacs" make[3]: Entering directory '/build/source/lisp' ELC emacs-lisp/macroexp.elc ELC emacs-lisp/cconv.elc ELC emacs-lisp/byte-opt.elc ELC emacs-lisp/bytecomp.elc ELC emacs-lisp/comp.elc ELC emacs-lisp/comp-cstr.elc TZ=UTC0 touch -t 197001010000 emacs-lisp/macroexp.elc ELC emacs-lisp/loaddefs-gen.elc TZ=UTC0 touch -t 197001010000 emacs-lisp/cconv.elc ELC emacs-lisp/radix-tree.elc TZ=UTC0 touch -t 197001010000 emacs-lisp/byte-opt.elc TZ=UTC0 touch -t 197001010000 emacs-lisp/comp-cstr.elc TZ=UTC0 touch -t 197001010000 emacs-lisp/bytecomp.elc TZ=UTC0 touch -t 197001010000 emacs-lisp/loaddefs-gen.elc TZ=UTC0 touch -t 197001010000 emacs-lisp/radix-tree.elc TZ=UTC0 touch -t 197001010000 emacs-lisp/comp.elc make[3]: Leaving directory '/build/source/lisp' make -C ../lisp compile-first EMACS="../src/bootstrap-emacs" make[3]: Entering directory '/build/source/lisp' ELC+ELN emacs-lisp/macroexp.elc ELC+ELN emacs-lisp/cconv.elc ELC+ELN emacs-lisp/byte-opt.elc ELC+ELN emacs-lisp/bytecomp.elc ELC+ELN emacs-lisp/comp.elc ELC+ELN emacs-lisp/comp-cstr.elc ELC+ELN emacs-lisp/loaddefs-gen.elc ELC+ELN emacs-lisp/radix-tree.elc make[3]: Leaving directory '/build/source/lisp' make -C ../lisp autoloads EMACS="../src/bootstrap-emacs" make[3]: Entering directory '/build/source/lisp' ELC+ELN international/titdic-cnv.elc ELC+ELN ../lisp/bindings.elc ELC+ELN ../lisp/buff-menu.elc ELC+ELN ../lisp/abbrev.elc ELC+ELN ../lisp/button.elc ELC+ELN ../lisp/case-table.elc ELC+ELN ../lisp/composite.elc ELC+ELN ../lisp/cus-face.elc ELC+ELN ../lisp/cus-start.elc ELC+ELN ../lisp/custom.elc ELC+ELN ../lisp/disp-table.elc ELC+ELN ../lisp/dnd.elc ELC+ELN ../lisp/dos-fns.elc make -C ../admin/grammars all EMACS="../../src/bootstrap-emacs" make[4]: Entering directory '/build/source/admin/grammars' GEN ../../lisp/cedet/semantic/bovine/c-by.el GEN ../../lisp/cedet/semantic/bovine/make-by.el ELC+ELN ../lisp/dos-vars.elc ELC+ELN ../lisp/dos-w32.elc Loading /build/source/lisp/cedet/semantic/grm-wy-boot.el (source)... ELC+ELN ../lisp/dynamic-setting.elc ELC+ELN ../lisp/electric.elc ELC+ELN ../lisp/emacs-lisp/backquote.elc GEN ../../lisp/cedet/semantic/bovine/scm-by.el ELC+ELN ../lisp/emacs-lisp/byte-run.elc ELC+ELN ../lisp/emacs-lisp/cconv.elc ELC+ELN ../lisp/emacs-lisp/cl-generic.elc ELC+ELN ../lisp/emacs-lisp/cl-preloaded.elc ELC+ELN ../lisp/emacs-lisp/debug-early.elc Loading /build/source/lisp/cedet/semantic/grm-wy-boot.el (source)... ELC+ELN ../lisp/emacs-lisp/easymenu.elc ELC+ELN ../lisp/emacs-lisp/eldoc.elc GEN ../../lisp/cedet/semantic/grammar-wy.el ELC+ELN ../lisp/emacs-lisp/float-sup.elc Loading /build/source/lisp/cedet/semantic/grm-wy-boot.el (source)... ELC+ELN ../lisp/emacs-lisp/lisp-mode.elc GEN ../../lisp/cedet/semantic/wisent/javat-wy.el ELC+ELN ../lisp/emacs-lisp/lisp.elc ELC+ELN ../lisp/emacs-lisp/macroexp.elc Error: wrong-type-argument ("../lisp/emacs-lisp/lisp-mode.el" listp ((call set-match-data #s(comp-mvar nil nil ((0 . 0)) nil 6189160 1) #s(comp-mvar nil (t) nil nil 6189530 2)))) Loading macroexp.elc... Eager macro-expansion failure: (void-variable unshared) make[3]: *** [Makefile:282: ../lisp/emacs-lisp/lisp-mode.elc] Error 255 make[2]: *** [Makefile:841: ../lisp/emacs-lisp/lisp-mode.elc] Error 2 make[2]: *** Waiting for unfinished jobs.... GEN ../../lisp/cedet/semantic/wisent/js-wy.el Loading /build/source/lisp/cedet/semantic/grm-wy-boot.el (source)... GEN ../../lisp/cedet/semantic/wisent/python-wy.el GEN ../../lisp/cedet/srecode/srt-wy.el make[4]: Leaving directory '/build/source/admin/grammars' make -C ../leim all EMACS="../src/bootstrap-emacs" make[4]: Entering directory '/build/source/leim' GEN ../lisp/leim/quail/CCDOSPY.el GEN ../lisp/leim/quail/Punct.el GEN ../lisp/leim/quail/QJ.el GEN ../lisp/leim/quail/SW.el GEN ../lisp/leim/quail/TONEPY.el GEN ../lisp/leim/quail/4Corner.el GEN ../lisp/leim/quail/ARRAY30.el GEN ../lisp/leim/quail/ECDICT.el GEN ../lisp/leim/quail/ETZY.el GEN ../lisp/leim/quail/Punct-b5.el GEN ../lisp/leim/quail/PY-b5.el Backtrace: ../src/bootstrap-emacs[0x5478f4] ../src/bootstrap-emacs[0x41f2c8] ../src/bootstrap-emacs[0x41f4d4] ../src/bootstrap-emacs[0x545a10] ../src/bootstrap-emacs[0x545aa0] linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0xfffff7ffb7cc] ../src/bootstrap-emacs[0x4c8db4] ../src/bootstrap-emacs[0x5d3034] ../src/bootstrap-emacs[0x5d5b40] /build/source/native-lisp/29.0.50-98f1f65f/titdic-cnv-765ac3be-95ea0876.eln(F7469742d70726f636573732d686561646572_tit_process_header_0+0x330)[0xfffff1632ab8] ../src/bootstrap-emacs[0x5aca90] /build/source/native-lisp/29.0.50-98f1f65f/titdic-cnv-765ac3be-95ea0876.eln(F7469746469632d636f6e76657274_titdic_convert_0+0x3d8)[0xfffff1634578] ../src/bootstrap-emacs[0x5aca90] /build/source/native-lisp/29.0.50-98f1f65f/titdic-cnv-765ac3be-95ea0876.eln(F62617463682d7469746469632d636f6e76657274_batch_titdic_convert_0+0x320)[0xfffff1634a78] ../src/bootstrap-emacs[0x5aca90] ../src/bootstrap-emacs[0x5b05b8] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b2568] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b1bcc] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b2568] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b22cc] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b22cc] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b113c] ../src/bootstrap-emacs[0x5b1d18] ... GEN ../lisp/leim/quail/QJ-b5.el make[4]: *** [Makefile:102: ../lisp/leim/quail/Punct.el] Segmentation fault (core dumped) make[4]: *** Waiting for unfinished jobs.... Backtrace: ../src/bootstrap-emacs[0x5478f4] ../src/bootstrap-emacs[0x41f2c8] ../src/bootstrap-emacs[0x41f4d4] ../src/bootstrap-emacs[0x545a10] ../src/bootstrap-emacs[0x545aa0] linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0xfffff7ffb7cc] /nix/store/g14swv4f0rg83naqj87g1mjmyvrmrxmf-glibc-2.35-163/lib/libc.so.6(+0x95970)[0xfffff4725970] ../src/bootstrap-emacs[0x5bab6c] /build/source/native-lisp/29.0.50-98f1f65f/titdic-cnv-765ac3be-95ea0876.eln(F7469742d70726f636573732d626f6479_tit_process_body_0+0x6e4)[0xfffff1633fec] ../src/bootstrap-emacs[0x5aca90] /build/source/native-lisp/29.0.50-98f1f65f/titdic-cnv-765ac3be-95ea0876.eln(F7469746469632d636f6e76657274_titdic_convert_0+0x3f8)[0xfffff1634598] ../src/bootstrap-emacs[0x5aca90] /build/source/native-lisp/29.0.50-98f1f65f/titdic-cnv-765ac3be-95ea0876.eln(F62617463682d7469746469632d636f6e76657274_batch_titdic_convert_0+0x320)[0xfffff1634a78] ../src/bootstrap-emacs[0x5aca90] ../src/bootstrap-emacs[0x5b05b8] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b2568] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b1bcc] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b2568] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b22cc] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b22cc] ../src/bootstrap-emacs[0x5b08c4] ../src/bootstrap-emacs[0x5b0c14] ../src/bootstrap-emacs[0x5b113c] ../src/bootstrap-emacs[0x5b1d18] ../src/bootstrap-emacs[0x5b0328] ... make[4]: *** [Makefile:102: ../lisp/leim/quail/ARRAY30.el] Segmentation fault (core dumped) make[4]: Leaving directory '/build/source/leim' make[3]: *** [Makefile:414: leim] Error 2 make[3]: Leaving directory '/build/source/lisp' make[2]: *** [Makefile:889: ../lisp/loaddefs.el] Error 2 make[2]: Leaving directory '/build/source/src' make[1]: *** [Makefile:544: src] Error 2 make[1]: Leaving directory '/build/source' make[1]: Entering directory '/build/source' *** *** "make all" failed with exit status 2. *** *** You could try to: *** - run "make bootstrap", which might fix the problem *** - run "make V=1", which displays the full commands invoked by make, *** to further investigate the problem *** make[1]: *** [Makefile:414: advice-on-failure] Error 2 make[1]: Leaving directory '/build/source' make: *** [Makefile:370: all] Error 2 ```
ParetoOptimalDev commented 1 year ago

I don't have an aarch64 machine, but I think this could be related:

The emacsGit attribute and other natively-compiled master-based attributes in the Emacs overlay have been failing to update for more than a week because commit 97b928ce09d6034ebcb541fb548e5d4862302add in Emacs messed up the old

https://github.com/NixOS/nixpkgs/pull/203642

leungbk commented 1 year ago

I don't have an aarch64 machine, but I think this could be related:

The emacsGit attribute and other natively-compiled master-based attributes in the Emacs overlay have been failing to update for more than a week because commit 97b928ce09d6034ebcb541fb548e5d4862302add in Emacs messed up the old

NixOS/nixpkgs#203642

I put a workaround in the overlay around late September or early October, so I would not expect that to be the issue here. I made that PR simply because it makes more sense upstream than it does in the overlay.

ParetoOptimalDev commented 1 year ago

I have an m1 machine now with a linux vm of NixOS (until they need it back lol) and decided to try and see what happens if I try building the nixpkgs emacs derivation that emacs-overlay uses but override it with the source to the most recent emacs HEAD. Here is the derivation:

# nixpkgs master 2022-12-02
# with (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/260de5901e5bb56563528794bda6ff10ddddb80a.tar.gz") {});

# nixpkgs-unstable
with (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/9063accddd2e68dcc71032459a58399e977374c9.tar.gz") {});

let
  emacs = pkgs.emacs.override {
    withGTK3 = true;
    nativeComp = true;
  };
in emacs.overrideAttrs (o: {
  src = fetchFromSavannah {
    repo = "emacs";
    rev = "64044f545add60e045ff16a9891b06f429ac935f";
    sha256 = "sha256-95vN7pJ3NaOvXf7x8onv5PZbQCqEdG7buQhpZvIS+Eo=";
  };
  version = "30.0.50";
})

On both x86-64_linux and aarch64-linux it gives me a patch hunk error:

applying patch /nix/store/x52dw481ybh7r7a5jg6y8zaawf32r89s-native-comp-driver-options-28.patch
patching file lisp/emacs-lisp/comp.el
Hunk #1 FAILED at 178.
1 out of 1 hunk FAILED -- saving rejects to file lisp/emacs-lisp/comp.el.rej
error: builder for '/nix/store/4z93hp769z1jzcbd0knblrj0wmj9dyg5-emacs-30.0.50.drv' failed with exit code 1;
       last 8 log lines:
       > unpacking sources
       > unpacking source archive /nix/store/lpkpci57i3nns9k27v8w3rvk6fx6j75r-source
       > source root is source
       > patching sources
       > applying patch /nix/store/x52dw481ybh7r7a5jg6y8zaawf32r89s-native-comp-driver-options-28.patch
       > patching file lisp/emacs-lisp/comp.el
       > Hunk #1 FAILED at 178.
       > 1 out of 1 hunk FAILED -- saving rejects to file lisp/emacs-lisp/comp.el.rej
       For full logs, run 'nix log /nix/store/4z93hp769z1jzcbd0knblrj0wmj9dyg5-emacs-30.0.50.drv'.

This might be a bad test though... there are some patches applied in emacs-overlay that might get past this.

I do still feel like one of the patches in nixpkgs probably breaks things for m1 but perhaps not other systems though.

leungbk commented 1 year ago

~@ParetoOptimalDev I think this is because nixpkgs master and 22.11 currently attempt to apply the exact same patch as what we have in the overlay (awkwardly enough, nixos-unstable has not been updated to contain that patch). With nixpkgs master, do you still get the error when you also apply the following to the overlay?~

diff --git a/overlays/emacs.nix b/overlays/emacs.nix
index 634f4c0f..f01678dd 100644
--- a/overlays/emacs.nix
+++ b/overlays/emacs.nix
@@ -31,27 +31,7 @@ let
                 substituteInPlace lisp/loadup.el \
                 --replace '(emacs-repository-get-version)' '"${repoMeta.rev}"' \
                 --replace '(emacs-repository-get-branch)' '"master"'
-              '' +
-              # XXX: remove when https://github.com/NixOS/nixpkgs/pull/193621 is merged
-                (super.lib.optionalString (old ? NATIVE_FULL_AOT)
-                    (let backendPath = (super.lib.concatStringsSep " "
-                      (builtins.map (x: ''\"-B${x}\"'') [
-                        # Paths necessary so the JIT compiler finds its libraries:
-                        "${super.lib.getLib self.libgccjit}/lib"
-                        "${super.lib.getLib self.libgccjit}/lib/gcc"
-                        "${super.lib.getLib self.stdenv.cc.libc}/lib"
-
-                        # Executable paths necessary for compilation (ld, as):
-                        "${super.lib.getBin self.stdenv.cc.cc}/bin"
-                        "${super.lib.getBin self.stdenv.cc.bintools}/bin"
-                        "${super.lib.getBin self.stdenv.cc.bintools.bintools}/bin"
-                      ]));
-                     in ''
-                        substituteInPlace lisp/emacs-lisp/comp.el --replace \
-                            "(defcustom comp-libgccjit-reproducer nil" \
-                            "(setq native-comp-driver-options '(${backendPath}))
-(defcustom comp-libgccjit-reproducer nil"
-                    ''));
+              '';
             }
           )
         )
-- 
2.38.1
leungbk commented 1 year ago

@ParetoOptimalDev Oh yeah, I also noticed in your test that Nix tries to apply the Emacs 28 patch instead of the other one; my guess is that overriding the attribute version did not influence the check at https://github.com/nixos/nixpkgs/blob/0114278a9a3a3bb1b026c4edbe503034d7375e07/pkgs/applications/editors/emacs/generic.nix#L72 because version also appears as a normal input variable in the Emacs expression.

Using overlay with its emacsGitNativeComp attribute avoids this problem entirely on nixpkgs master, whether or not the overlay has the patch from my previous post.

ParetoOptimalDev commented 1 year ago

@leungbk Thanks for the help.

I had abandoned trying to use the above and just saw your comment with that overlay.

I've been trying to debug this with:

I've determined that the problem happens in the temacs --loadup step of building emacs aftre reading about the internals of buildling emacs.

My latest errors with the configuration that include using V=1 in the makefile to see full commands are:

make[4]: Entering directory '/build/source/admin/grammars'
[ ! -f "../../lisp/cedet/semantic/bovine/c-by.el" ] || chmod +w "../../lisp/cedet/semantic/bovine/c-by.el"
"../../src/bootstrap-emacs" -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -l semantic/bovine/grammar -f bovine-batch-make-parser -o "../../lisp/cedet/semantic/bovine/c-by.el" c.by
make[3]: *** [Makefile:282: ../lisp/dnd.elc] Segmentation fault (core dumped)
make[3]: Leaving directory '/build/source/lisp'
make[2]: *** [Makefile:841: ../lisp/dnd.elc] Error 2
make[2]: *** Waiting for unfinished jobs....
[ ! -f "../../lisp/cedet/semantic/bovine/make-by.el" ] || chmod +w "../../lisp/cedet/semantic/bovine/make-by.el"
"../../src/bootstrap-emacs" -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -l semantic/bovine/grammar -f bovine-batch-make-parser -o "../../lisp/cedet/semantic/bovine/make-by.el" make.by

Error: wrong-type-argument ("../lisp/custom.el" listp (#s(comp-mvar nil (nil) nil nil 6062644 7)))
Backtrace:

I've also attached the full nix log:

emacs-30-aarch64-verbose-nix-failure.log

ParetoOptimalDev commented 1 year ago

How can I go from this failing derivation to being able to run gdb temacs on the problematic temacs binary? I think that's what I need to do to debug this further.

Using overlay with its emacsGitNativeComp attribute avoids this problem entirely on nixpkgs master,

I just tried using nixpkgs master and the emacsGitNativeComp derivation and still got a similar segfault.

ParetoOptimalDev commented 1 year ago

Kind of taking shots in the dark here, but wonder if https://github.com/NixOS/nixpkgs/pull/185660 could be related. Going to test that next.

leungbk commented 1 year ago

How can I go from this failing derivation to being able to run gdb temacs on the problematic temacs binary? I think that's what I need to do to debug this further.

Try using the --keep-failed flag. I was able to recover a temacs from some other failing build when I ran something like nix-build --expr 'with (import ../nixpkgs/. { overlays = [ (import ./.) ]; }); emacsGitNativeComp' --keep-failed. I never tried running it though, let alone gdb.

Using overlay with its emacsGitNativeComp attribute avoids this problem entirely on nixpkgs master,

I just tried using nixpkgs master and the emacsGitNativeComp derivation and still got a similar segfault.

The problem I was referring to was the patch incompatibility you had previously mentioned, not the segfault.

ParetoOptimalDev commented 1 year ago

Thanks for your recommendation,I'll give --keep-failed a try.

Currently I'm in the middle of a method I came up with after some research/manual reading using nix develop for this purpose:

cd /path/to/my-system-flake
nix develop .#pkgs.x86_64-linux.emacsGit
cd /tmp/
genericBuild

Then my guess is that /tmp/source will have the temacs in it, but that might also require --keep-failed.

jasonjckn commented 1 year ago

@ParetoOptimalDev there's 'one-click' install NixOS on M1 + VM available here https://github.com/mitchellh/nixos-config fyi

Thanks for spending time on this :) aarch64-linux doesn't get enough love

ParetoOptimalDev commented 1 year ago

Thanks @jasonjckn.

I got emacs 30 building with the flags:

./configure --enable-checking='yes,glyphs' --enable-check-lisp-object-type  CFLAGS='-O0 -g3' --with-modules --with-x-toolkit=lucid --with-xft --with-cairo --with-native-compilation

Some differences from the default flags:

I've been meaning to modify the emacs-overlay emacsGit to use these flags but haven't been able to get around to it, so at the least I wanted to share my findings above.

To anyone wanting to test something on aarch64-linux my priority list is:

ParetoOptimalDev commented 1 year ago

Update:

ParetoOptimalDev commented 1 year ago

So this segfault seems to happen only when you want X support. This doesn't compile for instance:

      emacsGitoverride {
        withNS = false;
        withX = true;  # x with lucid basically
        withGTK2 = false;
        withGTK3 = false;
        withWebP = false;
      }

The above conflicts with my finding that I could compile with configure flags including lucid... maybe if I remove the --disable-build-details it'll make a difference? No idea.

jasonjckn commented 1 year ago

I tested arch linux' aarch64 emacs build, and it worked just fine with GUI, so it's definitely possible https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=emacs-git

going to spend a bit of time on this now... and see if I get anywhere

jasonjckn commented 1 year ago

@ParetoOptimalDev nice find!
"--enable-check-lisp-object-type" fixes it , the other flags don't matter

(only tested with emacsPgtk so far)

jasonjckn commented 1 year ago

Here's my current working setup if anyone wants, gonna open a PR in a moment as well

overlays (could be simplified) =

[

  inputs.emacs-overlay.overlays.default

  (final : prev: {
    emacsPgtk = (prev.emacsGit.override {
      withPgtk = true;

    }).overrideAttrs (old : {
      name = "emacs-pgtk";
      version = inputs.emacs-src.shortRev;
      src = inputs.emacs-src;

      configureFlags = old.configureFlags ++ [ "--enable-check-lisp-object-type" ];

      stdenv = prev.addAttrsToDerivation {
        NIX_CFLAGS_COMPILE = "-O3 -pipe -ftree-vectorize -fomit-frame-pointer";
        BYTE_COMPILE_EXTRA_FLAGS = '' \
                 --eval '(setq native-comp-speed 3)' \
                 --eval '(setq native-comp-compiler-options '("-O3" "-g3"))'
        '';
      } (prev.impureUseNativeOptimizations final.llvmPackages_14.stdenv);
    });
  })
]

flake inputs =

    emacs-src.url = "github:emacs-mirror/emacs/emacs-29";
    emacs-overlay.url = "github:Nix-Community/emacs-overlay";
    emacs-src.flake = false;
ParetoOptimalDev commented 1 year ago

@jasonjckn Nice! I'll have to try it.

I was curious about why that flag could make things fail.

/* Use the configure flag --enable-check-lisp-object-type to make
   Lisp_Object use a struct type instead of the default int.  The flag
   causes CHECK_LISP_OBJECT_TYPE to be defined.  */

https://github.com/emacs-mirror/emacs/blob/master/src/lisp.h

It just
seems that this option is rarely used, so it has bitrotted to some
extent. - Eli Zaretzki

https://lists.gnu.org/archive/html/emacs-devel/2022-04/msg00677.html

So removing this flag should be an okay upstream fix?

jasonjckn commented 1 year ago

I was curious about why that flag could make things fail. So removing this flag should be an okay upstream fix?

Adding that flag makes things succeed (on aarch64-linux), not removing.

As for why? I'm not sure, there's two theories that come to mind

(1) By wrapping Lisp_Word in a struct, this will force memory alignment to 64-bits when that flag is enabled (sizeof(Lisp_Object)), and when it's disabled it might not be (?) hard to tell from source code.

(2) There could be a violation of strict aliasing rule if Lisp_Object is defined as INT , e.g. https://github.com/emacs-mirror/emacs/blob/master/src/lisp.h#L302 not really sure though, i'm not a C programmer.

Upstreaming to emacs-overlay is fine, but adding this flag further upstream... you could try, but given that Arch Linux builds fine without --enable-check-lisp-object-type, hard to say we got to the bottom of the issue, this build worked for me and does not have it https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=emacs-git

leungbk commented 1 year ago

Closed via #285.