From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Bruno Haible <bruno@clisp.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#65340: further build failure on Android (Termux)
Date: Thu, 17 Aug 2023 15:50:44 +0200
Message-ID: <4129361.vpmOA0W5ho@nimes>
References: <5179404.0rcFjyTpgd@nimes> <4828256.zszEgyNBEI@nimes>
 <878raaijcn.fsf@yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7Bit
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="27737"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 65340@debbugs.gnu.org
To: Po Lu <luangruo@yahoo.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 17 15:51:23 2023
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1qWdPG-00070o-8J
	for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Aug 2023 15:51:22 +0200
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1qWdP5-00052k-HA; Thu, 17 Aug 2023 09:51:12 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1qWdOx-00052G-CA
 for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2023 09:51:05 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1qWdOv-0004JX-T0
 for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2023 09:51:03 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qWdOv-0003wp-PB
 for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2023 09:51:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Bruno Haible <bruno@clisp.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 17 Aug 2023 13:51:01 +0000
Resent-Message-ID: <handler.65340.B65340.169228024915156@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 65340
X-GNU-PR-Package: emacs
Original-Received: via spool by 65340-submit@debbugs.gnu.org id=B65340.169228024915156
 (code B ref 65340); Thu, 17 Aug 2023 13:51:01 +0000
Original-Received: (at 65340) by debbugs.gnu.org; 17 Aug 2023 13:50:49 +0000
Original-Received: from localhost ([127.0.0.1]:43003 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qWdOj-0003wO-IH
 for submit@debbugs.gnu.org; Thu, 17 Aug 2023 09:50:49 -0400
Original-Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.22]:37081)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bruno@clisp.org>) id 1qWdOh-0003wE-2d
 for 65340@debbugs.gnu.org; Thu, 17 Aug 2023 09:50:48 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1692280244; cv=none;
 d=strato.com; s=strato-dkim-0002;
 b=GhCKWPnrrZQb+GvOlS1z6buXiviOgSRrxfVGtQ8mCw5PUoVeXPlhKNt2iefMJoxFsW
 I2kBPAuVf0o7JwWg6pv81HVDtV7G0sJVO0qBPpqNWPSVeI9GXEoF50OcdkEY5r4LioDQ
 kVYX7pJ6qB3dwlhthVwTO2OiqJ0J5JoJnfdB4QKIh4NNfFhr7xqwT3eGEG/e7SNbms7Q
 obTNhqYebJTHf7U7l/I46ih/xDp/7n4I9ZMt/9pHcwCW3RywrXeFLt040eNIJPNBRZzZ
 lQlSanHuLux8vEfXkW4WgGGIbD5TA9i/qBaLJMlE1nHwQ+UzdLFu6DNr95DWRWNmYeOs
 Q8mw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1692280244;
 s=strato-dkim-0002; d=strato.com;
 h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=pY0XI5bsJVLmpKAF+4ZPb2tYCnQTHY1gojvWq73loJY=;
 b=R5nenzfaKOKdrNyVCpP4A7JcsXAc8YM0+WO/xQB9K5EdMQUqyi7RgemJcR5R3axBih
 2kVTymn+AUU33olyVI0A4qS9eaKrlp7ZUqTMIEYVGOLy1bYfEURmVNUrQpwvFJbfQgd4
 aXB8crVpcjnbg/eIvPFBTZ/TAEzJRfbQ2/fAzVoqxeOYgyCIaP9f5Fh23Rj+TClKT3dU
 AhCJqEciQp56sYPl72Ja3x0WsdngPfdlTEguuDldnfuCS395R6S3gyr+vXjXrjlawj84
 D7ZHAuY1I+TOdJFagd5+/iLqBuwa/BRV1Kz776inXLJ2X7VvF0S4/2oRn7negmraOR6/
 Lw0Q==
ARC-Authentication-Results: i=1; strato.com;
    arc=none;
    dkim=none
X-RZG-CLASS-ID: mo00
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1692280244;
 s=strato-dkim-0002; d=clisp.org;
 h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=pY0XI5bsJVLmpKAF+4ZPb2tYCnQTHY1gojvWq73loJY=;
 b=S6Ikiio8h+qANRz70p/0GRv/Wectvb2yXBXohJzBMuTFLG8c/tsfD3DXdHuEoFOmby
 G3CV6JV4mYYnZT9eka2NxCGD+yYkA5AsoP0t9qyWobW2FFFNNaJ8SrDzNG+yCU214ry/
 8fVa1CaKMicefLtZj32T95LhWPIjACEKuNJEcBrElasQJgL+xB8/cIINwtsmnZ1Y10jT
 wtNHOicbyEvrv/VLZNdGasu4C7sc6px0sd77OdZVZdUUPQnEeL7KPPruxxcONnbV6N7C
 59d9m/amQEw3Z/hxgwG9WFBz/mzpMs1TrwBVQnnhaLhAYjtnm68RJAl+56XBmtIUBNes
 ag6w==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1692280244;
 s=strato-dkim-0003; d=clisp.org;
 h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Cc:Date:
 From:Subject:Sender;
 bh=pY0XI5bsJVLmpKAF+4ZPb2tYCnQTHY1gojvWq73loJY=;
 b=4sPwEZIRV7mlbeDSnOGogNifEhq3T+jkU7lkRmu8Zs9dkA096hoyjU6xX/12EYGW2e
 UJtqAYFe+0oS8IcNRACw==
X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpPFj6RvVMl4BvBdklfMVgTuiF5Iaw=="
Original-Received: from nimes.localnet by smtp.strato.de (RZmta 49.6.6 AUTH)
 with ESMTPSA id 3eda2cz7HDoi5uJ
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Thu, 17 Aug 2023 15:50:44 +0200 (CEST)
In-Reply-To: <878raaijcn.fsf@yahoo.com>
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=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:267662
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/267662>

Po Lu wrote:
> Thanks, both problems you mentioned should now be fixed.

Thanks. configure now displays

  checking for library containing tputs... -ltinfo

But I still get a link error, due to configure.ac line 6062. I needed
to change this line
  mingw32 | android)
to
  mingw32)
in order for the build to go further.

With this done, "make" succeeds, and "make install" works fine as well.
If there are issues with "make check", I'll report them separately.

> BTW, I see that config.guess doesn't detect Android when trying to
> establish the operating system for a Linux-based system.  I have a
> straightforward fix, but no papers for config.  So it would be expedient
> for you or Paul to rewrite it independently.

Good point. Indeed, if config.guess guessed it correctly, my mistake
yesterday would not have happened.

For such tiny contributions to config.guess, no copyright assignment is needed,
per <https://www.gnu.org/prep/maintain/html_node/Legally-Significant.html>.
I filed a patch here now:
https://lists.gnu.org/archive/html/config-patches/2023-08/msg00012.html

Bruno