From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Android port Date: Fri, 04 Aug 2023 17:44:11 +0800 Message-ID: <87h6pf9m6s.fsf@yahoo.com> References: <1428589171.162865.1691134964773@mail1.libero.it> 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="20761"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "emacs-devel@gnu.org" To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 04 11:45:14 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 1qRrMv-0005An-Ec for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Aug 2023 11:45:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRrMC-0002tq-6Z; Fri, 04 Aug 2023 05:44:28 -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 1qRrMB-0002tK-07 for emacs-devel@gnu.org; Fri, 04 Aug 2023 05:44:27 -0400 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qRrM9-0002Sd-2S for emacs-devel@gnu.org; Fri, 04 Aug 2023 05:44:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691142262; bh=amhrCNaO5/9TPq+N3BlvkWIhXoPKT9i80wbv/7FwI7g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=DbYo+OCHaZTQv3YiIHWPl8lLiU2DRmIqgfOjNb/f3ecst9g3nctn1Wfv3cKfL6nQgw9mJLG5Q002IhlRVfOxrVQMfx2KOtcxip3TAoNAdeFc1OtX8IDXxbLF0fT+F4kZTtDvtWmL625c7wc2rujZYJ23oP5KBCgVmRkWJvSUiwWy9QrBnGdRq6JYAYM5TYzLF+dYdvlLof14+8hcANaoKG9H/dweCpbl2qKuKLiflAmJCkIVpCRSGkN8fxCwAInweJEBuUQR/bFOBoPKkQEJ3ou6gp5elNjyiELqDcjlmVyAbprf/mto/hOild5cwYinE2RhIkFv4dsarkt39wvNkA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691142262; bh=5c1tCRAbCKH5timFISXpJK3GAm2pKuUN66r9kDEgAow=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=sLwELCAMitg2H2Z4HoiVFA7Mem+bs06TJjluNoQjDq/rPz5GMbSIlh5u+0/imSDEbyKwCSH15lacjVs2TkNymaoFWwCR+n/uuLfNezAEFU1gEcqndfAcfkD0ZctmAs26XRerZsbf1tuyLJ/cSrXUMROe3rdl3z1NJi6kY8FYl8Zr9nyvHjGEFaskGpD4ZJLr3LsWWT1FDD9Ezz3aErqeyxPSIZbVfCwYFIkTu5rVPQpb4uwx4nhusqrW3dKeTeOYzbAXXh8m7Lv5b1cK5mFj0Bk77nM2jnKC0XPm56wGEdvAtlrrwiKo6wD7GNP3cGe8O8TKsom2ikd/MsBguoKCWQ== X-YMail-OSG: D2ESopcVM1nDpVQjD3czYU96OdjPo6qRs_XaBGcRYZExIzQHW5Fwil39tJ8ozmV BBZo7km_9XSjRbgLPfxtJdxvZIMgy9wHiC1v0.6iKpnq5HPOYtO6SFnNBIax5B._mglqVxLirTP2 Vq4KAlRLab..eB8yZIqoPDYyLLh6QHdwYG.ja7tSXqfUgNwqVYtgEe4qs6rP3EwT_3f3XmctXrEP cQMmZbU2bZ6mp5kTNE67p9NZvpPcaIYw0ASRtjDWoYDLZYBc.1ZH42rRoCZS.jv47Zm15u1Vwg2d LXJZxvYwvgzRcZUOnuiRlh7Eu_pZfxltRWLekrTS98Sx3ovsEHx_dn0w1E71HyFz2xdajR61xA0H EmuNsol7J8cm39kXNGdsi5NMCVztBhWzeKrn_uOirEtEsozN07xoolw8kCkCkvC8gsS8ZPj9us_0 lqdNrqxQzjbkxBaNeWYtek50p2MWoUcj.hp0orc_sR_TCb5LaVnGD_hu1eD4WsAw8.sqOM8WlpZm kDrCdCEMLMfcqWtzgzkYIRe0DXltPDfFejTqzRx6mx2nuinzIowlcNYHJXdOnhtJygA6N4EO_rKI mAyPeWA8Qw13i2Xozz5XsYCsUKzqo9YOiFpmyvnruolkpNMAFBWyQm7dqUBUadq7KSAEQUQx93az GcktABJulv01SLzLqGrbcBskbwQa54VzlpexYcWbGB9DputixIx0F4lSE8y424zn5.GuvHs394bo FZ9EV9Vz02iGrhxxStKbEHhx5X5elM8p.oJvQ1zvrN9pv9qv7i2qo8XQ36mOPpZiZPKJrnCGPLDO Yn8L40LcI2pbeafkRcunWY3urJ7ywt55jp19.FgwSF X-Sonic-MF: X-Sonic-ID: 73349c33-03d8-47ff-b742-a602594d12c9 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Fri, 4 Aug 2023 09:44:22 +0000 Original-Received: by hermes--production-sg3-6b8fc8d58f-t7fng (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0bd58bdbf552b32179a5f547d35b7613; Fri, 04 Aug 2023 09:44:16 +0000 (UTC) In-Reply-To: <1428589171.162865.1691134964773@mail1.libero.it> (Angelo Graziosi's message of "Fri, 4 Aug 2023 09:42:44 +0200 (CEST)") X-Mailer: WebService/1.1.21685 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.148; envelope-from=luangruo@yahoo.com; helo=sonic314-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:308279 Archived-At: Angelo Graziosi writes: >> Also, would someone ascertain if the branch still builds on MS Windows, = after the past few updates from Gnulib? > > No, on MSYS2/MINGW64 it fails: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > [...] > =3D=3D=3D> Building ... > > make actual-all || make advice-on-failure make-target=3Dall exit-status= =3D$? > make[1]: ingresso nella directory =C2=AB/tmp/emacs-master=C2=BB > make -C lib all > make -C doc/lispref info > make -C doc/lispintro info > make -C doc/emacs info > make[2]: ingresso nella directory =C2=AB/tmp/emacs-master/doc/lispintro= =C2=BB > /usr/bin/mkdir -p ../../info > make[2]: ingresso nella directory =C2=AB/tmp/emacs-master/doc/lispref=C2= =BB > /usr/bin/mkdir -p ../../info > GEN info/dir > GEN ../../info/eintr.info > make[2]: ingresso nella directory =C2=AB/tmp/emacs-master/doc/emacs=C2=BB > GEN ../../info/emacs.info > GEN ../../info/elisp.info > make[2]: ingresso nella directory =C2=AB/tmp/emacs-master/lib=C2=BB > GEN alloca.h > GEN byteswap.h > GEN errno.h > GEN execinfo.h > GEN getopt.h > GEN getopt-cdefs.h > GEN malloc/dynarray.gl.h > GEN malloc/dynarray-skeleton.gl.h > GEN ieee754.h > GEN limits.h > GEN stdckdint.h > GEN stddef.h > GEN stdint.h > GEN string.h > GEN sys/random.h > GEN time.h > CC fingerprint.o > CC acl_entries.o > CC asnprintf.o > CC asprintf.o > CC frexp.o > CC memmem.o > CC mktime.o > CC printf.o > asprintf.c:30:1: error: redefinition of 'asprintf' > 30 | asprintf (char **resultp, const char *format, ...) > | ^~~~~~~~ > In file included from C:/msys64/tmp/emacs-master/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 'as= printf' with type 'int(char **, const char *, ...)' > 276 | int asprintf(char **__ret, const char *__format, ...) > | ^~~~~~~~ Thanks. What about after applying the following change and rerunning configure? diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site index e8b4711f548..68e264fde4c 100644 --- a/nt/mingw-cfg.site +++ b/nt/mingw-cfg.site @@ -178,9 +178,11 @@ gl_cv_func_printf_sizes_c99=3Dyes gl_cv_func_printf_long_double=3Dyes gl_cv_func_printf_infinite_long_double=3Dyes gl_cv_func_printf_directive_a=3Dyes +gl_cv_func_printf_directive_b=3Dyes gl_cv_func_printf_directive_f=3Dyes gl_cv_func_printf_directive_n=3Dyes gl_cv_func_printf_directive_ls=3Dyes +gl_cv_func_printf_directive_lc=3Dyes gl_cv_func_printf_positions=3Dyes gl_cv_func_printf_flag_grouping=3Dyes gl_cv_func_printf_flag_leftadjust=3Dyes