GNU bug report logs -
#64698
29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
Previous Next
Reported by: Van Ly <van.ly <at> sdf.org>
Date: Tue, 18 Jul 2023 09:38:02 UTC
Severity: normal
Found in version 29.0.92
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 26 Jul 2023 17:05:54 +0300
with message-id <83jzumoji5.fsf <at> gnu.org>
and subject line Re: bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
has caused the debbugs.gnu.org bug report #64698,
regarding 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
64698: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64698
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
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 <at> 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
[bug-report.text (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
> Date: Sat, 22 Jul 2023 20:08:42 +0300
> From: Valtteri Vuorikoski <vuori <at> notcom.org>
> Cc: eggert <at> cs.ucla.edu, van.ly <at> sdf.org, luangruo <at> yahoo.com,
> 64698 <at> 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.
This bug report was last modified 2 years and 27 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.