all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Valtteri Vuorikoski <vuori@notcom.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: luangruo@yahoo.com, van.ly@sdf.org,
	Paul Eggert <eggert@cs.ucla.edu>,
	64698@debbugs.gnu.org
Subject: bug#64698: 29.0.92; on netbsd 9.3, gmake and "gmake bootstrap" fail to proceed
Date: Thu, 20 Jul 2023 13:13:12 +0300	[thread overview]
Message-ID: <ptcamxxo3uh6ptrckp7id253doz2zzmioxvlr2gwf4av53mpc4@ytg2uwastwju> (raw)
In-Reply-To: <838rbb42ab.fsf@gnu.org>

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
 





  reply	other threads:[~2023-07-20 10:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ptcamxxo3uh6ptrckp7id253doz2zzmioxvlr2gwf4av53mpc4@ytg2uwastwju \
    --to=vuori@notcom.org \
    --cc=64698@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=van.ly@sdf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.