Subject: Re: bug#36280: 26.2.90; 'emacs -Q' receives SIGSEGV, Segmentation fault

From: VanL <[email-masked]>
Date: Thu, 20 Jun 2019 00:02:37 +1000

> On 19 Jun 2019, at 23:38, Robert Pluim <[email-masked]> wrote:
> 
> And if you build in-tree rather than out-of-tree? macuvs.h should be
> in src/ in the source tree.

Building from the git tags/release obtains...

GNU Emacs 26.2.90 (build 2, x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G22010))
 of 2019-06-19

Maybe if I build from the git tags/release and use 'clang' I will get it to run in X11/GTK2.

-----

#+name: configure-clang-in-tree
#+begin_example
  checking for xcrun... xcrun
  checking for make... yes
  checking for GNU Make... gmake
  checking build system type... x86_64-apple-darwin15.6.0
  checking host system type... x86_64-apple-darwin15.6.0
  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 we are using the GNU C compiler... yes
  checking whether /usr/bin/clang accepts -g... yes
  checking for /usr/bin/clang option to enable C11 features... none needed
  checking for ar... ar
  checking whether /usr/bin/clang and cc understand -c and -o together... yes
  checking for putenv... yes
  checking for sbrk... yes
  checking for fchmod... yes
  checking for readlinkat... yes
  checking for explicit_bzero... no
  checking for faccessat... yes
  checking for fcntl... yes
  checking for fdopendir... yes
  checking for fstatat... yes
  checking for fsync... yes
  checking for gettimeofday... yes
  checking for nanotime... no
  checking for lstat... yes
  checking for mkostemp... no
  checking for tzset... yes
  checking for pipe2... no
  checking for pselect... yes
  checking for readlink... yes
  checking for strtoimax... yes
  checking for symlink... yes
  checking for localtime_r... yes
  checking for timegm... yes
  checking for futimes... yes
  checking for futimesat... no
  checking for futimens... no
  checking for utimensat... no
  checking for lutimes... yes
  checking for getdtablesize... yes
  checking how to run the C preprocessor... /usr/bin/clang -E
  checking for grep that handles long lines and -e... /opt/local/bin/ggrep
  checking for egrep... /opt/local/bin/ggrep -E
  checking for ANSI C header files... yes
  checking for sys/types.h... yes
  checking for sys/stat.h... yes
  checking for stdlib.h... yes
  checking for string.h... yes
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking minix/config.h usability... no
  checking minix/config.h presence... no
  checking for minix/config.h... no
  checking whether it is safe to define __EXTENSIONS__... yes
  checking whether _XOPEN_SOURCE should be defined... no
  checking for Minix Amsterdam compiler... no
  checking for ranlib... ranlib
  checking for special C compiler options needed for large files... no
  checking for _FILE_OFFSET_BITS value needed for large files... no
  checking whether /usr/bin/clang accepts -g3 -O2... yes
  checking whether the compiler is clang... yes
  checking whether C compiler handles -Werror -Wunknown-warning-option... yes
  checking whether C compiler handles -Wno-switch... yes
  checking whether C compiler handles -Wno-pointer-sign... yes
  checking whether C compiler handles -Wno-string-plus-int... yes
  checking whether C compiler handles -Wno-unknown-attributes... yes
  checking whether C compiler handles -Wno-initializer-overrides... yes
  checking whether C compiler handles -Wno-tautological-compare... yes
  checking whether C compiler handles -Wno-tautological-constant-out-of-range-compare... yes
  checking for a BSD-compatible install... /opt/local/bin/ginstall -c
  checking command to symlink files in the same directory... ln -s
  checking for install-info... /opt/local/bin/install-info
  checking for gzip... /usr/bin/gzip
  checking for 'find' args to delete a file... -delete
  checking for -znocombreloc... no
  checking whether addresses are sanitized... no
  checking for library containing sqrt... none required
  checking for pkg-config... /opt/local/bin/pkg-config
  checking pkg-config is at least version 0.9.0... yes
  checking for machine/soundcard.h... no
  checking for sys/soundcard.h... no
  checking for soundcard.h... no
  checking for mmsystem.h... no
  checking for _oss_ioctl in -lossaudio... no
  checking for ALSA... no
  checking for linux/fs.h... no
  checking for malloc.h... no
  checking for sys/systeminfo.h... no
  checking for sys/sysinfo.h... no
  checking for coff.h... no
  checking for pty.h... no
  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... yes
  checking for sys/prctl.h... no
  checking for sys/socket.h... yes
  checking for stdlib.h... (cached) yes
  checking for unistd.h... (cached) yes
  checking for sys/param.h... yes
  checking for pthread.h... yes
  checking for malloc/malloc.h... yes
  checking for sys/un.h... yes
  checking for dirent.h... yes
  checking for execinfo.h... yes
  checking for stdio_ext.h... no
  checking for getopt.h... yes
  checking for sys/cdefs.h... yes
  checking for sys/time.h... yes
  checking for limits.h... yes
  checking for wchar.h... yes
  checking for stdint.h... (cached) yes
  checking for inttypes.h... (cached) yes
  checking for sys/select.h... yes
  checking for sys/stat.h... (cached) yes
  checking for ADDR_NO_RANDOMIZE... no
  checking for term.h... yes
  checking whether time.h and sys/time.h may both be included... yes
  checking whether sys_siglist is declared... 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... yes
  checking for struct ifreq.ifr_flags... yes
  checking for struct ifreq.ifr_hwaddr... no
  checking for struct ifreq.ifr_netmask... no
  checking for struct ifreq.ifr_broadaddr... yes
  checking for struct ifreq.ifr_addr... yes
  checking for struct ifreq.ifr_addr.sa_len... yes
  checking whether gcc understands -MMD -MF... yes
  checking for X... disabled
  checking AppKit/AppKit.h usability... yes
  checking AppKit/AppKit.h presence... yes
  checking for AppKit/AppKit.h... yes
  checking for Mac OS X 10.6 or newer... yes
  checking for gcc... gcc
  checking whether we are using the GNU Objective C compiler... yes
  checking whether gcc accepts -g... yes
  checking if the Objective C compiler supports instancetype... no
  checking whether malloc is Doug Lea style... no
  checking for getpagesize... 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 RSVG... yes
  checking for IMAGEMAGICK... no
  checking for getaddrinfo_a in -lanl... no
  checking for DBUS... 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 lgetfilecon in -lselinux... no
  checking for LIBGNUTLS... yes
  checking for LIBSYSTEMD... no
  checking sys/inotify.h usability... no
  checking sys/inotify.h presence... no
  checking for sys/inotify.h... no
  checking for KQUEUE... no
  checking for library containing kqueue... none required
  checking for LCMS2... yes
  checking for library containing inflateEnd... -lz
  checking gpm.h usability... no
  checking gpm.h presence... no
  checking for gpm.h... no
  checking for LIBXML2... yes
  checking for htmlReadMemory in -lxml2... yes
  checking for accept4... no
  checking for fchdir... yes
  checking for gethostname... yes
  checking for getrusage... yes
  checking for get_current_dir_name... no
  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... no
  checking for log2... yes
  checking for prctl... no
  checking for aligned_alloc... no
  checking for posix_memalign... yes
  checking whether aligned_alloc is declared... no
  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... no
  checking for posix_openpt... yes
  checking for library containing tputs... -lncurses
  checking for timerfd interface... no
  checking whether signals can be handled on alternate stack... yes
  checking valgrind/valgrind.h usability... no
  checking valgrind/valgrind.h presence... no
  checking for valgrind/valgrind.h... no
  checking for struct unipair.unicode... no
  checking for socket... yes
  checking netinet/in.h usability... yes
  checking netinet/in.h presence... yes
  checking for netinet/in.h... yes
  checking arpa/inet.h usability... yes
  checking arpa/inet.h presence... yes
  checking for arpa/inet.h... yes
  checking for pid_t... yes
  checking vfork.h usability... no
  checking vfork.h presence... no
  checking for vfork.h... no
  checking for fork... yes
  checking for vfork... yes
  checking for working fork... yes
  checking for working vfork... (cached) yes
  checking for snprintf... yes
  checking whether GLib is linked in... yes
  checking for nl_langinfo and CODESET... yes
  checking for mbstate_t... yes
  checking for _setjmp... yes
  checking for sigsetjmp... yes
  checking for usable FIONREAD... yes
  checking for usable SIGIO... yes
  checking for working alloca.h... yes
  checking for alloca... yes
  checking for unsigned long long int... yes
  checking whether byte ordering is bigendian... no
  checking whether the preprocessor supports include_next... yes
  checking whether system header files limit the line length... no
  checking whether strtold conforms to C99... yes
  checking if environ is properly declared... no
  checking for complete errno.h... yes
  checking whether lstat correctly handles trailing slash... no
  checking for mode_t... yes
  checking whether fdatasync is declared... no
  checking for st_dm_mode in struct stat... no
  checking whether strmode is declared... yes
  checking for gawk... gawk
  checking for getopt.h... (cached) yes
  checking for getopt_long_only... yes
  checking whether getopt is POSIX compatible... no
  checking for C/C++ restrict keyword... __restrict
  checking for struct timeval... yes
  checking for wide-enough struct timeval.tv_sec member... yes
  checking whether limits.h has ULLONG_WIDTH etc.... no
  checking for long long int... yes
  checking whether stdint.h conforms to C99... no
  checking sys/inttypes.h usability... no
  checking sys/inttypes.h presence... no
  checking for sys/inttypes.h... no
  checking sys/bitypes.h usability... no
  checking sys/bitypes.h presence... no
  checking for sys/bitypes.h... no
  checking for bit size of ptrdiff_t... 64
  checking for bit size of size_t... 64
  checking for bit size of sig_atomic_t... 32
  checking for bit size of wchar_t... 32
  checking for bit size of wint_t... 32
  checking whether sig_atomic_t is signed... yes
  checking whether wchar_t is signed... yes
  checking whether wint_t is signed... yes
  checking for ptrdiff_t integer literal suffix... l
  checking for size_t integer literal suffix... ul
  checking for sig_atomic_t integer literal suffix... 
  checking for wchar_t integer literal suffix... 
  checking for wint_t integer literal suffix... 
  checking whether memrchr is declared... no
  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... no
  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 sigset_t... yes
  checking for wchar_t... yes
  checking whether strtoimax is declared... yes
  checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
  checking whether stat file-mode macros are broken... no
  checking for struct timespec in <time.h>... 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... no
  checking whether fgets_unlocked is declared... no
  checking whether fputc_unlocked is declared... no
  checking whether fputs_unlocked is declared... no
  checking whether fread_unlocked is declared... no
  checking whether fwrite_unlocked is declared... no
  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 whether the utimes function works... yes
  checking type of array argument to getgroups... gid_t
  checking whether getdtablesize is declared... yes
  checking for O_CLOEXEC... yes
  checking for promoted mode_t type... int
  checking sys/acl.h usability... yes
  checking sys/acl.h presence... yes
  checking for sys/acl.h... yes
  checking for library containing acl_get_file... none required
  checking for acl_get_file... yes
  checking for acl_get_fd... yes
  checking for acl_set_file... yes
  checking for acl_set_fd... yes
  checking for acl_free... yes
  checking for acl_from_mode... no
  checking for acl_from_text... yes
  checking for acl_delete_def_file... yes
  checking for acl_extended_file... no
  checking for acl_delete_fd_np... yes
  checking for acl_delete_file_np... yes
  checking for acl_copy_ext_native... yes
  checking for acl_create_entry_np... yes
  checking for acl_to_short_text... no
  checking for acl_free_text... no
  checking for working acl_get_file... yes
  checking acl/libacl.h usability... no
  checking acl/libacl.h presence... no
  checking for acl/libacl.h... no
  checking for acl_entries... no
  checking for ACL_FIRST_ENTRY... yes
  checking for ACL_TYPE_EXTENDED... yes
  checking for alloca as a compiler built-in... yes
  checking byteswap.h usability... no
  checking byteswap.h presence... no
  checking for byteswap.h... no
  checking for library containing clock_gettime... no
  checking for clock_gettime... no
  checking for clock_settime... no
  checking for d_type member in directory struct... yes
  checking whether dup2 works... yes
  checking for library containing backtrace_symbols_fd... none required
  checking for explicit_memset... no
  checking for access... yes
  checking whether fcntl handles F_DUPFD correctly... yes
  checking whether fcntl understands F_DUPFD_CLOEXEC... yes
  checking for fdatasync... yes
  checking whether fdopendir is declared... yes
  checking whether fdopendir works... yes
  checking for flexible array member... yes
  checking for __fpending... no
  checking whether fstatat (..., 0) works... yes
  checking for getloadavg... yes
  checking sys/loadavg.h usability... no
  checking sys/loadavg.h presence... no
  checking for sys/loadavg.h... no
  checking whether getloadavg is declared... yes
  checking whether gettimeofday clobbers localtime buffer... no
  checking for gettimeofday with POSIX signature... yes
  checking for memrchr... no
  checking whether signature of pselect conforms to POSIX... yes
  checking whether pselect detects invalid fds... yes
  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... no
  checking whether readlinkat signature is correct... yes
  checking for sig2str... no
  checking for volatile sig_atomic_t... yes
  checking for sighandler_t... no
  checking for socklen_t... yes
  checking for ssize_t... yes
  checking for struct stat.st_atim.tv_nsec... no
  checking for struct stat.st_atimespec.tv_nsec... yes
  checking for struct stat.st_birthtimespec.tv_nsec... yes
  checking for working stdalign.h... yes
  checking for max_align_t... yes
  checking whether NULL can be used in arbitrary expressions... yes
  checking which flavor of printf attribute matches inttypes macros... system
  checking for stpcpy... yes
  checking whether strtoimax works... yes
  checking whether symlink handles trailing slash correctly... no
  checking for nlink_t... yes
  checking whether localtime_r is declared... yes
  checking whether localtime_r is compatible with its POSIX signature... yes
  checking for timezone_t... no
  checking for library containing timer_settime... no
  checking for timer_settime... no
  checking for variable-length arrays... yes
  checking whether open recognizes a trailing slash... no
  checking for euidaccess... no
  checking libgen.h usability... yes
  checking libgen.h presence... yes
  checking for libgen.h... yes
  checking for getgroups... yes
  checking for working getgroups... yes
  checking for library containing eaccess... no
  checking for eaccess... no
  checking for group_member... no
  checking for getgroups... (cached) yes
  checking for working getgroups... (cached) yes
  checking whether getgroups handles negative values... no
  checking for __mktime_internal... no
  checking for /usr/bin/clang option to disable position independent executables... no

  Configured for 'x86_64-apple-darwin15.6.0'.

    Where should the build process find the source code?    ../emacs
    What compiler should emacs be built with?               /usr/bin/clang -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?                    nextstep
    What toolkit should Emacs use?                          none
    Where do we find X Windows header files?                NONE
    Where do we find X Windows libraries?                   NONE
    Does Emacs use -lXaw3d?                                 no
    Does Emacs use -lXpm?                                   no
    Does Emacs use -ljpeg?                                  no
    Does Emacs use -ltiff?                                  no
    Does Emacs use a gif library?                           no 
    Does Emacs use a png library?                           no 
    Does Emacs use -lrsvg-2?                                yes
    Does Emacs use cairo?                                   no
    Does Emacs use -llcms2?                                 yes
    Does Emacs use imagemagick (version 6)?                 no
    Does Emacs support sound?                               no
    Does Emacs use -lgpm?                                   no
    Does Emacs use -ldbus?                                  yes
    Does Emacs use -lgconf?                                 no
    Does Emacs use GSettings?                               no
    Does Emacs use a file notification library?             yes (kqueue)
    Does Emacs use access control lists?                    yes 
    Does Emacs use -lselinux?                               no
    Does Emacs use -lgnutls?                                yes
    Does Emacs use -lxml2?                                  yes
    Does Emacs use -lfreetype?                              no
    Does Emacs use -lm17n-flt?                              no
    Does Emacs use -lotf?                                   no
    Does Emacs use -lxft?                                   no
    Does Emacs use -lsystemd?                               no
    Does Emacs directly use zlib?                           yes
    Does Emacs have dynamic modules support?                no
    Does Emacs use toolkit scroll bars?                     yes
    Does Emacs support Xwidgets (requires gtk3)?            no
    Does Emacs have threading support in lisp?              yes

  You must run "gmake install" in order to test the built application.
  The installed application will go to nextstep/Emacs.app and can be
  run or moved from there.
  The application will be fully self-contained.

  configure: creating ./config.status
  config.status: creating src/emacs-module.h
  config.status: creating nextstep/Cocoa/Emacs.base/Contents/Info.plist
  config.status: creating nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings
  config.status: creating Makefile
  config.status: creating lib/gnulib.mk
  config.status: creating ../emacs/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 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: Now you can run 'gmake'.

#+end_example

#+name: gmake-clang-in-tree
#+begin_example
  gmake -C lib all
  gmake[1]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib'
  gmake[1]: Nothing to be done for 'all'.
  gmake[1]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib'
  gmake -C lib-src all
  gmake[1]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib-src'
  gmake[1]: Nothing to be done for 'all'.
  gmake[1]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib-src'
  gmake -C src VCSWITNESS='' all
  gmake[1]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/src'
    CC       macfont.o
  gmake[1]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/src'

#+end_example

#+name: gmake-install-clang-in-tree
#+begin_example
  gmake -C lib all
  gmake[1]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib'
  gmake[1]: Nothing to be done for 'all'.
  gmake[1]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib'
  gmake -C lib-src all
  gmake[1]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib-src'
  gmake[1]: Nothing to be done for 'all'.
  gmake[1]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib-src'
  gmake -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD' all
  gmake[1]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/src'
  gmake -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
  gmake[2]: Nothing to be done for 'all'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
  gmake -C ../admin/charsets all
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
    GEN      ../../../emacs/etc/charsets/JISX2131.map
    GEN      ../../../emacs/admin/charsets/charsets.stamp
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
  gmake -C ../admin/unidata charscript.el
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
  gmake[2]: Nothing to be done for 'charscript.el'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
    CCLD     temacs
  /opt/local/bin/gmkdir -p ../etc
  gmake -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
  gmake[2]: Nothing to be done for 'all'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
  gmake -C ../admin/charsets cp51932.el
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
  gmake[2]: Nothing to be done for 'cp51932.el'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
  gmake -C ../admin/charsets eucjp-ms.el
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
  gmake[2]: Nothing to be done for 'eucjp-ms.el'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
  unset EMACS_HEAP_EXEC; \
  LC_ALL=C ./temacs -batch  -l loadup dump
  --- List of All Regions ---
     address     size prot maxp
  --- List of Regions to be Dumped ---
     address     size prot maxp
  --- Header Information ---
  Magic = 0xfeedfacf
  CPUType = 16777223
  CPUSubType = -2147483645
  FileType = 0x2
  NCmds = 35
  SizeOfCmds = 4312
  Flags = 0x00000085
  Highest address of load commands in input file: 0x100744000
  Lowest offset of all sections in __TEXT segment:   0x2cc0
  --- List of Load Commands in Input File ---
  # cmd              cmdsize name                address     size
  0 LC_SEGMENT_64          72 __PAGEZERO                0 0x100000000
  1 LC_SEGMENT_64         872 __TEXT           0x100000000 0x238000
			     __text           0x100002cc0 0x1fde5c
			     __stubs          0x100200b1c    0xdec
			     __stub_helper    0x100201908   0x1744
			     __const          0x100203050  0x15fd8
			     __cstring        0x100219030  0x17a7a
			     __gcc_except_tab 0x100230aac     0x98
			     __objc_methname  0x100230b44   0x37db
			     __objc_classname 0x10023431f    0x113
			     __objc_methtype  0x100234432   0x16df
			     __unwind_info    0x100235b14   0x24e4
  2 LC_SEGMENT_64        1512 __DATA           0x100238000 0x427000
			     __nl_symbol_ptr  0x100238000     0x10
			     __got            0x100238010    0x2b8
			     __la_symbol_ptr  0x1002382c8   0x1290
			     __const          0x100239560   0x5d28
			     __cfstring       0x10023f288    0x880
			     __objc_classlist 0x10023fb08     0x78
			     __objc_catlist   0x10023fb80      0x8
			     __objc_protolist 0x10023fb88     0x28
			     __objc_imageinfo 0x10023fbb0      0x8
			     __objc_const     0x10023fbb8   0x3c28
			     __objc_selrefs   0x1002437e0   0x1168
			     __objc_classrefs 0x100244948    0x228
			     __objc_superrefs 0x100244b70     0x60
			     __objc_ivar      0x100244bd0    0x1f8
			     __objc_data      0x100244dc8    0x4b0
			     __data           0x100245280 0x36a9fc
			     __bss            0x1005afc80  0x8cf18
			     __common         0x10063cba0  0x221f1
  3 LC_SEGMENT_64          72 __LINKEDIT       0x10065f000  0xe5000
  4 LC_DYLD_INFO_ONLY      48
  5 LC_SYMTAB              24
  6 LC_DYSYMTAB            80
  7 LC_LOAD_DYLINKER       32
  8 LC_UUID                24
  9 LC_VERSION_MIN_MACOSX      16
  10 LC_SOURCE_VERSION      16
  11 LC_MAIN                24
  12 LC_LOAD_DYLIB          88
  13 LC_LOAD_DYLIB          88
  14 LC_LOAD_DYLIB          64
  15 LC_LOAD_DYLIB          56
  16 LC_LOAD_DYLIB          64
  17 LC_LOAD_DYLIB          72
  18 LC_LOAD_DYLIB          64
  19 LC_LOAD_DYLIB          64
  20 LC_LOAD_DYLIB          56
  21 LC_LOAD_DYLIB         104
  22 LC_LOAD_DYLIB          56
  23 LC_LOAD_DYLIB          64
  24 LC_LOAD_DYLIB          56
  25 LC_LOAD_DYLIB          64
  26 LC_LOAD_DYLIB          64
  27 LC_LOAD_DYLIB          56
  28 LC_LOAD_DYLIB          56
  29 LC_LOAD_DYLIB         104
  30 LC_LOAD_DYLIB          96
  31 LC_LOAD_DYLIB          96
  32 LC_LOAD_DYLIB          56
  33 LC_FUNCTION_STARTS      16
  34 LC_DATA_IN_CODE        16
  0x1045fc080 (sz:   0x3f24/  0x3f28)
  0x104500000 (sz:  0x79abf/ 0xfc080)
  0x1046fc080 (sz:   0x3f24/  0x3f28)
  0x104600000 (sz:  0x5dab5/ 0xfc080)
  0x1067f8000 (sz:   0x6172/  0x7fa0)
  0x106000000 (sz: 0x614ffd/0x7f8000)
  0x105ff8000 (sz:   0x3774/  0x7fa0)
  0x105800000 (sz: 0x3751ff/0x7f8000)
  0x104700000 (sz:        0/  0x1000)
  --- Load Commands written to Output File ---
  Writing segment __PAGEZERO       @        0 (       0/0x100000000 @          0)
  Writing segment __TEXT           @        0 (0x238000/0x238000 @ 0x100000000)
  Writing segment __DATA           @ 0x238000 (0x427000/0x427000 @ 0x100238000)
	  section __nl_symbol_ptr  at 0x238000 - 0x238010 (sz:     0x10)
	  section __got            at 0x238010 - 0x2382c8 (sz:    0x2b8)
	  section __la_symbol_ptr  at 0x2382c8 - 0x239558 (sz:   0x1290)
	  section __const          at 0x239560 - 0x23f288 (sz:   0x5d28)
	  section __cfstring       at 0x23f288 - 0x23fb08 (sz:    0x880)
	  section __objc_classlist at 0x23fb08 - 0x23fb80 (sz:     0x78)
	  section __objc_catlist   at 0x23fb80 - 0x23fb88 (sz:      0x8)
	  section __objc_protolist at 0x23fb88 - 0x23fbb0 (sz:     0x28)
	  section __objc_imageinfo at 0x23fbb0 - 0x23fbb8 (sz:      0x8)
	  section __objc_const     at 0x23fbb8 - 0x2437e0 (sz:   0x3c28)
	  section __objc_selrefs   at 0x2437e0 - 0x244948 (sz:   0x1168)
	  section __objc_classrefs at 0x244948 - 0x244b70 (sz:    0x228)
	  section __objc_superrefs at 0x244b70 - 0x244bd0 (sz:     0x60)
	  section __objc_ivar      at 0x244bd0 - 0x244dc8 (sz:    0x1f8)
	  section __objc_data      at 0x244dc8 - 0x245278 (sz:    0x4b0)
	  section __data           at 0x245280 - 0x5afc7c (sz: 0x36a9fc)
	  section __bss            at 0x5afc80 - 0x63cb98 (sz:  0x8cf18)
	  section __common         at 0x63cba0 - 0x65ed91 (sz:  0x221f1)
  Writing segment __DATA           @ 0x65f000 ( 0x79abf/ 0xfc000 @ 0x104500000)
  Writing segment __DATA           @ 0x6d9000 (  0x3fa4/  0x3fa8 @ 0x1045fc000)
  Writing segment __DATA           @ 0x6dd000 ( 0x5dab5/ 0xfc000 @ 0x104600000)
  Writing segment __DATA           @ 0x73b000 (  0x3fa4/  0x3fa8 @ 0x1046fc000)
  Writing segment __DATA           @ 0x73f000 (       0/  0x1000 @ 0x104700000)
  Writing segment __DATA           @ 0x73f000 (0x3751ff/0x7f8000 @ 0x105800000)
  Writing segment __DATA           @ 0xab5000 (  0x3774/  0x7fa0 @ 0x105ff8000)
  Writing segment __DATA           @ 0xab9000 (0x614ffd/0x7f8000 @ 0x106000000)
  Writing segment __DATA           @ 0x10ce000 (  0x6172/  0x7fa0 @ 0x1067f8000)
  Writing segment __LINKEDIT       @ 0x10d5000 ( 0xe489c/ 0xe5000 @ 0x10065f000)
  Writing LC_DYLD_INFO_ONLY command
  Writing LC_SYMTAB command
  Writing LC_DYSYMTAB command
  Writing LC_LOAD_DYLINKER  command
  Writing LC_UUID           command
  Writing LC_VERSION_MIN_MACOSX command
  Writing LC_SOURCE_VERSION command
  Writing LC_MAIN           command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_LOAD_DYLIB     command
  Writing LC_FUNCTION_STARTS command
  Writing LC_DATA_IN_CODE   command
  6464 unused bytes follow Mach-O header
  ln -f emacs bootstrap-emacs
  gmake -C ../nextstep all
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/nextstep'
  gmake -C ../src emacs
  gmake[3]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/src'
  gmake -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
  gmake[4]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
  gmake[4]: Nothing to be done for 'all'.
  gmake[4]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
  gmake -C ../admin/charsets all
  gmake[4]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
  gmake[4]: Nothing to be done for 'all'.
  gmake[4]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
  gmake -C ../admin/unidata charscript.el
  gmake[4]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
  gmake[4]: Nothing to be done for 'charscript.el'.
  gmake[4]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
  gmake -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
  gmake[4]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
  gmake[4]: Nothing to be done for 'all'.
  gmake[4]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/unidata'
  gmake -C ../admin/charsets cp51932.el
  gmake[4]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
  gmake[4]: Nothing to be done for 'cp51932.el'.
  gmake[4]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
  gmake -C ../admin/charsets eucjp-ms.el
  gmake[4]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
  gmake[4]: Nothing to be done for 'eucjp-ms.el'.
  gmake[4]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/charsets'
  gmake[3]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/src'
  /opt/local/bin/gmkdir -p /Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/MacOS
  cp -f ../src/emacs /Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/MacOS/Emacs
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/nextstep'
  gmake[1]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/src'
  gmake -C lisp all
  gmake[1]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/lisp'
  gmake -C ../leim all EMACS="../src/emacs"
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/leim'
  gmake[2]: Nothing to be done for 'all'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/leim'
  gmake -C ../admin/grammars all EMACS="../../src/emacs"
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/grammars'
  gmake[2]: Nothing to be done for 'all'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/admin/grammars'
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/lisp'
  gmake[2]: Nothing to be done for 'compile-targets'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/lisp'
  gmake[1]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/lisp'
  gmake info-real info-dir
  gmake[1]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns'
  gmake -C doc/lispref info
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/doc/lispref'
  gmake[2]: Nothing to be done for 'info'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/doc/lispref'
  gmake -C doc/lispintro info
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/doc/lispintro'
  gmake[2]: Nothing to be done for 'info'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/doc/lispintro'
  gmake -C doc/emacs info
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/doc/emacs'
  gmake[2]: Nothing to be done for 'info'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/doc/emacs'
  gmake -C doc/misc info
  gmake[2]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/doc/misc'
  gmake[2]: Nothing to be done for 'info'.
  gmake[2]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/doc/misc'
  gmake[1]: Nothing to be done for 'info-dir'.
  gmake[1]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns'
  umask 022; /opt/local/bin/gmkdir -p "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/info"
  unset CDPATH; \
  thisdir=`/bin/pwd`; \
  exp_infodir=`cd "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/info" && /bin/pwd`; \
  if [ "`cd ../emacs/info && /bin/pwd`" = "$exp_infodir" ]; then \
    true; \
  else \
     [ -f "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/info/dir" ] || \
	[ ! -f ../emacs/info/dir ] || \
	/opt/local/bin/ginstall -c -m 644 ../emacs/info/dir "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/info/dir"; \
     info_misc=`gmake --no-print-directory -s -C doc/misc echo-info`; \
     cd ../emacs/info ; \
     for elt in emacs.info eintr.info elisp.info ${info_misc}; do \
	test "yes" = "no" && test ! -f $elt && continue; \
	for f in `ls $elt $elt-[1-9] $elt-[1-9][0-9] 2>/dev/null`; do \
	 (cd "${thisdir}"; \
	  /opt/local/bin/ginstall -c -m 644 ../emacs/info/$f "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/info/$f"); \
	  [ -n "" ] || continue ; \
	  rm -f "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/info/$f.gz"; \
	   -9n "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/info/$f"; \
	done; \
       (cd "${thisdir}"; \
	/opt/local/bin/install-info --info-dir="/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/info" "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/info/$elt"); \
     done; \
  fi
  umask 022; /opt/local/bin/gmkdir -p "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/man/man1"
  thisdir=`/bin/pwd`; \
  cd ../emacs/doc/man; \
  for page in *.1; do \
    test "$page" = ChangeLog.1 && continue; \
    dest=`echo "${page}" | sed -e 's/\.1$//' -e 's,x,x,'`.1; \
    (cd "${thisdir}"; \
     /opt/local/bin/ginstall -c -m 644 ../emacs/doc/man/${page} "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/man/man1/${dest}"); \
    [ -n "" ] || continue ; \
    rm -f "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/man/man1/${dest}.gz"; \
     -9n "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/man/man1/${dest}" || true; \
  done
  umask 022 && /opt/local/bin/gmkdir -p "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/include"
  /opt/local/bin/ginstall -c -m 644 src/emacs-module.h "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/include/emacs-module.h"
  set "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/etc" "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/lisp" ; \
  unset CDPATH; \
  for installuser in ${LOGNAME} ${USERNAME} ${USER} `id -un 2> /dev/null`; do [ -n "${installuser}" ] && break ; done; \
  for dir in ../emacs/etc ../emacs/lisp ; do \
    [ -d ${dir} ] || exit 1 ; \
    dest="$1" ; shift ; \
    if [ -d "${dest}" ]; then \
      exp_dest=`cd "${dest}" && /bin/pwd`; \
      [ "$exp_dest" = "`cd ${dir} && /bin/pwd`" ] && continue ; \
    else true; \
    fi; \
    rm -rf "${dest}" ; \
    umask 022; /opt/local/bin/gmkdir -p "${dest}" ; \
    printf 'Copying %s to %s...\n' "$dir" "$dest" ; \
    (cd ${dir}; tar -chf - . ) \
      | (cd "${dest}"; umask 022; \
	 tar -xvf - && cat > /dev/null) || exit 1; \
    if [ "${dir}" = "../emacs/etc" ]; then \
	rm -f "${dest}/DOC"* ; \
	rm -f "${dest}/refcards"/*.aux "${dest}/refcards"/*.dvi; \
	rm -f "${dest}/refcards"/*.log "${dest}/refcards"/*.in; \
    else true; \
    fi; \
    (cd "${dest}" || exit 1; \
      for subdir in `find . -type d -print` ; do \
	chmod a+rx ${subdir} ; \
	rm -f ${subdir}/.gitignore ; \
	rm -f ${subdir}/.arch-inventory ; \
	rm -f ${subdir}/.DS_Store ; \
	rm -f ${subdir}/#* ; \
	rm -f ${subdir}/.#* ; \
	rm -f ${subdir}/*~ ; \
	rm -f ${subdir}/*.orig ; \
	rm -f ${subdir}/ChangeLog* ; \
	[ "${dir}" != "../emacs/etc" ] && \
	  rm -f ${subdir}/[mM]akefile*[.-]in ${subdir}/[mM]akefile ; \
      done ); \
    find "${dest}" -exec chown ${installuser} {} ';' ;\
  done
  Copying ../emacs/etc to /Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/etc...
  Copying ../emacs/lisp to /Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/lisp...
  rm -f "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/lisp/subdirs.el"
  umask 022; ../emacs/build-aux/update-subdirs "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/lisp"
  subdir="/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/share/emacs/26.2.90/site-lisp" ; \
    if [ -f "${subdir}/subdirs.el" ]; then true; else umask 022; /opt/local/bin/gmkdir -p "${subdir}"; (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; echo "    (normal-top-level-add-subdirs-to-load-path))") > "${subdir}/subdirs.el"; fi
  subdir="/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/share/emacs/site-lisp" ; \
    if [ -f "${subdir}/subdirs.el" ]; then true; else umask 022; /opt/local/bin/gmkdir -p "${subdir}"; (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; echo "    (normal-top-level-add-subdirs-to-load-path))") > "${subdir}/subdirs.el"; fi || true
  [ -z "" ] || { \
    echo "Compressing *.el etc. ..." && \
    cd "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/lisp" && \
    for f in `find . -name "*.elc" -print | sed 's/.elc$/.el/'`; do \
       -9n "$f"; \
    done; \
     -9n "../etc/publicsuffix.txt"; \
  }
  chmod -R a+r "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/share/emacs/26.2.90" "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/etc" "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/lisp"
  unset CDPATH; \
  umask 022; /opt/local/bin/gmkdir -p "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/etc" ; \
  exp_etcdocdir=`cd "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/etc"; /bin/pwd`; \
  if [ "`cd ./etc; /bin/pwd`" != "$exp_etcdocdir" ]; \
  then \
     docfile="DOC"; \
     printf 'Copying %s to %s ...\n' "etc/$docfile" \
       "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/etc"; \
     /opt/local/bin/ginstall -c -m 644 etc/${docfile} "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/etc/${docfile}"; \
     for installuser in ${LOGNAME} ${USERNAME} ${USER} `id -un 2> /dev/null`; do [ -n "${installuser}" ] && break ; done; \
       chown ${installuser} "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/etc/${docfile}" || true ; \
  else true; fi
  Copying etc/DOC to /Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/etc ...
  umask 022; /opt/local/bin/gmkdir -p "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/MacOS/bin"
  gmake -C lib-src install
  gmake[1]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib-src'

  Installing utilities run internally by Emacs.
  umask 022 && /opt/local/bin/gmkdir -p "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/MacOS/libexec"
  exp_archlibdir=`cd "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/MacOS/libexec" && /bin/pwd` && \
  if [ "$exp_archlibdir" != "`/bin/pwd`" ]; then \
    for file in profile hexl   ; do \
      /opt/local/bin/ginstall -c  $file \
	"/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/MacOS/libexec/$file" || exit; \
    done ; \
	  fi
  exp_archlibdir=`cd "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/MacOS/libexec" && /bin/pwd` && \
  if [ "$exp_archlibdir" != "`cd ../../emacs/lib-src && /bin/pwd`" ]; then \
    for file in rcs2log; do \
      /opt/local/bin/ginstall -c ../../emacs/lib-src/$file \
	"/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/MacOS/libexec/$file" || exit; \
    done ; \
  fi

  Installing utilities for users to run.
  umask 022 && /opt/local/bin/gmkdir -p "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/MacOS/bin"
  for file in etags ctags emacsclient  ebrowse ; do \
    /opt/local/bin/ginstall -c  ${file} \
      "/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/MacOS/bin"/` \
	echo ${file} | sed -e 's/$//' -e 's,x,x,' \
      ` || exit; \
  done
  gmake[1]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib-src'
  subdir=/Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/site-lisp && if [ -f "${subdir}/subdirs.el" ]; then true; else umask 022; /opt/local/bin/gmkdir -p "${subdir}"; (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; echo "    (normal-top-level-add-subdirs-to-load-path))") > "${subdir}/subdirs.el"; fi
  rm -rf /Users/xxx/src/emacs-26.2.90-build-ns/nextstep/Emacs.app/Contents/Resources/share
  gmake -C lib-src maybe-blessmail
  gmake[1]: Entering directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib-src'
  gmake[1]: Nothing to be done for 'maybe-blessmail'.
  gmake[1]: Leaving directory '/Users/xxx/src/emacs-26.2.90-build-ns/lib-src'

#+end_example