From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#65323: build failure on Alpine Linux Date: Wed, 16 Aug 2023 16:11:43 +0200 Message-ID: <87o7j75b6o.fsf@gmail.com> References: <3412457.LbyZJav9QN@nimes> <83r0o38atg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21410"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65323@debbugs.gnu.org, Bruno Haible , Glenn Morris To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 16 16:12:13 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWHFs-0005OQ-Ni for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Aug 2023 16:12:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWHFj-0005YD-Pu; Wed, 16 Aug 2023 10:12:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWHFi-0005Wr-6f for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 10:12:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWHFh-0000oc-Ob for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 10:12:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWHFh-0003tQ-K2 for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 10:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Aug 2023 14:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65323 X-GNU-PR-Package: emacs Original-Received: via spool by 65323-submit@debbugs.gnu.org id=B65323.169219511414946 (code B ref 65323); Wed, 16 Aug 2023 14:12:01 +0000 Original-Received: (at 65323) by debbugs.gnu.org; 16 Aug 2023 14:11:54 +0000 Original-Received: from localhost ([127.0.0.1]:41764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWHFZ-0003t0-Lo for submit@debbugs.gnu.org; Wed, 16 Aug 2023 10:11:54 -0400 Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:58865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWHFW-0003sm-TU for 65323@debbugs.gnu.org; Wed, 16 Aug 2023 10:11:52 -0400 Original-Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3fe2fb9b4d7so59685875e9.1 for <65323@debbugs.gnu.org>; Wed, 16 Aug 2023 07:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692195105; x=1692799905; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=WFjg53xtKnWa85b19vkN8nyobLzM2UruhswpTPo17R4=; b=Lgrt7rvFU64WcU4OpyxAk9yWoeQgT6CIBiLfjeKSqdZ7wUjh7iiD90OmvYsA2OSfAr gGvtMsqMBpp/3x0q4d0i5rxCF4A7NQ8uBgAQnxpCGwAb/ZKl8pxt3GthhyF816/Ddzl7 diOxlqyCPbr/UwcFCKOtiCLn1/be8xSO2TV9Im338x2Tsw2cGnEzEmW68n22gyfVP9MB 6dRDQyxaqNG64AqI2j7DgaZY9CHjfJSY3cf4rLXcXsCMpW3day3uat8JmUj+Ip6ZyaCx ByGn8C438ctzFmUjArivrKw1Xzzmw4JQXzK0PsvKC23pDwn9uFpMqf6TjtUYDmRl88bO P5Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692195105; x=1692799905; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WFjg53xtKnWa85b19vkN8nyobLzM2UruhswpTPo17R4=; b=PEX/VsXxx8h0vmotuCIcRQEZpGlOyCNfX4x0l/SIoDHsRCuAar+PIKNUUW5jqfXZzi QXV20fpFevfGddMeBQ+xQcXiVKnNJzdUBRrbo5YB1V8ihocEK/HcICRFLHa+lN4d+1WE LngG32rfeV4Y1lU1exYwMhHhFn3zt9/VFooHNmJBczCS/r+EFuWdUHGhzMOzXnhQmcOn VpA8ncW/li+kyNMmb4SMuho5Y/E08dIZMMoo/DBPnYNN0v+GDmHVvZFu9TmoQ0PTLlkd J9Kcu6nGk4xN8O+kpJuK8NpWHLOIyxXeFNHfvO0Et8a4xDXjLZV/b8Tgk8N7qhxLl1Ys yf7g== X-Gm-Message-State: AOJu0YxCkNAPJH3dfiz/OgyfFNw15w+r9W3Vm2c+EeopadWKwiy8NqzH Jvfj1KGZN4ob+MLX8yAlnG8= X-Google-Smtp-Source: AGHT+IEWsgX9YzU0KbEeWonGo+PhX9jw6J2ihr+oxdTnXKDeKreL2Y0eDl0nAkaev2NzrwQjS7HTpA== X-Received: by 2002:a7b:ca53:0:b0:3fe:4548:1892 with SMTP id m19-20020a7bca53000000b003fe45481892mr1634274wml.16.1692195104767; Wed, 16 Aug 2023 07:11:44 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:9eeb:e8ff:fe1b:1ad8]) by smtp.gmail.com with ESMTPSA id v22-20020a1cf716000000b003fe23b10fdfsm24610552wmh.36.2023.08.16.07.11.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 07:11:44 -0700 (PDT) In-Reply-To: <83r0o38atg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Aug 2023 14:51:23 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267591 Archived-At: >>>>> On Wed, 16 Aug 2023 14:51:23 +0300, Eli Zaretskii said: >> From: Bruno Haible >> Date: Tue, 15 Aug 2023 23:54:14 +0200 >>=20 >> A build of the current GNU Emacs sources on Alpine Linux 3.18 fails: >>=20 >> $ ./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=3D'awk' ../build-aux/make-info-dir ../build-aux/dir_top emacs/em= acs.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/c= l.texi misc/dbus.texi misc/dired-x.texi misc/ebrowse.texi misc/ede.texi mis= c/ediff.texi misc/edt.texi misc/efaq.texi misc/eglot.texi misc/eieio.texi m= isc/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 m= isc/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.tex= i misc/modus-themes.org misc/newsticker.texi misc/nxml-mode.texi misc/octav= e-mode.texi misc/org.org misc/pcl-cvs.texi misc/pgg.texi misc/rcirc.texi mi= sc/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 m= isc/srecode.texi misc/todo-mode.texi misc/tramp.texi misc/transient.texi mi= sc/url.texi misc/use-package.texi misc/vhdl-mode.texi misc/vip.texi misc/vi= per.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' >>=20 >> The problem is apparently the 'awk' program that ships with Alpine L= inux: >>=20 >> $ awk --version >> awk: unrecognized option: version >> BusyBox v1.36.1 (2023-06-02 00:42:02 UTC) multi-call binary. >>=20 >> Usage: awk [OPTIONS] [AWK_PROGRAM] [FILE]... >>=20 >> -v VAR=3DVAL Set variable >> -F SEP Use SEP as field separator >> -f FILE Read program from FILE >> -e AWK_PROGRAM >>=20 >>=20 >> 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 b= uild 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=CA=BCt match anything currently anyway, so we could delete it (but I=CA=BCm not an awk expert). Robert --=20