From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#50975: 28.0.60; mh-utils-tests fail with native compilation Date: Sat, 2 Oct 2021 14:49:04 -0400 Message-ID: <9fd40a2f-c653-60b7-7f59-09c925122bf5@cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33192"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 To: 50975@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 02 20:55:53 2021 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 1mWkAr-0008QV-OK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 20:55:53 +0200 Original-Received: from localhost ([::1]:46056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWkAq-0000Zg-Dd for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 14:55:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWkA2-0000ZJ-0N for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 14:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWkA1-0006SS-Ow for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 14:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWkA1-0007uk-No for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 14:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 18:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50975 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163320085530345 (code B ref -1); Sat, 02 Oct 2021 18:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Oct 2021 18:54:15 +0000 Original-Received: from localhost ([127.0.0.1]:60579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWk9G-0007tN-Qc for submit@debbugs.gnu.org; Sat, 02 Oct 2021 14:54:15 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:48528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWk9E-0007tF-CC for submit@debbugs.gnu.org; Sat, 02 Oct 2021 14:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWk9E-0008Ju-3L for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 14:54:12 -0400 Original-Received: from mail-dm6nam11on2072f.outbound.protection.outlook.com ([2a01:111:f400:7eaa::72f]:34633 helo=NAM11-DM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWk9C-0005hu-5d for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 14:54:11 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UYZnvBt3AJ3sDJv1yAHaeT/U/dv4KItBdYVPRJPLervVW/XO+6YSH1HfxSopKomhcSSflcZMQjv5XkDkDMa8SWmn0B/Gv1iFKgt7ZrlpojRVs3LNLHQBMoIvBz6HMy48SYZuqtq2wshB7bGt5mgLz5VS0r6ZAmoBDxTcg8tbrIq6lySJIk6UT0UfKmEnmXyIycIwHWXU4vzGkBRw5E7LJzhK3dLOcQgcy4pFfflIgf7pgtH7KXAZXGYtT3u0c8Rz0ZgUbQi3AiExB66MFBgL6atpruYncZeQDwPU37jn2Hs+J05FXkULmGYEG8vJTpe3se5uaHCfWgk8QTN6F5G5Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=un7fEXSqjTkHTMnjmyoz/RUHmxYnThjKYYlpOuvFi2s=; b=Vn1tf2E/cTdW+ZUl613obEntlQe4AHHqH8883SbTvllaIUwNwcJyYutyKI3xw9y13K0yz463+M8dxnj7sooeGl+svUlXaYPMjRbjV/viNiUehSLnpcCR7NtGIk1+5sHdk58XZu1pS0BbsrrQye52kywGgi226twDtvKK+hicd4TKj5aTiALLwDSsSA116akH2iZhIF2lDH6831KsEU/6qg6shUg85/6nqxDJUzTJ89dxKTZjGLRLR44DzTUTUed3e0tlTNRaRN5DMkKT+dWtiFh/3Yd1iggsh8s0/XyeccWIhnkxigfnZN14kwnzUMU9thnNy4QMZNE009R8m8E2iQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=un7fEXSqjTkHTMnjmyoz/RUHmxYnThjKYYlpOuvFi2s=; b=IGiT2SQNpYqPz46vS/4NXi3F60WKKdlsYKvOchxARA0Hlu/xqh2FonJVpNojNTpEHAx3uz6Yf9wSmY7Ey10WKyw7hxbQP54KCrvnrBHoZatio5kOgMKAiY3uYxUm28TZT0wp+A/CDvMBZ5hOJd1zusgmODjnSMRGx1Pf8rlD9pw= Authentication-Results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=cornell.edu; Original-Received: from BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) by BN6PR04MB0243.namprd04.prod.outlook.com (2603:10b6:404:19::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.13; Sat, 2 Oct 2021 18:49:06 +0000 Original-Received: from BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::d1a8:b6b3:dfd1:b093]) by BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::d1a8:b6b3:dfd1:b093%6]) with mapi id 15.20.4566.022; Sat, 2 Oct 2021 18:49:06 +0000 Content-Language: en-US X-ClientProxiedBy: MN2PR19CA0017.namprd19.prod.outlook.com (2603:10b6:208:178::30) To BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) Original-Received: from [IPv6:2603:7081:7e3f:3419:709e:f8f0:91a9:ad0] (2603:7081:7e3f:3419:709e:f8f0:91a9:ad0) by MN2PR19CA0017.namprd19.prod.outlook.com (2603:10b6:208:178::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Sat, 2 Oct 2021 18:49:05 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 62d073c4-a0f8-4e3d-7afa-08d985d54fb2 X-MS-TrafficTypeDiagnostic: BN6PR04MB0243: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1122; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JVfCTn+9o6QaTIOX8BIzM+bOL/+W8fGUMyAlHF5NcP7qE1hCUqJXkcgUYom/HVlA2Gi0LozPatljXs5SgtpPSBYwIWTtZ98PqPbyw0qk9fVA+IB8ve0M1pPCzJS5PPsTKT/w1B/dUhSQPMQvK4LTCs21K8TymnCCadknTNdjDfIOi1fThT0PjozAHF9tWOxgWl1+g1Cm8JgXrccQZVJS4LiqecQtwfKF1NwXMV3u+GKjFIB+bgBE3VzhL2xtmGuBoZ4ZimZRAVFffZlFzohnzmYr+kNLoSyabdlbKkm1bJQcHfX163eu7vVNleRHQ5I2DnJRe/nzJnvs7KJ0at9FvxD0TBH4ipn8k0W9WvbiN9JmMpOZWfQSgP5etjSmDZQd65aX63+XjmF0W0dSUdEHcL0yiQOJ3VlmJMIkzQtSssyeA8En1r6kaHrLEfviysARbB+OWHe01pfoPgvKx2mG6AX3laT7L8jbXXgTDeAUUhcGg5GAWsG4AAuGdC8MklL7ezjk/d0K5a+EEqND+6K7nA5U1290l/UEpkZcV/g64h9PjTPpbrYiiNKfCJPrw9coKL99aYwkZbkO7BJIqXuiTRTn6g8MtR/WduvvxCs+Ak5dnYw6N4Hxp9LVn9jIYvbiZaI+LCHmHcWYui7cesaI9qVgkdVX7IhfVK/BdGLHAz3EXz7Taww0d8bPXgNDz25cDh+YeYaeOJCxbU4uvKTWkWhY/hUCYXZj0GU/5wZx8Xn5xkyzaJaOGIuLxT0Ve Fer X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR04MB4388.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(5660300002)(186003)(2616005)(31686004)(66556008)(66476007)(8936002)(66946007)(508600001)(38100700002)(786003)(86362001)(8676002)(316002)(31696002)(6486002)(6916009)(83380400001)(75432002)(36756003)(2906002)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wEWSp6bMPAxd8gUT81kZcQPTw3uOo3H/nCbUqZBOtdWVbFNCvR4//yk3IA4TWy3DWXAIRwSEYkGmhYJ1dbCC+frvsj/7o+b+gD6V1QnGvZuEg0dgfWwjsRkErRY5wDERpR7bt4y99TSbgdHvJw7KsBfME1NaLEEdi2bwSrIuZzUyleRw0+huGa1yu+W8004wDhmQTQJYRsrYQaxaFgaMlzruUho/TT/aZo/to1TuvH3rt3qiuXID41NKMW+q1lFTdY2bWkYy2sqkjIvWa+Cw7TSACdOJuW0hRILNgF6g+UA1lOPwvOzo6jQWJtqk7BOlYdt6w8m5VPf5pjPfyy30SAzd1jZpOpNBI67exbDvbtX1Ew/vAYgRI7HdSs6vTMS43ejoOIyn+3S3ObnI4/SeXhD0AnvBVE452Qxdxr3TRsxEe8SG6zzve7UcSyq/cFxsnNQ5tfCUU+4wmO8UyQYNhF99CnVcNNKcLVrki7zTZf8Kxrh2mugbfxdMgUHOr7oH0YioCVrSUUaY8I201vcjn6IpDdeylIwlyNX9zJnKIPYWeUGN1Ummf/9+uxEU+Nm70DR1JiSnjWMWE/MQcjgjPqT2aQjPOTmiRUfOzI5nXYtuKT2sLDgcEannYSxvnzmbzhWuDDBwwQK4deNsQu3Z3Iu3X5vVjcBgXSiDPQkMav/2uem2VRDI0vqFvdQz6tQQCo3pD8l2vBX2e4Jw73Ma/i39aBTKIK+40Y95/rR8xFVEzv5RKEWNExJ6nN ZbBNpK0cPWyspQxM4HDH3BCvv1/WO43zC9aOP58bWbn/XIU8/ipZwqSgDdL1WHHP2+gMZ5W+n6OU39EhZIUunhcvEexfoYBez0 X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 62d073c4-a0f8-4e3d-7afa-08d985d54fb2 X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2021 18:49:06.2780 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WcCOCgWHjbj3UMNFchV4VUloyl6o4Yg82/FKll1hlQ77HZ6DegTCRcoqPbLHwVXDZXNpMY56nyxol5zhsmNK+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR04MB0243 Received-SPF: pass client-ip=2a01:111:f400:7eaa::72f; envelope-from=kbrown@cornell.edu; helo=NAM11-DM6-obe.outbound.protection.outlook.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, MSGID_FROM_MTA_HEADER=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:216193 Archived-At: Most of the tests in mh-utils-tests fail if I build the emacs-28 branch on Cygwin with native compilation: $ make -C test mh-utils-tests make: Entering directory '/home/kbrown/src/emacs/x86_64-emacs-28-native-lisp/test' make[1]: Entering directory '/home/kbrown/src/emacs/x86_64-emacs-28-native-lisp/test' GEN lisp/mh-e/mh-utils-tests.log Running 16 tests (2021-10-02 14:13:13-0400, selector ‘(not (tag :unstable))’) No MH variant found on the system call-process mock unexpected arglist (emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-66696c652d6469726563746f72792d70_file_directory_p_0-rg5Ucy.el) call-process mock unexpected arglist (emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-66696c652d6469726563746f72792d70_file_directory_p_0-f6P2ZU.el) Test mh-folder-completion-function-02-empty backtrace: signal(native-compiler-error ((lambda (arg538 &optional) (let ((f #' comp--native-compile((lambda (arg538 &optional) (let ((f #'file-dire comp-trampoline-compile(file-directory-p) comp-subr-trampoline-install(file-directory-p) fset(file-directory-p #) (unwind-protect (progn (if mh-test-variant-logged-already nil (mh-va (let* ((vnew (make-hash-table :test #'equal)) (vnew (getenv "MH")) ( (let ((lexical-binding t)) (let* ((vnew (make-hash-table :test #'equ (closure (t) nil (let ((lexical-binding t)) (let* ((vnew (make-hash- ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name mh-folder-completion-function-02-empt ert-run-or-rerun-test(#s(ert--stats :selector (not (tag :unstable)) ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type ert-run-tests-batch((not (tag :unstable))) ert-run-tests-batch-and-exit((not (tag :unstable))) command-line-1(("-L" ":../../emacs-28-x86_64/test" "-l" "ert" "-l" " command-line() normal-top-level() Test mh-folder-completion-function-02-empty condition: (native-compiler-error (lambda (arg538 &optional) (let ((f ...)) (funcall f arg538))) "") FAILED 1/16 mh-folder-completion-function-02-empty (1.860486 sec) [...] Ran 16 tests, 4 results as expected, 12 unexpected (2021-10-02 14:13:21-0400, 7.807508 sec) 2 expected failures 12 unexpected results: FAILED mh-folder-completion-function-02-empty FAILED mh-folder-completion-function-03-plus FAILED mh-folder-completion-function-04-rel-folder FAILED mh-folder-completion-function-05-rel-folder-slash FAILED mh-folder-completion-function-06-rel-folder-slash-foo FAILED mh-folder-completion-function-07-rel-folder-slash-foo-slash FAILED mh-folder-completion-function-10-plus-slash-abs-folder FAILED mh-folder-completion-function-11-plus-slash-abs-folder-slash-foo FAILED mh-folder-completion-function-12-plus-nosuchfolder FAILED mh-folder-completion-function-13-plus-slash-nosuchfolder FAILED mh-sub-folders FAILED mh-sub-folders-actual This doesn't happen in a build without native compilation: $ make -C test mh-utils-tests make: Entering directory '/home/kbrown/src/emacs/x86_64-emacs-28/test' make[1]: Entering directory '/home/kbrown/src/emacs/x86_64-emacs-28/test' GEN lisp/mh-e/mh-utils-tests.log Running 16 tests (2021-10-02 14:18:12-0400, selector ‘(not (or (tag :unstable) (tag :nativecomp)))’) No MH variant found on the system [...] Ran 16 tests, 16 results as expected, 0 unexpected (2021-10-02 14:18:12-0400, 0.081313 sec) 2 expected failures