From unknown Wed Jun 25 05:41:01 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#47318 <47318@debbugs.gnu.org> To: bug#47318 <47318@debbugs.gnu.org> Subject: Status: 26.3; Modules on Emacs 26.3 broken? Reply-To: bug#47318 <47318@debbugs.gnu.org> Date: Wed, 25 Jun 2025 12:41:01 +0000 retitle 47318 26.3; Modules on Emacs 26.3 broken? reassign 47318 emacs submitter 47318 Sanel Zukan severity 47318 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 09:13:11 2021 Received: (at submit) by debbugs.gnu.org; 22 Mar 2021 13:13:11 +0000 Received: from localhost ([127.0.0.1]:56462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOKMp-0005r5-20 for submit@debbugs.gnu.org; Mon, 22 Mar 2021 09:13:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:43702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOKMn-0005qy-Sf for submit@debbugs.gnu.org; Mon, 22 Mar 2021 09:13:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOKMn-0002SK-Mo for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 09:13:09 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:42548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOKMl-0000iK-0k for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 09:13:09 -0400 Received: by mail-wr1-x435.google.com with SMTP id x13so16667175wrs.9 for ; Mon, 22 Mar 2021 06:13:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:user-agent:date:message-id:mime-version :content-transfer-encoding; bh=BEGRbTS3wI5CFQYZNxJvH01qNzsvyfx3T4+y92bq1b0=; b=W2zwwIO56zTjxYyprXK5vWRByCkqlUVr7efi4i8JTv/8UMum+oHKB7PwFPoiQ2bKT2 Mz4+FSdgoZB35u6PgIGHX9qOGUnBFaxn7Kas7+8WxPjn60sPaiXMJvJrn/cDUniLhxTb 6HOpWC0wHKcxjOPH17q5+RZJ3CQrh9/rC0Ne3/+6pa68K1GrN6gP5IF5yqxT6i0oSDm5 sXaPZyc3WHs9jl5Gv7MNsLcjlzgmDfl+rakHkZMHCqkxvegQP6CHJ+tUgHpUcP/nNVwn lUf24ZNUTHeDjrie/h9IJrQ74kKNi78sxBX7RDiIJEra66xwoyC7y2nn3DTGbOJ30aPG mDJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:user-agent:date:message-id :mime-version:content-transfer-encoding; bh=BEGRbTS3wI5CFQYZNxJvH01qNzsvyfx3T4+y92bq1b0=; b=g+Q6lRvGSY3luQAOluVNy7e201mLmb7Ujp5UiN0WCQLOiI7gpSd+DnBvv8jxUaX4tA +enrB4xG/3eryWtLab8kHQoBwLaMqXqSsYAgqupGjWFsg9pd+3mwcLlmBaEE4sQGuPgi Oazf4A9Kpl3rwtgVz0F2383FNjrJYV5+D7AvOwIzT7ufl2rQxdynOALjGqTIORZk8fUv aDj5fSC5ldPrghK4QP8+QggY8SgdBnhLb0y+PY+C3uEBMFhjvh9dYdVprYIHquCCrsIs rnu6Et0BTV4oZRym/d0mv0zijI6djApMjXs5ZrUlKv9zHMnmV4uBDKtXSzWA9UEkzKcc 2m9g== X-Gm-Message-State: AOAM532W1NS76YdmUsG9Co5ZKIUeYi2P40ZmfY+/LMcDL0kVyEb55ObC RTBnuRmuRaCn3UYE5nHqN+Q3o6IBiORBTg== X-Google-Smtp-Source: ABdhPJxNEgD6EeosTCbp6z/t3EHjaUzNw/f1YBXw0p08+OtJMz411Bb4BVUSjmMlYslNbQFbqMJKmw== X-Received: by 2002:adf:ff8c:: with SMTP id j12mr18331762wrr.297.1616418784520; Mon, 22 Mar 2021 06:13:04 -0700 (PDT) Received: from localhost ([185.13.240.217]) by smtp.gmail.com with ESMTPSA id f2sm19975554wrq.34.2021.03.22.06.13.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 06:13:04 -0700 (PDT) From: Sanel Zukan To: bug-gnu-emacs@gnu.org Subject: 26.3; Modules on Emacs 26.3 broken? User-Agent: Notmuch/0.28.2 (https://notmuchmail.org) Date: Mon, 22 Mar 2021 14:13:02 +0100 Message-ID: <87ft0n2uxt.fsf@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=sanelz@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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 (--) Hi guys, I'm getting this [1] error from freshly compiled Emacs 26.3 and vterm-module. Also, emacs-eject [2] and very simple module [3] fails on 26.3 with the similar error. However, they are working fine on 27.1. Any idea what could go wrong? I also tried to run bare Emacs with 'emacs -Q'. In the all cases, Emacs is compiled with modules support. [1] https://github.com/akermu/emacs-libvterm/issues/181 [2] https://github.com/syohex/emacs-eject [3] http://diobla.info/blog-archive/modules-tut.html Best regards, Sanel In GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2021-03-21 built on darkstar Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit Directory ~/programs/emacs/emacs-eject/ Scanning for dabbrevs...done user-error: No dynamic expansion for =E2=80=98add-to-li=E2=80=99 found Mark set Quit Entering debugger... : is undefined Back to top level Configured using: 'configure --prefix=3D/opt/emacs-26.3 --with-modules --without-gconf --without-gsettings' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LCMS2 Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: en_US.utf8 value of $LC_MESSAGES: en_US.utf8 value of $LC_MONETARY: en_US.utf8 value of $LC_NUMERIC: en_US.utf8 value of $LC_TIME: en_US.utf8 value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: ido-vertical-mode: t diff-auto-refine-mode: t global-undo-tree-mode: t undo-tree-mode: t evil-mode: t evil-local-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: ~/.emacs.d/modes/async hides ~/.emacs.d/elpa/async-1.9.3/async ~/.emacs.d/modes/dired-async hides ~/.emacs.d/elpa/async-1.9.3/dired-async ~/.emacs.d/evil/lib/ert hides ~/programs/emacs/emacs-26.3/lisp/emacs-lisp/e= rt Features: (shadow sort gnus-alias mail-extr emacsbug sendmail cl-print debug dabbrev term/rxvt term/xterm xterm elec-pair ido-vertical-mode ido notmuch hl-line notmuch-message notmuch-hello wid-edit notmuch-tree notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-draft notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser notmuch-wash diff-mode coolj notmuch-query goto-addr icalendar diary-lib diary-loaddefs notmuch-tag crm notmuch-lib notmuch-version notmuch-compat message rmc puny dired dired-loaddefs rfc822 mml mailabbrev gmm-utils mailheader mm-view mml-smime mml-sec epa epg gnus-util rmail rmail-loaddefs mail-utils smime dig mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr org-protocol org-element avl-tree generator org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities time-date noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs evil evil-integration undo-tree derived easy-mmode cl-extra help-mode diff cl evil-maps evil-commands evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core advice evil-common windmove thingatpt rect evil-digraphs evil-vars ring edmacro kmacro cc-styles cc-align cc-engine cc-vars cc-defs disp-table finder-inf dash-functional-autoloads f-autoloads request-deferred-autoloads deferred-autoloads s-autoloads info yaml-mode-autoloads package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 260848 26175) (symbols 48 35102 2) (miscs 40 68 224) (strings 32 76366 2343) (string-bytes 1 2396355) (vectors 16 28847) (vector-slots 8 634947 12426) (floats 8 121 604) (intervals 56 394 0) (buffers 992 13) (heap 1024 34263 1706)) From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 09:39:25 2021 Received: (at 47318) by debbugs.gnu.org; 22 Mar 2021 13:39:26 +0000 Received: from localhost ([127.0.0.1]:56489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOKmD-0006TO-Lf for submit@debbugs.gnu.org; Mon, 22 Mar 2021 09:39:25 -0400 Received: from mail-oi1-f174.google.com ([209.85.167.174]:36838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOKmB-0006Sx-21 for 47318@debbugs.gnu.org; Mon, 22 Mar 2021 09:39:23 -0400 Received: by mail-oi1-f174.google.com with SMTP id c16so4175327oib.3 for <47318@debbugs.gnu.org>; Mon, 22 Mar 2021 06:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=gVhx8AyectIwguO1ePAxfXibefaCPZtsD5CVaVmpalE=; b=nghlbdzgF7DCg83z+5zAgOJJOonPsVMndxqEK8SARC7/ZaSwcIwf0SchADH8B8hUuM C0wnBlDu7XiRQlDYbFV1qJSNIG+LtNMSaENZXw0maV61XQpnbm+AoU2aDh5kXYXRrW1Y ZEajDLWhAIcWeAYtc+B/JLqAvn+iDbka7qc9cFtIZp0FeDNLHolOcOVkdkrR4ecjxVvl 6bc0QYhElTLkwnwux7wabcj3koxJhvnYyscT+SvVqeFXOSusv/sdzPqg3uCIwi5CykCY ClJgvtofTQeTqDQJAM4pXEZRqUfGE8g++PFluVhogmgs0yjo5SxacehEGMPD4rBH/nEm uoWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=gVhx8AyectIwguO1ePAxfXibefaCPZtsD5CVaVmpalE=; b=SLCASCM6ekKv4Tq8QL9TxAgUcK79G+Y8/j19Tcr2hygblpZRQblhONJXF6zUbtcfiJ f9h5TMdDcUNfID4tj23IQDU+bmoWeGdsc6W4XTmPLpgnfTfG+3v8yVO7gL3KCJOCvOHf 9P/6Ma4kvRNsjlcggnrEWpszbkgvo8Ct1NaBFSqXh42MLLPZ2mbwXG3zW1DoiKURlJZ0 DldPON7CK3Vg1NSUbp3k00KZqab2MZ9NUFQU9ptQqw+ppMtEwJH3+fH3AWSGb3v7ivKN hYnWwGBPutyqBW0fz99oLEehqijTILokdsFbgjHnUPYZ9Fpw+kKySY/1yrE1DjOeE5Ml RnhA== X-Gm-Message-State: AOAM532Dhj8bBDfccbj9OapHYFy0jd1H11P7pEOimXtSbXFqoxsmwRWa HKQZOBvmYtYo6ZeR5jynN0rUcZku+X868viDP8I= X-Google-Smtp-Source: ABdhPJxoyKLna6KzUDq8QWVl4ikpB0Ib+xm/5/n5YjO+mhGpUV1Cli4ryJFVsWFkGImVN2kdtb99rLr3A9yJ1jfC3TM= X-Received: by 2002:aca:1814:: with SMTP id h20mr9910603oih.150.1616420357190; Mon, 22 Mar 2021 06:39:17 -0700 (PDT) MIME-Version: 1.0 References: <87ft0n2uxt.fsf@example.com> In-Reply-To: <87ft0n2uxt.fsf@example.com> From: Philipp Stephani Date: Mon, 22 Mar 2021 14:39:06 +0100 Message-ID: Subject: Re: bug#47318: 26.3; Modules on Emacs 26.3 broken? To: Sanel Zukan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 47318 Cc: 47318@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 (/) Am Mo., 22. M=C3=A4rz 2021 um 14:14 Uhr schrieb Sanel Zukan : > > Hi guys, > > I'm getting this [1] error from freshly compiled Emacs 26.3 and > vterm-module. > > Also, emacs-eject [2] and very simple module [3] fails on 26.3 with the > similar error. However, they are working fine on 27.1. > > Any idea what could go wrong? I also tried to run bare Emacs with > 'emacs -Q'. In the all cases, Emacs is compiled with modules support. > > [1] https://github.com/akermu/emacs-libvterm/issues/181 > [2] https://github.com/syohex/emacs-eject > [3] http://diobla.info/blog-archive/modules-tut.html > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30164 is probably at least part of the answer. However, loading modules in general should still work, even in Emacs 26. Do you also get errors when loading the module file directly with `load' instead of `require'? From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 22 19:04:58 2021 Received: (at control) by debbugs.gnu.org; 22 Mar 2021 23:04:59 +0000 Received: from localhost ([127.0.0.1]:59096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOTbW-0000BS-MQ for submit@debbugs.gnu.org; Mon, 22 Mar 2021 19:04:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOTbV-0000BE-8A for control@debbugs.gnu.org; Mon, 22 Mar 2021 19:04:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42301) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOTbQ-00034r-3c for control@debbugs.gnu.org; Mon, 22 Mar 2021 19:04:52 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lOTbP-0000Kx-Ol for control@debbugs.gnu.org; Mon, 22 Mar 2021 19:04:51 -0400 Subject: control message for bug 47318 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 22 Mar 2021 19:04:51 -0400 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control 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.7 (-) fixed 47318 27.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 23 17:41:42 2021 Received: (at 47318) by debbugs.gnu.org; 23 Mar 2021 21:41:42 +0000 Received: from localhost ([127.0.0.1]:33243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOomU-0002Wp-Js for submit@debbugs.gnu.org; Tue, 23 Mar 2021 17:41:42 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:52771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOomS-0002Wb-Db for 47318@debbugs.gnu.org; Tue, 23 Mar 2021 17:41:41 -0400 Received: by mail-wm1-f46.google.com with SMTP id d191so11844724wmd.2 for <47318@debbugs.gnu.org>; Tue, 23 Mar 2021 14:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=N9G1oqHQYgax2dIYp1VbN8MpubSbPybVdIQS1HwFgms=; b=D7miiwC7kW9WOxDWztKAbz+mgjbAwNvVfVlbu9yE0R9gze/+HfhhQKcQqubpI8sL7r tbX4bfXOkxi0RmEdBCqrLhpLTnduWVlbFf+jzG63Al2mOQ7D/JihJ8xx+zkj3+RDwVQ1 HJ0x4b79Fswh1Wo4K8OJL4rh8XVm28JDAhsn/2rH0pA7tYAD9ks+GNuomHxepYB6MDkr yCJAaX6Z8FG2Y7YY9uqf+UVWLrnWUmYtmw7N+8ErtnDea6nvYf19DrX/Ak336rcPxkmL wAEAsk+ruYs6mTrMJg+1Tl4Y8nfnqA8vFwgvkDbC2eKId7I2gp3s9SqECqcQ8MsuJnN+ oFnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=N9G1oqHQYgax2dIYp1VbN8MpubSbPybVdIQS1HwFgms=; b=IVH5m2HDKUNiw1M5LUb5rAs8gVGvE5GDNYTOs8YprewCE8pIrTFDKfAx+TGWddo6BZ VbSD+lWxQy74H6eAUExaftCJBojB3AJxEzWtHYHPRB+QFZlV72ISFU/brWfRoOGFCyeQ CZmMl7/vMM1n4m2mc3r9kK7yhPBf6Hefl8sg8BljUrRIxSnhrR3NNnEQBDePiriOqNZQ 87jd+sF1pUnSoExs9SZtT1VhFNtnA7ihDqsavANYfW3KmdVBK1YPb99kbuhjKfUiDRxW BZSTuyAQYZ/ffXnfRx10QIDPkPN1Cto56yF3CF5w7VN4YiXjs2iugnATE3U1hdpfSWn0 dSFA== X-Gm-Message-State: AOAM532KuGc+uYEOWC7qyocDZOOCQ1gPl/FqbiWxZ9CYKln0PjMXWqJG 22YbhyDcU8iAKokOpW2IGOc= X-Google-Smtp-Source: ABdhPJwBuaxOz7p/kVn20gj+aZCTkH86Ch3Hb5WfZX0A3mCY0zGAUu8mQaILkEQk61ng01dkWLqY8Q== X-Received: by 2002:a05:600c:3643:: with SMTP id y3mr34800wmq.159.1616535694272; Tue, 23 Mar 2021 14:41:34 -0700 (PDT) Received: from localhost ([185.13.240.217]) by smtp.gmail.com with ESMTPSA id h8sm198299wrt.94.2021.03.23.14.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 14:41:33 -0700 (PDT) From: Sanel Zukan To: Philipp Stephani Subject: Re: bug#47318: 26.3; Modules on Emacs 26.3 broken? In-Reply-To: References: <87ft0n2uxt.fsf@example.com> User-Agent: Notmuch/0.28.2 (https://notmuchmail.org) Date: Tue, 23 Mar 2021 22:41:32 +0100 Message-ID: <87h7l15z03.fsf@example.com> 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: 47318 Cc: 47318@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: -1.0 (-) Hi Philipp, Thanks for your fast reply. I tried that; it will return 't,' but no symbols are visible in Emacs. Tried with modules-tut [3] example and emacs-libvterm. Any idea what could go wrong? Best regards, Sanel Philipp Stephani writes: > Am Mo., 22. M=C3=A4rz 2021 um 14:14 Uhr schrieb Sanel Zukan : >> >> Hi guys, >> >> I'm getting this [1] error from freshly compiled Emacs 26.3 and >> vterm-module. >> >> Also, emacs-eject [2] and very simple module [3] fails on 26.3 with the >> similar error. However, they are working fine on 27.1. >> >> Any idea what could go wrong? I also tried to run bare Emacs with >> 'emacs -Q'. In the all cases, Emacs is compiled with modules support. >> >> [1] https://github.com/akermu/emacs-libvterm/issues/181 >> [2] https://github.com/syohex/emacs-eject >> [3] http://diobla.info/blog-archive/modules-tut.html >> > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30164 is probably at > least part of the answer. > However, loading modules in general should still work, even in Emacs > 26. Do you also get errors when loading the module file directly with > `load' instead of `require'? From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 27 11:39:15 2021 Received: (at 47318) by debbugs.gnu.org; 27 Mar 2021 15:39:15 +0000 Received: from localhost ([127.0.0.1]:44741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQB1v-0005bR-3D for submit@debbugs.gnu.org; Sat, 27 Mar 2021 11:39:15 -0400 Received: from mail-ed1-f42.google.com ([209.85.208.42]:44562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQB1q-0005bB-LY for 47318@debbugs.gnu.org; Sat, 27 Mar 2021 11:39:13 -0400 Received: by mail-ed1-f42.google.com with SMTP id j3so9556149edp.11 for <47318@debbugs.gnu.org>; Sat, 27 Mar 2021 08:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JJj9MZG1vguFAQL3zNz9GUz4UIKXFh/HMg+4VjS03nY=; b=rn9gHjlI33AwNxG+hwlKh9NbmtN2naLpMlOahH6MLd/Dm9eWvCq9aAaYzhVfSwkI15 alpWB63yV/GS+W2p1/AO2Um6q+bg7A6wGL5t0Vi47w0shhxLu9FdB1F8yd2G+eyzBosi ODQxUORKDlQUAOt93NNosaUNsRoJpd1upvBkYUtdEAUx6/sc/+dMT7KGQhPQzuY1x9WW hRyq87ubDBsrZgRjQ9q1ZIHfF0S6gw+ZRjJaKkHSjtM25zmd9ZeVSIykem1kVehTwvxQ W3VNOBqSGBG4/DAB9dB0obQKKr6+AMUDekJKWhMr0XDbQHcw6yC6VhKgj3lsA192er1H /H1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JJj9MZG1vguFAQL3zNz9GUz4UIKXFh/HMg+4VjS03nY=; b=nv6y90yz0IGdlxy10MdAtiXVSRLUkUOm9HEvh1SdC26PYk64S3lzqwxUzmciWpbDl5 EJ/qcmxLF2iqRCR/LeB0tFC3caKSPSQO1KmzbTqr2tgDEC/m5PZ//SpOfxAEhnRHHemH 1Se0oe8eUszIh/yxwjM4MIvUiTzCWLGX9t+tawCC9Eyt0c6FA6NLbVySBwxh4X8MLlvm 1ZCLpsYBjP7nKW2TBvXteTVMFU7dSSwMvzms4HE7p0muVrankCzhLpyM5EEqiVPT0xTw ZgggYS9zmKRwo8cptNNnkESXv3HjZx6qsNyb4gkZp658655m5HBkt2Or9dOux/FjYULr 6srg== X-Gm-Message-State: AOAM531kILNGBpmB+eVMKEdOwKT7gID382b8bPMeUQ2CoM0wXcQR/nH9 zBrmr2LWYWX2NthM4yZPzBM= X-Google-Smtp-Source: ABdhPJyjbTHJ9GW6jMZPc2Y9HkUXH1QKT3budELwH6l7+rC06P5zeNBWTojFlS4wOrJGekVxfxITZQ== X-Received: by 2002:aa7:cc98:: with SMTP id p24mr20594505edt.187.1616859544691; Sat, 27 Mar 2021 08:39:04 -0700 (PDT) Received: from philipps-macbook-pro.fritz.box (p57997c12.dip0.t-ipconnect.de. [87.153.124.18]) by smtp.gmail.com with ESMTPSA id pg2sm5329493ejb.49.2021.03.27.08.39.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Mar 2021 08:39:04 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: bug#47318: 26.3; Modules on Emacs 26.3 broken? From: Philipp In-Reply-To: <87h7l15z03.fsf@example.com> Date: Sat, 27 Mar 2021 16:39:03 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <4C4D65E2-63E0-44AA-9B18-2B6792C0F86A@gmail.com> References: <87ft0n2uxt.fsf@example.com> <87h7l15z03.fsf@example.com> To: Sanel Zukan X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 47318 Cc: 47318@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 (/) > Am 23.03.2021 um 22:41 schrieb Sanel Zukan : >=20 > Hi Philipp, >=20 > Thanks for your fast reply. I tried that; it will return 't,' but no > symbols are visible in Emacs. Tried with modules-tut [3] example and > emacs-libvterm. Could you please explain precisely what you're trying to do, starting = from 'emacs -Q'? Thanks. >=20 > Any idea what could go wrong? >=20 > Best regards, > Sanel >=20 > Philipp Stephani writes: >> Am Mo., 22. M=C3=A4rz 2021 um 14:14 Uhr schrieb Sanel Zukan = : >>>=20 >>> Hi guys, >>>=20 >>> I'm getting this [1] error from freshly compiled Emacs 26.3 and >>> vterm-module. >>>=20 >>> Also, emacs-eject [2] and very simple module [3] fails on 26.3 with = the >>> similar error. However, they are working fine on 27.1. >>>=20 >>> Any idea what could go wrong? I also tried to run bare Emacs with >>> 'emacs -Q'. In the all cases, Emacs is compiled with modules = support. >>>=20 >>> [1] https://github.com/akermu/emacs-libvterm/issues/181 >>> [2] https://github.com/syohex/emacs-eject >>> [3] http://diobla.info/blog-archive/modules-tut.html >>>=20 >>=20 >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30164 is probably at >> least part of the answer. >> However, loading modules in general should still work, even in Emacs >> 26. Do you also get errors when loading the module file directly with >> `load' instead of `require'? From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 27 13:54:06 2021 Received: (at 47318) by debbugs.gnu.org; 27 Mar 2021 17:54:07 +0000 Received: from localhost ([127.0.0.1]:44895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQD8Q-0002aW-GO for submit@debbugs.gnu.org; Sat, 27 Mar 2021 13:54:06 -0400 Received: from mail-ed1-f52.google.com ([209.85.208.52]:45603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQD8N-0002Zd-3O for 47318@debbugs.gnu.org; Sat, 27 Mar 2021 13:54:05 -0400 Received: by mail-ed1-f52.google.com with SMTP id bx7so9799267edb.12 for <47318@debbugs.gnu.org>; Sat, 27 Mar 2021 10:54:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=pZyqP5RAxfumYpLIK39PmP5F79ethXln64M2GjrEJM8=; b=RhfkRE8obr1BhDvJ2jkkWZzY9xhJT55nI855qNsbpzpTOV4wJ0dgVsaoniTxJO3M+N /ga/4ZajUiM7CsTuYj/MpLVpH8G6IjPdC7IpMe21VsG2pGI+83yhwc67oDg72EpLUauK v+R+PCXYwOAwQyAlxh7dkxI+Xd1Xov4GJriZshxtIMcWos+lngAO4VI8B0ekFtJLNDaQ zyxd9ltpNXpSPLeYVfS7wd6OCU2jASRK5XxMzgzLeJu2U1RHe4xMF2SSfE5/I4vOAR2B m03g5petcpnl66bXLmoD35vwEcVem8ipWKrlmxTC/qvO/cdNSYQembpDzGn/X8BoHC8O 8plw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=pZyqP5RAxfumYpLIK39PmP5F79ethXln64M2GjrEJM8=; b=LstRd+P2uq/oozxrJnC0I3lcTzpXafZDzeTmGkeowlhFD9olQwTrPsyVId9g36dGhS wi+UqX17dLym2p1LqwRwOIUNH37szfe7DEuS8XTE/iFEknOX1CCIJCizzsWa19zXnv// rS2mgJ9H7slAjS5CDGgi9tJLCJevjmFk/boAg6ss4xkVSmHDigrpS/ybwIvbSHDjhZFk 151B76HRbE3e2LtssL8gWTcbRlf+ViaMt+Vfv4tpqMcIZntJS4ndQBGK1tKJnA4JQ39o xDW9Ytj4kTNTdlP+T2uC3XVUymTBo3QRmLZsLnqqaIyDAS16yFfUNeUWifTGM3ptsKG1 WG4g== X-Gm-Message-State: AOAM532MJnHUR9P2KMjmKVOBJtECglglSZ9x5BVX4nUeDGS/Z2LUwGSF xhYw989nqWO3xIndkCE7nZ4= X-Google-Smtp-Source: ABdhPJx9JtMS2nEjh8b7nHGzqoSrMid3U1dt/RUKSRR2A9IS+5Tmd++9iwjMDNgSHKI7iFKTN4BIbQ== X-Received: by 2002:aa7:df86:: with SMTP id b6mr21302219edy.294.1616867637056; Sat, 27 Mar 2021 10:53:57 -0700 (PDT) Received: from localhost ([185.13.240.217]) by smtp.gmail.com with ESMTPSA id i10sm5450600ejv.106.2021.03.27.10.53.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Mar 2021 10:53:56 -0700 (PDT) From: Sanel Zukan To: Philipp Subject: Re: bug#47318: 26.3; Modules on Emacs 26.3 broken? In-Reply-To: <4C4D65E2-63E0-44AA-9B18-2B6792C0F86A@gmail.com> References: <87ft0n2uxt.fsf@example.com> <87h7l15z03.fsf@example.com> <4C4D65E2-63E0-44AA-9B18-2B6792C0F86A@gmail.com> User-Agent: Notmuch/0.28.2 (https://notmuchmail.org) Date: Sat, 27 Mar 2021 18:53:55 +0100 Message-ID: <87czvk5vpo.fsf@example.com> 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: 47318 Cc: 47318@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: -1.0 (-) Philipp writes: > Could you please explain precisely what you're trying to do, starting fro= m 'emacs -Q'? Thanks. Sure! I'm going to use that mymod example. 1. Start emacs 26.3 with: "~/programs/emacs/emacs-26.3/src/emacs -Q" 2. Run in *scratch* (or minibuffer): (load "/home/sanel/programs/emacs/module-test/mymod.so") Loading without ".so" extesions also works. 3. This will return 't'. 4. After mymod.so is loaded, 'mymod-test' function should be defined. 5. In *scratch* or minibuffer, running: (fboundp 'mymod-test) =3D> nil. Also, evaliuating '(mymod-test)' will throw this error: Debugger entered--Lisp error: (void-function mymod-test) (mymod-test) eval((mymod-test) nil) elisp--eval-last-sexp(t) eval-last-sexp(t) eval-print-last-sexp(nil) funcall-interactively(eval-print-last-sexp nil) call-interactively(eval-print-last-sexp nil nil) command-execute(eval-print-last-sexp) Replicating the same steps in emacs 27.2, in the step 4. it will return 't' and when '(mymod-test)' is called, it will return 42. Best regards, Sanel >>=20 >> Any idea what could go wrong? >>=20 >> Best regards, >> Sanel >>=20 >> Philipp Stephani writes: >>> Am Mo., 22. M=C3=A4rz 2021 um 14:14 Uhr schrieb Sanel Zukan : >>>>=20 >>>> Hi guys, >>>>=20 >>>> I'm getting this [1] error from freshly compiled Emacs 26.3 and >>>> vterm-module. >>>>=20 >>>> Also, emacs-eject [2] and very simple module [3] fails on 26.3 with the >>>> similar error. However, they are working fine on 27.1. >>>>=20 >>>> Any idea what could go wrong? I also tried to run bare Emacs with >>>> 'emacs -Q'. In the all cases, Emacs is compiled with modules support. >>>>=20 >>>> [1] https://github.com/akermu/emacs-libvterm/issues/181 >>>> [2] https://github.com/syohex/emacs-eject >>>> [3] http://diobla.info/blog-archive/modules-tut.html >>>>=20 >>>=20 >>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30164 is probably at >>> least part of the answer. >>> However, loading modules in general should still work, even in Emacs >>> 26. Do you also get errors when loading the module file directly with >>> `load' instead of `require'? From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 28 12:36:51 2021 Received: (at 47318) by debbugs.gnu.org; 28 Mar 2021 16:36:51 +0000 Received: from localhost ([127.0.0.1]:46900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQYPD-000198-Es for submit@debbugs.gnu.org; Sun, 28 Mar 2021 12:36:51 -0400 Received: from mail-oi1-f171.google.com ([209.85.167.171]:41973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQYPB-00018u-Bj for 47318@debbugs.gnu.org; Sun, 28 Mar 2021 12:36:49 -0400 Received: by mail-oi1-f171.google.com with SMTP id z15so10896660oic.8 for <47318@debbugs.gnu.org>; Sun, 28 Mar 2021 09:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=KS9tVT1jsZALVf39x+YrYKr+7A39I79UgkEBsVX22f8=; b=ar5/jApZtBqOQO7yT0+/JV14EiRqLoY3rQKLQX7r1S139YrTAImaR9iPyF6SvuwVKm GC2r4Pci4ZFovaaM12Fg4sn6+lTf5kSTAvgdIsH80gq7/w166AypqsWl1ypY5wHj0cJ2 TpWsrS8Mk2xpJd3CpeI21p/aQdC5UAc3Tc62Ac5jz9sLlD8ihxqgrN04i3Eil2RoJJuO 3HIeCAO1KBhqLSp9RCSKiazDjUlNb1XT20Wzez74lDOTImTexjJhzcU7CbTbjxvhFw24 9m2dH6cQ7+Q49z0CoY3fZpsGmR+qBrmArl1u95MGOXcA2DwEw0rwlM8VSdleSKuF/0m+ Z/zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=KS9tVT1jsZALVf39x+YrYKr+7A39I79UgkEBsVX22f8=; b=BacJyBRHk7YZr6texvTgLsJcrozhW6WrTb/PbzXwi2QobNWVAK8pxCm5BnI8zzBlSK /vkJdV8H0FeNujS0KAhc4qJENnJm3AmtQ0+GGyji5IRAw6lm5wOS913pclIqMMLIE6S8 yLPeF7SIEKL4ZrD85JJoL0xWkke8Vnvf/s+Ux+z0WTmCG3f1yE0lgg/MGVcJufKsoxDu yyvFBscqel54bgGdplvuxTa4qZ83XKm1RT7kwO/K/2C9gV6yrP6CZij4vwbwgKRmywEH 5QhZDClDe8vgfIdgi7d1o8evZS8WGU0LElp8fPJ7ZiZafNrquOL8321L65pdpn/WYF9P vy+Q== X-Gm-Message-State: AOAM53273eOPwztgcT48V7KvulvvBxhWEKKtMovkM88eWfws2rmiG44Y YjUPCFwBZuVf8TKcYbyaMShiFYqvpTbyn9YixvU= X-Google-Smtp-Source: ABdhPJzho4WqzmnErQF7MgVwRaIzl4Hd4i2+J8VDxIkwX6pAyj58XcbNBX7yzStOJc18FgvLHQbt0EQOjW/8JMLzXrg= X-Received: by 2002:aca:be04:: with SMTP id o4mr16150206oif.25.1616949403391; Sun, 28 Mar 2021 09:36:43 -0700 (PDT) MIME-Version: 1.0 References: <87ft0n2uxt.fsf@example.com> <87h7l15z03.fsf@example.com> <4C4D65E2-63E0-44AA-9B18-2B6792C0F86A@gmail.com> <87czvk5vpo.fsf@example.com> In-Reply-To: <87czvk5vpo.fsf@example.com> From: Philipp Stephani Date: Sun, 28 Mar 2021 18:36:32 +0200 Message-ID: Subject: Re: bug#47318: 26.3; Modules on Emacs 26.3 broken? To: Sanel Zukan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 47318 Cc: 47318@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 (/) Am Sa., 27. M=C3=A4rz 2021 um 18:53 Uhr schrieb Sanel Zukan : > > > Philipp writes: > > Could you please explain precisely what you're trying to do, starting f= rom 'emacs -Q'? Thanks. > > Sure! I'm going to use that mymod example. > > 1. Start emacs 26.3 with: > "~/programs/emacs/emacs-26.3/src/emacs -Q" > > 2. Run in *scratch* (or minibuffer): > (load "/home/sanel/programs/emacs/module-test/mymod.so") > > Loading without ".so" extesions also works. > > 3. This will return 't'. > > 4. After mymod.so is loaded, 'mymod-test' function should be defined. > > 5. In *scratch* or minibuffer, running: (fboundp 'mymod-test) =3D> nil. > > Also, evaliuating '(mymod-test)' will throw this error: > > Debugger entered--Lisp error: (void-function mymod-test) > (mymod-test) > eval((mymod-test) nil) > elisp--eval-last-sexp(t) > eval-last-sexp(t) > eval-print-last-sexp(nil) > funcall-interactively(eval-print-last-sexp nil) > call-interactively(eval-print-last-sexp nil nil) > command-execute(eval-print-last-sexp) > I can't reproduce that, sorry. Both the fboundp check and calling the function work as expected for me. I've compiled the module as described in http://diobla.info/blog-archive/modules-tut.html. > > Replicating the same steps in emacs 27.2, in the step 4. it will > return 't' and when '(mymod-test)' is called, it will return 42. > > Best regards, > Sanel > > >> > >> Any idea what could go wrong? > >> > >> Best regards, > >> Sanel > >> > >> Philipp Stephani writes: > >>> Am Mo., 22. M=C3=A4rz 2021 um 14:14 Uhr schrieb Sanel Zukan : > >>>> > >>>> Hi guys, > >>>> > >>>> I'm getting this [1] error from freshly compiled Emacs 26.3 and > >>>> vterm-module. > >>>> > >>>> Also, emacs-eject [2] and very simple module [3] fails on 26.3 with = the > >>>> similar error. However, they are working fine on 27.1. > >>>> > >>>> Any idea what could go wrong? I also tried to run bare Emacs with > >>>> 'emacs -Q'. In the all cases, Emacs is compiled with modules support= . > >>>> > >>>> [1] https://github.com/akermu/emacs-libvterm/issues/181 > >>>> [2] https://github.com/syohex/emacs-eject > >>>> [3] http://diobla.info/blog-archive/modules-tut.html > >>>> > >>> > >>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30164 is probably at > >>> least part of the answer. > >>> However, loading modules in general should still work, even in Emacs > >>> 26. Do you also get errors when loading the module file directly with > >>> `load' instead of `require'? From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 29 05:16:28 2021 Received: (at 47318) by debbugs.gnu.org; 29 Mar 2021 09:16:29 +0000 Received: from localhost ([127.0.0.1]:47839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQo0a-0006n1-J8 for submit@debbugs.gnu.org; Mon, 29 Mar 2021 05:16:28 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:38619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQo0Y-0006mm-Tq for 47318@debbugs.gnu.org; Mon, 29 Mar 2021 05:16:27 -0400 Received: by mail-wr1-f53.google.com with SMTP id z2so12064933wrl.5 for <47318@debbugs.gnu.org>; Mon, 29 Mar 2021 02:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=1DnGTX1Wu8FiBducH7zICvyAup4yzCxEgnao/dcAPD8=; b=qkt+SG8Cq2aSU7GsIrdchnygm2GBShHYv6c/FFjRmvOsrdRU+uQc1WjWV4NJ6Va6Uu nZxCeTEulODrPVHradd+h+oGe59eWClsdbgF7PLnNrd7Cprk7IQ8k0/NcK63s9RpIiW6 1ruGgZYEL5UEp90U+2LHFOANaqQjSUtnUNTCLYDdXGwP+vFtxyonqqtuHxkFzUxIML/C Ob9kH6TT59t7i1l7lqKkOG07Uo6qyFjSZhnWa2Hy5cusUHeRNfPEMzj09DgLy/+lSPiZ Kp+oBGLXXfPovnJuhTUJb/M7BK3e92LWzoA+jqL+RCiWCSKo3kP0nr2EnczXBJU/UL6y prYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=1DnGTX1Wu8FiBducH7zICvyAup4yzCxEgnao/dcAPD8=; b=Wb7EH7GiBML9LfSI3zndAhjeMaIo3+0NuXHYC8vswwhnyEtSM9EypoDLRZkFJt/R+T uNftIx0J7YqSxkCmKF1u5A+TGk1iPaNjW5bl5wlsQv0w1a0ZfkhRvV6OiGhcf9RU8r0a FsnR9GKIG/cUdhTH/XTEasWtoZ8V6iIEqXppbz4lT+yDULZhyX4jHSjr/GVCtYYqfowU FpEVe+t4fgeiK/ZNHV31LJF4Yos436jwWqyg18qEwoA1Rk8+58vE0Y52yHiiNtgUGdUE Id8UnT1u/9OLkxFBMfuR6Xb4PBzC+GLp6ifsC6GY9yCv/bvMqL88O8r5pFvpcoZ6ithq REoQ== X-Gm-Message-State: AOAM532HwdTZZFdPio5mgyqdSR1FLuP5dwmNqVu/8kuzjDXuGhAjEVdi +pA7hI7ApdAoTuEjF1dMgAU= X-Google-Smtp-Source: ABdhPJwv4roxHO1w9ZvtfQ6ZiNThFhtVF929/V+zONYUoUI2eFQ68qV6u2BkG9tbMGIOdiR3Z1VBjw== X-Received: by 2002:adf:fb0e:: with SMTP id c14mr28088807wrr.140.1617009381136; Mon, 29 Mar 2021 02:16:21 -0700 (PDT) Received: from localhost ([185.13.240.164]) by smtp.gmail.com with ESMTPSA id b17sm28766152wrt.17.2021.03.29.02.16.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 02:16:20 -0700 (PDT) From: Sanel Zukan To: Philipp Stephani Subject: Re: bug#47318: 26.3; Modules on Emacs 26.3 broken? In-Reply-To: References: <87ft0n2uxt.fsf@example.com> <87h7l15z03.fsf@example.com> <4C4D65E2-63E0-44AA-9B18-2B6792C0F86A@gmail.com> <87czvk5vpo.fsf@example.com> User-Agent: Notmuch/0.28.2 (https://notmuchmail.org) Date: Mon, 29 Mar 2021 11:16:19 +0200 Message-ID: <87a6qm5nh8.fsf@example.com> 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: 47318 Cc: 47318@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: -1.0 (-) Philipp Stephani writes: > I can't reproduce that, sorry. Both the fboundp check and calling the > function work as expected for me. I've compiled the module as > described in http://diobla.info/blog-archive/modules-tut.html. Hm... any idea how this can be further debugged? In that mymod.c example, I've added couple of puts() and all loading functions are run properly. I'm on slack 14.2 with kernel 5.9.1 x86_64, gcc 5.5.0. Not sure if this makes any difference... Best, Sanel >> Replicating the same steps in emacs 27.2, in the step 4. it will >> return 't' and when '(mymod-test)' is called, it will return 42. >> >> Best regards, >> Sanel >> >> >> >> >> Any idea what could go wrong? >> >> >> >> Best regards, >> >> Sanel >> >> >> >> Philipp Stephani writes: >> >>> Am Mo., 22. M=C3=A4rz 2021 um 14:14 Uhr schrieb Sanel Zukan : >> >>>> >> >>>> Hi guys, >> >>>> >> >>>> I'm getting this [1] error from freshly compiled Emacs 26.3 and >> >>>> vterm-module. >> >>>> >> >>>> Also, emacs-eject [2] and very simple module [3] fails on 26.3 with= the >> >>>> similar error. However, they are working fine on 27.1. >> >>>> >> >>>> Any idea what could go wrong? I also tried to run bare Emacs with >> >>>> 'emacs -Q'. In the all cases, Emacs is compiled with modules suppor= t. >> >>>> >> >>>> [1] https://github.com/akermu/emacs-libvterm/issues/181 >> >>>> [2] https://github.com/syohex/emacs-eject >> >>>> [3] http://diobla.info/blog-archive/modules-tut.html >> >>>> >> >>> >> >>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30164 is probably at >> >>> least part of the answer. >> >>> However, loading modules in general should still work, even in Emacs >> >>> 26. Do you also get errors when loading the module file directly with >> >>> `load' instead of `require'? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 14:26:08 2022 Received: (at 47318) by debbugs.gnu.org; 26 Jun 2022 18:26:08 +0000 Received: from localhost ([127.0.0.1]:48983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5WxU-0001dn-EC for submit@debbugs.gnu.org; Sun, 26 Jun 2022 14:26:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5WxS-0001dP-Rc for 47318@debbugs.gnu.org; Sun, 26 Jun 2022 14:26:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gDeJ5CD/d6/RVZbHQl7mk/im8nVrqdfYQS+wzqwxE7c=; b=L/CCFSBcB/5rZ5/V/A8aZ3G+rS UEn66OxEX/xaDenhEDa0csXnJhu3ZkJ0I+7xHbxXYYXoZT7Ov1+6SloMzz/Rxn6gPPysVbP+TeERh WZKeIHcBStdPaZ0USFvH8wmMKgb1SD4Y0ov6hA4G6nVAzQjYMS2vYKNfVOeA1yYfY2v8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5WxK-0004qB-JB; Sun, 26 Jun 2022 20:26:00 +0200 From: Lars Ingebrigtsen To: Sanel Zukan Subject: Re: bug#47318: 26.3; Modules on Emacs 26.3 broken? References: <87ft0n2uxt.fsf@example.com> Date: Sun, 26 Jun 2022 20:25:58 +0200 In-Reply-To: <87ft0n2uxt.fsf@example.com> (Sanel Zukan's message of "Mon, 22 Mar 2021 14:13:02 +0100") Message-ID: <877d53b7t5.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Sanel Zukan writes: > I'm getting this [1] error from freshly compiled Emacs 26.3 and > vterm-module. > > Also, emacs-eject [2] and very simple module [3] fails on 26.3 with the > similar error. However, they are working [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47318 Cc: 47318@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 (---) Sanel Zukan writes: > I'm getting this [1] error from freshly compiled Emacs 26.3 and > vterm-module. > > Also, emacs-eject [2] and very simple module [3] fails on 26.3 with the > similar error. However, they are working fine on 27.1. (I'm going through old bug reports that unfortunately weren't resolved at the time.) Since this was fixed in Emacs 27.1, there doesn't seem to be anything further to be done here on the Emacs side, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 14:26:15 2022 Received: (at control) by debbugs.gnu.org; 26 Jun 2022 18:26:15 +0000 Received: from localhost ([127.0.0.1]:48986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Wxb-0001eB-L2 for submit@debbugs.gnu.org; Sun, 26 Jun 2022 14:26:15 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5WxZ-0001dt-UB for control@debbugs.gnu.org; Sun, 26 Jun 2022 14:26:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QQkQRg9qsQYyCZoCkJyaOlrQ/Hp0aXTYYKHyg6s+ih4=; b=iVEE05fw7o+wc3M+xtxxj/8ljG L3yYkdlgIZ2GfIiFUWWAIakb6YcEvgVVFHENmTMOkaiPlhnpW57yyJM0eG7E04Egy5lk+ognZ8jB4 PW9k0a2ZNOxr9pmS0rbA9wfQFBM4sI74AKfLL4V0FQNSIuWo3BJP3gMY5kmCmAFanbPE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5WxS-0004qP-6l for control@debbugs.gnu.org; Sun, 26 Jun 2022 20:26:08 +0200 Date: Sun, 26 Jun 2022 20:26:04 +0200 Message-Id: <875yknb7sz.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #47318 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 47318 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) close 47318 quit From unknown Wed Jun 25 05:41:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 25 Jul 2022 11:24:06 +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