From unknown Sun Jun 15 08:25:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56746 <56746@debbugs.gnu.org> To: bug#56746 <56746@debbugs.gnu.org> Subject: Status: 29.0.50; Probable bug with native compilation Reply-To: bug#56746 <56746@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:25:59 +0000 retitle 56746 29.0.50; Probable bug with native compilation reassign 56746 emacs submitter 56746 Kenneth Stuart severity 56746 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 24 12:45:58 2022 Received: (at submit) by debbugs.gnu.org; 24 Jul 2022 16:45:58 +0000 Received: from localhost ([127.0.0.1]:48571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFejq-0002b3-Hf for submit@debbugs.gnu.org; Sun, 24 Jul 2022 12:45:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:53156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFcPc-0006oP-Cw for submit@debbugs.gnu.org; Sun, 24 Jul 2022 10:16:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFcPc-0007kZ-6z for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 10:16:52 -0400 Received: from mail-oln040092075057.outbound.protection.outlook.com ([40.92.75.57]:27904 helo=EUR04-VI1-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 1oFcPY-00085I-Dc for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 10:16:51 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NtbXnC9yvwIOukEce+qKxFYvTuxmFTEa5ziSQ4EciyYcnqvD3ov6PV62899P3dFceWw+CcFxwcRDKrTVxv8A/L1OOvGknpHPi8h2uZGtOb6W+AQMSzsduVfJk+VmJeRuepB1rnMY5c2gQAz4EDShCfih9cMfUpeqjWFq1tqyNkw+CDi5PNIPwZTs0bjYUpnafIbny9ZLQuOrSd0BnS8LEepdzj66U6E6kLOLfu5Lk+N1X81tZ0TbP3FLjp5C1SuqJQ6xff0/xHh0AkBnv+v17US0+nsDggvbkbBCj4UAvGNjwr9FAxjLRoAvnTxUF/HNSPfdim5k7V1ku8HQaGQWPQ== 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=XiETGuPLfUS3GuXxEoODidXeQw5vqMjAxV5dPzSCn78=; b=dp1shbfQS9XoARz2oyBhjmJy4hIbqX2AMsOOMOhTWk9tDpHEmRJw14A+6MoLG4gcy6JopW2BRGlUj8g9YeY4P1upPuz1JY/3TjPm+GMNcEF8mNa2pTYoV5nc5Q+Is8zsFeAeq/JSsDKm30pzVPm1KdC8n+5rIj6oVWNTno53pLNrt47IRAVnBs+aHNC2BcERyZEuB6nyHY79Ytfljmr9iXtXahsCnOWfEQPdmvneaRDlgBhLX89Mnwa7vgA3IIIddXG7PBC1FRzTaYzIGYkJ+poMaO1gzuyZMorxiIDfknTQojH/yPpmAG9ZeZJoKnypwxCsUnGW1/nA5cyL9ngLZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from PAXP251MB0470.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:283::11) by AS8P251MB0003.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:346::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.23; Sun, 24 Jul 2022 14:16:44 +0000 Received: from PAXP251MB0470.EURP251.PROD.OUTLOOK.COM ([fe80::f881:eab3:bd1d:bcf5]) by PAXP251MB0470.EURP251.PROD.OUTLOOK.COM ([fe80::f881:eab3:bd1d:bcf5%8]) with mapi id 15.20.5458.021; Sun, 24 Jul 2022 14:16:43 +0000 From: Kenneth Stuart To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Probable bug with native compilation Date: Sun, 24 Jul 2022 15:16:42 +0100 Message-ID: Content-Type: text/plain X-TMN: [jpv/T7tfC06MnNJRuKprmEwF/bJA5vF2] X-ClientProxiedBy: LO4P265CA0038.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ac::6) To PAXP251MB0470.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:283::11) X-Microsoft-Original-Message-ID: <878roisiid.fsf@hotmail.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c28b50ba-8778-4c23-22a5-08da6d7f22af X-MS-TrafficTypeDiagnostic: AS8P251MB0003:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bTWGl4lUkLo1DPsetTW+BfoW8sqFroF4J+I03oB1w6IyHGsyCe4R/Y0q8SzGsuhwUMcoAZ0Iwt6On++4SeV5M+KuO58czHu+zujuH/TBP4e2ytfDMEI+th0PFDn3tMOpqtI3S6UD1QLby2NpqAY+5sDd4u1QGY+ZQfjR5BuT7QjtXLC6iW4tCvJbYxKfH8weeNDcuGBioWuRSL+pD6xn8/P+aricWjIBrvo9r7QZkQ7U3gk7iO8jY3hjGCv+/xmSyre6+XLZvqyj2oJ+HRW9tz2HaPYpZzBQocwQaW1f8AzgFuYtSO20znWkY0PQHSXMhyvD4r6zMJMaQIM1i5uRHJ9wkhHv/0Hy5ePolpDbZURF6kQIqdu3DbXt0hVV1QvVbv08V8Ujiwnn8rpF4Md2gMCkUxK8GFrIRnNJ0UcxBhxb0X+JBl9IF9+f2nO1c7eKCrCuwmbXlLlYKUG2AiyUl/BkPV+XWotYHEVW+blFYfhcvkDRqgrN4mTvl2aJdQawgRasiRr2XNh1Z/dZ3a1jnnbQKEqM32eQFneiRUFKTBMJoYbQ7TKZymKdrhbfxVQUbhDgp9sbeVwx/1OaZU3NMOigvdgyQpfBI20Zf/b8gt6BD1ZeOXDoYJjD1RqwHHuU X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?bAio8hzZ8WA3EBRvxkowk9EamgU1wvYobeTjf38c8/Plb4oPcq8rniyS8GSP?= =?us-ascii?Q?RN0pTOg8rn/6eTI3ZGlhCpQB0BdemmKVaGiZOD++VgdfKlp1n0t8sHa2RsZ7?= =?us-ascii?Q?joBTD0y18AZcsuZIu9slKTlebNTrcJ2nfEwmS/HJp2Twjfbr2ihCoUJmeCvk?= =?us-ascii?Q?HwlvCAS6AeuOMpA5y4b0EgRFVZhem9tv7yyjLyi9SmghSERc4yo6tzXcqdtW?= =?us-ascii?Q?awnWe/tgBmW0QXbMrb2Ky77+NKDva7PyYJ62ZlBa23A0HisNJdHQ48QtlYOT?= =?us-ascii?Q?eqbEEWhXFwuqXuuZ88iparV8in7rT+r/OAAxwaNq0MR4W1SF/faNY80N/MJA?= =?us-ascii?Q?lWoZ9yIY91+qySZEz71WYh3HjgQl9GWvYHyiRn+ynXzUAgTC3vcXizzNkxox?= =?us-ascii?Q?7qkJbVr5alzV57GK4cIykZzzhrIATM7GHfQjzmDTbpjpbJUZS7EXhFL7geqP?= =?us-ascii?Q?nnogXeo9vTdYZFYV9YJkIyWZyoq+4xAfTtDdoO5/F9SDmYwjchA28wV4EVRB?= =?us-ascii?Q?UzQcHDdxrxMQzvjPRqbX6EzrsXb7+oLRj4ncbup7KfePJ4fK090i3zDs3xyz?= =?us-ascii?Q?/RT0IlXhZyq2DeFGcvwh1I9sympKTGY8W9mCZpWS6q8un8PeTOcISyu/2sEm?= =?us-ascii?Q?ZphyzaTEs0GE1oufTsxhSbBrKm0sGAxy4EUlmnWIdYzRRVohrBPqoi4mTldp?= =?us-ascii?Q?rWbN/dFC7cWTGWnUBreIGv/6DR4I06678DWknetaK7S1X17/EKUEaQz3C2sr?= =?us-ascii?Q?8YiuGuxRlUSP6Fhv3DiogzUYSym/uFAXJHx2CmYy2gzJxLRo3stv9ZrkmwVB?= =?us-ascii?Q?f/QX6vNwZfk1H49RODpbBW/om6RTOtnP2l+h4I2lkPdi3GmHFTFcIkj0MfJe?= =?us-ascii?Q?wXbEXVZR/C9IZtJ6cr1VJ4Jm5JSvShSpjZiwGUkXlZ8Mmj8HHkuyelLfd2b9?= =?us-ascii?Q?9vx9lwOSLG9O+jR++H+9f9m2aSn9nrhdmIVr9mWY0iXJ0Dtb2k9PePJg78rl?= =?us-ascii?Q?QC6X72YJSAWki+WaEEre5s4zfgTbSQl2xyQAeRfMESGZPxLSwSuIaB5bVjjJ?= =?us-ascii?Q?B7m7xykcb5vP9m4MNiuDrALUkmFmjJkA6/9bFas/vwbauAmIl9z9z5+IgDN7?= =?us-ascii?Q?RzPSnQZHjtVHrWT9mctgvoTpGAWXUIG5z8LsYHlFAQjbOfYsh59xt1ze/MQq?= =?us-ascii?Q?wNUbErlrtomfRI4qXekgS2koz/C81vl54IhX/47AyL1F5AskvuhkmBiXAtfi?= =?us-ascii?Q?sV/DWpQY374BUwxhKg4IFEjNCG2InKCyxBBjaFYLVg=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-00b75.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: c28b50ba-8778-4c23-22a5-08da6d7f22af X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0470.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2022 14:16:43.9648 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P251MB0003 Received-SPF: pass client-ip=40.92.75.57; envelope-from=kstuart@hotmail.co.uk; helo=EUR04-VI1-obe.outbound.protection.outlook.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 24 Jul 2022 12:45:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Note that I'm not using 'emacs -Q' as a later version of Org is required, however the issue strongly appears to be with emacs native compilation as it does not occur from a build without native compilation. org-mode commit: 127e7fee4959ceb33dba2e442b72189f3c25eaa1 Steps to reproduce: 1. Create an org-mode buffer and insert a clocktable dynamic block with a `tstart` option. #+BEGIN: clocktable :scope file :maxlevel 2 :tstart "2020-01-01" #+END: 2. Evaluate the clocktable (C-c C-c on the #+BEGIN line) Result: `Invalid function: org-encode-time` Expected: No error, clocktable updated successfully Notes: References: https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00738.html https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00696.html In early April Org introduced a new macro `org-encode-time` which is used in the `let` special form of function `org-matcher-time` https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-macs.el#n1395 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-macs.el#n1463 Function `org-matcher-time` is used by the clocktable dynamic block options, for example adding a `tstart` option and evaluation the clocktable emits the error "Invalid function: org-encode-time". If then going to the source for `org-matcher-time` and evaluating the defun, the clocktable can then be evaluated without error. As previously stated this issue does not occur when not using native compilation. In GNU Emacs 29.0.50 (build 5, aarch64-unknown-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-07-24 built on aurora Repository revision: 2024136d31e85f5935e1dd1a494ecb3ea715ef80 Repository branch: master System Description: Manjaro ARM Configured using: 'configure --with-sound=alsa --with-json --with-imagemagick --with-pgtk --with-xwidgets --with-native-compilation' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM XWIDGETS GTK3 ZLIB Important settings: value of $EMACSNATIVELOADPATH: ~/emacs/eln-cache value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: org-indent-mode: t global-corfu-mode: t corfu-mode: t which-key-mode: t marginalia-mode: t vertico-mode: t treemacs-icons-dired-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: t treemacs-fringe-indicator-mode: t shell-dirtrack-mode: t recentf-mode: t global-goto-address-mode: t goto-address-mode: t savehist-mode: t save-place-mode: t override-global-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/kstuart/emacs/straight/build/transient/transient hides /usr/local/share/emacs/29.0.50/lisp/transient /home/kstuart/emacs/straight/build/project/project hides /usr/local/share/emacs/29.0.50/lisp/progmodes/project /home/kstuart/emacs/straight/build/xref/xref hides /usr/local/share/emacs/29.0.50/lisp/progmodes/xref /home/kstuart/emacs/straight/build/org/org-loaddefs hides /usr/local/share/emacs/29.0.50/lisp/org/org-loaddefs /home/kstuart/emacs/straight/build/org/ob-lob hides /usr/local/share/emacs/29.0.50/lisp/org/ob-lob /home/kstuart/emacs/straight/build/org/ob-ditaa hides /usr/local/share/emacs/29.0.50/lisp/org/ob-ditaa /home/kstuart/emacs/straight/build/org/ob-latex hides /usr/local/share/emacs/29.0.50/lisp/org/ob-latex /home/kstuart/emacs/straight/build/org/ob-calc hides /usr/local/share/emacs/29.0.50/lisp/org/ob-calc /home/kstuart/emacs/straight/build/org/ob-lisp hides /usr/local/share/emacs/29.0.50/lisp/org/ob-lisp /home/kstuart/emacs/straight/build/org/ol-mhe hides /usr/local/share/emacs/29.0.50/lisp/org/ol-mhe /home/kstuart/emacs/straight/build/org/org-crypt hides /usr/local/share/emacs/29.0.50/lisp/org/org-crypt /home/kstuart/emacs/straight/build/org/ox-md hides /usr/local/share/emacs/29.0.50/lisp/org/ox-md /home/kstuart/emacs/straight/build/org/ol-doi hides /usr/local/share/emacs/29.0.50/lisp/org/ol-doi /home/kstuart/emacs/straight/build/org/org-tempo hides /usr/local/share/emacs/29.0.50/lisp/org/org-tempo /home/kstuart/emacs/straight/build/org/ox-icalendar hides /usr/local/share/emacs/29.0.50/lisp/org/ox-icalendar /home/kstuart/emacs/straight/build/org/org-capture hides /usr/local/share/emacs/29.0.50/lisp/org/org-capture /home/kstuart/emacs/straight/build/org/oc-natbib hides /usr/local/share/emacs/29.0.50/lisp/org/oc-natbib /home/kstuart/emacs/straight/build/org/org-entities hides /usr/local/share/emacs/29.0.50/lisp/org/org-entities /home/kstuart/emacs/straight/build/org/ox-beamer hides /usr/local/share/emacs/29.0.50/lisp/org/ox-beamer /home/kstuart/emacs/straight/build/org/ob-table hides /usr/local/share/emacs/29.0.50/lisp/org/ob-table /home/kstuart/emacs/straight/build/org/org-macs hides /usr/local/share/emacs/29.0.50/lisp/org/org-macs /home/kstuart/emacs/straight/build/org/ox-publish hides /usr/local/share/emacs/29.0.50/lisp/org/ox-publish /home/kstuart/emacs/straight/build/org/ol-w3m hides /usr/local/share/emacs/29.0.50/lisp/org/ol-w3m /home/kstuart/emacs/straight/build/org/org-indent hides /usr/local/share/emacs/29.0.50/lisp/org/org-indent /home/kstuart/emacs/straight/build/org/ob-processing hides /usr/local/share/emacs/29.0.50/lisp/org/ob-processing /home/kstuart/emacs/straight/build/org/ob-core hides /usr/local/share/emacs/29.0.50/lisp/org/ob-core /home/kstuart/emacs/straight/build/org/ol-bibtex hides /usr/local/share/emacs/29.0.50/lisp/org/ol-bibtex /home/kstuart/emacs/straight/build/org/ob-sed hides /usr/local/share/emacs/29.0.50/lisp/org/ob-sed /home/kstuart/emacs/straight/build/org/ob-groovy hides /usr/local/share/emacs/29.0.50/lisp/org/ob-groovy /home/kstuart/emacs/straight/build/org/ob-fortran hides /usr/local/share/emacs/29.0.50/lisp/org/ob-fortran /home/kstuart/emacs/straight/build/org/ob hides /usr/local/share/emacs/29.0.50/lisp/org/ob /home/kstuart/emacs/straight/build/org/org-archive hides /usr/local/share/emacs/29.0.50/lisp/org/org-archive /home/kstuart/emacs/straight/build/org/org-version hides /usr/local/share/emacs/29.0.50/lisp/org/org-version /home/kstuart/emacs/straight/build/org/org-attach hides /usr/local/share/emacs/29.0.50/lisp/org/org-attach /home/kstuart/emacs/straight/build/org/ob-clojure hides /usr/local/share/emacs/29.0.50/lisp/org/ob-clojure /home/kstuart/emacs/straight/build/org/ob-lilypond hides /usr/local/share/emacs/29.0.50/lisp/org/ob-lilypond /home/kstuart/emacs/straight/build/org/org-feed hides /usr/local/share/emacs/29.0.50/lisp/org/org-feed /home/kstuart/emacs/straight/build/org/ol hides /usr/local/share/emacs/29.0.50/lisp/org/ol /home/kstuart/emacs/straight/build/org/ol-eww hides /usr/local/share/emacs/29.0.50/lisp/org/ol-eww /home/kstuart/emacs/straight/build/org/ob-eshell hides /usr/local/share/emacs/29.0.50/lisp/org/ob-eshell /home/kstuart/emacs/straight/build/org/ox-odt hides /usr/local/share/emacs/29.0.50/lisp/org/ox-odt /home/kstuart/emacs/straight/build/org/org-lint hides /usr/local/share/emacs/29.0.50/lisp/org/org-lint /home/kstuart/emacs/straight/build/org/org-habit hides /usr/local/share/emacs/29.0.50/lisp/org/org-habit /home/kstuart/emacs/straight/build/org/ob-sass hides /usr/local/share/emacs/29.0.50/lisp/org/ob-sass /home/kstuart/emacs/straight/build/org/ox-koma-letter hides /usr/local/share/emacs/29.0.50/lisp/org/ox-koma-letter /home/kstuart/emacs/straight/build/org/ob-makefile hides /usr/local/share/emacs/29.0.50/lisp/org/ob-makefile /home/kstuart/emacs/straight/build/org/ox-latex hides /usr/local/share/emacs/29.0.50/lisp/org/ox-latex /home/kstuart/emacs/straight/build/org/ob-gnuplot hides /usr/local/share/emacs/29.0.50/lisp/org/ob-gnuplot /home/kstuart/emacs/straight/build/org/ob-C hides /usr/local/share/emacs/29.0.50/lisp/org/ob-C /home/kstuart/emacs/straight/build/org/ob-js hides /usr/local/share/emacs/29.0.50/lisp/org/ob-js /home/kstuart/emacs/straight/build/org/org-macro hides /usr/local/share/emacs/29.0.50/lisp/org/org-macro /home/kstuart/emacs/straight/build/org/ol-docview hides /usr/local/share/emacs/29.0.50/lisp/org/ol-docview /home/kstuart/emacs/straight/build/org/ob-forth hides /usr/local/share/emacs/29.0.50/lisp/org/ob-forth /home/kstuart/emacs/straight/build/org/org-ctags hides /usr/local/share/emacs/29.0.50/lisp/org/org-ctags /home/kstuart/emacs/straight/build/org/org-refile hides /usr/local/share/emacs/29.0.50/lisp/org/org-refile /home/kstuart/emacs/straight/build/org/org-num hides /usr/local/share/emacs/29.0.50/lisp/org/org-num /home/kstuart/emacs/straight/build/org/org-goto hides /usr/local/share/emacs/29.0.50/lisp/org/org-goto /home/kstuart/emacs/straight/build/org/org-plot hides /usr/local/share/emacs/29.0.50/lisp/org/org-plot /home/kstuart/emacs/straight/build/org/ob-awk hides /usr/local/share/emacs/29.0.50/lisp/org/ob-awk /home/kstuart/emacs/straight/build/org/ob-org hides /usr/local/share/emacs/29.0.50/lisp/org/ob-org /home/kstuart/emacs/straight/build/org/ox-ascii hides /usr/local/share/emacs/29.0.50/lisp/org/ox-ascii /home/kstuart/emacs/straight/build/org/org-colview hides /usr/local/share/emacs/29.0.50/lisp/org/org-colview /home/kstuart/emacs/straight/build/org/ob-sql hides /usr/local/share/emacs/29.0.50/lisp/org/ob-sql /home/kstuart/emacs/straight/build/org/ob-matlab hides /usr/local/share/emacs/29.0.50/lisp/org/ob-matlab /home/kstuart/emacs/straight/build/org/org-faces hides /usr/local/share/emacs/29.0.50/lisp/org/org-faces /home/kstuart/emacs/straight/build/org/org-id hides /usr/local/share/emacs/29.0.50/lisp/org/org-id /home/kstuart/emacs/straight/build/org/oc-basic hides /usr/local/share/emacs/29.0.50/lisp/org/oc-basic /home/kstuart/emacs/straight/build/org/ob-plantuml hides /usr/local/share/emacs/29.0.50/lisp/org/ob-plantuml /home/kstuart/emacs/straight/build/org/org-clock hides /usr/local/share/emacs/29.0.50/lisp/org/org-clock /home/kstuart/emacs/straight/build/org/ob-ref hides /usr/local/share/emacs/29.0.50/lisp/org/ob-ref /home/kstuart/emacs/straight/build/org/ob-octave hides /usr/local/share/emacs/29.0.50/lisp/org/ob-octave /home/kstuart/emacs/straight/build/org/org-table hides /usr/local/share/emacs/29.0.50/lisp/org/org-table /home/kstuart/emacs/straight/build/org/org-attach-git hides /usr/local/share/emacs/29.0.50/lisp/org/org-attach-git /home/kstuart/emacs/straight/build/org/oc-biblatex hides /usr/local/share/emacs/29.0.50/lisp/org/oc-biblatex /home/kstuart/emacs/straight/build/org/ob-exp hides /usr/local/share/emacs/29.0.50/lisp/org/ob-exp /home/kstuart/emacs/straight/build/org/org-list hides /usr/local/share/emacs/29.0.50/lisp/org/org-list /home/kstuart/emacs/straight/build/org/ob-ruby hides /usr/local/share/emacs/29.0.50/lisp/org/ob-ruby /home/kstuart/emacs/straight/build/org/ob-screen hides /usr/local/share/emacs/29.0.50/lisp/org/ob-screen /home/kstuart/emacs/straight/build/org/ob-dot hides /usr/local/share/emacs/29.0.50/lisp/org/ob-dot /home/kstuart/emacs/straight/build/org/ob-java hides /usr/local/share/emacs/29.0.50/lisp/org/ob-java /home/kstuart/emacs/straight/build/org/org hides /usr/local/share/emacs/29.0.50/lisp/org/org /home/kstuart/emacs/straight/build/org/ox-man hides /usr/local/share/emacs/29.0.50/lisp/org/ox-man /home/kstuart/emacs/straight/build/org/ob-comint hides /usr/local/share/emacs/29.0.50/lisp/org/ob-comint /home/kstuart/emacs/straight/build/org/org-protocol hides /usr/local/share/emacs/29.0.50/lisp/org/org-protocol /home/kstuart/emacs/straight/build/org/ol-man hides /usr/local/share/emacs/29.0.50/lisp/org/ol-man /home/kstuart/emacs/straight/build/org/org-element hides /usr/local/share/emacs/29.0.50/lisp/org/org-element /home/kstuart/emacs/straight/build/org/org-agenda hides /usr/local/share/emacs/29.0.50/lisp/org/org-agenda /home/kstuart/emacs/straight/build/org/ob-ocaml hides /usr/local/share/emacs/29.0.50/lisp/org/ob-ocaml /home/kstuart/emacs/straight/build/org/ox-texinfo hides /usr/local/share/emacs/29.0.50/lisp/org/ox-texinfo /home/kstuart/emacs/straight/build/org/ob-python hides /usr/local/share/emacs/29.0.50/lisp/org/ob-python /home/kstuart/emacs/straight/build/org/org-src hides /usr/local/share/emacs/29.0.50/lisp/org/org-src /home/kstuart/emacs/straight/build/org/ol-info hides /usr/local/share/emacs/29.0.50/lisp/org/ol-info /home/kstuart/emacs/straight/build/org/ob-shell hides /usr/local/share/emacs/29.0.50/lisp/org/ob-shell /home/kstuart/emacs/straight/build/org/ol-eshell hides /usr/local/share/emacs/29.0.50/lisp/org/ol-eshell /home/kstuart/emacs/straight/build/org/ob-haskell hides /usr/local/share/emacs/29.0.50/lisp/org/ob-haskell /home/kstuart/emacs/straight/build/org/ob-css hides /usr/local/share/emacs/29.0.50/lisp/org/ob-css /home/kstuart/emacs/straight/build/org/oc hides /usr/local/share/emacs/29.0.50/lisp/org/oc /home/kstuart/emacs/straight/build/org/org-keys hides /usr/local/share/emacs/29.0.50/lisp/org/org-keys /home/kstuart/emacs/straight/build/org/org-mouse hides /usr/local/share/emacs/29.0.50/lisp/org/org-mouse /home/kstuart/emacs/straight/build/org/ob-emacs-lisp hides /usr/local/share/emacs/29.0.50/lisp/org/ob-emacs-lisp /home/kstuart/emacs/straight/build/org/ox-org hides /usr/local/share/emacs/29.0.50/lisp/org/ox-org /home/kstuart/emacs/straight/build/org/ob-lua hides /usr/local/share/emacs/29.0.50/lisp/org/ob-lua /home/kstuart/emacs/straight/build/org/ox-html hides /usr/local/share/emacs/29.0.50/lisp/org/ox-html /home/kstuart/emacs/straight/build/org/ob-R hides /usr/local/share/emacs/29.0.50/lisp/org/ob-R /home/kstuart/emacs/straight/build/org/oc-csl hides /usr/local/share/emacs/29.0.50/lisp/org/oc-csl /home/kstuart/emacs/straight/build/org/ol-irc hides /usr/local/share/emacs/29.0.50/lisp/org/ol-irc /home/kstuart/emacs/straight/build/org/ob-tangle hides /usr/local/share/emacs/29.0.50/lisp/org/ob-tangle /home/kstuart/emacs/straight/build/org/org-duration hides /usr/local/share/emacs/29.0.50/lisp/org/org-duration /home/kstuart/emacs/straight/build/org/ob-sqlite hides /usr/local/share/emacs/29.0.50/lisp/org/ob-sqlite /home/kstuart/emacs/straight/build/org/ol-rmail hides /usr/local/share/emacs/29.0.50/lisp/org/ol-rmail /home/kstuart/emacs/straight/build/org/org-datetree hides /usr/local/share/emacs/29.0.50/lisp/org/org-datetree /home/kstuart/emacs/straight/build/org/org-inlinetask hides /usr/local/share/emacs/29.0.50/lisp/org/org-inlinetask /home/kstuart/emacs/straight/build/org/ob-maxima hides /usr/local/share/emacs/29.0.50/lisp/org/ob-maxima /home/kstuart/emacs/straight/build/org/org-compat hides /usr/local/share/emacs/29.0.50/lisp/org/org-compat /home/kstuart/emacs/straight/build/org/org-pcomplete hides /usr/local/share/emacs/29.0.50/lisp/org/org-pcomplete /home/kstuart/emacs/straight/build/org/ob-julia hides /usr/local/share/emacs/29.0.50/lisp/org/ob-julia /home/kstuart/emacs/straight/build/org/ox hides /usr/local/share/emacs/29.0.50/lisp/org/ox /home/kstuart/emacs/straight/build/org/ob-eval hides /usr/local/share/emacs/29.0.50/lisp/org/ob-eval /home/kstuart/emacs/straight/build/org/org-mobile hides /usr/local/share/emacs/29.0.50/lisp/org/org-mobile /home/kstuart/emacs/straight/build/org/org-footnote hides /usr/local/share/emacs/29.0.50/lisp/org/org-footnote /home/kstuart/emacs/straight/build/org/org-timer hides /usr/local/share/emacs/29.0.50/lisp/org/org-timer /home/kstuart/emacs/straight/build/org/ol-bbdb hides /usr/local/share/emacs/29.0.50/lisp/org/ol-bbdb /home/kstuart/emacs/straight/build/org/ol-gnus hides /usr/local/share/emacs/29.0.50/lisp/org/ol-gnus /home/kstuart/emacs/straight/build/org/ob-perl hides /usr/local/share/emacs/29.0.50/lisp/org/ob-perl /home/kstuart/emacs/straight/build/org/ob-scheme hides /usr/local/share/emacs/29.0.50/lisp/org/ob-scheme /home/kstuart/emacs/straight/build/dictionary/dictionary hides /usr/local/share/emacs/29.0.50/lisp/net/dictionary /home/kstuart/emacs/straight/build/let-alist/let-alist hides /usr/local/share/emacs/29.0.50/lisp/emacs-lisp/let-alist Features: (shadow mu4e mu4e-org mu4e-view mu4e-main mu4e-headers mu4e-compose mu4e-draft mu4e-actions smtpmail mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message flow-fill mu4e-contacts mu4e-update mu4e-folders mu4e-server mu4e-context mu4e-vars mu4e-helpers mu4e-config ido emacsbug mule-util vc-hg vc-git diff-mode whitespace vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view pcvs-util consult-lsp lsp consult-vertico consult compat-28 rainbow-mode my-settings ob-grpc-autoloads ob-go-autoloads ob-racket-autoloads ob-http-autoloads vc vc-dispatcher modus-vivendi-theme modus-themes borland-blue-theme-autoloads init org-roam-protocol org-roam-ui org-roam-dailies websocket bindat simple-httpd org-roam-migrate org-roam-log org-roam-mode org-roam-capture org-roam-id org-roam-node org-roam-db org-roam-utils org-roam-compat org-roam org-capture org-attach emacsql-sqlite url-http url-auth url-gw emacsql emacsql-compiler magit-section compat-27 compat-26 org-protocol server dev-config dap-gdb-lldb dap-cpptools dap-utils dap-mode dap-launch lsp-docker yaml posframe dap-overlays lsp-ui lsp-ui-flycheck lsp-ui-doc xwidget url-handlers lsp-ui-imenu lsp-ui-peek lsp-ui-sideline lsp-ui-util flycheck lsp-mode lsp-protocol yasnippet-snippets yasnippet spinner network-stream nsm markdown-mode lv f f-shortdoc shortdoc ewoc plantuml-mode lsp-haskell-autoloads haskell-mode-autoloads go-mode-autoloads rust-mode-autoloads sly-autoloads cmake-font-lock-autoloads cmake-mode-autoloads consult-lsp-autoloads dap-mode-autoloads lsp-docker-autoloads yaml-autoloads bui-autoloads lsp-treemacs-autoloads lsp-ui-autoloads lsp-mode-autoloads spinner-autoloads f-autoloads plantuml-mode-autoloads rainbow-mode-autoloads rainbow-delimiters-autoloads flycheck-autoloads pkg-info-autoloads epl-autoloads slime-fancy slime-indentation slime-cl-indent cl-indent slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl elp slime-parse slime paredit flyspell ispell lisp-mnt gud apropos etags fileloop arc-mode archive-mode hyperspec cl slime-autoloads elfeed-tube elfeed-tube-utils aio org-indent oc-basic ol-eww eww mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader range ol-docview ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi elfeed-org org-element org-persist xdg org-id org-refile elfeed-show elfeed-search git-gutter-fringe fringe-helper git-gutter comp comp-cstr warnings message sendmail yank-media rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader shr pixel-fill kinsoku puny elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db elfeed-lib avl-tree url-queue url-file url-dired browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-parse url-vars xml-query rcirc ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-shell org-clock org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc org-compat advice org-macs org-loaddefs cal-menu calendar cal-loaddefs vterm face-remap term disp-table ehelp find-func vterm-module term/xterm xterm kind-icon svg-lib svg dom cape pcmpl-args pcmpl-linux pcmpl-unix eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util corfu keycast compat which-key use-package-diminish marginalia orderless vertico treemacs-icons-dired treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-bookmarks treemacs-interface treemacs-extensions treemacs-mouse-interface treemacs-tags imenu xref project treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode treemacs-rendering treemacs-annotations treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-scope pulse color treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils pfuture inline hl-line ht treemacs-logging treemacs-customization treemacs-macros pcase s dash diminish doc-view filenotify jka-compr image-mode exif bookmark dired-x dired dired-loaddefs edmacro kmacro tramp tramp-loaddefs trampver tramp-integration cus-edit pp cus-load files-x tramp-compat shell pcomplete parse-time iso8601 time-date ls-lisp format-spec auth-source eieio eieio-core password-cache json map byte-opt recentf tree-widget wid-edit executable compile text-property-search comint ansi-color ring goto-addr thingatpt savehist saveplace use-package-bind-key bind-key easy-mmode use-package-core git-gutter-fringe-autoloads fringe-helper-autoloads git-gutter-autoloads paredit-autoloads magit-autoloads git-commit-autoloads with-editor-autoloads transient-autoloads ag-autoloads pdf-tools-autoloads let-alist-autoloads tablist-autoloads anki-mode-autoloads markdown-mode-autoloads slack-autoloads emojify-autoloads circe-autoloads oauth2-autoloads request-autoloads elfeed-tube-mpv-autoloads elfeed-tube-autoloads aio-autoloads elfeed-score-autoloads elfeed-org-autoloads elfeed-autoloads htmlize-autoloads org-roam-ui-autoloads websocket-autoloads simple-httpd-autoloads org-roam-autoloads magit-section-autoloads emacsql-sqlite-autoloads emacsql-autoloads org-pomodoro-autoloads org-mime-autoloads keycast-autoloads which-key-autoloads embark-autoloads orderless-autoloads consult-dir-autoloads project-autoloads xref-autoloads consult-autoloads compat-autoloads marginalia-autoloads vertico-autoloads mpv-autoloads vterm-toggle-autoloads vterm-autoloads dictionary-autoloads link-autoloads connection-autoloads olivetti-autoloads yasnippet-snippets-autoloads yasnippet-autoloads kind-icon-autoloads svg-lib-autoloads pcmpl-args-autoloads cape-autoloads corfu-autoloads fixed-pitch-autoloads eros-autoloads link-hint-autoloads treemacs-icons-dired-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads lv-autoloads pfuture-autoloads s-autoloads dash-autoloads ace-window-autoloads avy-autoloads diminish-autoloads alert-autoloads finder-inf log4e-autoloads gntp-autoloads secrets dbus xml use-package-autoloads bind-key-autoloads straight-autoloads info cl-seq cl-extra help-mode straight subr-x cl-macs cl-loaddefs cl-lib bytecomp byte-compile cconv gv chemacs rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 981396 863429) (symbols 48 57665 255) (strings 32 226999 150922) (string-bytes 1 8335185) (vectors 16 107971) (vector-slots 8 2285439 603195) (floats 8 3526 4228) (intervals 56 29508 38769) (buffers 992 20)) From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 25 22:30:52 2022 Received: (at 56746) by debbugs.gnu.org; 26 Jul 2022 02:30:52 +0000 Received: from localhost ([127.0.0.1]:51878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGALT-0006c4-Ps for submit@debbugs.gnu.org; Mon, 25 Jul 2022 22:30:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGALR-0006bq-QH for 56746@debbugs.gnu.org; Mon, 25 Jul 2022 22:30:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGALL-0007uH-Ha; Mon, 25 Jul 2022 22:30:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2O+cRIBYRaYCat+hJGBFHpUg3zHs//6AUFd+SYvHztw=; b=Iq7FKSJkZvLC vc88CnzY5qzXSN24M/J5filvTuNcXzK0O3tUGiKYpeLGf9Ykk7a6m6OScoK2Zar3L9FEsUzlbDt32 F3FPf0vltnfHRwjjnLSfky7n5lzGacqqyK0i0D7NykK+mfx2vglE3M7W0FVHfc2TS9J+Pgb2Dxy72 QfZHlXZkF4gm2drtNh+uYKVii+VT31umsHCQmRzC0iuMnsBXca6c30kSAcwloqVXhdC3Tkzs0Fn9v VsA9J31TKSk57JKITwbf7Td/U6epzSrp++WB3AXAslRxuX4RMDl5inp1C8eFYMbbLcMUObgrpOKAS UZJv8SIhKsSxQG9dD9+fSQ==; Received: from [87.69.77.57] (port=4774 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGALL-0006Na-1P; Mon, 25 Jul 2022 22:30:43 -0400 Date: Tue, 26 Jul 2022 05:30:46 +0300 Message-Id: <83czdsehbd.fsf@gnu.org> From: Eli Zaretskii To: Kenneth Stuart , Andrea Corallo In-Reply-To: (message from Kenneth Stuart on Sun, 24 Jul 2022 15:16:42 +0100) Subject: Re: bug#56746: 29.0.50; Probable bug with native compilation References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56746 Cc: 56746@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Kenneth Stuart > Date: Sun, 24 Jul 2022 15:16:42 +0100 > > Note that I'm not using 'emacs -Q' as a later version of Org is > required, however the issue strongly appears to be with emacs native > compilation as it does not occur from a build without native > compilation. > > org-mode commit: 127e7fee4959ceb33dba2e442b72189f3c25eaa1 > > Steps to reproduce: > > 1. Create an org-mode buffer and insert a clocktable dynamic block with a > `tstart` option. > > #+BEGIN: clocktable :scope file :maxlevel 2 :tstart "2020-01-01" > #+END: > > 2. Evaluate the clocktable (C-c C-c on the #+BEGIN line) > > Result: `Invalid function: org-encode-time` > Expected: No error, clocktable updated successfully > > Notes: > > References: > https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00738.html > https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00696.html > > In early April Org introduced a new macro `org-encode-time` which is > used in the `let` special form of function `org-matcher-time` > > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-macs.el#n1395 > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-macs.el#n1463 > > Function `org-matcher-time` is used by the clocktable dynamic block > options, for example adding a `tstart` option and evaluation the > clocktable emits the error "Invalid function: org-encode-time". > > If then going to the source for `org-matcher-time` and evaluating the > defun, the clocktable can then be evaluated without error. > > As previously stated this issue does not occur when not using native > compilation. Andrea, could you please look into this bug report? It sounds like 'defmacro' in a conditional code is mis-compiled somehow? From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 25 22:36:15 2022 Received: (at 56746) by debbugs.gnu.org; 26 Jul 2022 02:36:15 +0000 Received: from localhost ([127.0.0.1]:51890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGAQh-0006lb-FI for submit@debbugs.gnu.org; Mon, 25 Jul 2022 22:36:15 -0400 Received: from mail-pf1-f175.google.com ([209.85.210.175]:43991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGAQg-0006lL-9g for 56746@debbugs.gnu.org; Mon, 25 Jul 2022 22:36:14 -0400 Received: by mail-pf1-f175.google.com with SMTP id b9so12057526pfp.10 for <56746@debbugs.gnu.org>; Mon, 25 Jul 2022 19:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=7PnXwrQxecl2pj+afkEfiadwqJ66vpip1lI0UyBvfSs=; b=nzASdx3eyLdjOOHt87Y+w2ivOKUU2/tOVWYwBHyiOxh6d74gA3ia9+fwRFtNS8D5IO koVQ7muCXJCR2+9fsY6ZIBbo4wR6Zkj7wtOIBy6Q/uvobOf8Uup+u+eY1MxPvdZSip9o 5vCtQGvB770if4gPo0Xmc464WuCk2Cvm04a3EqhaI0d0pmavboqZme84zxmjOxE4rCP/ be96/LoCJsMAdlQhM4oP0+OU6pFmLcxJun/Mxva2lwq+kEJHfmcIsG/3WZbLSB32rCbF Wy0AUTSAuLJqFHPsOt0Y39ZQAKbJALJ138l+efO1euNb/W+aoV3vjD+GYoLiAVbvmpgX NaHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=7PnXwrQxecl2pj+afkEfiadwqJ66vpip1lI0UyBvfSs=; b=TsqXTx7qz8iBpXAkX2nLxragmcWo9/jFCbXoQ7YQLSmFDNTY9c8/uHMFDIoInuyCdl ABJ51KcQa1yPu/5cq5WIkl32jruCsysWnAjwaK3u8OReP2E+z8ZMG5WF3Nrk5xTP/dAa WvqK6HLmdrbofEg5zGTEuzOI8wWkrDSyI0BA5QjM9YuC2TH7b7WKYSQ2r3b/fFsWXT6h mcudkEEfawkso0ZglD5XrpS2FQ/hPKAnjfhjRIX6vsEiyAK0MR6BqNj9ZCBZnyqPJKrN fWljHdJrTpmnGbQ/EZ2W6F2KT2E2uD3TKfN9HA6k3cnCBlMImb5UtMigk7ZfVCFv6Z5d fN5w== X-Gm-Message-State: AJIora/z+XDgPg4LLH/TC59tFWDLc6gmBGpG7F8+gNArH7C+9m0/8/3N svHDrEMpTW87d40t9xsp69c= X-Google-Smtp-Source: AGRyM1uFUUFFuLk/agBVLY/tMB1wdjeqgsr+s1Wgmj9QDfg5c1sriv14LTOfvH+Y6r47LKdR7pOaYg== X-Received: by 2002:a63:5b45:0:b0:416:7867:4298 with SMTP id l5-20020a635b45000000b0041678674298mr13783933pgm.58.1658802968387; Mon, 25 Jul 2022 19:36:08 -0700 (PDT) Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id h14-20020a170902f7ce00b0016d0beb6ce0sm9937067plw.246.2022.07.25.19.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 19:36:07 -0700 (PDT) From: Ihor Radchenko To: Kenneth Stuart Subject: Re: bug#56746: 29.0.50; Probable bug with native compilation In-Reply-To: References: Date: Tue, 26 Jul 2022 10:37:13 +0800 Message-ID: <87ilnkd2g6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 56746 Cc: 56746@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Kenneth Stuart writes: > Note that I'm not using 'emacs -Q' as a later version of Org is > required, however the issue strongly appears to be with emacs native > compilation as it does not occur from a build without native > compilation. As an equivalent of 'emacs -Q' with latest Org, you can simply run make repro from inside the Org git directory. It will run emacs -Q with appropriate load-path settings. Best, Ihor From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 26 12:49:00 2022 Received: (at 56746) by debbugs.gnu.org; 26 Jul 2022 16:49:00 +0000 Received: from localhost ([127.0.0.1]:54290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGNjv-0007vw-Od for submit@debbugs.gnu.org; Tue, 26 Jul 2022 12:49:00 -0400 Received: from mx.sdf.org ([205.166.94.24]:57099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGNjq-0007vh-Jk for 56746@debbugs.gnu.org; Tue, 26 Jul 2022 12:48:58 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 26QGmquA024453 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 26 Jul 2022 16:48:53 GMT From: Andrea Corallo To: Eli Zaretskii Subject: Re: bug#56746: 29.0.50; Probable bug with native compilation References: <83czdsehbd.fsf@gnu.org> Date: Tue, 26 Jul 2022 16:48:53 +0000 In-Reply-To: <83czdsehbd.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 26 Jul 2022 05:30:46 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56746 Cc: 56746@debbugs.gnu.org, Kenneth Stuart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Kenneth Stuart >> Date: Sun, 24 Jul 2022 15:16:42 +0100 >> >> Note that I'm not using 'emacs -Q' as a later version of Org is >> required, however the issue strongly appears to be with emacs native >> compilation as it does not occur from a build without native >> compilation. >> >> org-mode commit: 127e7fee4959ceb33dba2e442b72189f3c25eaa1 >> >> Steps to reproduce: >> >> 1. Create an org-mode buffer and insert a clocktable dynamic block with a >> `tstart` option. >> >> #+BEGIN: clocktable :scope file :maxlevel 2 :tstart "2020-01-01" >> #+END: >> >> 2. Evaluate the clocktable (C-c C-c on the #+BEGIN line) >> >> Result: `Invalid function: org-encode-time` >> Expected: No error, clocktable updated successfully >> >> Notes: >> >> References: >> https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00738.html >> https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00696.html >> >> In early April Org introduced a new macro `org-encode-time` which is >> used in the `let` special form of function `org-matcher-time` >> >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-macs.el#n1395 >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-macs.el#n1463 >> >> Function `org-matcher-time` is used by the clocktable dynamic block >> options, for example adding a `tstart` option and evaluation the >> clocktable emits the error "Invalid function: org-encode-time". >> >> If then going to the source for `org-matcher-time` and evaluating the >> defun, the clocktable can then be evaluated without error. >> >> As previously stated this issue does not occur when not using native >> compilation. > > Andrea, could you please look into this bug report? It sounds like > 'defmacro' in a conditional code is mis-compiled somehow? I'm currently on holiday so I've only time to check the mails and reply when necessary. I won't have time to look into this before next week *but*... if it's a macro issue it might be some missing require in the org code, we have seen this kind of issue is the most common. Is this org async compiled? If so Kenneth have we verifed the emitted warnings? Thanks! Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 26 17:11:02 2022 Received: (at 56746) by debbugs.gnu.org; 26 Jul 2022 21:11:02 +0000 Received: from localhost ([127.0.0.1]:54508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGRpV-0007nm-1P for submit@debbugs.gnu.org; Tue, 26 Jul 2022 17:11:02 -0400 Received: from mail-am6eur05olkn2050.outbound.protection.outlook.com ([40.92.91.50]:12385 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGQRQ-00050A-14 for 56746@debbugs.gnu.org; Tue, 26 Jul 2022 15:42:05 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RHrk3kj8IBMk0sKV2/5g56PeeENGDjVSsJ/Ei52ReWl6kcAARwz+xnm73Y2aJpeuhqtkUfpQRmLGnrXZ6eDxMSU//Ms2GQsCjMEgsVJyRGFFEGZONpfWLvu0uFzgvSLH79PiSv3oFRfHIyOfRAlwjs/NbGDM5sZLFKJ4aAGLjLHTo3Z7fl5M5GiaUKeKDbFCC1XMdGqN1ro5aX7gyQOjUOdTS4k4oadU/BgdggCzwD/ummrFq7/qGjxj4dNZ1T+T+w23KVn1hujhTPMJn+DEsyynPHuAhtdnnviFcUzb8i7ZZPzFhCgHwpXrECPVaKK7pU70Cp+Irtr0CvoaAxJF2A== 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=iZqI/rvW3APlEkmn1F+pTA2Fmw5z1m7XCKBckRsRo8A=; b=WDyTgtgcBXHLDp0VFsuhM7Tj5ZTm37o1mMlVRFKNma7UjPlmappUZWG6i6yxIGqw5L0/Do8nzJkK/vvyW0esnGdLc6Ew4Swvcycb6gxRz/j6XVEK9qewUgH1V0v+yaa3zZI09Q1ywQqfDn+GoHME73Psvu3P6Q4RYAtJ3nWg2h8FWQpclcBQHKF98NURI+Vv2nSbB5QGbQ7pMOsAeYR2GENoOImmKGBnzDSAx6UdRqHhn81lW2fHuc8yoFAzbZDdMvhAGOnhUz7LL/1fga02+L2PW3Ucia1TSzrWDile4VtcdR+Dpl0NUBp7Y+Qeo2dJFjLUN5r09XgWpjkFtVYg4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from PAXP251MB0470.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:283::11) by AS8P251MB0935.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:570::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.23; Tue, 26 Jul 2022 19:41:57 +0000 Received: from PAXP251MB0470.EURP251.PROD.OUTLOOK.COM ([fe80::f881:eab3:bd1d:bcf5]) by PAXP251MB0470.EURP251.PROD.OUTLOOK.COM ([fe80::f881:eab3:bd1d:bcf5%9]) with mapi id 15.20.5458.024; Tue, 26 Jul 2022 19:41:57 +0000 References: <83czdsehbd.fsf@gnu.org> User-agent: mu4e 1.8.7; emacs 28.1 From: Kenneth Stuart To: Andrea Corallo Subject: Re: bug#56746: 29.0.50; Probable bug with native compilation Date: Tue, 26 Jul 2022 20:39:47 +0100 In-reply-to: Message-ID: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TMN: [i+NSDrd1Kz3mgIbZ/xg5tAyqhKyByeLn] X-ClientProxiedBy: LO2P265CA0490.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:13a::15) To PAXP251MB0470.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:283::11) X-Microsoft-Original-Message-ID: <87o7xbzmnw.fsf@hotmail.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fa352166-7bc5-438c-bd63-08da6f3ee639 X-MS-TrafficTypeDiagnostic: AS8P251MB0935:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aiG8JuKmke4kAnEiFjrywzslnXMYDoU7WS+0CLajnpC8xs3MmxFfOighLHjUnLYb/xHg7ZIHLJ+0fHg/Dcq6BXJzVmC3IvpwchCboqY3K/PHJkcWtpNDub+RvrERXHKiZqnLxJ31ZCz/2/O/DDzGYwypWagjab4c0RyoxBpk0sgA8osz3z+UfdAzJCl5vUolQpJ2XG6M3NDwQbxO1xKce4bPN7Ms1/L8J6HR7S8xAN0KaUn2z82j9hg9Pm64yb6vyjSfm21t2BTZPjoQT9nhgBVs/jbviBZZjvlVqocIEiPremHQ6mLMM51imeBA08Xk1AantkUpo278325nDYF7OxMz6n7C359OAghDQDN+q5pD0Rx5qY6qDbQUSAXtlt7h+VqvPVTmhh8uB5I/7pynJ+LFOiS+mgJ2ZESDZwEQSuksqn/YI5j+ZUr6Qce7xqZT17sZvR+lS8C5F23DQFW8ljElD/+y4KSMquva9UuEPN28IyxZI8ulvHcllUgnCnWHSciSj2bL3Icvn3QDpPLc3zMLlClfObhDn/k7g8MAQkSwZxIDyQOsFBvf2jNJAPlSHQUuY4xs8mJ+gdeVvwl7zN6LAW3AYoRjRiqw+oj2sqLu+Ubt5bdtrcxNo3f0OGTcku64Ex1/ie1c0cfKo8eN9oA1NOV/UXGPmYT3GHq4ciAl+PulU3yMo698Z59U/27O X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?V2ZCSFM3TFhCYnV4dVBQRkdzOHFDbFMwQVFtVG9jYVVxOVNicjVMWDVEVk56?= =?utf-8?B?L2pzN3Q3UGszQ2ZSUTl5NkNXamFGdXY3NzhUUVJ1d2JtSENLR3ovTFpwdk1l?= =?utf-8?B?ZkRBbmwxbFRseWR3dWMxd0YxWFhUd2tVQ3ljMXRveXAxSVMyWlBaZDQvK0Ja?= =?utf-8?B?QTlsempoRDBHRSt5SkswYlRGUTlMdGFWb05Zc2lMMktCM2FSWFk3MjYySnhS?= =?utf-8?B?aGNicC9kNWh2Y0lOb2lxanBHaDU0TUVXM1JxUi9YVjZqeTFHNHQrZG9nTVZX?= =?utf-8?B?Y3pYZVBOQVpjNzNnODBoUzZvNTZLSkExMmk5RUozcjJDa091UkJHMy9oL2hX?= =?utf-8?B?TUczU0c0ajA3dERDSzJneEZ0MTJRMGEwLzFxaEpTZExZYUJVVEx2aXE3alF6?= =?utf-8?B?RWtYTmZjalNHcmpyS25wcDgxSVBVWE5DR2R5enR6L2QzeHJ2Qk5qbXRZRUVN?= =?utf-8?B?aTFtUHNUcVdBUTBuNXVyTHUvR1c2ZElpbGU2TU8xb1Y4SlRPNnZGbjNuTUYz?= =?utf-8?B?WG4wRFJVMXgrN1VCZk5JMUFYemRUbEFOR09TdlN2blZaVSs3ZExFa2FqN2p5?= =?utf-8?B?V1MvelJtZUNWVnJ4clNaTDc1ZGVBWFhySjNhcXdJTE9hVTVMRzU3U1orWmhr?= =?utf-8?B?cFpnWWNmcFIxMVBOWGhqZ3dXVE82ZVROMzNTV1NHQ1RucGF3a1ZhMlNGK2g1?= =?utf-8?B?SUNaZXd2cXJqR1V3c2ROMlU5QUFBbEdZSzA2Vk5WeE9uWlFpRUt2MkZzWmRD?= =?utf-8?B?NHp2eitxUERIRnlLSUo5Q05tay9aUVNUOWRZZDRJdjlCSlI5d0lScytIMm9v?= =?utf-8?B?R1hyUVJySHN4Nnp5ZFFpc1NoYkEvek1BcFZUUUgzTEhmOFBFZnYrTmxLVEdX?= =?utf-8?B?SGdBV2R2NWJMQW05bisyb3JmczdPdWtlL2RXL29TNm1TYTBUdTNMODZKZ2k5?= =?utf-8?B?VzRwOWlncXMySHJaQ0V2VlFsaitxU25qZlViM2xSellYYXAwd0lmQnJKdUpM?= =?utf-8?B?a1hoTUQ3M0l4azRhd2FGZWF0emVsZXoweWhlUTMyd3BWTEFrakx2c2JUSXpW?= =?utf-8?B?VlMrTGkrd0NMTzYzNHNOYWFoTm1FQXlZVzZRTzN5Sy9WUWtoTVR3TGxxeTFP?= =?utf-8?B?RzBMMFZHSlliY25KK3k2ZGVRTytuZ0Qzd3NVRUI4Y09BVStGUStJUm1vQ29S?= =?utf-8?B?eUpCUDRMdEtoNTYxQ1FIMHEzQjlXUldEdXY5SjI5ZnBYaDVqNnhJQUhIR2NC?= =?utf-8?B?TmN1cmFxOHRaK0xVWTdNQU1vU1dJWXBMY1JLNmdzRTI3U3ExeWN2Ky93TWJ4?= =?utf-8?B?QnpyL25YS3pmdTFDK1VlazRRT1RhRmk1UitoMi93SjFSa2pUTHpKUXlWeHlp?= =?utf-8?B?U0hOYlhtZXJuZUtITElLSDN2ais1eWlJRFkyaGVQQTZubStNNXpxd1NnZzdO?= =?utf-8?B?dmhMbUFLRFNXNEhCeVB6SThFWjhVYjNHTUtiMnQxUmNHZHUwMmhLM1FtZ1lS?= =?utf-8?B?R0F3UDRnR2dKM2tPZkNJUS9lQVNRdHVGdVpYSkJOYXEweTFSTlJ4ampVb1hM?= =?utf-8?B?YmRyeG9IV3EzVENpQnE1RmVNbllqY0V4dFZ2ZWU5QzBBTEUrVHBiTnRJeTZl?= =?utf-8?B?Q1ppak52YTE5RHk5dU83bGQ2d0lCamIvdkQ4dk1vbnd4bG52cVZvNG9Ja0pY?= =?utf-8?B?RVZDOHJkNHB5dTlDMHZOMVhOdlBVUWFJN3VybzR4WjZBbHFPKzF0QnpRPT0=?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-00b75.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: fa352166-7bc5-438c-bd63-08da6f3ee639 X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0470.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2022 19:41:57.0201 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P251MB0935 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56746 X-Mailman-Approved-At: Tue, 26 Jul 2022 17:11:00 -0400 Cc: 56746@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Andrea Corallo writes: > Eli Zaretskii writes: > >>> From: Kenneth Stuart >>> Date: Sun, 24 Jul 2022 15:16:42 +0100 >>>=20 >>> Note that I'm not using 'emacs -Q' as a later version of Org is >>> required, however the issue strongly appears to be with emacs native >>> compilation as it does not occur from a build without native >>> compilation. >>>=20 >>> org-mode commit: 127e7fee4959ceb33dba2e442b72189f3c25eaa1 >>>=20 >>> Steps to reproduce: >>>=20 >>> 1. Create an org-mode buffer and insert a clocktable dynamic block with= a >>> `tstart` option. >>>=20 >>> #+BEGIN: clocktable :scope file :maxlevel 2 :tstart "2020-01-01" >>> #+END: >>>=20 >>> 2. Evaluate the clocktable (C-c C-c on the #+BEGIN line) >>>=20 >>> Result: `Invalid function: org-encode-time` >>> Expected: No error, clocktable updated successfully >>>=20 >>> Notes: >>>=20 >>> References: >>> https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00738.html >>> https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00696.html >>>=20 >>> In early April Org introduced a new macro `org-encode-time` which is >>> used in the `let` special form of function `org-matcher-time` >>>=20 >>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-macs= .el#n1395 >>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-macs= .el#n1463 >>>=20 >>> Function `org-matcher-time` is used by the clocktable dynamic block >>> options, for example adding a `tstart` option and evaluation the >>> clocktable emits the error "Invalid function: org-encode-time". >>>=20 >>> If then going to the source for `org-matcher-time` and evaluating the >>> defun, the clocktable can then be evaluated without error. >>>=20 >>> As previously stated this issue does not occur when not using native >>> compilation. >> >> Andrea, could you please look into this bug report? It sounds like >> 'defmacro' in a conditional code is mis-compiled somehow? > > I'm currently on holiday so I've only time to check the mails and reply > when necessary. I won't have time to look into this before next week > *but*... if it's a macro issue it might be some missing require in the > org code, we have seen this kind of issue is the most common. > > Is this org async compiled? If so Kenneth have we verifed the emitted > warnings? > > Thanks! > > Andrea During async compile there are a couple of warnings emitted: In end of data: org-macs.el:1463:29: Warning: the function =E2=80=98org-encode-time=E2=80= =99 is not known to be defined. org-macs.el:1361:10: Warning: the function =E2=80=98org-time-string-to-seco= nds=E2=80=99 is not known to be defined. However org-encode-time is earlier defined in org-macs.el (within 'if' stat= ement). Also interesting, if I touch org-macs.el and synchronously compile, I see n= o issue: Updating dynamic block =E2=80=98clocktable=E2=80=99 at line 1... org-matcher-time: Invalid function: org-encode-time Save buffer org-macs.el first? (y or n) y Saving file /home/kstuart/emacs-next/straight/repos/org/lisp/org-macs.el... Wrote /home/kstuart/emacs-next/straight/repos/org/lisp/org-macs.el Loading /home/kstuart/emacs-next/eln-cache/29.0.50-7f035195/org-macs-a38ffe= 3b-5e6a4cdf.eln (native compiled elisp)...done Updating dynamic block =E2=80=98clocktable=E2=80=99 at line 1...done =F0=9F=AB=A4 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 27 04:13:43 2022 Received: (at 56746) by debbugs.gnu.org; 27 Jul 2022 08:13:43 +0000 Received: from localhost ([127.0.0.1]:55050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGcAo-0002ad-IO for submit@debbugs.gnu.org; Wed, 27 Jul 2022 04:13:42 -0400 Received: from mx.sdf.org ([205.166.94.24]:60576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGcAm-0002aT-Bo for 56746@debbugs.gnu.org; Wed, 27 Jul 2022 04:13:41 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 26R8Dc9H024169 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 27 Jul 2022 08:13:39 GMT From: Andrea Corallo To: Kenneth Stuart Subject: Re: bug#56746: 29.0.50; Probable bug with native compilation References: <83czdsehbd.fsf@gnu.org> Date: Wed, 27 Jul 2022 08:13:39 +0000 In-Reply-To: (Kenneth Stuart's message of "Tue, 26 Jul 2022 20:39:47 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56746 Cc: 56746@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Kenneth Stuart writes: > Andrea Corallo writes: > >> Eli Zaretskii writes: >> >>>> From: Kenneth Stuart >>>> Date: Sun, 24 Jul 2022 15:16:42 +0100 >>>>=20 >>>> Note that I'm not using 'emacs -Q' as a later version of Org is >>>> required, however the issue strongly appears to be with emacs native >>>> compilation as it does not occur from a build without native >>>> compilation. >>>>=20 >>>> org-mode commit: 127e7fee4959ceb33dba2e442b72189f3c25eaa1 >>>>=20 >>>> Steps to reproduce: >>>>=20 >>>> 1. Create an org-mode buffer and insert a clocktable dynamic block wit= h a >>>> `tstart` option. >>>>=20 >>>> #+BEGIN: clocktable :scope file :maxlevel 2 :tstart "2020-01-01" >>>> #+END: >>>>=20 >>>> 2. Evaluate the clocktable (C-c C-c on the #+BEGIN line) >>>>=20 >>>> Result: `Invalid function: org-encode-time` >>>> Expected: No error, clocktable updated successfully >>>>=20 >>>> Notes: >>>>=20 >>>> References: >>>> https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00738.html >>>> https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00696.html >>>>=20 >>>> In early April Org introduced a new macro `org-encode-time` which is >>>> used in the `let` special form of function `org-matcher-time` >>>>=20 >>>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-mac= s.el#n1395 >>>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-mac= s.el#n1463 >>>>=20 >>>> Function `org-matcher-time` is used by the clocktable dynamic block >>>> options, for example adding a `tstart` option and evaluation the >>>> clocktable emits the error "Invalid function: org-encode-time". >>>>=20 >>>> If then going to the source for `org-matcher-time` and evaluating the >>>> defun, the clocktable can then be evaluated without error. >>>>=20 >>>> As previously stated this issue does not occur when not using native >>>> compilation. >>> >>> Andrea, could you please look into this bug report? It sounds like >>> 'defmacro' in a conditional code is mis-compiled somehow? >> >> I'm currently on holiday so I've only time to check the mails and reply >> when necessary. I won't have time to look into this before next week >> *but*... if it's a macro issue it might be some missing require in the >> org code, we have seen this kind of issue is the most common. >> >> Is this org async compiled? If so Kenneth have we verifed the emitted >> warnings? >> >> Thanks! >> >> Andrea > > During async compile there are a couple of warnings emitted: > > In end of data: > org-macs.el:1463:29: Warning: the function =E2=80=98org-encode-time=E2=80= =99 is not known to be defined. > org-macs.el:1361:10: Warning: the function =E2=80=98org-time-string-to-se= conds=E2=80=99 is not known to be defined. Nice, those are clear markers of this issue. > However org-encode-time is earlier defined in org-macs.el (within 'if' st= atement). Okay, I can't read the code now but I guess should be easy to investigate why during async compilation this 'if' is not triggered. > Also interesting, if I touch org-macs.el and synchronously compile, I see= no issue: This is because compiling synchronously the definition of those macros is most likely loaded and already present in the environment. Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 07 17:20:54 2023 Received: (at 56746-done) by debbugs.gnu.org; 7 Jun 2023 21:20:55 +0000 Received: from localhost ([127.0.0.1]:54952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q70aM-0005xW-HZ for submit@debbugs.gnu.org; Wed, 07 Jun 2023 17:20:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q70aK-0005xH-1H for 56746-done@debbugs.gnu.org; Wed, 07 Jun 2023 17:20:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q70aE-0006EW-Cz; Wed, 07 Jun 2023 17:20:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=DC1DIA+7V4E8Emphynr/V/nG+oQfCLpY0yUnhucis+o=; b=PlQVHoWcfpEagK5VuDW4 QpvBum0W9rLK2DYWzYgIOabWPW375EHbGJ2LDQJbbtMgrLtKQfiAN+zwijv4FBiB2jANAC6eHqz6X 9v8DDIh4HIInorxIAFYGeSo5KRm8fVDRNPkQxhoXEY13sVBSwnEIXpMbBPj5U1UdmPenvbBfBCE3C excZSM2Or6JolcHtaUTSiRMcloZOHZOQKIJluYW3SRjmIZZlAyW4n+Bd40zq+FM0e62PFtUj/SsQb jkXjLwAkqDvjaiUw7a45O8ztGL/8YfKXu00KrrMQZmMrjYcTNIFVbe7PPSzi10nu6bezn+f7q/GIE NmBblUamVAAV+A==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1q70aE-0001pZ-5n; Wed, 07 Jun 2023 17:20:46 -0400 From: Andrea Corallo To: Andrea Corallo Subject: Re: bug#56746: 29.0.50; Probable bug with native compilation In-Reply-To: (Andrea Corallo's message of "Wed, 27 Jul 2022 08:13:39 +0000") References: <83czdsehbd.fsf@gnu.org> Date: Wed, 07 Jun 2023 17:20:46 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56746-done Cc: Eli Zaretskii , 56746-done@debbugs.gnu.org, Kenneth Stuart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andrea Corallo writes: > Kenneth Stuart writes: > >> Andrea Corallo writes: >> >>> Eli Zaretskii writes: >>> >>>>> From: Kenneth Stuart >>>>> Date: Sun, 24 Jul 2022 15:16:42 +0100 >>>>>=20 >>>>> Note that I'm not using 'emacs -Q' as a later version of Org is >>>>> required, however the issue strongly appears to be with emacs native >>>>> compilation as it does not occur from a build without native >>>>> compilation. >>>>>=20 >>>>> org-mode commit: 127e7fee4959ceb33dba2e442b72189f3c25eaa1 >>>>>=20 >>>>> Steps to reproduce: >>>>>=20 >>>>> 1. Create an org-mode buffer and insert a clocktable dynamic block wi= th a >>>>> `tstart` option. >>>>>=20 >>>>> #+BEGIN: clocktable :scope file :maxlevel 2 :tstart "2020-01-01" >>>>> #+END: >>>>>=20 >>>>> 2. Evaluate the clocktable (C-c C-c on the #+BEGIN line) >>>>>=20 >>>>> Result: `Invalid function: org-encode-time` >>>>> Expected: No error, clocktable updated successfully >>>>>=20 >>>>> Notes: >>>>>=20 >>>>> References: >>>>> https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00738.html >>>>> https://mail.gnu.org/archive/html/emacs-orgmode/2022-07/msg00696.html >>>>>=20 >>>>> In early April Org introduced a new macro `org-encode-time` which is >>>>> used in the `let` special form of function `org-matcher-time` >>>>>=20 >>>>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-ma= cs.el#n1395 >>>>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-ma= cs.el#n1463 >>>>>=20 >>>>> Function `org-matcher-time` is used by the clocktable dynamic block >>>>> options, for example adding a `tstart` option and evaluation the >>>>> clocktable emits the error "Invalid function: org-encode-time". >>>>>=20 >>>>> If then going to the source for `org-matcher-time` and evaluating the >>>>> defun, the clocktable can then be evaluated without error. >>>>>=20 >>>>> As previously stated this issue does not occur when not using native >>>>> compilation. >>>> >>>> Andrea, could you please look into this bug report? It sounds like >>>> 'defmacro' in a conditional code is mis-compiled somehow? >>> >>> I'm currently on holiday so I've only time to check the mails and reply >>> when necessary. I won't have time to look into this before next week >>> *but*... if it's a macro issue it might be some missing require in the >>> org code, we have seen this kind of issue is the most common. >>> >>> Is this org async compiled? If so Kenneth have we verifed the emitted >>> warnings? >>> >>> Thanks! >>> >>> Andrea >> >> During async compile there are a couple of warnings emitted: >> >> In end of data: >> org-macs.el:1463:29: Warning: the function =E2=80=98org-encode-time=E2= =80=99 is not known to be defined. >> org-macs.el:1361:10: Warning: the function =E2=80=98org-time-string-to-s= econds=E2=80=99 is not known to be defined. > > Nice, those are clear markers of this issue. > >> However org-encode-time is earlier defined in org-macs.el (within 'if' s= tatement). > > Okay, I can't read the code now but I guess should be easy to > investigate why during async compilation this 'if' is not triggered. > >> Also interesting, if I touch org-macs.el and synchronously compile, I se= e no issue: > > This is because compiling synchronously the definition of those macros > is most likely loaded and already present in the environment. > > Andrea Hello all, closing this as I believe was a (I guess solved) org bug. Happy to reopen if necessary. Best Regards Andrea From unknown Sun Jun 15 08:25:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 06 Jul 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator