From unknown Fri Sep 05 20:36:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32927: 27.0.50; libxml not found when building on macOS Mojave Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Oct 2018 21:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32927 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 32927@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.153860159828049 (code B ref -1); Wed, 03 Oct 2018 21:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2018 21:19:58 +0000 Received: from localhost ([127.0.0.1]:36160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7oYo-0007IK-CB for submit@debbugs.gnu.org; Wed, 03 Oct 2018 17:19:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7oYl-0007I7-VK for submit@debbugs.gnu.org; Wed, 03 Oct 2018 17:19:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7oYe-0007nA-SC for submit@debbugs.gnu.org; Wed, 03 Oct 2018 17:19:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38610) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g7oYe-0007mV-0v for submit@debbugs.gnu.org; Wed, 03 Oct 2018 17:19:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7oYc-0000Ps-La for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 17:19:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7oYY-0007k9-DZ for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 17:19:44 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:54008) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g7oYV-0007ex-5l for bug-gnu-emacs@gnu.org; Wed, 03 Oct 2018 17:19:39 -0400 Received: by mail-wm1-x333.google.com with SMTP id b19-v6so7048258wme.3 for ; Wed, 03 Oct 2018 14:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=/6deG/5BvqsncPwS8WgQxEm6CEbuaKuZJURJ7IsMkyk=; b=NS61bTyfuFqdr3g65VCBh/eNITi6hM8j/AabPuyFJQKGjuj+oEqpE3CBYDERoF5/5N 4xarPWr0sIuUFNuInMcQexHr6oIYZpWzSrUOuUe1drpUkEnY9rhtl/QF0Jo5jIRg6Hy9 t3ONwrepWT19Y1k4MrTtJaduWjLwEpX8YDo1djiOpPVLxGkrS1zqILU6vgztNZsGfHKS 0pWu1DgoQ+Ww50YN1+kVQyHIjSYBEpm+XNu5HynH7KQHC+V+SBLuAfOrnL9SuL4N4EmW q2ZNt9bhOOrA2SKNpCtgYFZwBMtalfaKmIISOBh4kuFqsWBuTIWovMEdLRwwT1t8LUKG 3dYw== 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 :content-transfer-encoding; bh=/6deG/5BvqsncPwS8WgQxEm6CEbuaKuZJURJ7IsMkyk=; b=YeJUnXKByW3zbpmXCkIkae96w6xg8y2if/KRDEhOcmQXJaLnO2/rbYhHhOIaemo7JG 3mTEBBvcgTbbA7pjyc3IMiQ+Py9d/V7S7mTVORQNwApQ6hDzzU/40NdxrLJL1di4DmWc kTQriSOaGdEEAPNzAkTiJWMAfZjhGHC3Qfgo9YWSJ0SmlGMo6fly6/qYSV6L9FfLDrfg 8u9630JDaqO3aIT1rYq4/vcOiE/UVr1AdyzU2zMR2+wgpyMFUJ4KDTn/tVIOcAEcDl/d xeZVp7EF22V1wNpvcRB3uGzGwEoVRYZga6MpOfLrmG4+lXOXFn7teFpLnWy54/ku+tMh MX1w== X-Gm-Message-State: ABuFfojhfJ9g0A7Z/yuqFTBNnWzCQJ4Q0hfSTEvcZoAl6Sl9GXlNX3Tv Ee7+z50d8Br8Y7g9CKmLXtXNWvuX X-Google-Smtp-Source: ACcGV61Umy0C0jdVZ6fXcWvwDcFqXvZ5EkP86+Ba1n3mHYiboZHOaIepwzU3HcJ2PdraVWFuPuxZHg== X-Received: by 2002:a1c:ee0c:: with SMTP id m12-v6mr2827314wmh.112.1538601569679; Wed, 03 Oct 2018 14:19:29 -0700 (PDT) Received: from p ([2001:4c50:25f:5d00:8555:62d8:49e3:e5f9]) by smtp.gmail.com with ESMTPSA id l70-v6sm2985615wma.0.2018.10.03.14.19.28 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Oct 2018 14:19:28 -0700 (PDT) From: Philipp Date: Wed, 03 Oct 2018 23:19:22 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) 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: -4.8 (----) Currently 'make' fails for me on master due to: $ make V=3D1 /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all make[1]: Nothing to be done for `all'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib-src all make[1]: Nothing to be done for `all'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src VCSWITNESS= =3D'$(srcdir)/../.git/logs/HEAD' all gcc -c -Demacs -I. -I. -I../lib -I../lib -isystem /usr/X11/include -= DMAGICKCORE_HDRI_ENABLE=3D1 -DMAGICKCORE_QUANTUM_DEPTH=3D16 -DMAGICKCORE_HD= RI_ENABLE=3D1 -DMAGICKCORE_QUANTUM_DEPTH=3D16 -isystem /usr/local/Cellar/im= agemagick/7.0.8-12/include/ImageMagick-7 -isystem /usr/include/libxml2 = -isystem /usr/local/Cellar/little-cms2/2.9/include -MMD -MF deps/xm= l.d -MP -isystem /usr/local/Cellar/jansson/2.11/include -isystem /usr/loca= l/Cellar/gnutls/3.5.19/include -isystem /usr/local/Cellar/nettle/3.4/includ= e -isystem /usr/local/Cellar/libtasn1/4.13/include -isystem /usr/local/Cell= ar/p11-kit/0.23.14/include/p11-kit-1 -Werror -fno-common -W -Waddress -Wa= ll -Wattributes -Wbuiltin-macro-redefined -Wchar-subscripts -Wcomment -Wcom= ments -Wcpp -Wdangling-else -Wdate-time -Wdeprecated -Wdeprecated-declarati= ons -Wdisabled-optimization -Wdiv-by-zero -Wduplicate-decl-specifier -Wempt= y-body -Wendif-labels -Wenum-compare -Wexpansion-to-defined -Wextra -Wforma= t-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wignored-= attributes -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration = -Wimplicit-int -Wincompatible-pointer-types -Winit-self -Wint-conversion -W= int-to-pointer-cast -Winvalid-pch -Wlogical-not-parentheses -Wmain -Wmissin= g-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wmultichar -Wna= rrowing -Wnested-externs -Wnonnull -Wnull-dereference -Wodr -Wold-style-def= inition -Woverflow -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -W= pointer-to-int-cast -Wpragmas -Wreturn-type -Wsequence-point -Wshift-count-= negative -Wshift-count-overflow -Wshift-negative-value -Wsizeof-array-argum= ent -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes -Wswit= ch-bool -Wtautological-compare -Wtrigraphs -Wuninitialized -Wunknown-pragma= s -Wunused -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunuse= d-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvol= atile-register-var -Wwrite-strings -Wredundant-decls -Wno-missing-field-ini= tializers -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-for= mat-nonliteral -Wno-missing-braces -Wno-initializer-overrides -Wno-tautolog= ical-compare -Wno-tautological-constant-out-of-range-compare -ggdb3 -O0 -Wn= o-error=3Dnull-pointer-arithmetic xml.c xml.c:26:10: fatal error: 'libxml/tree.h' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make[1]: *** [xml.o] Error 1 make: *** [src] Error 2 $ ./config.status --config '--with-modules' '--without-pop' '--with-mailutils' '--enable-gcc-warnings= =3Dyes' '--enable-checking=3Dall' '--enable-check-lisp-object-type' 'CFLAGS= =3D-ggdb3 -O0 -Wno-error=3Dnull-pointer-arithmetic' This is on macOS Mojave with Xcode 10.0. In GNU Emacs 27.0.50 (build 17, x86_64-apple-darwin17.4.0, NS appkit-1561.2= 0 Version 10.13.3 (Build 17D102)) of 2018-09-21 Repository revision: ee3be3fdfa96d7d1a0740c8145a26d758c12a711 Windowing system distributor 'Apple', version 10.3.1671 System Description: Mac OS X 10.14 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --with-modules --without-pop --with-mailutils --enable-gcc-warnings=3Dyes --enable-checking --enable-check-lisp-object-type 'CFLAGS=3D-ggdb3 -O0'' Configured features: IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON LCMS2 GMP Important settings: value of $LANG: de_DE.UTF-8 locale-coding-system: utf-8-unix 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: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils phst pcase ffap thingatpt url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars subr-x rx gnutls puny seq byte-opt gv bytecomp byte-compile cconv dbus xml cl-loaddefs cl-lib elec-pair time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util 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 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 kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 217251 7421) (symbols 48 21677 1) (strings 32 33393 2133) (string-bytes 1 904721) (vectors 16 37435) (vector-slots 8 753280 13522) (floats 8 50 66) (intervals 56 218 0) (buffers 992 11)) From unknown Fri Sep 05 20:36:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32927: 27.0.50; libxml not found when building on macOS Mojave Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Oct 2018 23:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32927 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Philipp Cc: 32927@debbugs.gnu.org Received: via spool by 32927-submit@debbugs.gnu.org id=B32927.15386082595935 (code B ref 32927); Wed, 03 Oct 2018 23:11:02 +0000 Received: (at 32927) by debbugs.gnu.org; 3 Oct 2018 23:10:59 +0000 Received: from localhost ([127.0.0.1]:36198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7qIE-0001Xf-Rx for submit@debbugs.gnu.org; Wed, 03 Oct 2018 19:10:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7qID-0001XT-9F for 32927@debbugs.gnu.org; Wed, 03 Oct 2018 19:10:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7qHy-0007YX-Ph for 32927@debbugs.gnu.org; Wed, 03 Oct 2018 19:10:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7qHs-0007SB-7y; Wed, 03 Oct 2018 19:10:37 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1g7qHr-0005xt-SP; Wed, 03 Oct 2018 19:10:35 -0400 From: Glenn Morris References: X-Spook: MIT-LL Nogales fraud Transportation Security X-Ran: 2\qI|Y@3WJgad4paHYc`RW2C:I_GlvJV.jao)M<21mX.2R`1O\gc7`z#FZY7.WKYR)m]M. X-Hue: red X-Attribution: GM Date: Wed, 03 Oct 2018 19:10:35 -0400 In-Reply-To: (Philipp's message of "Wed, 03 Oct 2018 23:19:22 +0200") Message-ID: <6oo9cask2c.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -6.0 (------) Is this the perennial "xcode-select --install" issue again? Bug#18779, 22552, 24068, 27526#74, 29931, ... https://lists.gnu.org/r/emacs-devel/2015-11/msg01926.html From unknown Fri Sep 05 20:36:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32927: 27.0.50; libxml not found when building on macOS Mojave Resent-From: YAMAMOTO Mitsuharu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Oct 2018 05:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32927 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: Philipp , 32927@debbugs.gnu.org Received: via spool by 32927-submit@debbugs.gnu.org id=B32927.153863065016695 (code B ref 32927); Thu, 04 Oct 2018 05:25:01 +0000 Received: (at 32927) by debbugs.gnu.org; 4 Oct 2018 05:24:10 +0000 Received: from localhost ([127.0.0.1]:36281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7w7N-0004LD-Tl for submit@debbugs.gnu.org; Thu, 04 Oct 2018 01:24:10 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:61470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7w7L-0004Ky-Ry for 32927@debbugs.gnu.org; Thu, 04 Oct 2018 01:24:08 -0400 Received: from mathent.math.s.chiba-u.ac.jp (mathent [192.168.32.5]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id DC17FF0909; Thu, 4 Oct 2018 14:24:04 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) Date: Thu, 04 Oct 2018 14:24:04 +0900 Message-ID: From: YAMAMOTO Mitsuharu In-Reply-To: <6oo9cask2c.fsf@fencepost.gnu.org> References: <6oo9cask2c.fsf@fencepost.gnu.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: 0.0 (/) 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 (-) On Thu, 04 Oct 2018 08:10:35 +0900, Glenn Morris wrote: > > > Is this the perennial "xcode-select --install" issue again? > > Bug#18779, 22552, 24068, 27526#74, 29931, ... > https://lists.gnu.org/r/emacs-devel/2015-11/msg01926.html I've received a similar report for the Mac port, and the situation was a bit different. Unlike the previous versions, the Command Line Tools package for Xcode 10 no longer installs the header files into /usr/include on macOS 10.14 (*). *: https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes The culprit for the above case was the bogus libxml-2.0.pc file that refers to nonexistent /usr/include. Philipp, could you try $ pkg-config --cflags --libs "libxml-2.0 > 2.6.17 to see if it refers to /usr/include ? If so, locate the erroneous config file by the following command: $ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17" YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From unknown Fri Sep 05 20:36:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32927: 27.0.50; libxml not found when building on macOS Mojave Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Oct 2018 21:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32927 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: YAMAMOTO Mitsuharu Cc: Glenn Morris , 32927@debbugs.gnu.org Received: via spool by 32927-submit@debbugs.gnu.org id=B32927.153868816129698 (code B ref 32927); Thu, 04 Oct 2018 21:23:02 +0000 Received: (at 32927) by debbugs.gnu.org; 4 Oct 2018 21:22:41 +0000 Received: from localhost ([127.0.0.1]:37144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8B4z-0007iw-CW for submit@debbugs.gnu.org; Thu, 04 Oct 2018 17:22:41 -0400 Received: from mail-oi1-f170.google.com ([209.85.167.170]:35669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8B4y-0007ii-0L for 32927@debbugs.gnu.org; Thu, 04 Oct 2018 17:22:40 -0400 Received: by mail-oi1-f170.google.com with SMTP id 22-v6so7739956oiz.2 for <32927@debbugs.gnu.org>; Thu, 04 Oct 2018 14:22:39 -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; bh=1sKHNbLiB+VUYS17HJDwKkSdPGKyXk4Sv5jWSnu+OIQ=; b=mfs2oyAAlTnY/XDGl20ent3D+wUjuqgVFVx4ZrNcQOX7uhKheInVzFICzLBvDTI2jW P7u6Ek14v39yRajoZp38AasPCqkOqo4ejMYWG9xL2XEnWD1UWJQL2YhkMQngccY4wS/c FbdUWfvrHi8YtJuMrrmPMevH4wbdCb9QR4iMRxJPL6Gs50ErWMSXQUhYQvQOmm5y5xUO OayZ92JGO1eQF1Yv2CmaMu0Xo+EQoS/Nw7lbgb8LAbNWzJBODcUMfdpDgYs4TUdK6o8h y3PyLTCN+8WHNuRPNeWlGxVN5r4DTZ7E9gIbi3awZnDe9TEFyNU7qJw5rnFc2rzxQ42y iadA== 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; bh=1sKHNbLiB+VUYS17HJDwKkSdPGKyXk4Sv5jWSnu+OIQ=; b=MXcIokJEZW+6hEwzK+z2F8N+mVhpVvBC9rI0Q2bDi7u9hRNpj1dsAYicYnewbjNYC3 +cKfZ1RWA1arPtR4YWjtg8gMBdMyTt5Oj+62Bpo5rzxAQgzRkiPfgvSotGqUdaxIUyyy ZP7gggHtQWCvuXoq8w3W1It43LFrEnOKCxop1yIGzV9OTp5liMSO7KVNtlmTtKANZOUI 4ad3IUodoIV4zbcFslnwYVu7pxbpOZaBgeQ0/3SKN6gjcjvsbJY08hMFhKB93Qew9AI3 whvIv+WgyxJasHwBAVOeh7xAr9hHvcuiW9CCUZrYys4RtlPXCkUFXGX2EXB7OlT/u7/T qltg== X-Gm-Message-State: ABuFfohtmevguOfsnQVs0Q9IIylnW+/HlhfzDR6XMgXvMYb/CBlOuEkJ JzJRFSi75Wyf+TQRZDtGCFSnX3cWJkKWEKSOLEYmRMEg X-Google-Smtp-Source: ACcGV62O0uLzolm7Eq1LzO73kWvJihvn0z4fmnBjP9dJEXDOtQ3xG5EZv2TrSDd5kra64hU2fUd0qOVgiJutJP38fV4= X-Received: by 2002:aca:add8:: with SMTP id w207-v6mr3871425oie.112.1538688154265; Thu, 04 Oct 2018 14:22:34 -0700 (PDT) MIME-Version: 1.0 References: <6oo9cask2c.fsf@fencepost.gnu.org> In-Reply-To: From: Philipp Stephani Date: Thu, 4 Oct 2018 23:22:22 +0200 Message-ID: Content-Type: multipart/alternative; boundary="000000000000daee4c05776dc01e" X-Spam-Score: 0.2 (/) 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 (/) --000000000000daee4c05776dc01e Content-Type: text/plain; charset="UTF-8" YAMAMOTO Mitsuharu schrieb am Do., 4. Okt. 2018 um 07:24 Uhr: > On Thu, 04 Oct 2018 08:10:35 +0900, > Glenn Morris wrote: > > > > > > Is this the perennial "xcode-select --install" issue again? > > > > Bug#18779, 22552, 24068, 27526#74, 29931, ... > > https://lists.gnu.org/r/emacs-devel/2015-11/msg01926.html > > I've received a similar report for the Mac port, and the situation was > a bit different. Unlike the previous versions, the Command Line Tools > package for Xcode 10 no longer installs the header files into > /usr/include on macOS 10.14 (*). > > *: > https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes > > The culprit for the above case was the bogus libxml-2.0.pc file that > refers to nonexistent /usr/include. Philipp, could you try > > $ pkg-config --cflags --libs "libxml-2.0 > 2.6.17 > > to see if it refers to /usr/include ? If so, locate the erroneous > config file by the following command: > > $ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17" > Yes, looks like this is the problem: $ pkg-config --cflags --libs "libxml-2.0 > 2.6.17" -I/usr/include/libxml2 -lxml2 $ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17" /usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12 And xcode-select --install doesn't help (because /usr/include doesn't exist). --000000000000daee4c05776dc01e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


YAMAMO= TO Mitsuharu <mituharu@= math.s.chiba-u.ac.jp> schrieb am Do., 4. Okt. 2018 um 07:24=C2=A0Uhr= :
On Thu, 04 Oct 2018 08:10:35 +090= 0,
Glenn Morris wrote:
>
>
> Is this the perennial "xcode-select --install" issue again?<= br> >
> Bug#18779, 22552, 24068, 27526#74, 29931, ...
> https://lists.gnu.org/r/emacs-devel/20= 15-11/msg01926.html

I've received a similar report for the Mac port, and the situation was<= br> a bit different.=C2=A0 Unlike the previous versions, the Command Line Tools=
package for Xcode 10 no longer installs the header files into
/usr/include on macOS 10.14 (*).

*: https://devel= oper.apple.com/documentation/xcode_release_notes/xcode_10_release_notes=

The culprit for the above case was the bogus libxml-2.0.pc file that
refers to nonexistent /usr/include.=C2=A0 Philipp, could you try

=C2=A0 $ pkg-config --cflags --libs "libxml-2.0 > 2.6.17

to see if it refers to /usr/include ?=C2=A0 If so, locate the erroneous
config file by the following command:

=C2=A0 $ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17"=


Yes, looks like this is= the problem:

$ pkg-config --c= flags --libs "libxml-2.0 > 2.6.17"

-I/usr/include/l= ibxml2 -lxml2


$ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17"=

/usr/= local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12


And xcode-select --insta= ll doesn't help (because /usr/include doesn't exist).

--000000000000daee4c05776dc01e-- From unknown Fri Sep 05 20:36:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32927: 27.0.50; libxml not found when building on macOS Mojave Resent-From: YAMAMOTO Mitsuharu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Oct 2018 00:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32927 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Philipp Stephani Cc: Glenn Morris , 32927@debbugs.gnu.org, YAMAMOTO Mitsuharu Received: via spool by 32927-submit@debbugs.gnu.org id=B32927.153869969324902 (code B ref 32927); Fri, 05 Oct 2018 00:35:01 +0000 Received: (at 32927) by debbugs.gnu.org; 5 Oct 2018 00:34:53 +0000 Received: from localhost ([127.0.0.1]:37270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8E4z-0006TZ-JK for submit@debbugs.gnu.org; Thu, 04 Oct 2018 20:34:53 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:59978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8E4x-0006TL-AQ; Thu, 04 Oct 2018 20:34:52 -0400 Received: from mathent.math.s.chiba-u.ac.jp (mathent [192.168.32.5]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 46FEFF0913; Fri, 5 Oct 2018 09:34:48 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) Date: Fri, 05 Oct 2018 09:34:48 +0900 Message-ID: From: YAMAMOTO Mitsuharu In-Reply-To: References: <6oo9cask2c.fsf@fencepost.gnu.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: 0.0 (/) 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 (-) tags 32927 notabug close 32927 quit On Fri, 05 Oct 2018 06:22:22 +0900, Philipp Stephani wrote: > Yes, looks like this is the problem: > > $ pkg-config --cflags --libs "libxml-2.0 > 2.6.17" > > -I/usr/include/libxml2 -lxml2 > > $ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17" > > /usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12 The file libxml-2.0.pc there (installed via Homebrew?) does not make sense (and actually does harm) unless the header files are installed into /usr/include. You can do that by following the workaround mentioned in the Xcode release notes, but I'm not sure this is the way intended by the Homebrew developers (and I'm not using Homebrew). Maybe you want to ask it at some Homebrew forum. Anyway, this is not a bug in Emacs. Closing. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From unknown Fri Sep 05 20:36:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32927: 27.0.50; libxml not found when building on macOS Mojave Resent-From: Xu Xin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Oct 2018 14:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32927 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Cc: 32927@debbugs.gnu.org Received: via spool by 32927-submit@debbugs.gnu.org id=B32927.153961517214593 (code B ref 32927); Mon, 15 Oct 2018 14:53:01 +0000 Received: (at 32927) by debbugs.gnu.org; 15 Oct 2018 14:52:52 +0000 Received: from localhost ([127.0.0.1]:50908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC4Em-0003nG-Ct for submit@debbugs.gnu.org; Mon, 15 Oct 2018 10:52:52 -0400 Received: from mail-ed1-f54.google.com ([209.85.208.54]:36114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC4Ej-0003mv-Pp for 32927@debbugs.gnu.org; Mon, 15 Oct 2018 10:52:50 -0400 Received: by mail-ed1-f54.google.com with SMTP id c26-v6so18125921edt.3 for <32927@debbugs.gnu.org>; Mon, 15 Oct 2018 07:52: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:cc; bh=53P9r6D5W16VkjYMdywmXJfExkNSpQuHxC+pq5NlehA=; b=HLhO+DDgBawfpbpbGsXBCSQlyX5hgJm95TprbY72crtbHpFD9mDs/T6zPqUbB1hWM3 6QbOxtks5JODU/BBHphp3gSnXpfyhhyYXs1Yzg4X6n1kR8bnASTwEyWN6FU2vDb0DMdL VCahyjIjHAWB7BTRfXb48fp5oOSvlEkY6OK9co/w0D6DJ1MDjMdzff3LzawezfqQtnP2 FFxlopNeJ0wTuZo2msX2hVF/GINvtr+MgAXl6hopzSz624FWG4T0LnPdkZqefqjKes/8 jha78gCMmRXBmi0CPcZidZiO1sI0aYlHFV24RATj51yjlGiaPxK9lgfEdJLMAHh0CfHz GiYw== 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:cc; bh=53P9r6D5W16VkjYMdywmXJfExkNSpQuHxC+pq5NlehA=; b=GMWzWhqZeDppwBD9WqnbG1bXPpFwE0WG9Z7u9RKA+0zIumqYI+KuhVb2J8SHI6Apw3 wmF23egcSWoSA7cX7A8uTv3rG7y3/o9fbO5L/hV0Awbwy1CvJ4dFxR6lBXY08j9TXqyX i31XyU316+hHDC5+KI0PR3At2+W+i/R3BBmbP+649k3BkPaFwt5z5PNXlsIhxtiL2PEW C4UuQyGuMpeRKna27mI+/w0+wnMUALT/1V6gxRUPWLqGgg4yzIqLKRrM5ian1StMyH8H C8a7E2h3Fncuswqo761BAgpWNA9TVCLGh7jlGPZNtTWrNJe9B0kfbv8UYiBRQ9O5cbvh O2HA== X-Gm-Message-State: ABuFfoicGIES30FpTrjT77i89KEDCmWoOWrMm363EulRK7jFCpi+cx/x m22BsieQEQ1FgWPWL0rKpeyqBARbQI1lARf9zM5UBD/g X-Google-Smtp-Source: ACcGV60RKQ64XVp3oPXmEwHVfsvPgLOdY6ojc9awGXWyCjmeMfG0pevipneTzm+dyEM7kiz1+haKUCP2gomcMz0NNvw= X-Received: by 2002:a50:930e:: with SMTP id m14-v6mr24914911eda.114.1539615163757; Mon, 15 Oct 2018 07:52:43 -0700 (PDT) MIME-Version: 1.0 References: <6oo9cask2c.fsf@fencepost.gnu.org> In-Reply-To: From: Xu Xin Date: Mon, 15 Oct 2018 10:52:32 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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 the administrator of that system for details. Content preview: On Thu, Oct 4, 2018 at 8:35 PM YAMAMOTO Mitsuharu wrote: > > tags 32927 notabug > close 32927 > quit > > On Fri, 05 Oct 2018 06:22:22 +0900, > Philipp Stephani wrote: > > > Yes, looks like this is the problem: > > > > $ pkg-config --cflags --libs "libxml-2.0 > 2.6.17" > > > > -I/usr/include/libxml2 -lxml2 > > > > $ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17" > > > > /usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12 > > The file libxml-2.0.pc there (installed via Homebrew?) does not make > sense (and actually does harm) unless the header files are installed > into /usr/include. You can do that by following the workaround > mentioned in the Xcode release notes, but I'm not sure this is the way > intended by the Homebrew developers (and I'm not using Homebrew). > Maybe you want to ask it at some Homebrew forum. > > Anyway, this is not a bug in Emacs. Closing. > > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp > > > [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.208.54 listed in list.dnswl.org] 1.2 MISSING_HEADERS Missing To: header 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (railwaycat[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.54 listed in wl.mailspike.net] 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.2 (/) On Thu, Oct 4, 2018 at 8:35 PM YAMAMOTO Mitsuharu wrote: > > tags 32927 notabug > close 32927 > quit > > On Fri, 05 Oct 2018 06:22:22 +0900, > Philipp Stephani wrote: > > > Yes, looks like this is the problem: > > > > $ pkg-config --cflags --libs "libxml-2.0 > 2.6.17" > > > > -I/usr/include/libxml2 -lxml2 > > > > $ pkg-config --variable pcfiledir "libxml-2.0 > 2.6.17" > > > > /usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12 > > The file libxml-2.0.pc there (installed via Homebrew?) does not make > sense (and actually does harm) unless the header files are installed > into /usr/include. You can do that by following the workaround > mentioned in the Xcode release notes, but I'm not sure this is the way > intended by the Homebrew developers (and I'm not using Homebrew). > Maybe you want to ask it at some Homebrew forum. > > Anyway, this is not a bug in Emacs. Closing. > > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp > > > A ticket opened for Homebrew, but looks like there's no plan to fix it for now: https://github.com/Homebrew/brew/issues/5068 A patch like this can also be a hack: % cat pkgconfig_10.14.diff diff --git a/Library/Homebrew/os/mac/pkgconfig/10.14/libxml-2.0.pc b/Library/Homebrew/os/mac/pkgconfig/10.14/libxml-2.0.pc index c297c6b45..7a037a9cf 100644 --- a/Library/Homebrew/os/mac/pkgconfig/10.14/libxml-2.0.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.14/libxml-2.0.pc @@ -1,7 +1,8 @@ prefix=/usr +xcode_prefix=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk${prefix} exec_prefix=${prefix} libdir=${exec_prefix}/lib -includedir=${prefix}/include +includedir=${xcode_prefix}/include modules=1 Name: libXML Another interesting thing is Homebrew itself able to build emacs successfully by command `brew install --build-from-source emacs` without any header file error and any hack/workaround to *.pc files. Maybe because of some internal settings. - Xin