From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#32927: 27.0.50; libxml not found when building on macOS Mojave Date: Thu, 4 Oct 2018 23:22:22 +0200 Message-ID: References: <6oo9cask2c.fsf@fencepost.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000daee4c05776dc01e" X-Trace: blaine.gmane.org 1538688073 23199 195.159.176.226 (4 Oct 2018 21:21:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2018 21:21:13 +0000 (UTC) Cc: 32927@debbugs.gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 04 23:21:08 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 1g8B3U-0005vW-Ft for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Oct 2018 23:21:08 +0200 Original-Received: from localhost ([::1]:59830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8B5b-0007ne-5u for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Oct 2018 17:23:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8B5T-0007n4-Hl for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2018 17:23:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8B5N-0005nG-Dq for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2018 17:23:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g8B5K-0005j1-LU for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2018 17:23:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g8B5K-0007jr-Ck for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2018 17:23:02 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 32927-submit@debbugs.gnu.org id=B32927.153868816129698 (code B ref 32927); Thu, 04 Oct 2018 21:23:02 +0000 Original-Received: (at 32927) by debbugs.gnu.org; 4 Oct 2018 21:22:41 +0000 Original-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 Original-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 Original-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) In-Reply-To: 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:150944 Archived-At: --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--