From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Day Newsgroups: gmane.emacs.bugs Subject: bug#42181: 28.0.50; jansson library not available in Emacs 28.0.50 snapshot 2020-06-26 64-bit Windows installer Date: Fri, 3 Jul 2020 19:24:12 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005f9e4b05a98da213" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15562"; mail-complaints-to="usenet@ciao.gmane.io" To: 42181@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 03 20:27:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jrQOz-0003yY-Rq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Jul 2020 20:27:09 +0200 Original-Received: from localhost ([::1]:57160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrQOy-0000j0-Gu for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Jul 2020 14:27:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrQOs-0000ig-4r for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2020 14:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrQOr-00033K-Sb for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2020 14:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jrQOr-0004ki-Po for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2020 14:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Day Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jul 2020 18:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42181 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159380077218211 (code B ref -1); Fri, 03 Jul 2020 18:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jul 2020 18:26:12 +0000 Original-Received: from localhost ([127.0.0.1]:57646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrQO4-0004jf-7U for submit@debbugs.gnu.org; Fri, 03 Jul 2020 14:26:12 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrQMN-0004gN-9A for submit@debbugs.gnu.org; Fri, 03 Jul 2020 14:24:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrQMN-0000Gg-1J for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2020 14:24:27 -0400 Original-Received: from mail-il1-x132.google.com ([2607:f8b0:4864:20::132]:45969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrQMK-0001xw-UG for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2020 14:24:26 -0400 Original-Received: by mail-il1-x132.google.com with SMTP id o3so10590977ilo.12 for ; Fri, 03 Jul 2020 11:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=8h/1ZWFm83m8dc+rF3uBaibQfuXYsswb5jrldW5iteY=; b=YZcxysAaogz52FcoI23Ey/9OpjTBuBh5wn2Zb8l86CEMGFiaC62aEZnc2L90Ttq+o1 2gk1NAT5hAACoSmZMLOTot7P3dCKlg+rUidry0QXoySGTiS2p4byO5nZ1Uqtqtto7kXL MMuubgxq8pA2Gv56C4uqGyn5lX8jU5JXc8uYapFkJRuGxm1RoR/YHhD4tAbRrrxcpx2/ 1c3ohsgs5I0Rf7/MLVD42bGUpQ0j2SLStBEyF1VUI7hP3AcMkuJBh6t+n+Z51atoTC7X C8O2hWD9IkkzZzo1gRvWz4dj60x1gDyBfXgZLGLNTFpH7rJkl+Ts6gd6rNWcE5kYXhv1 UXbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8h/1ZWFm83m8dc+rF3uBaibQfuXYsswb5jrldW5iteY=; b=l3OPu4g/wl2x/XvuC4ng/zrATa1cAw9YzUBm1OmCF4CKCEIOpX18sgQs3AdZFSM915 0F4DmC1Fu0r+dVFPhXwqtBPMqxBt1vc15sFzpqbeddsu3O81mohHxBdJpVfmMM/2nE9w 3ksJVsCtrc0DX3jyh8PxK6JKYFaYiBYyvQb/wZheR8Eg+VMA1KqMlWocf3SGxPFIxVnj OStxof3oVP20eIl3aa1wdsSfEETXxtsSLypVnVGGQTiatjUMG83D91RYl+i+HkUG6rix dqANbd/ofIp/2B2lm+6sHmrsDM8KYdGi9rsx9k0D+uGfzAHChdaZY65m4wIS9jJJXaDb 4qRQ== X-Gm-Message-State: AOAM533R9BHwY9mr4UAZhjaDL2g27uTNmwNdZK6HdQymSNSgtFNjo6Ue Ua0FwGGqT/+DLVV/FJydyLVMhQdbN7JMahuHpEwGjaDcPuPhgQ== X-Google-Smtp-Source: ABdhPJwMMjyhoUXzFmr9Jmcbw9SppEhlPx91OSA+ABKbstdHniwr9LcmzMhyZseBs7Yr9NPNYn5fkh2EoDByTDsY9AY= X-Received: by 2002:a92:8982:: with SMTP id w2mr7932393ilk.163.1593800663210; Fri, 03 Jul 2020 11:24:23 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::132; envelope-from=r.day80@gmail.com; helo=mail-il1-x132.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Fri, 03 Jul 2020 14:26:11 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182667 Archived-At: --0000000000005f9e4b05a98da213 Content-Type: text/plain; charset="UTF-8" 1. Start emacs with 'emacs -Q' 2. M-x eval-expression (json-serialize '()) RET 3. Switch to *Messages* buffer, note message 'jansson library not found' The jansson library is required for native JSON support which is required for lsp-mode. Without the library, lsp-mode does not work correctly, specifically with clangd for C++ development. Copying libjansson-4.dll from another project (e.g. mingw64) into the bin directory and restarting emacs restores lsp-mode functionality. It would seem that libjansson*.dll is missing from the Windows installer. In GNU Emacs 28.0.50 (build 1, x86_64-w64-mingw32) of 2020-06-26 built on CIRROCUMULUS Repository revision: ffb89ed5f07491e33fc79d8b4be49d9deba2ad4a Repository branch: master Windowing system distributor 'Microsoft Corp.', version 10.0.17763 System Description: Microsoft Windows 10 Enterprise (v10.0.1809.17763.1217) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set jansson library not found Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install -C 'CFLAGS=-O2 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: (only . t) Load-path shadows: c:/Program Files/emacs/x86_64/share/emacs/28.0.50/lisp/mail/metamail hides c:/Program Files/emacs/x86_64/share/emacs/28.0.50/lisp/obsolete/metamail Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 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 w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 46798 12186) (symbols 48 6051 1) (strings 32 16837 1949) (string-bytes 1 524687) (vectors 16 9288) (vector-slots 8 124392 10322) (floats 8 25 232) (intervals 56 214 0) (buffers 992 10)) --0000000000005f9e4b05a98da213 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

1. Start emacs with 'emacs -Q'
2. M-x eval-= expression (json-serialize '()) RET
3. Switch to *Messages* buffer, = note message 'jansson library not found'

The jansson library= is required for native JSON support which is
required for lsp-mode.=C2= =A0 Without the library, lsp-mode does not work
correctly, specifically = with clangd for C++ development.

Copying libjansson-4.dll from anoth= er project (e.g. mingw64) into the
bin directory and restarting emacs re= stores lsp-mode functionality.

It would seem that libjansson*.dll is= missing from the Windows installer.


In GNU Emacs 28.0.50 (build= 1, x86_64-w64-mingw32)
=C2=A0of 2020-06-26 built on CIRROCUMULUS
Rep= ository revision: ffb89ed5f07491e33fc79d8b4be49d9deba2ad4a
Repository br= anch: master
Windowing system distributor 'Microsoft Corp.', ver= sion 10.0.17763
System Description: Microsoft Windows 10 Enterprise (v10= .0.1809.17763.1217)

Recent messages:
For information about GNU Em= acs and the GNU system, type C-h C-a.
Mark set
jansson library not fo= und

Configured using:
=C2=A0'configure --without-dbus --host= =3Dx86_64-w64-mingw32
=C2=A0--without-compress-install -C 'CFLAGS=3D= -O2 -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG= SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_= BARS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
= =C2=A0 value of $LANG: ENG
=C2=A0 locale-coding-system: cp1252

Ma= jor mode: Lisp Interaction

Minor modes in effect:
=C2=A0 tooltip-= mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 el= ectric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode= : t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0= global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-curso= r-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode= : t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2= =A0 transient-mark-mode: (only . t)

Load-path shadows:
c:/Program= Files/emacs/x86_64/share/emacs/28.0.50/lisp/mail/metamail hides c:/Program= Files/emacs/x86_64/share/emacs/28.0.50/lisp/obsolete/metamail

Featu= res:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loadde= fs
rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config=
gnus-util rmail rmail-loaddefs text-property-search time-date subr-x se= q
byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode<= br>mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-libsendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
toolt= ip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel do= s-w32 ls-lisp disp-table term/w32-win w32-win w32-vars
term/common-win t= ool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newco= mment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar men= u-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lo= ck syntax facemenu font-core
term/tty-colors frame minibuffer 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 eur= opean ethiopic indian
cyrillic chinese composite charscript charprop cas= e-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded n= advice loaddefs
button faces cus-face macroexp files text-properties ove= rlay sha1 md5
base64 format env code-pages mule custom widget hashtable-= print-readable
backquote threads w32notify w32 lcms2 multi-tty make-netw= ork-process
emacs)

Memory information:
((conses 16 46798 12186= )
=C2=A0(symbols 48 6051 1)
=C2=A0(strings 32 16837 1949)
=C2=A0(s= tring-bytes 1 524687)
=C2=A0(vectors 16 9288)
=C2=A0(vector-slots 8 1= 24392 10322)
=C2=A0(floats 8 25 232)
=C2=A0(intervals 56 214 0)
= =C2=A0(buffers 992 10))
--0000000000005f9e4b05a98da213--