all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
@ 2023-07-18  9:31 Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-07-18 10:22 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 15+ messages in thread
From: Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-07-18  9:31 UTC (permalink / raw)
  To: 64698

[-- Attachment #1: Type: text/plain, Size: 2322 bytes --]


On netbsd 9.3, the following configure options will let gmake build to completion.

  > ./configure --without-all --without-x --without-compress-install --localstatedir=/var --disable-autodepend --prefix=/path/to/emacs-29.0.92 --build=x86_64--netbsd --host=x86_64--netbsd --enable-option-checking=yes --without-pop --without-mailutils 'CFLAGS=-O2 -D_FORTIFY_SOURCE=2 -I/usr/include' 'CPPFLAGS=-DTERMINFO -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib'

The following steps in the build process fail after unpacking the source distribution files.

 > $ sh ./autogen.sh
 > $ ./configure --without-x
 > $ gmake
 >
 > ...
 >
 > ***
 > *** "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
 > ***
 > gmake[1]: *** [Makefile:414: advice-on-failure] Error 2
 > gmake[1]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92'
 > gmake: *** [Makefile:370: all] Error 2
 > 
 > $ gmake bootstrap
 >
 > ...
 > 
 > ***
 > *** "make bootstrap" failed with exit status 2.
 > ***
 > *** You could try to:
 > *** - run "make extraclean" and run "make" again (or, equivalently, run
 > ***   "make bootstrap configure=default"), to rebuild Emacs with the
 > ***   default configuration options, which might fix the problem
 > *** - run "git clean -fdx" and run "make bootstrap" again, which might
 > ***   fix the problem if "make bootstrap configure=default" did not
 > ***   !BEWARE! "git clean -fdx" deletes all files that are not under
 > ***   !BEWARE! version control, which means that all changes to such
 > ***   !BEWARE! files will be lost and cannot be restored later
 > *** - run "make V=1", which displays the full commands invoked by make,
 > ***   to further investigate the problem
 > *** - report the problem and ask for help by sending an email to
 > ***   bug-gnu-emacs@gnu.org, mentioning at least the build error
 > ***   message, the platform, and the repository revision displayed by
 > ***   "git rev-parse HEAD"
 > ***
 > gmake[1]: *** [Makefile:414: advice-on-failure] Error 2
 > gmake[1]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92'
 > gmake: *** [Makefile:1246: bootstrap] Error 2


[-- Attachment #2: emacs bug report --]
[-- Type: application/octet-stream, Size: 2859 bytes --]


In GNU Emacs 29.0.92 (build 1, x86_64--netbsd) of 2023-07-18 built on
 wakeman
System Description: NetBSD wakeman 9.3 NetBSD 9.3 (GENERIC) #0: Thu Aug  4 15:30:37 UTC 2022  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64

Configured using:
 'configure --without-all --without-x --without-compress-install
 --localstatedir=/var --disable-autodepend
 --prefix=/usr/X/23/src/emacs/emacs-29.0.92 --build=x86_64--netbsd
 --host=x86_64--netbsd --enable-option-checking=yes --without-pop
 --without-mailutils 'CFLAGS=-O2 -D_FORTIFY_SOURCE=2 -I/usr/include'
 'CPPFLAGS=-DTERMINFO -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib
 -Wl,-R/usr/pkg/lib''

Configured features:
JSON PDUMPER

Important settings:
  value of $LC_ALL: C.UTF-8
  value of $LANG: en_AU.UTF-8
  locale-coding-system: nil

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort regexp-opt mail-extr emacsbug message mailcap yank-media
puny dired dnd dired-loaddefs rfc822 mml mml-sec password-cache epa
derived epg rfc6068 epg-config gnus-util text-property-search time-date
subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils wombat-theme term/xterm xterm
byte-opt gv bytecomp byte-compile disp-table rmc iso-transl tooltip
cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
multi-tty make-network-process emacs)

Memory information:
((conses 16 46318 7003)
 (symbols 48 5688 0)
 (strings 32 15361 1782)
 (string-bytes 1 437488)
 (vectors 16 8432)
 (vector-slots 8 105136 5053)
 (floats 8 24 257)
 (intervals 56 210 0)
 (buffers 976 11))

^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-18  9:31 bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-07-18 10:22 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-07-18 11:35   ` Eli Zaretskii
  0 siblings, 1 reply; 15+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-07-18 10:22 UTC (permalink / raw)
  To: Van Ly; +Cc: 64698

Van Ly <van.ly@sdf.org> writes:

> On netbsd 9.3, the following configure options will let gmake build to
> completion.

[...]

You have ommitted the compiler and Make output from the compilation,
leaving only the troubleshooting instructions printed by the Makefile
after it failed.

Please include complete build output, or at least the actual error
itself.





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-18 10:22 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-07-18 11:35   ` Eli Zaretskii
  2023-07-19  3:10     ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2023-07-18 11:35 UTC (permalink / raw)
  To: Po Lu; +Cc: 64698, van.ly

> Cc: 64698@debbugs.gnu.org
> Date: Tue, 18 Jul 2023 18:22:50 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> Van Ly <van.ly@sdf.org> writes:
> 
> > On netbsd 9.3, the following configure options will let gmake build to
> > completion.
> 
> [...]
> 
> You have ommitted the compiler and Make output from the compilation,
> leaving only the troubleshooting instructions printed by the Makefile
> after it failed.
> 
> Please include complete build output, or at least the actual error
> itself.

Yes, please.

Also, please tell what is the last commit on the emacs-29 branch that
you used to build (assuming you have built the emacs-29 branch of the
Emacs Git repository; if not, please tell what did you sue for the
sources).





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-18 11:35   ` Eli Zaretskii
@ 2023-07-19  3:10     ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-07-19 12:31       ` Eli Zaretskii
  0 siblings, 1 reply; 15+ messages in thread
From: Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-07-19  3:10 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: luangruo, 64698

[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]

> Date: Tue, 18 Jul 2023 14:35:08 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: van.ly@sdf.org, 64698@debbugs.gnu.org
> 
> > Cc: 64698@debbugs.gnu.org
> > Date: Tue, 18 Jul 2023 18:22:50 +0800
> > From:  Po Lu via "Bug reports for GNU Emacs,
> >  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> > 
> > Van Ly <van.ly@sdf.org> writes:
> > 
> > > On netbsd 9.3, the following configure options will let gmake build to
> > > completion.
> > 
> > [...]
> > 
> > You have ommitted the compiler and Make output from the compilation,
> > leaving only the troubleshooting instructions printed by the Makefile
> > after it failed.
> > 
> > Please include complete build output, or at least the actual error
> > itself.
> 
> Yes, please.
> 
> Also, please tell what is the last commit on the emacs-29 branch that
> you used to build (assuming you have built the emacs-29 branch of the
> Emacs Git repository; if not, please tell what did you sue for the
> sources).
> 

The sour was unpacked from a complete emacs-29.0.92.tar.xz file and
the sig detail is listed as part of the complete build output in the
attached file.  Attempting a git log command gives,

 $ git log
 fatal: not a git repository (or any of the parent directories): .git

The xz file would have come from the gnu website for download announced on an emacs feed.

The tooling I believe used was as follows,

 $ gmake -v
 GNU Make 4.3
 Built for x86_64--netbsd

 $ gcc --version
 gcc (GCC) 10.3.0

Here is the full build output.  The fly in the soup is I interrupted
the first unadultrated configure run since I recollected I didn't want X
and ran './configure --without-x.  That occurs at line 270 of 1985.


[-- Attachment #2: complete build output and more details --]
[-- Type: application/octet-stream, Size: 80924 bytes --]

$ ls
bug-report.text            emacs-29.0.92              emacs-29.0.92.tar.xz       emacs-29.0.92.tar.xz.sig

$ cat emacs-29.0.92.tar.xz.sig
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEF+kNUhZywEYxsRg+542uDzEV4GsFAmSO65kACgkQ542uDzEV
4Gu8bxAArUBerOWR6fdj2gIqgbTp4bBnmLzdQYTzs5VVf0mPeGuDY/yDXCogFpM3
7hZrCbfaTBOYGCm6DJ3/IQEEG1qnva3mjDraBr6rArxIWQJb/gvm/e1Dhr7AHG6t
/i8mqp+PATM8pBFUO6Z3RTT7E8pAPbMzIR+zUdRvFOuRokz0I9Au6IewolDvzNZG
URV4MH0wa5PC6VTYqvZsqfwk9xZpuk3/lCMNol7XdmSCmHE6NsunN+XMP6i50epT
aXo/E5Y7Y5Ck+GfGAgd+5xt59N9CcPRT5WY9MnX9xIzWTqzrY/WPnFZb6AFbXbLk
9/VhgxM9ldVRbq+npw9ozDFWn08epuXXJukivka3hY+YCkAf1272pmvRnSM8rxgk
MpABwycoO40m/VsF6orTEZlEQkgrbLpPvLACvjnced4vsYsXiaxjA7b+LnVIPEu2
xYsV3/G/jTeq9HZe4lmEi7atny7UhpYU0hvReyyXDPlxGyxf52Y1IiHNEGpMs4xM
eQoHzABwtmWUckYxL9CMm5+kbr1Gu55uSjrQvvPmlPVe4hxZnkDQKTz46g4mYzdk
4GK7tqc8YOTjcc8Jl1YJJxo1ZRCPfIJjLfaKKLxX4DL2XjjnHsJTjqhiCjKGcf3R
KTB6VO6AWnmqng3G9svsRZuahuk2SbMFHRdZyxEHMehSPVTCcHw=
=iF16
-----END PGP SIGNATURE-----

$ gmake -v
GNU Make 4.3
Built for x86_64--netbsd
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ gcc --version
gcc (GCC) 10.3.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ./configure
checking for xcrun... no
checking for GNU Make... make
checking build system type... x86_64-unknown-netbsd9.3
checking host system type... x86_64-unknown-netbsd9.3
checking for gcc... gcc
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... no
checking for malloc.h... yes
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 sanitizer/lsan_interface.h... no
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... no
checking for sys/vfs.h... no
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... no
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... 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... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
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 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... /usr/bin/install -c
checking command to symlink files in the same directory... ln -s
checking for install-info... /usr/pkg/bin/install-info
checking for gzip... /usr/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 for pkg-config... /usr/pkg/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... yes
checking for soundcard.h... yes
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... yes
checking for alsa >= 1.0.0... yes
checking for ADDR_NO_RANDOMIZE... no
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... libraries /usr/X11R7/lib, headers /usr/X11R7/include
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... no
checking for faccessat... yes
checking for realpath... yes
checking for lstat... yes
checking for readlinkat... yes
checking for explicit_bzero... no
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... no
checking for gettimeofday... yes
checking for mkostemp... yes
checking for pipe2... yes
checking for pselect... yes
checking for pthread_sigmask... no
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... no
checking for lutimes... yes
checking for working mmap... yes
checking for main in -lXbsd... no
checking for pthread library... -lpthread
checking for thread support... yes
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 WebPGetInfo... yes
checking for sqlite3_open_v2 in -lsqlite3... yes
checking for sqlite3_load_extension in -lsqlite3... yes
checking for getaddrinfo_a in -lanl... no
checking for gtk+-3.0 >= 3.10 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... no
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... no
checking for gnutls >= 2.12.2... yes
checking for libsystemd >= 222... no
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... no
checking for libkqueue... no
checking for library containing kqueue... none required
checking for XRenderQueryExtension in -lXrender... yes
checking for cairo >= 1.8.0... yes
checking for freetype2... yes
checking for fontconfig >= 2.2.0... yes
checking for FT_Face_GetCharVariantIndex... yes
checking for libotf... no
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... yes
checking for library containing inflateEnd... none required
checking for dlopen... yes
checking for dladdr... yes
checking for dlfunc... no
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... yes
checking for XRRGetScreenResources in -lXrandr... yes
checking for xinerama >= 1.0.2... yes
checking for xfixes >= 4.0.0... yes
checking for xi... yes
checking for X11/extensions/XInput2.h... yes
checking for XIGrabButton in -lXi... yes
checking for XIScrollClassInfo.type... yes
checking for XITouchClassInfo.type... yes
checking for XIBarrierReleasePointerInfo.deviceid... yes
checking for XIGestureClassInfo.type... no
checking for X11/extensions/sync.h... yes
checking for XSyncQueryExtension in -lXext... yes
checking for XSyncTriggerFence... yes
checking for X11/extensions/Xdbe.h...   C-c C-c$ ./configure --without-x
checking for xcrun... no
checking for GNU Make... make
checking build system type... x86_64-unknown-netbsd9.3
checking host system type... x86_64-unknown-netbsd9.3
checking for gcc... gcc
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... no
checking for malloc.h... yes
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 sanitizer/lsan_interface.h... no
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... no
checking for sys/vfs.h... no
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... no
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... 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... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
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 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... /usr/bin/install -c
checking command to symlink files in the same directory... ln -s
checking for install-info... /usr/pkg/bin/install-info
checking for gzip... /usr/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 for pkg-config... /usr/pkg/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... yes
checking for soundcard.h... yes
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... yes
checking for alsa >= 1.0.0... yes
checking for ADDR_NO_RANDOMIZE... no
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 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... no
checking for faccessat... yes
checking for realpath... yes
checking for lstat... yes
checking for readlinkat... yes
checking for explicit_bzero... no
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... no
checking for gettimeofday... yes
checking for mkostemp... yes
checking for pipe2... yes
checking for pselect... yes
checking for pthread_sigmask... no
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... no
checking for lutimes... yes
checking for working mmap... yes
checking for main in -lXbsd... no
checking for pthread library... -lpthread
checking for thread support... yes
checking for sqlite3_open_v2 in -lsqlite3... yes
checking for sqlite3_load_extension in -lsqlite3... yes
checking for getaddrinfo_a in -lanl... no
checking for malloc_trim... no
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 lgetfilecon in -lselinux... no
checking for gnutls >= 2.12.2... yes
checking for libsystemd >= 222... no
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... no
checking for libkqueue... no
checking for library containing kqueue... none required
checking for lcms2... yes
checking for library containing inflateEnd... -lz
checking for dlopen... yes
checking for dladdr... yes
checking for dlfunc... no
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... no
checking for linux/filter.h... no
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... 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... 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... yes
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... no
checking for posix_openpt... yes
checking for library containing tputs... -lterminfo
checking whether -lterminfo library defines BC... yes
checking for timerfd interface... no
checking whether signals can be handled on alternate stack... yes
checking for valgrind/valgrind.h... no
checking for struct unipair.unicode... no
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... no
checking for posix_spawnattr_setflags... yes
checking whether POSIX_SPAWN_SETSID is declared... no
checking whether GLib is linked in... no
checking for nl_langinfo and CODESET... yes
checking for nl_langinfo and _NL_PAPER_WIDTH... no
checking for mbstate_t... 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... no
checking for alloca... yes
checking for a race-free mkdir -p... ./build-aux/install-sh -c -d
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... no
checking for complete errno.h... no
checking for EMULTIHOP value... yes
checking for ENOLINK value... yes
checking for EOVERFLOW value... yes
checking whether ctype.h defines __header_inline... no
checking for mode_t... yes
checking whether strmode is declared... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for getopt.h... (cached) yes
checking for getopt_long_only... no
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.... no
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.... no
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... 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 inline... inline
checking for sigset_t... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
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... no
checking which flavor of printf attribute matches inttypes macros... system
checking whether ecvt is declared... no
checking whether fcvt is declared... no
checking whether gcvt is declared... no
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... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
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 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 static_assert... yes, an <assert.h> macro
checking for __builtin_expect... yes
checking for byteswap.h... no
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... no
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... -lexecinfo
checking for explicit_memset... yes
checking whether fchmodat works... yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... no
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking for getxattr with XATTR_NAME_POSIX_ACL macros... no
checking for flexible array member... yes
checking for __fpending... no
checking whether free is known to preserve errno... no
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... no
checking for sys/fs/s5param.h... no
checking for sys/statfs.h... no
checking for statfs that truncates block counts... no
checking whether futimens works... no
checking for getloadavg... yes
checking for sys/loadavg.h... no
checking whether getloadavg is declared... yes
checking for gettimeofday with POSIX signature... yes
checking whether the compiler supports the __inline keyword... yes
checking for gmp.h... no
checking for gmp/gmp.h... no
checking for memmem... yes
checking whether memmem works... yes
checking for mempcpy... no
checking for memrchr... yes
checking for library containing nanosleep... none required
checking for working nanosleep... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/param.h... (cached) yes
checking for sys/sysctl.h... yes
checking for sched_getaffinity... no
checking for sched_getaffinity_np... yes
checking for pstat_getdynamic... no
checking for sysmp... no
checking for sysctl... yes
checking whether signature of pselect conforms to POSIX... yes
checking whether pselect detects invalid fds... yes
checking whether pthread_sigmask is a macro... 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... no
checking for libintl.h... yes
checking whether isblank is declared... yes
checking for sig2str... no
checking for sigdescr_np... no
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... yes
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... yes
checking whether timer_settime is declared... yes
checking for library containing timer_settime... none required
checking for timer_settime... yes
checking whether utimensat works... no
checking for variable-length arrays... yes
checking for rawmemchr... no
checking whether getdtablesize works... yes
checking whether open recognizes a trailing slash... yes
checking for __mktime_internal... no
checking for timer_getoverrun... yes
checking for gcc option to disable position independent executables... not needed

Configured for 'x86_64-unknown-netbsd9.3'.

  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?                    none
  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?                                no
  Does Emacs use -lwebp?                                  no
  Does Emacs use -lsqlite3?                               yes
  Does Emacs use cairo?                                   no
  Does Emacs use -llcms2?                                 yes
  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?                               no
  Does Emacs use a file notification library?             yes (kqueue)
  Does Emacs use access control lists?                    no
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              no
  Does Emacs use HarfBuzz?                                no
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   no
  Does Emacs use -lsystemd?                               no
  Does Emacs use -ljansson?                               yes
  Does Emacs use -ltree-sitter?                           no
  Does Emacs use the GMP library?                         no
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                yes
  Does Emacs use toolkit scroll bars?                     no
  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?                   no
  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'.
$ gmake
gmake actual-all || gmake advice-on-failure make-target=all exit-status=$?
gmake[1]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake -C lib all
gmake[2]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/lib'
  GEN      alloca.h
  GEN      byteswap.h
  GEN      dirent.h
  GEN      errno.h
  GEN      fcntl.h
  GEN      getopt.h
  GEN      getopt-cdefs.h
  GEN      malloc/dynarray.gl.h
  GEN      malloc/dynarray-skeleton.gl.h
  GEN      malloc/scratch_buffer.gl.h
  GEN      ieee754.h
  GEN      inttypes.h
echo '#include "mini-gmp.h"' > gmp.h-t
mv gmp.h-t gmp.h
  GEN      limits.h
  GEN      signal.h
  GEN      stdckdint.h
  GEN      stdint.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       mktime.o
  CC       acl-errno-valid.o
  CC       acl-internal.o
  CC       get-permissions.o
  CC       set-permissions.o
  CC       allocator.o
  CC       openat-proc.o
  CC       binary-io.o
  CC       c-ctype.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       canonicalize-lgpl.o
  CC       careadlinkat.o
careadlinkat.c: In function ‘careadlinkat’:
careadlinkat.c:178:5: warning: #warning "GCC might issue a bogus -Wreturn-local-addr warning here." [-Wcpp]
  178 |    #warning "GCC might issue a bogus -Wreturn-local-addr warning here."
      |     ^~~~~~~
careadlinkat.c:179:5: warning: #warning "See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644>." [-Wcpp]
  179 |    #warning "See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644>."
      |     ^~~~~~~
careadlinkat.c:182:10: warning: function may return address of local variable [-Wreturn-local-addr]
  182 |   return readlink_stk (fd, filename, buffer, buffer_size, alloc,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  183 |                        preadlinkat, stack_buf);
      |                        ~~~~~~~~~~~~~~~~~~~~~~~
careadlinkat.c:181:8: note: declared here
  181 |   char stack_buf[STACK_BUF_SIZE];
      |        ^~~~~~~~~
  CC       close-stream.o
  CC       copy-file-range.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
  CC       dtotimespec.o
  CC       explicit_bzero.o
  CC       fcntl.o
  CC       file-has-acl.o
  CC       filemode.o
  CC       filevercmp.o
  CC       fpending.o
  CC       free.o
  CC       fsusage.o
  CC       futimens.o
  CC       getopt.o
  CC       getopt1.o
  CC       getrandom.o
  CC       gettime.o
  CC       malloc/dynarray_at_failure.o
  CC       malloc/dynarray_emplace_enlarge.o
  CC       malloc/dynarray_finalize.o
  CC       malloc/dynarray_resize.o
  CC       malloc/dynarray_resize_clear.o
  CC       malloc/scratch_buffer_grow.o
  CC       malloc/scratch_buffer_grow_preserve.o
  CC       malloc/scratch_buffer_set_array_size.o
  CC       mini-gmp-gnulib.o
  CC       mempcpy.o
  CC       nproc.o
  CC       nstrftime.o
  CC       pipe2.o
  CC       pthread_sigmask.o
  CC       qcopy-acl.o
  CC       rawmemchr.o
  CC       regex.o
  CC       sig2str.o
  CC       sigdescr_np.o
  CC       stat-time.o
  CC       tempname.o
  CC       timegm.o
  CC       timespec.o
  CC       timespec-add.o
  CC       timespec-sub.o
  CC       u64.o
  CC       unistd.o
  CC       utimens.o
  CC       utimensat.o
  CC       openat-die.o
  CC       save-cwd.o
  AR       libgnu.a
gmake[2]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/lib'
gmake -C lib-src all
gmake[2]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/lib-src'
  CCLD     etags
  CCLD     ctags
  CCLD     emacsclient
  CCLD     ebrowse
  CCLD     hexl
  CC       pop.o
  CCLD     movemail
  CCLD     make-docfile
  CCLD     make-fingerprint
gmake[2]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/lib-src'
gmake -C src BIN_DESTDIR=''/usr/local/bin/'' \
      ELN_DESTDIR='/usr/local/lib/emacs/29.0.92/' all
gmake[2]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/src'
  GEN      lisp.mk
  GEN      globals.h
  CC       dispnew.o
  CC       frame.o
  CC       scroll.o
  CC       xdisp.o
  CC       menu.o
  CC       window.o
  CC       charset.o
  CC       coding.o
  CC       category.o
  CC       ccl.o
  CC       character.o
  CC       chartab.o
  CC       bidi.o
  CC       cm.o
  CC       term.o
  CC       terminal.o
  CC       xfaces.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
  GEN      buildobj.h
  CC       doc.o
  CC       editfns.o
  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
process.c: In function ‘network_interface_list’:
process.c:4305:31: warning: taking address of packed member of ‘struct sockaddr_in’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 4305 |           maskp = (uint32_t *)&sin1->sin_addr;
      |                               ^~~~~~~~~~~~~~~
process.c:4307:31: warning: taking address of packed member of ‘struct sockaddr_in’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 4307 |           addrp = (uint32_t *)&sin2->sin_addr;
      |                               ^~~~~~~~~~~~~~~
  CC       gnutls.o
  CC       callproc.o
  CC       region-cache.o
  CC       sound.o
sound.c: In function ‘alsa_write’:
sound.c:1150:28: error: ‘ESTRPIPE’ undeclared (first use in this function); did you mean ‘ESPIPE’?
 1150 |           else if (err == -ESTRPIPE)
      |                            ^~~~~~~~
      |                            ESPIPE
sound.c:1150:28: note: each undeclared identifier is reported only once for each function it appears in
gmake[2]: *** [Makefile:424: sound.o] Error 1
gmake[2]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/src'
gmake[1]: *** [Makefile:544: src] Error 2
gmake[1]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake[1]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92'
***
*** "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
***
gmake[1]: *** [Makefile:414: advice-on-failure] Error 2
gmake[1]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake: *** [Makefile:370: all] Error 2
$ gmake bootstrap
gmake actual-bootstrap || gmake advice-on-failure make-target=bootstrap exit-status=$?
gmake[1]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake bootstrap-clean
gmake[2]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake -C src bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/src'
rm -f temacs core ./*.core \#* ./*.o
rm -f dmpstruct.h
rm -f emacs.pdmp
rm -f ../etc/DOC
rm -f bootstrap-emacs bootstrap-emacs.pdmp 
rm -f emacs-29.0.92
rm -f buildobj.h
rm -f globals.h gl-stamp
rm -f ./*.res ./*.tmp
rm -f emacs emacs-*.*.*[0-9] emacs-*.*.*[0-9].pdmp
rm -f ../etc/DOC*
rm -f deps/*
rm -f emacs-module.h epaths.h config.h config.stamp
if test -f ./.gdbinit; then \
  mv ./.gdbinit ./.gdbinit.save; \
  if test -f "./.gdbinit"; then rm -f ./.gdbinit.save; \
  else mv ./.gdbinit.save ./.gdbinit; fi; \
fi
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/src'
gmake -C oldXMenu bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/oldXMenu'
rm -f libXMenu11.a ./*.o deps/*
rm -f Makefile
rm -fr deps
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/oldXMenu'
gmake -C lwlib bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/lwlib'
rm -f ./*.o liblw.a \#* deps/*
rm -f Makefile
rm -fr deps
rm -f TAGS
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/lwlib'
gmake -C lib bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/lib'
rm -f ./*.[ao] ./*/*.o ./*-t \#* deps/*.d deps/*/*.d
rm -f core *.stackdump alloca.h assert.h byteswap.h dirent.h errno.h execinfo.h fcntl.h getopt.h getopt-cdefs.h malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h malloc/scratch_buffer.gl.h ieee754.h inttypes.h gmp.h limits.h signal.h stdalign.h stdckdint.h stddef.h stdint.h stdio.h stdlib.h string.h sys/random.h sys/select.h sys/stat.h sys/time.h sys/types.h time.h unistd.h
rm -f Makefile
rm -fr deps
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/lib'
gmake -C lib-src bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/lib-src'
rm -f core ./*.o ./*.res
rm -f seccomp-filter.bpf seccomp-filter.pfc seccomp-filter-exec.bpf seccomp-filter-exec.pfc
rm -f etags ctags emacsclient  ebrowse hexl  movemail  make-docfile make-fingerprint
rm -f TAGS Makefile blessmail
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/lib-src'
gmake -C nt bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/nt'
rm -f core *.o *.res
rm -f runemacs addpm cmdproxy ddeclient 
rm -f TAGS Makefile *.rc
true
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/nt'
gmake -C doc/emacs bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/doc/emacs'
rm -f ./*.aux ./*.log ./*.toc ./*.cp ./*.cps ./*.fn ./*.fns ./*.ky ./*.kys \
  ./*.op ./*.ops ./*.pg ./*.pgs ./*.tp ./*.tps ./*.vr ./*.vrs
rm -f emacs.dvi emacs-xtra.dvi emacs.html emacs.pdf emacs-xtra.pdf emacs.ps emacs-xtra.ps
rm -f Makefile
rm -f \
  ./../../info/emacs.info \
  ./../../info/emacs.info-[1-9] \
  ./../../info/emacs.info-[1-9][0-9]
rm -f ./emacsver.texi TAGS
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/doc/emacs'
gmake -C doc/misc bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/doc/misc'
rm -f ./*.aux ./*.log ./*.toc ./*.c[mp] ./*.c[mp]s ./*.fn ./*.fns \
  ./*.ky ./*.kys ./*.op ./*.ops ./*.p[gj] ./*.p[gj]s ./*.sc ./*.scs ./*.ss \
  ./*.t[gp] ./*.t[gp]s ./*.vr ./*.vrs
rm -f gnustmp*
rm -f ./*.dvi ./*.html ./*.pdf ./*.ps
rm -f Makefile
for file in auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede ediff edt efaq eglot eieio emacs-gnutls emacs-mime epa erc ert eshell eudc eww flymake forms gnus htmlfontify idlwave ido info.info mairix-el message mh-e modus-themes newsticker nxml-mode octave-mode org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail speedbar srecode todo-mode tramp transient url use-package vhdl-mode vip viper vtable widget wisent woman efaq-w32; do \
  file=`echo ${file} | sed 's/\.info$//'`.info; \
  rm -f \
    ./../../info/${file} \
    ./../../info/${file}-[1-9] \
    ./../../info/${file}-[1-9][0-9]; \
done
rm -f ./modus-themes.texi ./org.texi
rm -f TAGS
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/doc/misc'
gmake -C doc/lispref bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/doc/lispref'
rm -f ./*.aux ./*.log ./*.toc ./*.cp ./*.cps ./*.fn ./*.fns ./*.ky ./*.kys \
  ./*.op ./*.ops ./*.pg ./*.pgs ./*.tp ./*.tps ./*.vr ./*.vrs
rm -f elisp[12]* vol[12].tmp
rm -f elisp.dvi elisp.html elisp.pdf elisp.ps
rm -f vol[12].dvi vol[12].pdf vol[12].ps
rm -f Makefile
rm -f \
  ./../../info/elisp.info \
  ./../../info/elisp.info-[1-9] \
  ./../../info/elisp.info-[1-9][0-9]
rm -f TAGS
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/doc/lispref'
gmake -C doc/lispintro bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/doc/lispintro'
rm -f ./*.aux ./*.log ./*.toc ./*.cp ./*.cps ./*.fn ./*.fns ./*.ky ./*.kys \
  ./*.op ./*.ops ./*.pg ./*.pgs ./*.tp ./*.tps ./*.vr ./*.vrs
rm -f emacs-lisp-intro.dvi eintr.html emacs-lisp-intro.pdf emacs-lisp-intro.ps
rm -f Makefile
rm -f \
  ./../../info/eintr.info \
  ./../../info/eintr.info-[1-9]
rm -f TAGS
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/doc/lispintro'
gmake -C test bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/test'
find . '(' -name '*.log' -o -name '*.log~' ')' -delete
find . '(' -name '*.xml' -a ! -path '*resources*' ')' -delete
rm -f ./lisp/gnus/mml-sec-resources/random_seed
rm -f src/emacs-module-resources/*.o src/emacs-module-resources/*.so \
  src/emacs-module-resources/*.dll gmp.h
find . -name '*.elc' -delete
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/test'
gmake -C nextstep bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/nextstep'
rm -rf 
rm -f Makefile
rm -f GNUstep/Emacs.base/Resources/Info-gnustep.plist \
  GNUstep/Emacs.base/Resources/Emacs.desktop \
  Cocoa/Emacs.base/Contents/Info.plist \
  Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/nextstep'
gmake -C admin/charsets bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/admin/charsets'
gmake[3]: Nothing to be done for 'bootstrap-clean'.
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/admin/charsets'
gmake -C admin/unidata bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/admin/unidata'
rm -f ./*.elc unidata.txt
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/admin/unidata'
gmake -C leim bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/leim'
rm -f ./../lisp/leim/quail/CCDOSPY.el ./../lisp/leim/quail/Punct.el ./../lisp/leim/quail/QJ.el ./../lisp/leim/quail/SW.el ./../lisp/leim/quail/TONEPY.el ./../lisp/leim/quail/4Corner.el ./../lisp/leim/quail/ARRAY30.el ./../lisp/leim/quail/ECDICT.el ./../lisp/leim/quail/ETZY.el ./../lisp/leim/quail/Punct-b5.el ./../lisp/leim/quail/PY-b5.el ./../lisp/leim/quail/QJ-b5.el ./../lisp/leim/quail/ZOZY.el ./../lisp/leim/quail/tsang-b5.el ./../lisp/leim/quail/quick-b5.el ./../lisp/leim/quail/tsang-cns.el ./../lisp/leim/quail/quick-cns.el ./../lisp/leim/quail/PY.el ./../lisp/leim/quail/ZIRANMA.el ./../lisp/leim/quail/CTLau.el ./../lisp/leim/quail/CTLau-b5.el ./../lisp/language/pinyin.el ./../lisp/leim/leim-list.el
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/leim'
gmake -C lisp bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/lisp'
find . -name '*.elc' -delete
rm -f ./calc/calc-loaddefs.el ./calendar/cal-loaddefs.el ./calendar/diary-loaddefs.el ./calendar/holiday-loaddefs.el ./cedet/ede/loaddefs.el ./cedet/semantic/loaddefs.el ./cedet/srecode/loaddefs.el ./dired-loaddefs.el ./erc/erc-loaddefs.el ./emacs-lisp/cl-loaddefs.el ./ibuffer-loaddefs.el ./net/tramp-loaddefs.el ./loaddefs.el ./mh-e/mh-loaddefs.el ./org/org-loaddefs.el ./ps-print-loaddefs.el ./textmodes/reftex-loaddefs.el ./textmodes/texinfo-loaddefs.el ./theme-loaddefs.el ./cus-load.el ./finder-inf.el ./subdirs.el ./eshell/esh-groups.el
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/lisp'
gmake -C admin/grammars bootstrap-clean
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/admin/grammars'
gmake[3]: Nothing to be done for 'bootstrap-clean'.
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/admin/grammars'
[ ! -f config.log ] || mv -f config.log config.log~
rm -rf ./info
rm -f ./etc/refcards/emacsver.tex
rm -rf native-lisp/ lisp/leim/ja-dic/
rm -fr autom4te.cache config.cache
rm -f config.log ./doc/man/emacs.1
gmake[2]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92'
cd . && ./autogen.sh autoconf
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs)
Checking for autoconf (need at least version 2.65) ... ok
Your system has the required tools.
Running 'autoreconf -fi -I m4' ...
You can now run './configure'.
gmake MAKEFILE_NAME=force-Makefile force-Makefile
gmake[2]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake[2]: *** No rule to make target 'echo-sources'.  Stop.
if [ -x ./config.status ]; then   \
     ./config.status --recheck;        \
else                           \
     ./configure --cache-file=/dev/null; \
fi
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --without-x --no-create --no-recursion
checking for xcrun... no
checking for GNU Make... make
checking build system type... x86_64-unknown-netbsd9.3
checking host system type... x86_64-unknown-netbsd9.3
checking for gcc... gcc
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... no
checking for malloc.h... yes
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 sanitizer/lsan_interface.h... no
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... no
checking for sys/vfs.h... no
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... no
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... 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... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
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 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... /usr/bin/install -c
checking command to symlink files in the same directory... ln -s
checking for install-info... /usr/pkg/bin/install-info
checking for gzip... /usr/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 for pkg-config... /usr/pkg/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... yes
checking for soundcard.h... yes
checking for mmsystem.h... no
checking for _oss_ioctl in -lossaudio... yes
checking for alsa >= 1.0.0... yes
checking for ADDR_NO_RANDOMIZE... no
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 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... no
checking for faccessat... yes
checking for realpath... yes
checking for lstat... yes
checking for readlinkat... yes
checking for explicit_bzero... no
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... no
checking for gettimeofday... yes
checking for mkostemp... yes
checking for pipe2... yes
checking for pselect... yes
checking for pthread_sigmask... no
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... no
checking for lutimes... yes
checking for working mmap... yes
checking for main in -lXbsd... no
checking for pthread library... -lpthread
checking for thread support... yes
checking for sqlite3_open_v2 in -lsqlite3... yes
checking for sqlite3_load_extension in -lsqlite3... yes
checking for getaddrinfo_a in -lanl... no
checking for malloc_trim... no
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 lgetfilecon in -lselinux... no
checking for gnutls >= 2.12.2... yes
checking for libsystemd >= 222... no
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... no
checking for libkqueue... no
checking for library containing kqueue... none required
checking for lcms2... yes
checking for library containing inflateEnd... -lz
checking for dlopen... yes
checking for dladdr... yes
checking for dlfunc... no
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... no
checking for linux/filter.h... no
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... 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... 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... yes
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... no
checking for posix_openpt... yes
checking for library containing tputs... -lterminfo
checking whether -lterminfo library defines BC... yes
checking for timerfd interface... no
checking whether signals can be handled on alternate stack... yes
checking for valgrind/valgrind.h... no
checking for struct unipair.unicode... no
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... no
checking for posix_spawnattr_setflags... yes
checking whether POSIX_SPAWN_SETSID is declared... no
checking whether GLib is linked in... no
checking for nl_langinfo and CODESET... yes
checking for nl_langinfo and _NL_PAPER_WIDTH... no
checking for mbstate_t... 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... no
checking for alloca... yes
checking for a race-free mkdir -p... ./build-aux/install-sh -c -d
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... no
checking for complete errno.h... no
checking for EMULTIHOP value... yes
checking for ENOLINK value... yes
checking for EOVERFLOW value... yes
checking whether ctype.h defines __header_inline... no
checking for mode_t... yes
checking whether strmode is declared... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for getopt.h... (cached) yes
checking for getopt_long_only... no
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.... no
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.... no
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... 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 inline... inline
checking for sigset_t... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
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... no
checking which flavor of printf attribute matches inttypes macros... system
checking whether ecvt is declared... no
checking whether fcvt is declared... no
checking whether gcvt is declared... no
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... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
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 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 static_assert... yes, an <assert.h> macro
checking for __builtin_expect... yes
checking for byteswap.h... no
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... no
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... -lexecinfo
checking for explicit_memset... yes
checking whether fchmodat works... yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... no
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking for getxattr with XATTR_NAME_POSIX_ACL macros... no
checking for flexible array member... yes
checking for __fpending... no
checking whether free is known to preserve errno... no
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... no
checking for sys/fs/s5param.h... no
checking for sys/statfs.h... no
checking for statfs that truncates block counts... no
checking whether futimens works... no
checking for getloadavg... yes
checking for sys/loadavg.h... no
checking whether getloadavg is declared... yes
checking for gettimeofday with POSIX signature... yes
checking whether the compiler supports the __inline keyword... yes
checking for gmp.h... no
checking for gmp/gmp.h... no
checking for memmem... yes
checking whether memmem works... yes
checking for mempcpy... no
checking for memrchr... yes
checking for library containing nanosleep... none required
checking for working nanosleep... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/param.h... (cached) yes
checking for sys/sysctl.h... yes
checking for sched_getaffinity... no
checking for sched_getaffinity_np... yes
checking for pstat_getdynamic... no
checking for sysmp... no
checking for sysctl... yes
checking whether signature of pselect conforms to POSIX... yes
checking whether pselect detects invalid fds... yes
checking whether pthread_sigmask is a macro... 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... no
checking for libintl.h... yes
checking whether isblank is declared... yes
checking for sig2str... no
checking for sigdescr_np... no
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... yes
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... yes
checking whether timer_settime is declared... yes
checking for library containing timer_settime... none required
checking for timer_settime... yes
checking whether utimensat works... no
checking for variable-length arrays... yes
checking for rawmemchr... no
checking whether getdtablesize works... yes
checking whether open recognizes a trailing slash... yes
checking for __mktime_internal... no
checking for timer_getoverrun... yes
checking for gcc option to disable position independent executables... not needed

Configured for 'x86_64-unknown-netbsd9.3'.

  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?                    none
  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?                                no
  Does Emacs use -lwebp?                                  no
  Does Emacs use -lsqlite3?                               yes
  Does Emacs use cairo?                                   no
  Does Emacs use -llcms2?                                 yes
  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?                               no
  Does Emacs use a file notification library?             yes (kqueue)
  Does Emacs use access control lists?                    no
  Does Emacs use -lselinux?                               no
  Does Emacs use -lgnutls?                                yes
  Does Emacs use -lxml2?                                  yes
  Does Emacs use -lfreetype?                              no
  Does Emacs use HarfBuzz?                                no
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   no
  Does Emacs use -lsystemd?                               no
  Does Emacs use -ljansson?                               yes
  Does Emacs use -ltree-sitter?                           no
  Does Emacs use the GMP library?                         no
  Does Emacs directly use zlib?                           yes
  Does Emacs have dynamic modules support?                yes
  Does Emacs use toolkit scroll bars?                     no
  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?                   no
  Does Emacs use version 2 of the X Input Extension?      no
  Does Emacs generate a smaller-size Japanese dictionary? no


configure: creating ./config.status
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'.
MAKE='gmake' ./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
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92'
config.status: executing src/.gdbinit commands
config.status: executing doc/emacs/emacsver.texi commands
config.status: executing etc-refcards-emacsver.tex commands
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake[2]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake actual-all
gmake[2]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake -C lib all
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/lib'
  GEN      alloca.h
  GEN      byteswap.h
  GEN      dirent.h
  GEN      errno.h
  GEN      fcntl.h
  GEN      getopt.h
  GEN      getopt-cdefs.h
  GEN      malloc/dynarray.gl.h
  GEN      malloc/dynarray-skeleton.gl.h
  GEN      malloc/scratch_buffer.gl.h
  GEN      ieee754.h
  GEN      inttypes.h
echo '#include "mini-gmp.h"' > gmp.h-t
mv gmp.h-t gmp.h
  GEN      limits.h
  GEN      signal.h
  GEN      stdckdint.h
  GEN      stdint.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       mktime.o
  CC       acl-errno-valid.o
  CC       acl-internal.o
  CC       get-permissions.o
  CC       set-permissions.o
  CC       allocator.o
  CC       openat-proc.o
  CC       binary-io.o
  CC       c-ctype.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       canonicalize-lgpl.o
  CC       careadlinkat.o
careadlinkat.c: In function ‘careadlinkat’:
careadlinkat.c:178:5: warning: #warning "GCC might issue a bogus -Wreturn-local-addr warning here." [-Wcpp]
  178 |    #warning "GCC might issue a bogus -Wreturn-local-addr warning here."
      |     ^~~~~~~
careadlinkat.c:179:5: warning: #warning "See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644>." [-Wcpp]
  179 |    #warning "See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644>."
      |     ^~~~~~~
careadlinkat.c:182:10: warning: function may return address of local variable [-Wreturn-local-addr]
  182 |   return readlink_stk (fd, filename, buffer, buffer_size, alloc,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  183 |                        preadlinkat, stack_buf);
      |                        ~~~~~~~~~~~~~~~~~~~~~~~
careadlinkat.c:181:8: note: declared here
  181 |   char stack_buf[STACK_BUF_SIZE];
      |        ^~~~~~~~~
  CC       close-stream.o
  CC       copy-file-range.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
  CC       dtotimespec.o
  CC       explicit_bzero.o
  CC       fcntl.o
  CC       file-has-acl.o
  CC       filemode.o
  CC       filevercmp.o
  CC       fpending.o
  CC       free.o
  CC       fsusage.o
  CC       futimens.o
  CC       getopt.o
  CC       getopt1.o
  CC       getrandom.o
  CC       gettime.o
  CC       malloc/dynarray_at_failure.o
  CC       malloc/dynarray_emplace_enlarge.o
  CC       malloc/dynarray_finalize.o
  CC       malloc/dynarray_resize.o
  CC       malloc/dynarray_resize_clear.o
  CC       malloc/scratch_buffer_grow.o
  CC       malloc/scratch_buffer_grow_preserve.o
  CC       malloc/scratch_buffer_set_array_size.o
  CC       mini-gmp-gnulib.o
  CC       mempcpy.o
  CC       nproc.o
  CC       nstrftime.o
  CC       pipe2.o
  CC       pthread_sigmask.o
  CC       qcopy-acl.o
  CC       rawmemchr.o
  CC       regex.o
  CC       sig2str.o
  CC       sigdescr_np.o
  CC       stat-time.o
  CC       tempname.o
  CC       timegm.o
  CC       timespec.o
  CC       timespec-add.o
  CC       timespec-sub.o
  CC       u64.o
  CC       unistd.o
  CC       utimens.o
  CC       utimensat.o
  CC       openat-die.o
  CC       save-cwd.o
  AR       libgnu.a
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/lib'
gmake -C lib-src all
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/lib-src'
  CCLD     etags
  CCLD     ctags
  CCLD     emacsclient
  CCLD     ebrowse
  CCLD     hexl
  CC       pop.o
  CCLD     movemail
  CCLD     make-docfile
  CCLD     make-fingerprint
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/lib-src'
gmake -C src BIN_DESTDIR=''/usr/local/bin/'' \
  ELN_DESTDIR='/usr/local/lib/emacs/29.0.92/' all
gmake[3]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92/src'
  GEN      globals.h
  CC       dispnew.o
  CC       frame.o
  CC       scroll.o
  CC       xdisp.o
  CC       menu.o
  CC       window.o
  CC       charset.o
  CC       coding.o
  CC       category.o
  CC       ccl.o
  CC       character.o
  CC       chartab.o
  CC       bidi.o
  CC       cm.o
  CC       term.o
  CC       terminal.o
  CC       xfaces.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
  GEN      buildobj.h
  CC       doc.o
  CC       editfns.o
  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
process.c: In function ‘network_interface_list’:
process.c:4305:31: warning: taking address of packed member of ‘struct sockaddr_in’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 4305 |           maskp = (uint32_t *)&sin1->sin_addr;
      |                               ^~~~~~~~~~~~~~~
process.c:4307:31: warning: taking address of packed member of ‘struct sockaddr_in’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 4307 |           addrp = (uint32_t *)&sin2->sin_addr;
      |                               ^~~~~~~~~~~~~~~
  CC       gnutls.o
  CC       callproc.o
  CC       region-cache.o
  CC       sound.o
sound.c: In function ‘alsa_write’:
sound.c:1150:28: error: ‘ESTRPIPE’ undeclared (first use in this function); did you mean ‘ESPIPE’?
 1150 |           else if (err == -ESTRPIPE)
      |                            ^~~~~~~~
      |                            ESPIPE
sound.c:1150:28: note: each undeclared identifier is reported only once for each function it appears in
gmake[3]: *** [Makefile:424: sound.o] Error 1
gmake[3]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92/src'
gmake[2]: *** [Makefile:544: src] Error 2
gmake[2]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake[1]: *** [Makefile:1263: actual-bootstrap] Error 2
gmake[1]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake[1]: Entering directory '/usr/X/23/src/emacs/emacs-29.0.92'
***
*** "make bootstrap" failed with exit status 2.
***
*** You could try to:
*** - run "make extraclean" and run "make" again (or, equivalently, run
***   "make bootstrap configure=default"), to rebuild Emacs with the
***   default configuration options, which might fix the problem
*** - run "git clean -fdx" and run "make bootstrap" again, which might
***   fix the problem if "make bootstrap configure=default" did not
***   !BEWARE! "git clean -fdx" deletes all files that are not under
***   !BEWARE! version control, which means that all changes to such
***   !BEWARE! files will be lost and cannot be restored later
*** - run "make V=1", which displays the full commands invoked by make,
***   to further investigate the problem
*** - report the problem and ask for help by sending an email to
***   bug-gnu-emacs@gnu.org, mentioning at least the build error
***   message, the platform, and the repository revision displayed by
***   "git rev-parse HEAD"
***
gmake[1]: *** [Makefile:414: advice-on-failure] Error 2
gmake[1]: Leaving directory '/usr/X/23/src/emacs/emacs-29.0.92'
gmake: *** [Makefile:1246: bootstrap] Error 2

^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-19  3:10     ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-07-19 12:31       ` Eli Zaretskii
  2023-07-19 21:01         ` Paul Eggert
  0 siblings, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2023-07-19 12:31 UTC (permalink / raw)
  To: Van Ly, Paul Eggert; +Cc: luangruo, 64698

> Date: Wed, 19 Jul 2023 03:10:13 GMT
> From: Van Ly <van.ly@sdf.org>
> Cc: luangruo@yahoo.com, 64698@debbugs.gnu.org
> 
> sound.c: In function ‘alsa_write’:
> sound.c:1150:28: error: ‘ESTRPIPE’ undeclared (first use in this function); did you mean ‘ESPIPE’?
>  1150 |           else if (err == -ESTRPIPE)
>       |                            ^~~~~~~~
>       |                            ESPIPE
> sound.c:1150:28: note: each undeclared identifier is reported only once for each function it appears in
> gmake[3]: *** [Makefile:424: sound.o] Error 1

Thanks.

Paul, any ideas?  Do we just condition that by ESTRPIPE being defined?





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-19 12:31       ` Eli Zaretskii
@ 2023-07-19 21:01         ` Paul Eggert
  2023-07-20  4:47           ` Eli Zaretskii
  0 siblings, 1 reply; 15+ messages in thread
From: Paul Eggert @ 2023-07-19 21:01 UTC (permalink / raw)
  To: Eli Zaretskii, Van Ly; +Cc: luangruo, 64698

On 2023-07-19 05:31, Eli Zaretskii wrote:
> Paul, any ideas?  Do we just condition that by ESTRPIPE being defined?

The right way to do it would be to look at the NetBSD source code and 
see how their ALSA libraries deal with the situation. Whoever's 
reporting the problem would be in a better position to investigate this.

In the meantime, conditioning it as you suggest will get Emacs to 
compile (albeit there may be problems if that unusual situation occurs).





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-19 21:01         ` Paul Eggert
@ 2023-07-20  4:47           ` Eli Zaretskii
  2023-07-20 10:13             ` Valtteri Vuorikoski
  0 siblings, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2023-07-20  4:47 UTC (permalink / raw)
  To: Paul Eggert, Valtteri Vuorikoski; +Cc: luangruo, van.ly, 64698

> Date: Wed, 19 Jul 2023 14:01:54 -0700
> Cc: luangruo@yahoo.com, 64698@debbugs.gnu.org
> From: Paul Eggert <eggert@cs.ucla.edu>
> 
> On 2023-07-19 05:31, Eli Zaretskii wrote:
> > Paul, any ideas?  Do we just condition that by ESTRPIPE being defined?
> 
> The right way to do it would be to look at the NetBSD source code and 
> see how their ALSA libraries deal with the situation. Whoever's 
> reporting the problem would be in a better position to investigate this.

Thanks.

Valtteri, could you perhaps look into this?  Also, I'd be interested
to know why you didn't bump into this problem in your builds.

> In the meantime, conditioning it as you suggest will get Emacs to 
> compile (albeit there may be problems if that unusual situation occurs).

OK, will do if no better ideas emerge soon.





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-20  4:47           ` Eli Zaretskii
@ 2023-07-20 10:13             ` Valtteri Vuorikoski
  2023-07-20 16:12               ` Eli Zaretskii
  0 siblings, 1 reply; 15+ messages in thread
From: Valtteri Vuorikoski @ 2023-07-20 10:13 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: luangruo, van.ly, Paul Eggert, 64698

On Thu, Jul 20, 2023 at 07:47:40AM +0300, Eli Zaretskii wrote:
> > On 2023-07-19 05:31, Eli Zaretskii wrote:
> > > Paul, any ideas?  Do we just condition that by ESTRPIPE being defined?
> > 
> > The right way to do it would be to look at the NetBSD source code and 
> > see how their ALSA libraries deal with the situation. Whoever's 
> > reporting the problem would be in a better position to investigate this.
> 
> Thanks.
> 
> Valtteri, could you perhaps look into this?  Also, I'd be interested
> to know why you didn't bump into this problem in your builds.

I've been building with --without-sound, and didn't have the ALSA
library package installed either.

I don't have a machine where I could actually test whether sound comes
out, but the alsa-lib package in NetBSD pkgsrc includes an internal
type_compat.h header that does this:

#ifndef ESTRPIPE
#define ESTRPIPE EPIPE
#endif

Building emacs with sound enabled but alsa-lib _not_ installed seems
to work (= compiles and starts) by using the system OSS library. Since
Emacs's audio needs are modest, it may be better to use "bsd-ossaudio"
on NetBSD if --with-sound=yes. AFAICT "ALSA" on NetBSD is just a proxy
for the native audio system anyway.

The other option is to try and use ALSA if --with-sound=yes, but
#ifdef out the ESTRPIPE branch if ESTRPIPE is not defined.

Personally I'd go with the default-to-ossaudio option, since pulling in
alsa libraries introduces a pkgsrc dependency into the binary and doesn't
seem like it provides a lot of benefit. I'm not quite sure what's the
best way to convince configure.ac to act like this, but I can test
patches at least on a compiles/doesn't-compile level.

 -Valtteri
 





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-20 10:13             ` Valtteri Vuorikoski
@ 2023-07-20 16:12               ` Eli Zaretskii
  2023-07-21 10:13                 ` Valtteri Vuorikoski
  0 siblings, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2023-07-20 16:12 UTC (permalink / raw)
  To: Valtteri Vuorikoski; +Cc: luangruo, van.ly, eggert, 64698

> Date: Thu, 20 Jul 2023 13:13:12 +0300
> From: Valtteri Vuorikoski <vuori@notcom.org>
> Cc: Paul Eggert <eggert@cs.ucla.edu>, van.ly@sdf.org, luangruo@yahoo.com, 
> 	64698@debbugs.gnu.org
> 
> On Thu, Jul 20, 2023 at 07:47:40AM +0300, Eli Zaretskii wrote:
> > Valtteri, could you perhaps look into this?  Also, I'd be interested
> > to know why you didn't bump into this problem in your builds.
> 
> I've been building with --without-sound, and didn't have the ALSA
> library package installed either.
> 
> I don't have a machine where I could actually test whether sound comes
> out, but the alsa-lib package in NetBSD pkgsrc includes an internal
> type_compat.h header that does this:
> 
> #ifndef ESTRPIPE
> #define ESTRPIPE EPIPE
> #endif
> 
> Building emacs with sound enabled but alsa-lib _not_ installed seems
> to work (= compiles and starts) by using the system OSS library. Since
> Emacs's audio needs are modest, it may be better to use "bsd-ossaudio"
> on NetBSD if --with-sound=yes. AFAICT "ALSA" on NetBSD is just a proxy
> for the native audio system anyway.
> 
> The other option is to try and use ALSA if --with-sound=yes, but
> #ifdef out the ESTRPIPE branch if ESTRPIPE is not defined.
> 
> Personally I'd go with the default-to-ossaudio option, since pulling in
> alsa libraries introduces a pkgsrc dependency into the binary and doesn't
> seem like it provides a lot of benefit. I'm not quite sure what's the
> best way to convince configure.ac to act like this, but I can test
> patches at least on a compiles/doesn't-compile level.

Thanks.  I went with the #ifdef approach on the release branch, since
it's simpler and therefore safer.

Patches are welcome for preferring bsd-ossaudio on NetBSD.





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-20 16:12               ` Eli Zaretskii
@ 2023-07-21 10:13                 ` Valtteri Vuorikoski
  2023-07-21 11:03                   ` Eli Zaretskii
  0 siblings, 1 reply; 15+ messages in thread
From: Valtteri Vuorikoski @ 2023-07-21 10:13 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: luangruo, van.ly, eggert, 64698

On Thu, Jul 20, 2023 at 07:12:43PM +0300, Eli Zaretskii wrote:
> > Building emacs with sound enabled but alsa-lib _not_ installed seems
> > to work (= compiles and starts) by using the system OSS library. Since
> > Emacs's audio needs are modest, it may be better to use "bsd-ossaudio"
> > on NetBSD if --with-sound=yes. AFAICT "ALSA" on NetBSD is just a proxy
> > for the native audio system anyway.
> > 
> > The other option is to try and use ALSA if --with-sound=yes, but
> > #ifdef out the ESTRPIPE branch if ESTRPIPE is not defined.
> > 
> > Personally I'd go with the default-to-ossaudio option, since pulling in
> > alsa libraries introduces a pkgsrc dependency into the binary and doesn't
> > seem like it provides a lot of benefit. I'm not quite sure what's the
> > best way to convince configure.ac to act like this, but I can test
> > patches at least on a compiles/doesn't-compile level.
> 
> Thanks.  I went with the #ifdef approach on the release branch, since
> it's simpler and therefore safer.
> 
> Patches are welcome for preferring bsd-ossaudio on NetBSD.

If you want to apply it for -30, this basically implements the
suggestion that was already dnl'd in configure.ac. Emacs will end up
using ossaudio even if the alsa-lib pkgsrc package is installed.

--- a/configure.ac
+++ b/configure.ac
@@ -1797,8 +1797,10 @@ AC_DEFUN
     AC_CHECK_LIB([ossaudio], [_oss_ioctl], [LIBSOUND=-lossaudio], [LIBSOUND=])
     test "${with_sound}" = "bsd-ossaudio" && test -z "$LIBSOUND" && \
       AC_MSG_ERROR([bsd-ossaudio sound support requested but not found.])
-    dnl FIXME?  If we did find ossaudio, should we set with_sound=bsd-ossaudio?
-    dnl Traditionally, we go on to check for alsa too.  Does that make sense?
+    # On NetBSD use the system audio library instead of potentially switching
+    # to ALSA later on, as ALSA on NetBSD appears to just wrap OSS.
+    test "${with_sound}" = "yes" && test "$LIBSOUND" = "-lossaudio" && \
+      with_sound="bsd-ossaudio"
   fi
   AC_SUBST([LIBSOUND])

The emacs28 pkgsrc package doesn't set any sound-related configure
flags. I assume they're building binary packages on an alsa-free
system and have been happy with the result (= -lossaudio is used
because no alsa).

People who want alsa should be able to still get it with
--with-sound=alsa.

 - Valtteri
 





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-21 10:13                 ` Valtteri Vuorikoski
@ 2023-07-21 11:03                   ` Eli Zaretskii
  2023-07-21 12:12                     ` Valtteri Vuorikoski
  2023-07-22 17:08                     ` Valtteri Vuorikoski
  0 siblings, 2 replies; 15+ messages in thread
From: Eli Zaretskii @ 2023-07-21 11:03 UTC (permalink / raw)
  To: Valtteri Vuorikoski; +Cc: luangruo, van.ly, eggert, 64698

> Date: Fri, 21 Jul 2023 13:13:36 +0300
> From: Valtteri Vuorikoski <vuori@notcom.org>
> Cc: eggert@cs.ucla.edu, van.ly@sdf.org, luangruo@yahoo.com, 
> 	64698@debbugs.gnu.org
> 
> > Patches are welcome for preferring bsd-ossaudio on NetBSD.
> 
> If you want to apply it for -30, this basically implements the
> suggestion that was already dnl'd in configure.ac. Emacs will end up
> using ossaudio even if the alsa-lib pkgsrc package is installed.

Thanks.  The comments say "NetBSD", but I don't quite see where this
change affects only the *BSD systems, let alone NetBSD alone.  Maybe
we should add that condition explicitly?  I'd hate to break some other
system while fixing NetBSD.

> People who want alsa should be able to still get it with
> --with-sound=alsa.

This should probably be mentioned in NEWS, then.





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-21 11:03                   ` Eli Zaretskii
@ 2023-07-21 12:12                     ` Valtteri Vuorikoski
  2023-07-21 12:45                       ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-07-22 17:08                     ` Valtteri Vuorikoski
  1 sibling, 1 reply; 15+ messages in thread
From: Valtteri Vuorikoski @ 2023-07-21 12:12 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: luangruo, van.ly, eggert, 64698

On Fri, Jul 21, 2023 at 02:03:41PM +0300, Eli Zaretskii wrote:
> > If you want to apply it for -30, this basically implements the
> > suggestion that was already dnl'd in configure.ac. Emacs will end up
> > using ossaudio even if the alsa-lib pkgsrc package is installed.
> 
> Thanks.  The comments say "NetBSD", but I don't quite see where this
> change affects only the *BSD systems, let alone NetBSD alone.  Maybe
> we should add that condition explicitly?  I'd hate to break some other
> system while fixing NetBSD.
> 
> > People who want alsa should be able to still get it with
> > --with-sound=alsa.
> 
> This should probably be mentioned in NEWS, then.

The existing comment a few lines above indicates that -lossaudio is a
NetBSD thing, but I can't speak on how accurate that statement is. I'll
investigate and update the patch (and NEWS) as approriate.

 -Valtteri
 





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-21 12:12                     ` Valtteri Vuorikoski
@ 2023-07-21 12:45                       ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 15+ messages in thread
From: Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-07-21 12:45 UTC (permalink / raw)
  To: Valtteri Vuorikoski; +Cc: luangruo, 64698, eliz, eggert


> Date: Fri, 21 Jul 2023 15:12:27 +0300
> From: Valtteri Vuorikoski <vuori@notcom.org>
> Cc: eggert@cs.ucla.edu, van.ly@sdf.org, luangruo@yahoo.com,
>         64698@debbugs.gnu.org
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> 
> 
> The existing comment a few lines above indicates that -lossaudio is a
> NetBSD thing, but I can't speak on how accurate that statement is. I'll
> investigate and update the patch (and NEWS) as approriate.
> 

NetBSD's ossaudio(3) manpage says to use the native interface for new programs.

https://man.netbsd.org/ossaudio.3
https://man.netbsd.org/audio.4












^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-21 11:03                   ` Eli Zaretskii
  2023-07-21 12:12                     ` Valtteri Vuorikoski
@ 2023-07-22 17:08                     ` Valtteri Vuorikoski
  2023-07-26 14:05                       ` Eli Zaretskii
  1 sibling, 1 reply; 15+ messages in thread
From: Valtteri Vuorikoski @ 2023-07-22 17:08 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: luangruo, van.ly, eggert, 64698

On Fri, Jul 21, 2023 at 02:03:41PM +0300, Eli Zaretskii wrote:
> > If you want to apply it for -30, this basically implements the
> > suggestion that was already dnl'd in configure.ac. Emacs will end up
> > using ossaudio even if the alsa-lib pkgsrc package is installed.
> 
> Thanks.  The comments say "NetBSD", but I don't quite see where this
> change affects only the *BSD systems, let alone NetBSD alone.  Maybe
> we should add that condition explicitly?  I'd hate to break some other
> system while fixing NetBSD.

Based on an investigation of source trees, libossaudio exists on
NetBSD and OpenBSD. Comments (diff below) have been updated to reflect
this. FreeBSD (going back from current to 4.x) and DragonflyBSD (from
current to 1.2) don't have it.

configure.ac --with-sound=yes cannot have picked bsd-ossaudio if
-lossaudio is not found, so this change should not have any effect on
FreeBSD/DragonflyBSD: LIBSOUND has always ended up empty on those and
hence the LIBSOUND=-lossaudio test will always fail.

Meanwhile OpenBSD appears to have behaved the same as NetBSD: use ALSA
if it exists, otherwise ossaudio. OpenBSD binary packages seem to be
built with --without-sound
(https://github.com/openbsd/ports/blob/master/editors/emacs/Makefile)
so this change won't affect their package builds in any case.

Updated diff (comment update only):

--- configure.ac.old     2023-07-22 16:27:51.312652423 +0000
+++ configure.ac        2023-07-22 16:30:58.860198891 +0000
@@ -1793,12 +1793,14 @@
     AC_MSG_ERROR([OSS sound support requested but not found.])

   if test "${with_sound}" = "bsd-ossaudio" || test "${with_sound}" = "yes"; then
-    # Emulation library used on NetBSD.
+    # OSS emulation library used on NetBSD and OpenBSD.
     AC_CHECK_LIB([ossaudio], [_oss_ioctl], [LIBSOUND=-lossaudio], [LIBSOUND=])
     test "${with_sound}" = "bsd-ossaudio" && test -z "$LIBSOUND" && \
       AC_MSG_ERROR([bsd-ossaudio sound support requested but not found.])
-    dnl FIXME?  If we did find ossaudio, should we set with_sound=bsd-ossaudio?
-    dnl Traditionally, we go on to check for alsa too.  Does that make sense?
+    # On {Net,Open}BSD use the system audio library instead of potentially switching
+    # to ALSA below, as ALSA on these appears to just wrap system libraries.
+    test "${with_sound}" = "yes" && test "$LIBSOUND" = "-lossaudio" && \
+      with_sound="bsd-ossaudio"
   fi
   AC_SUBST([LIBSOUND])

> > People who want alsa should be able to still get it with
> > --with-sound=alsa.
> 
> This should probably be mentioned in NEWS, then.

How about this for a NEWS entry:

  ** Emacs now always uses the ossaudio library for sound output on
  NetBSD and OpenBSD.
  Previously configure used ALSA libraries if installed on the
  system when --with-sound was set to "yes" (the default), with fallback to
  libossaudio. The libossaudio library included with the base system is now used even if
  ALSA is found to avoid relying on external packages and to resolve
  potential incompatibilities between Linux and BSD versions of ALSA.
  Set --with-sound=alsa to build with ALSA on these operating systems
  instead.

re Van's comment on the native sound API: it's true that ossaudio(3)
recommends using the native (lower-level?) API for new development,
but someone would have to implement support for it. Since there have
apparently been few complains wrt ossaudio, while ALSA on BSD on the
other hand seems slightly problematic (and is not the native API
either, but a wrapper similar to libossaudio), carrying on with
ossaudio seems reasonable from a development-effort perspective. But
I can't speak about the end-user perspective, since I don't have any
BSD boxen that are likely to output audio.

 -Valtteri
 





^ permalink raw reply	[flat|nested] 15+ messages in thread

* bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
  2023-07-22 17:08                     ` Valtteri Vuorikoski
@ 2023-07-26 14:05                       ` Eli Zaretskii
  0 siblings, 0 replies; 15+ messages in thread
From: Eli Zaretskii @ 2023-07-26 14:05 UTC (permalink / raw)
  To: Valtteri Vuorikoski; +Cc: luangruo, van.ly, eggert, 64698-done

> Date: Sat, 22 Jul 2023 20:08:42 +0300
> From: Valtteri Vuorikoski <vuori@notcom.org>
> Cc: eggert@cs.ucla.edu, van.ly@sdf.org, luangruo@yahoo.com, 
> 	64698@debbugs.gnu.org
> 
> Based on an investigation of source trees, libossaudio exists on
> NetBSD and OpenBSD. Comments (diff below) have been updated to reflect
> this. FreeBSD (going back from current to 4.x) and DragonflyBSD (from
> current to 1.2) don't have it.
> 
> configure.ac --with-sound=yes cannot have picked bsd-ossaudio if
> -lossaudio is not found, so this change should not have any effect on
> FreeBSD/DragonflyBSD: LIBSOUND has always ended up empty on those and
> hence the LIBSOUND=-lossaudio test will always fail.
> 
> Meanwhile OpenBSD appears to have behaved the same as NetBSD: use ALSA
> if it exists, otherwise ossaudio. OpenBSD binary packages seem to be
> built with --without-sound
> (https://github.com/openbsd/ports/blob/master/editors/emacs/Makefile)
> so this change won't affect their package builds in any case.
> 
> Updated diff (comment update only):

Thanks, installed on the master branch, and closing the bug.

> > This should probably be mentioned in NEWS, then.
> 
> How about this for a NEWS entry:

Thanks, I used it with a few minor changes.





^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-07-26 14:05 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-18  9:31 bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-18 10:22 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-18 11:35   ` Eli Zaretskii
2023-07-19  3:10     ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-19 12:31       ` Eli Zaretskii
2023-07-19 21:01         ` Paul Eggert
2023-07-20  4:47           ` Eli Zaretskii
2023-07-20 10:13             ` Valtteri Vuorikoski
2023-07-20 16:12               ` Eli Zaretskii
2023-07-21 10:13                 ` Valtteri Vuorikoski
2023-07-21 11:03                   ` Eli Zaretskii
2023-07-21 12:12                     ` Valtteri Vuorikoski
2023-07-21 12:45                       ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-22 17:08                     ` Valtteri Vuorikoski
2023-07-26 14:05                       ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.