From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#56249: 29.0.50; Compilation buffer parsing "ERROR:" incorrectly Date: Sun, 10 Jul 2022 15:49:28 +0200 Message-ID: <7BCA72A3-6D90-4D47-9438-8837D0DF503A@acm.org> References: <667E588F-9F89-4B75-901D-8453A409AB1D@acm.org> <87a69vhcvr.fsf@gnus.org> <63EDC249-0201-4EA6-BA54-18679F1C7BB0@acm.org> <875ykifrov.fsf@gnus.org> <49871E8E-1302-41A3-9917-EEEBEA6F7B44@acm.org> <7877DF11-7F1C-42AE-8765-852255CD0E29@acm.org> <87bku31p29.fsf@gnus.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_B2683D85-BA35-42F0-9F45-91ECD402AA69" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14260"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56249@debbugs.gnu.org, Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 10 15:50:17 2022 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 1oAXKD-0003W2-FC for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jul 2022 15:50:17 +0200 Original-Received: from localhost ([::1]:40216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAXKB-0005HC-Rw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jul 2022 09:50:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAXJy-0005Gu-ST for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2022 09:50:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42596) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAXJy-0006Dq-KX for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2022 09:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oAXJy-0002UB-H0 for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2022 09:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2022 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56249 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56249-submit@debbugs.gnu.org id=B56249.16574609769521 (code B ref 56249); Sun, 10 Jul 2022 13:50:02 +0000 Original-Received: (at 56249) by debbugs.gnu.org; 10 Jul 2022 13:49:36 +0000 Original-Received: from localhost ([127.0.0.1]:36493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAXJY-0002TV-JU for submit@debbugs.gnu.org; Sun, 10 Jul 2022 09:49:36 -0400 Original-Received: from mail151c50.megamailservers.eu ([91.136.10.161]:46476 helo=mail50c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAXJV-0002TK-Q3 for 56249@debbugs.gnu.org; Sun, 10 Jul 2022 09:49:34 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1657460971; bh=Vajf0jAG5CR4Cow15utyZva+5CJBbWG0Q3FOEkgYTvc=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=nAo8W10stB1I8kfQQZdMq2hv+6Yy53r90Z8Xlq9OmLV6Ojyo/KF8USntxj8bv1QlD sU/A44zbl5XLo3jA2p9YYXQUbaDyDhkh+060XkCwlBQkVuwRsMDYfnBOAudSKmK2p6 2BE+rwfGCy8fWdiAorrAQc0HduTjdU+D/b2ITDJQ= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 26ADnTmn073691; Sun, 10 Jul 2022 13:49:30 +0000 In-Reply-To: <87bku31p29.fsf@gnus.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F29.62CAD8EB.0069, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE 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" Xref: news.gmane.io gmane.emacs.bugs:236578 Archived-At: --Apple-Mail=_B2683D85-BA35-42F0-9F45-91ECD402AA69 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 5 juli 2022 kl. 18.50 skrev Lars Ingebrigtsen : > Feel free to add tests, by all means. Sorry about the delay; here is what it might look like. It's all very = hand-wavy and cut-and-paste because I don't really know what it's for or = even what to call it. The message pattern I suggested was an expedience = intended for individual Emacs customisation; I doubt it's of Emacs = release quality. Normally I try to track down the source code and exact location of the = code that emits the message, to get a feeling for what the varying parts = are -- for example in this case, can the word "ERROR" be "WARNING" or = something else? Are there variants? Is the code stable? Is the leading = whitespace always the same? And so on. But I didn't really intend to = dive through all of Gradle and the Android tools; someone else probably = knows much more about it. --Apple-Mail=_B2683D85-BA35-42F0-9F45-91ECD402AA69 Content-Disposition: attachment; filename=gradle-android-compile-tests.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="gradle-android-compile-tests.diff" Content-Transfer-Encoding: 7bit diff --git a/etc/compilation.txt b/etc/compilation.txt index 111b2a37dc..fc254dd3d7 100644 --- a/etc/compilation.txt +++ b/etc/compilation.txt @@ -193,6 +193,15 @@ symbol: gradle-kotlin e: /src/Test.kt: (34, 15): foo: bar w: /src/Test.kt: (34, 15): foo: bar +* Gradle Android resource linking + +symbol: gradle-android + +Execution failed for task ':app:processDebugResources'. +> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction + > Android resource linking failed + ERROR:/Users/salutis/src/AndroidSchemeExperiment/app/build/intermediates/incremental/debug/mergeDebugResources/stripped.dir/layout/item.xml:3: AAPT: error: '16dpw' is incompatible with attribute padding (attr) dimension. + * IAR Systems C Compiler diff --git a/test/lisp/progmodes/compile-tests.el b/test/lisp/progmodes/compile-tests.el index 774370be4c..36bdbe4c91 100644 --- a/test/lisp/progmodes/compile-tests.el +++ b/test/lisp/progmodes/compile-tests.el @@ -260,6 +260,9 @@ compile-tests--test-regexps-data "e: e:\\src\\Test.kt: (34, 15): foo: bar" 4 15 34 "e:\\src\\Test.kt" 2) (gradle-kotlin "w: e:\\src\\Test.kt: (11, 98): foo: bar" 4 98 11 "e:\\src\\Test.kt" 1) + (gradle-android + " ERROR:/Users/salutis/src/AndroidSchemeExperiment/app/build/intermediates/incremental/debug/mergeDebugResources/stripped.dir/layout/item.xml:3: AAPT: error: '16dpw' is incompatible with attribute padding (attr) dimension." + 1 nil 3 "/Users/salutis/src/AndroidSchemeExperiment/app/build/intermediates/incremental/debug/mergeDebugResources/stripped.dir/layout/item.xml" 2) ;; Guile (guile-file "In foo.scm:\n" 1 nil nil "foo.scm") (guile-line " 63:4 [call-with-prompt prompt0 ...]" 1 4 63 nil) @@ -492,7 +495,7 @@ compile-test-error-regexps (compilation-num-warnings-found 0) (compilation-num-infos-found 0)) (mapc #'compile--test-error-line compile-tests--test-regexps-data) - (should (eq compilation-num-errors-found 97)) + (should (eq compilation-num-errors-found 98)) (should (eq compilation-num-warnings-found 35)) (should (eq compilation-num-infos-found 28))))) --Apple-Mail=_B2683D85-BA35-42F0-9F45-91ECD402AA69--