From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#26050: 25.2; configure: no libxml2 support with libxml2 installed Date: Fri, 10 Mar 2017 11:07:19 -0500 Message-ID: <87o9x915fs.fsf@moondust.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489162104 17511 195.159.176.226 (10 Mar 2017 16:08:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2017 16:08:24 +0000 (UTC) To: 26050@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 10 17:08:20 2017 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 1cmN5S-0003SZ-JD for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Mar 2017 17:08:14 +0100 Original-Received: from localhost ([::1]:39708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmN5V-0006bj-Id for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Mar 2017 11:08:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmN5K-0006Yx-Eg for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2017 11:08:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmN5G-00039j-Bc for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2017 11:08:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51660) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmN5G-00039c-6q for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2017 11:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cmN5F-0002ha-VU for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2017 11:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Mar 2017 16:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26050 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.148916206210353 (code B ref -1); Fri, 10 Mar 2017 16:08:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Mar 2017 16:07:42 +0000 Original-Received: from localhost ([127.0.0.1]:49859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmN4v-0002gv-Rv for submit@debbugs.gnu.org; Fri, 10 Mar 2017 11:07:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmN4u-0002gi-FG for submit@debbugs.gnu.org; Fri, 10 Mar 2017 11:07:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmN4n-0002re-NT for submit@debbugs.gnu.org; Fri, 10 Mar 2017 11:07:35 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45493) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cmN4n-0002ra-KJ for submit@debbugs.gnu.org; Fri, 10 Mar 2017 11:07:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmN4i-0006JR-KJ for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2017 11:07:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmN4e-0002oX-IH for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2017 11:07:28 -0500 Original-Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]:34923) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmN4e-0002np-CM for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2017 11:07:24 -0500 Original-Received: by mail-io0-x232.google.com with SMTP id z13so51409871iof.2 for ; Fri, 10 Mar 2017 08:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=TQxAKovFjCdePxpVm4xgj7JHx/9bQMzbn7YURxpKlKg=; b=CZpfwrY30HvFK2BUI/jBCOlWZ6UWslDAjm8+IOZ3W5Qv50+YuOEPsZYLhsEUXDc4Rp 67XZaTxrqpRjHJFc88fzW/KkkoPehrAGWbnSHGLpXb5IInXEAAJQ0yhgDejxVIHgKsTv hEmdlkNSKwvmgQO+dD90S1PdIay5fTz4LDphveZ6Gr9Gcdj9OqrhGyWVfj1Ry1vuMN+U zWQmIRxMi0X82bsOx5vvcDV1/w6852Izr7wRJvPen4no4li8g67VTxsVX/3QkvVgMmjq V1mXSm6dMqSu6ekjAE6WSZmz5469Db00aT+/EYoyTsN6eCjhT2fjVuR/gFiM1xy+fov9 +p1w== 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:date:message-id:mime-version; bh=TQxAKovFjCdePxpVm4xgj7JHx/9bQMzbn7YURxpKlKg=; b=KM7LO2fCltpbzL/rxC5jYLQz6n+SpJb8SuM96b/sUHAuoCbpyQ1aq8EOn2SfkQrW75 h2MdMA0vdFJrYiTbVYWykQ8SgrBfOyk7fgyGOetE7+g55vGloqckkm51XyHFP+X8KMnR xxAtPBtTQqvq8/lurYAIN1+s5tnaRt48v3jFJbk//nRc07pHZZ7tTA+iImJpNuuLq6PK IWmo2jTkUHQp3ihybOK8J3L2q3REHO/xQ+AFaOhzUuUYJwpaTng44q5CAbkx9SZDz/MM qsdwTfZA1nNuLlqZovHYJVAbsC0MB71njxXWVfxCMcSaQ/nErDn4La3pTIoLuA84qLoA 0aNg== X-Gm-Message-State: AMke39kouJrNEhu1C08ipiX9wZp+gVvYPj9ZVa55FecevIzGDuCFJvN6fFOKmsMrReswFA== X-Received: by 10.107.1.16 with SMTP id 16mr18703142iob.44.1489162042018; Fri, 10 Mar 2017 08:07:22 -0800 (PST) Original-Received: from moondust.localdomain.nodomain.none ([72.143.113.194]) by smtp.gmail.com with ESMTPSA id y124sm1129767itd.19.2017.03.10.08.07.20 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Mar 2017 08:07:21 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:130441 Archived-At: With Emacs from the emacs-25.2.rc2 release candidate tarball, configure is omitting support for libxml2. (I discovered this because eww no longer works.) (The released version of emacs-25.1, also built from the tarball (on 2016-09-19) did not have this problem.) $ ./configure . . . checking for LIBXML2... no . . . Does Emacs use -lxml2? no . . . $ dnf list libxml2 Last metadata expiration check: 1:42:01 ago on Fri Mar 10 08:15:37 2017. Installed Packages libxml2.x86_64 2.9.3-4.fc25 @anaconda FWIW, the indentation of the conditional structures in the relevant part of configure is confusing; the indentation belies the logical nesting. Also some of the lines are excessively long. In any case: 16321 ### Use libxml (-lxml2) if available 16322 ### mingw32 doesn't use -lxml2, since it loads the library dynamically. 16323 HAVE_LIBXML2=no true 16324 if test "${with_xml2}" != "no"; then 16325 ### I'm not sure what the version number should be, so I just guessed. 16326 16327 pkg_failed=no 16328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5 16329 $as_echo_n "checking for LIBXML2... " >&6; } 16330 false 16331 if test -n "$LIBXML2_CFLAGS"; then 16332 pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS" true 16333 elif test -n "$PKG_CONFIG"; then false 16334 if test -n "$PKG_CONFIG" && \ 16335 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 > 2.6.17\""; } >&5 16336 ($PKG_CONFIG --exists --print-errors "libxml-2.0 > 2.6.17") 2>&5 16337 ac_status=$? 16338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16339 test $ac_status = 0; }; then 16340 pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 > 2.6.17" 2>/dev/null` 16341 test "x$?" != "x0" && pkg_failed=yes 16342 else --> 16343 pkg_failed=yes 16344 fi 16345 else 16346 pkg_failed=untried 16347 fi false 16348 if test -n "$LIBXML2_LIBS"; then 16349 pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS" true 16350 elif test -n "$PKG_CONFIG"; then false 16351 if test -n "$PKG_CONFIG" && \ 16352 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 > 2.6.17\""; } >&5 16353 ($PKG_CONFIG --exists --print-errors "libxml-2.0 > 2.6.17") 2>&5 16354 ac_status=$? 16355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16356 test $ac_status = 0; }; then 16357 pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 > 2.6.17" 2>/dev/null` 16358 test "x$?" != "x0" && pkg_failed=yes 16359 else --> 16360 pkg_failed=yes 16361 fi 16362 else 16363 pkg_failed=untried 16364 fi The marginal annotations show which conditionals test true and which test false, and shows where we set pkg_failed to yes. In GNU Emacs 25.2.11 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.8) of 2017-03-03 built on moondust.localdomain Windowing system distributor 'Fedora Project', version 11.0.11901000 System Description: Fedora release 25 (Twenty Five) Configured using: 'configure CFLAGS=-O3' Configured features: XPM JPEG TIFF GIF PNG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY GNUTLS FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_CA.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Features: (shadow bbdb-message emacsbug sendmail gnus-async qp mail-extr gnus-ml disp-table mm-archive url-handlers nnrss xml nndraft nnmh utf-7 server pinentry epa-file epa derived nnfolder bbdb-gnus bbdb-mua nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache sh-script smie executable bat-mode misearch multi-isearch network-stream nsm starttls url-http url-gw url-cache url-auth eww mm-url url-queue shr dom browse-url goto-addr thingatpt view linum cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs flyspell ispell sage sage-load rx emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd emms-playing-time emms-lyrics emms-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars emms-streams emms-tag-editor emms-mark emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-player-vlc emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file locate emms-setup emms emms-compat calfw-org calfw holidays hol-loaddefs cl pdf-occur ibuf-ext ibuffer tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools compile cus-edit pdf-view bookmark pp pdf-cache pdf-info tq pdf-util org-contacts org-capture gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils org-eldoc org-w3m org-rmail org-mhe org-irc org-info org-habit org-gnus org-docview doc-view subr-x jka-compr image-mode dired org-bibtex bibtex org-bbdb org-agenda org-element avl-tree org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-latex ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint tramp tramp-compat auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete advice comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func bbdb-anniv diary-lib diary-loaddefs cal-menu calendar cal-loaddefs bbdb-com crm mailabbrev bbdb bbdb-site timezone bbdb-loaddefs finder-inf tex-site info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode cconv edmacro kmacro recentf tree-widget wid-edit easymenu battery time wheatgrass-theme paren savehist saveplace elec-pair desktop frameset cl-loaddefs pcase cl-lib delsel cua-base cus-start cus-load time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 840029 275156) (symbols 48 104067 77) (miscs 40 19960 6933) (strings 32 203674 9947) (string-bytes 1 9233489) (vectors 16 78401) (vector-slots 8 1246250 9319) (floats 8 634 928) (intervals 56 34155 0) (buffers 976 80))