From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Android port Date: Sun, 6 Aug 2023 20:11:05 +0200 (CEST) Message-ID: <93167225.6214467.1691345465378@mail1.libero.it> References: <1428589171.162865.1691134964773@mail1.libero.it> <87il9s5vmv.fsf@yahoo.com> <83o7jkpbi1.fsf@gnu.org> <7795730.O3cEFmX14Z@nimes> <83leeopaw1.fsf@gnu.org> <87cz0047ar.fsf@yahoo.com> <300293781.6205921.1691334594442@mail1.libero.it> <1869652718.6207009.1691336124300@mail1.libero.it> <373515283.6207381.1691336695284@mail1.libero.it> <83cz00oyy5.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="24403"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, bruno@clisp.org, eggert@cs.ucla.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 06 20:11:52 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qSiEJ-0006Ci-MG for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Aug 2023 20:11:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSiDp-0006TM-Ih; Sun, 06 Aug 2023 14:11:21 -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 1qSiDg-0006PS-QC for emacs-devel@gnu.org; Sun, 06 Aug 2023 14:11:14 -0400 Original-Received: from smtp-17-i2.italiaonline.it ([213.209.12.17] helo=libero.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSiDd-0006Aa-Fw for emacs-devel@gnu.org; Sun, 06 Aug 2023 14:11:12 -0400 Original-Received: from oxapps-35-158.iol.local ([10.101.8.204]) by smtp-17.iol.local with ESMTPA id SiDZqHP07MBCUSiDZqq0YB; Sun, 06 Aug 2023 20:11:05 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1691345465; bh=FUkq/c9wDxZEQTRxSB8IDvVNXn/8nsSaNAmDbVn/Afw=; h=From; b=cunnVZF6SIzHLk4NV7lv/e205PtHl6AvnYQCjd4Rztn4D6GZhKTwUJDd62VA9jUEY gEzWLMHV0vwWbnmZT+OY3gmrLA7CpVodgfsvPyODp3sbcUMC4/wXziedgJFsWCFKw1 z+X4N5Fjh9cy7LnMqxrFR0e4aHrCOWNVNtE4cmYzJqJyLnXeI2zErif8w+SK+7bHPN JrvT8uUhMinK7iGRrY0sODWxDUfHa6e+kig8ssm7jvAAwnnvKUfY585oZ2RWqbpxYw tXWPq5jeYK7iCXiVA/gORRHQH0TzP7GZD7Qw5PbBkeEk4jJHapXLM8XQ+cP6kXsuYZ Dv7de6I2rlPUQ== X-CNFS-Analysis: v=2.4 cv=cLQm8HSN c=1 sm=1 tr=0 ts=64cfe239 cx=a_exe a=2MFBODM2nTGX/OOG4TsJuw==:117 a=Ss_-IZNWx70A:10 a=IkcTkHD0fZMA:10 a=t7S61DL6LXGgYKH6vkoA:9 a=QEXdDO2ut3YA:10 a=94rG8uCxw4uURKh1swTP:22 In-Reply-To: <83cz00oyy5.fsf@gnu.org> X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.6-Rev41 X-Originating-IP: 79.55.34.224 X-Originating-Client: open-xchange-appsuite x-libjamsun: 7Hs5yZi0ylng9PPmPbzQJIDoigbYJblJ x-libjamv: Go1sA6j1JUI= X-CMAE-Envelope: MS4xfHcMWqzj/BCA8shyVz2bYIM3oZ+VRvx27uSDNi38JhyvIrqzUY73Y4cRXvk5H6T2CicyV6YKFPbI3ERiR91uQG1eiRmPAbUDkAeEIWnHk8MYs3QXmoHX mE9jZYfoJdAJdp7NqKrb2ao4aGG4qRh8ZkdsT5T3Qq6xjdUnSZl4s68jegvYVrlsXiRzWJFRaTZN4wMDrdIEKR9lyqEMM7K9bQr+KG9jDLgJdKE7lphW3P+e qBs6YSOOx0+OEE59FQNx23BKD9zy3+XqGkKvWEq5dShIL3JnEQi2SbWK7zgEXO88+sCen/0tMFBIbJ5P0Hu4Lw== Received-SPF: pass client-ip=213.209.12.17; envelope-from=angelo.g0@libero.it; helo=libero.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308384 Archived-At: > Il 06/08/2023 19:36 CEST Eli Zaretskii ha scritto: >=20 > =20 > > Date: Sun, 6 Aug 2023 17:44:55 +0200 (CEST) > > From: Angelo Graziosi=20 > > Cc: Bruno Haible=20 > >=20 > > > Il 06/08/2023 17:35 CEST Angelo Graziosi ha scritto: > > >=20 > > > =20 > > > Ah, on top applies! Testing wait.. > > >=20 > > > > Il 06/08/2023 17:09 CEST Angelo Graziosi ha scritto: > > >=20 > > > > On top of previous or from scratch? > >=20 > > Ok, the three patches (up today) apply cleanly but the build fails in t= he same manner.. >=20 > Are you sure you did all the steps starting from autogen.sh and > running the configure script? For sanity check I removed the tree and repeated the steps: $ aunpack emacs-bfbdf4eb892935536fc665d6cc986fd669364263.tar.gz $ cd emacs-bfbdf4eb892935536fc665d6cc986fd669364263/ $ patch nt/mingw-cfg.site ../android-01.patch $ patch nt/mingw-cfg.site ../android-02.patch $ patch nt/mingw-cfg.site ../android-03.patch $ tail /tmp/emacs-bfbdf4eb892935536fc665d6cc986fd669364263/nt/mingw-cfg.sit= e gl_cv_func_free_preserves_errno=3Dyes # Don't build the Gnulib nanosleep module: it requires W2K or later, # and MinGW does have nanosleep. gl_cv_func_nanosleep=3Dyes # Suppress configure-time diagnostic from unnecessary libxattr check, # as xattr will not be supported here. enable_xattr=3Dno # Don't build gnulib printf either. ac_cv_func_vasprintf=3Dyes gl_cv_func_vasprintf_posix=3Dyes $ ./autogen.sh $ ./configure $ make [...] asprintf.c:30:1: error: redefinition of 'asprintf' 30 | asprintf (char **resultp, const char *format, ...) | ^~~~~~~~ In file included from C:/msys64/tmp/emacs-bfbdf4eb892935536fc665d6cc986fd66= 9364263/nt/inc/ms-w32.h:389, from ../src/conf_post.h:38, from ../src/config.h:3511, from asprintf.c:18: C:/msys64/mingw64/include/stdio.h:276:5: note: previous definition of 'aspr= intf' with type 'int(char **, const char *, ...)' 276 | int asprintf(char **__ret, const char *__format, ...) | ^~~~~~~~ make[2]: *** [Makefile:102: asprintf.o] Error 1 make[2]: uscita dalla directory =C2=AB/tmp/emacs-bfbdf4eb892935536fc665d6cc= 986fd669364263/lib=C2=BB make[1]: *** [Makefile:537: lib] Error 2 make[1]: uscita dalla directory =C2=AB/tmp/emacs-bfbdf4eb892935536fc665d6cc= 986fd669364263=C2=BB make[1]: ingresso nella directory =C2=AB/tmp/emacs-bfbdf4eb892935536fc665d6= cc986fd669364263=C2=BB *** *** "make all" failed with exit status 2. *** *** You could try to: *** - run "make bootstrap", which might fix the problem *** - run "make V=3D1", which displays the full commands invoked by make, *** to further investigate the problem *** make[1]: *** [Makefile:418: advice-on-failure] Error 2 make[1]: uscita dalla directory =C2=AB/tmp/emacs-bfbdf4eb892935536fc665d6cc= 986fd669364263=C2=BB make: *** [Makefile:374: all] Error 2 >=20 > If yes, it means something else causes asnprintf.o to be added to > LIBOBJ. What does the below show in the m4 directories (I think there > are two of them on the Android branch): >=20 > $ grep 'gl_REPLACE_VASN\?PRINTF' *.m4 $ grep 'gl_REPLACE_VASN\?PRINTF' *.m4 printf-posix.m4: gl_REPLACE_VASNPRINTF vasnprintf.m4: gl_REPLACE_VASNPRINTF vasnprintf.m4:AC_DEFUN([gl_REPLACE_VASNPRINTF], vasprintf.m4: gl_REPLACE_VASPRINTF vasprintf.m4:AC_DEFUN([gl_REPLACE_VASPRINTF], vasprintf-posix.m4: gl_REPLACE_VASNPRINTF vasprintf-posix.m4: gl_REPLACE_VASPRINTF vfprintf-posix.m4: gl_REPLACE_VASNPRINTF