From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61988: error compiling emacs Date: Wed, 08 Mar 2023 17:02:31 +0800 Message-ID: <87edpzobtk.fsf@yahoo.com> References: <874jqyspc7.fsf@yahoo.com> <6db27b89-699b-f956-4205-6cd8144f6dea@tiscali.it> <87v8jeqiau.fsf@yahoo.com> <83bkl684lp.fsf@gnu.org> <871qm2q9lh.fsf@yahoo.com> <83v8jd7uvi.fsf@gnu.org> <87wn3tpfg5.fsf@yahoo.com> <83fsah6xk0.fsf@gnu.org> <87o7p5p2ys.fsf@yahoo.com> <837cvs7m2y.fsf@gnu.org> <000001d950f9$ccd46290$667d27b0$@tiscali.it> <83r0u0648t.fsf@gnu.org> <000401d95114$16299540$427cbfc0$@tiscali.it> <83edq05wfl.fsf@gnu.org> <87fsagp0ie.fsf@yahoo.com> <4a5a72c3-ab47-b1ff-2326-c5f918423c83@tiscali.it> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34810"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 61988@debbugs.gnu.org To: Ugo Tomei Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 08 10:03:32 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 1pZphs-0008qO-KJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Mar 2023 10:03:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZphU-0006T3-10; Wed, 08 Mar 2023 04:03:08 -0500 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 1pZphS-0006Sh-QX for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2023 04:03:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZphO-0000Sq-Hv for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2023 04:03:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZphN-0002eZ-TV for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2023 04:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Mar 2023 09:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61988 X-GNU-PR-Package: emacs Original-Received: via spool by 61988-submit@debbugs.gnu.org id=B61988.167826617010179 (code B ref 61988); Wed, 08 Mar 2023 09:03:01 +0000 Original-Received: (at 61988) by debbugs.gnu.org; 8 Mar 2023 09:02:50 +0000 Original-Received: from localhost ([127.0.0.1]:47776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZphB-0002e7-Jb for submit@debbugs.gnu.org; Wed, 08 Mar 2023 04:02:49 -0500 Original-Received: from sonic316-13.consmr.mail.bf2.yahoo.com ([74.6.130.123]:39406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZphA-0002dt-8C for 61988@debbugs.gnu.org; Wed, 08 Mar 2023 04:02:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678266162; bh=exhVQ+LDitpESwJmDjJP6USik7JU41RY0x6hGW8Qlv4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=pRqQRJSAziXXQd7TMTKAer4Yc5AbpxUiKjGn7WZYPw1qb1RUvdATauNfSBritQWUZPvApXKKCf4OFbnR/kGPNqRu3O9eDccgDh3QKPwtUG6g8YXkHJSQTP/Fti8QS2kCXSAWCvmMhMq2uy+v7mgrBx7ICadzzied1NHKhSoC8y6C6oy4j4TDjQKDcetbMW+6UkRkCu2ZLmlUp6xfAzkbjBxTZOC0GSdAstdKb4Irn3+fj3W/F/n9FdkmGqA/wYhAoyoSHkVHZI7Pna5yJIIeowSO5RsuLg34hQyJQ/MpZSDpx6K1BnOMCLwf45f4GO0rEX2i3zw+Ttzmm12DeP6gSg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678266162; bh=ohtRvOZlMIA8lRi+H8giKX2JnhXku35Qnap98XzGJgO=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=dPkLdlap0eYoVDXMTtmGq1beSUzyyDNKf5rK1rC8hARqIgWnIukMyPLalkPCJJkdVDJ0v6R02ZshadEoX+eScFZ685Q0ldkKc4vPHWa0BSyhbUPcfa2LodUdhvO8vK2h3gsMmgMt+fFBhqI92e2eqTBi6eFAjo8gsWD9d6fpMmIN53jZPjVBuo8PQKOWjbnoTU/CR9WyByisppl1w8oMiaGC2xsw0VDih8zWLLHA4AG+3nC+gNU/l16qbczpGg1GkI6y6zSfGG2yHltYymNYiY850aHSiodhjAd6/qYShipNGnBjh/MQ42I9JJBrFH1AR4Cj3H06C1yygcffAwI9rw== X-YMail-OSG: Vkv6HEcVM1npAw9FkhRJE728tAGqvuQZ9jQNsbOc3gQDMD2hVSWf8hiWFo2R.zW FD3hmOb88W0OnyMVQ6Sxvgw8zdKe1eRZbK8YEOAnFM6CIhFEzs8fWT2pigBxOZRTP2Qf5uDQHJE9 .w5ukfhFybN_h7XsID5gI1gVa_.H9P_IHdVhpj5E0ck0_OG0aE6vdaNsKIj515Pj6WzXC6Dkvy3O mkBhrsT4IZoxaf4Cp2cCqAWkrJ7EjFou4SPWEsKUjMVL.SmkRgZ_IlCs8MIH2.TCNAGms6UXLl6h .suM7v2f8t8mHhSMdsSX8kASd7mvhL5lQBwWUtewa9ePYTnpR.HDk7IcyAPvH5a.I96FUcTnghDO q_gQDs.z8ywdAB2kY2Uci_AprZppkLwijYrbPAcS7E6xBFnFnt7Tmq8aEpazMYxtoPYMnhJmkeJf qKt9wla7VXJamt4BLtgJt3kIdOAONSkj4pJcz8PENhevv2d6kcb_fAiZ51xYPYURkIuDoEuEoN80 8pIDchwMqsiWUMQM7rCbpGSSlvypaxPLVVDAxfwh1HQ4FKnqqTI_HAxF1ZZhxkhNOmM5qVKHXmfZ _.KPdqCzPhPjkfRGHatYZ2oJx31Yl6qYx0Ra5cGb4cQz2vI_022yl8zXoLGNznr7rx6Z2A0iNs0E sM1weW.q_F6W_AVZSOy_1v85g.VhwLYAIgp66zZWTz8SCu4y5DvH.7c1oXlo_4j_qxUynRcKhiV4 tAK.soPDY40W.VBF1x.4tcU29iyOPERcPTFJKFnhJMGXQsB9_H2nD5V0dspbFoR4nHi5kzgDE0ID W_0i3dtK6TkED7rTWYE.fzRO5BniHwkU7ZPy93Zf_g X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.bf2.yahoo.com with HTTP; Wed, 8 Mar 2023 09:02:42 +0000 Original-Received: by hermes--production-sg3-67c57bccff-5hdhr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6dea49ff2116a58ff3acb3bad248d782; Wed, 08 Mar 2023 09:02:37 +0000 (UTC) In-Reply-To: <4a5a72c3-ab47-b1ff-2326-c5f918423c83@tiscali.it> (Ugo Tomei's message of "Wed, 8 Mar 2023 09:32:57 +0100") X-Mailer: WebService/1.1.21284 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:257523 Archived-At: Your config.log shows you applied the old patch. I'm talking about this new one: diff --git a/configure.ac b/configure.ac index bc7e61048c3..1477e04b7d8 100644 --- a/configure.ac +++ b/configure.ac @@ -2806,6 +2806,22 @@ AC_DEFUN WEBP_MODULE="libwebpdemux >= $WEBP_REQUIRED" EMACS_CHECK_MODULES([WEBP], [$WEBP_MODULE]) + + # WebPGetInfo is sometimes not present inside libwebpdemux, so + # if it does not link, also check for libwebpdecoder. + + OLD_CFLAGS=$CFLAGS + OLD_LIBS=$LIBS + CFLAGS="$CFLAGS $WEBP_CFLAGS" + LIBS="$LIBS $WEBP_LIBS" + + AC_CHECK_FUNC([WebPGetInfo], [], + [WEBP_MODULE="$WEBP_MODULE libwebpdecoder >= $WEBP_REQUIRED" + EMACS_CHECK_MODULES([WEBP], [$WEBP_MODULE])]) + + CFLAGS=$OLD_CFLAGS + LIBS=$OLD_LIBS + AC_SUBST([WEBP_CFLAGS]) AC_SUBST([WEBP_LIBS]) fi with this patch applied, and after you run autogen.sh, does Emacs configure and build normally?