From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gavin Smith Newsgroups: gmane.emacs.bugs Subject: bug#32446: Configure-time requirement for gnutls is too old Date: Wed, 15 Aug 2018 12:12:10 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1534331479 12806 195.159.176.226 (15 Aug 2018 11:11:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2018 11:11:19 +0000 (UTC) To: 32446@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 15 13:11:15 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fpthr-00033I-8B for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Aug 2018 13:11:15 +0200 Original-Received: from localhost ([::1]:48609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fptjn-000484-LN for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Aug 2018 07:13:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fptjd-00046I-9p for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2018 07:13:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fptjb-0005gm-Pb for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2018 07:13:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fptjb-0005gb-GW for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2018 07:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fptjb-0001ca-6f for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2018 07:13:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gavin Smith Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Aug 2018 11:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15343315406012 (code B ref -1); Wed, 15 Aug 2018 11:13:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Aug 2018 11:12:20 +0000 Original-Received: from localhost ([127.0.0.1]:51351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fptiu-0001Ys-0T for submit@debbugs.gnu.org; Wed, 15 Aug 2018 07:12:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fptir-0001Yh-VZ for submit@debbugs.gnu.org; Wed, 15 Aug 2018 07:12:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fptip-0005CC-IF for submit@debbugs.gnu.org; Wed, 15 Aug 2018 07:12:17 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41937) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fptip-0005BC-2X for submit@debbugs.gnu.org; Wed, 15 Aug 2018 07:12:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fptin-0003e0-I2 for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2018 07:12:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fptil-00054x-Sf for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2018 07:12:13 -0400 Original-Received: from mail-it0-x236.google.com ([2607:f8b0:4001:c0b::236]:37500) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fptil-000534-LB for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2018 07:12:11 -0400 Original-Received: by mail-it0-x236.google.com with SMTP id h20-v6so1413003itf.2 for ; Wed, 15 Aug 2018 04:12:11 -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=qef2huKyZ0sS1CL/+HFyyoORYiNoSvOOjYDIBAYXm88=; b=eu2+rI7L5m1NQC4U/xu4D4xB55uSOCXEJV3v3Y3eiBiyRp+7X1gQ5jSrvmaT6GqUFO 7dZVEDB8ajVpFa1aCJ5AWDdblbxzi86zIXaowjF5aFfdCepvdURzHEd3rQZDRVr/Q+za ovKynKSW2apiTfx6Tc3du7OOV7YKVwY92aDCNmS4ovMT+/dT/hWOF6tEzZsqxKwUIeeQ iHARI0b8/9OswVvr9cSdzCX6P3IVCBfBdW4cEZIAcSO6fazz5+cbp2dkZwRlMqObjMMo FqFeegMo/uYkjZGJMfpIrFyBHr1cpjHTSUTDhldIq6Gv+oaiXrI3upXgxqItZhF4CKil nWjA== 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=qef2huKyZ0sS1CL/+HFyyoORYiNoSvOOjYDIBAYXm88=; b=LdwM2CfZm+taOB4Zy3+eopaw9ncvJlhpNU0s6ZBwfpM2aWPZvRTCrsjxWe7WVuK+F7 yKtuB3uQQsJzM8tLJh5tXg14PSqvlYANMIGP2xE9SKY8uXifbAG/dF/xzMKwso1mWpQa afKSzv7nkSDWDysLirc5iO++6v+SV9NYwUsOF3YESl0vM1NZ5vWw6lNBSyIvAIM5ikxX T3gavmQF81pzzrqPKsiz0ppexMN6Ydok34AXFPifUjNeW9kEItTGr2mMC+TfN+Qqv8KO yW0lytSzGOZm4ZlwC6CKWbedwJ4aDqov2zFNM28oyGEVRP3UZUA4yDzmlM7/LBfUxPaZ XuUQ== X-Gm-Message-State: AOUpUlGIunSiOyGi3o6gMFhUd4Um9YdzQ4WIKolQlyEzB8hhRHSVmqO5 lmJM/V5NpwiXRSQZqh86NADG0wRCwdL+Fd9SAUMzAQHN X-Google-Smtp-Source: AA+uWPzjHvxwLcIw4E4jau2HIAHRNFwn9qk09Sa5A48J2DQO5k6xZu1/ohbRs7pzMhVigB98eTsd2aVajnTuCjKtWMA= X-Received: by 2002:a02:1e41:: with SMTP id m62-v6mr22766645jad.110.1534331530358; Wed, 15 Aug 2018 04:12:10 -0700 (PDT) Original-Received: by 2002:a02:91c9:0:0:0:0:0 with HTTP; Wed, 15 Aug 2018 04:12:10 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149510 Archived-At: I downloaded and tried to build Emacs 26.1. I ran "./configure" and "make", but after a while there is an error. With "make V=1": gcc -std=gnu11 -Demacs -I. -I. -I../lib -I../lib -pthread -I/usr/local/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/freetype2 -I/usr/include/alsa -pthread -I/usr/local/include -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng14 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/ImageMagick-6 -I/usr/include/libpng14 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -MMD -MF deps/.d -MP -I/usr/include/p11-kit-1 -g3 -O2 -Wl,-znocombreloc \ -o temacs vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o gtkutil.o emacsgtkfixed.o dbusbind.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexelf.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o lcms.o inotify.o profiler.o decompress.o thread.o systhread.o xfont.o ftfont.o xftfont.o ftxfont.o fontset.o fringe.o image.o xgselect.o terminfo.o lastfile.o ../lib/libgnu.a -ltiff -ljpeg -L/usr/lib -lpng14 -lgif -lXpm -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lSM -lICE -lX11 -lX11-xcb -lxcb -lXrender -lXft -lasound -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lglib-2.0 -lMagickWand-6.Q16 -lMagickCore-6.Q16 -lacl -lrt -ldbus-1 -lXrandr -lXinerama -lXfixes -lXext -lxml2 -lgpm -lncurses -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lfreetype -lfontconfig -lgnutls -lpthread -lanl -llcms2 -lm -lz gnutls.o: In function `Fgnutls_ciphers': /home/g/extsrc/emacs-26.1/src/gnutls.c:1889: undefined reference to `gnutls_cipher_get_tag_size' /home/g/extsrc/emacs-26.1/src/gnutls.c:1892: undefined reference to `gnutls_cipher_get_iv_size' gnutls.o: In function `Fgnutls_digests': /home/g/extsrc/emacs-26.1/src/gnutls.c:2242: undefined reference to `gnutls_digest_list' /home/g/extsrc/emacs-26.1/src/gnutls.c:2248: undefined reference to `gnutls_digest_get_name' gnutls.o: In function `gnutls_symmetric': /home/g/extsrc/emacs-26.1/src/gnutls.c:2062: undefined reference to `gnutls_cipher_get_iv_size' /home/g/extsrc/emacs-26.1/src/gnutls.c:2079: undefined reference to `gnutls_cipher_get_tag_size' collect2: error: ld returned 1 exit status make[1]: *** [temacs] Error 1 make[1]: Leaving directory `/home/g/extsrc/emacs-26.1/src' make: *** [src] Error 2 I looked to see which symbols were in the gnutls library: $ nm -D /usr/lib/libgnutls.so.28.21.5 | grep cipher 00043760 T gnutls_cipher_add_auth 00043880 T gnutls_cipher_decrypt 00043940 T gnutls_cipher_decrypt2 000439c0 T gnutls_cipher_deinit 00043830 T gnutls_cipher_encrypt 000438f0 T gnutls_cipher_encrypt2 0003d550 T gnutls_cipher_get 000b8dc0 T gnutls_cipher_get_block_size 000b8fd0 T gnutls_cipher_get_id 000b8ed0 T gnutls_cipher_get_key_size 000b8f90 T gnutls_cipher_get_name 000435e0 T gnutls_cipher_init 000b9020 T gnutls_cipher_list 000437f0 T gnutls_cipher_set_iv 00028f30 T gnutls_cipher_set_priority 000b9270 T gnutls_cipher_suite_get_name 000b9320 T gnutls_cipher_suite_info 000436d0 T gnutls_cipher_tag 000b95a0 T gnutls_priority_get_cipher_suite_index "gnutls_cipher_get_tag_size" is not there. According to https://www.gnutls.org/abi-tracker/changelog/gnutls/3.4.10/log.html, gnutls_cipher_get_tag_size was added in version 3.2.2. However, the configure script for Emacs did not detect that I had an out-of-date gnutls. From config.log: configure:13176: checking for LIBGNUTLS configure:13183: $PKG_CONFIG --exists --print-errors "gnutls >= 2.12.2" configure:13186: $? = 0 configure:13200: $PKG_CONFIG --exists --print-errors "gnutls >= 2.12.2" configure:13203: $? = 0 configure:13241: result: yes The check is for an older version of gnutls, which my system passes: $ pkg-config --modversion gnutls 3.1.25 I'd guess that the required version in 'configure' needs to be increased.