unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 65323@debbugs.gnu.org, Bruno Haible <bruno@clisp.org>,
	Glenn Morris <rgm@gnu.org>
Subject: bug#65323: build failure on Alpine Linux
Date: Wed, 16 Aug 2023 16:11:43 +0200	[thread overview]
Message-ID: <87o7j75b6o.fsf@gmail.com> (raw)
In-Reply-To: <83r0o38atg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Aug 2023 14:51:23 +0300")

>>>>> On Wed, 16 Aug 2023 14:51:23 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Bruno Haible <bruno@clisp.org>
    >> Date: Tue, 15 Aug 2023 23:54:14 +0200
    >> 
    >> A build of the current GNU Emacs sources on Alpine Linux 3.18 fails:
    >> 
    >> $ ./configure ... --without-all --without-x
    >> $ make
    >> ...
    >> make[2]: Leaving directory '/home/bruno/emacs/doc/misc'
    >> ./build-aux/install-sh -c -d ./info
    >> (cd ./doc && \
    >> AWK='awk' ../build-aux/make-info-dir ../build-aux/dir_top emacs/emacs.texi lispintro/emacs-lisp-intro.texi lispref/elisp.texi misc/auth.texi misc/autotype.texi misc/bovine.texi misc/calc.texi misc/cc-mode.texi misc/cl.texi misc/dbus.texi misc/dired-x.texi misc/ebrowse.texi misc/ede.texi misc/ediff.texi misc/edt.texi misc/efaq.texi misc/eglot.texi misc/eieio.texi misc/emacs-gnutls.texi misc/emacs-mime.texi misc/epa.texi misc/erc.texi misc/ert.texi misc/eshell.texi misc/eudc.texi misc/eww.texi misc/flymake.texi misc/forms.texi misc/gnus.texi misc/htmlfontify.texi misc/idlwave.texi misc/ido.texi misc/info.texi misc/mairix-el.texi misc/message.texi misc/mh-e.texi misc/modus-themes.org misc/newsticker.texi misc/nxml-mode.texi misc/octave-mode.texi misc/org.org misc/pcl-cvs.texi misc/pgg.texi misc/rcirc.texi misc/reftex.texi misc/remember.texi misc/sasl.texi misc/sc.texi misc/semantic.texi misc/ses.texi misc/sieve.texi misc/smtpmail.texi misc/speedbar.texi misc/srecode.texi misc/todo-mode.texi misc/tramp.texi misc/transient.texi misc/url.texi misc/use-package.texi misc/vhdl-mode.texi misc/vip.texi misc/viper.texi misc/vtable.texi misc/widget.texi misc/wisent.texi misc/woman.texi \
    >> ) >info/dir.tmp && mv info/dir.tmp info/dir
    >> awk: bad regex '@value{emacsname}': Invalid contents of {}
    >> make[1]: *** [Makefile:1186: info/dir] Error 1
    >> make[1]: Leaving directory '/home/bruno/emacs'
    >> 
    >> The problem is apparently the 'awk' program that ships with Alpine Linux:
    >> 
    >> $ awk --version
    >> awk: unrecognized option: version
    >> BusyBox v1.36.1 (2023-06-02 00:42:02 UTC) multi-call binary.
    >> 
    >> Usage: awk [OPTIONS] [AWK_PROGRAM] [FILE]...
    >> 
    >> -v VAR=VAL      Set variable
    >> -F SEP          Use SEP as field separator
    >> -f FILE         Read program from FILE
    >> -e AWK_PROGRAM
    >> 
    >> 
    >> It would be good if the INSTALL file would mention this requirement to
    >> have a decent 'awk' program.

    Eli> I think it goes without saying that every program invoked by the build
    Eli> must be "decent".

    Eli> Seriously, though: I don't understand what would you like to see
    Eli> written there about this.  Are we using some feature that is not
    Eli> standard in Awk?  If not, this should be taken up with Alpine Linux
    Eli> developers, I think.

As far as I can tell, the gsub line doesnʼt match anything currently
anyway, so we could delete it (but Iʼm not an awk expert).

Robert
-- 





  reply	other threads:[~2023-08-16 14:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-15 21:54 bug#65323: build failure on Alpine Linux Bruno Haible
2023-08-16 11:51 ` Eli Zaretskii
2023-08-16 14:11   ` Robert Pluim [this message]
2023-08-16 22:59   ` Bruno Haible
2023-08-17  5:44     ` Eli Zaretskii
2023-08-17  9:13       ` Robert Pluim
2023-08-17 10:00         ` Eli Zaretskii
2023-08-17 13:51           ` Robert Pluim

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87o7j75b6o.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=65323@debbugs.gnu.org \
    --cc=bruno@clisp.org \
    --cc=eliz@gnu.org \
    --cc=rgm@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).