From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: ENDOH Hiroaki Newsgroups: gmane.emacs.devel Subject: Failed to build Emacs v26.3.50 on macOS v10.15.4 with Xcode 11.4.1 Date: Tue, 28 Apr 2020 11:58:41 +0900 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000f1395105a4510285" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="76208"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 28 06:34:15 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jTHwk-000Jhc-UP for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Apr 2020 06:34:15 +0200 Original-Received: from localhost ([::1]:42026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTHwj-0005qg-Ot for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Apr 2020 00:34:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46138) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTGSV-0001Ed-3W for emacs-devel@gnu.org; Mon, 27 Apr 2020 22:58:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTGSU-0004f7-MY for emacs-devel@gnu.org; Mon, 27 Apr 2020 22:58:54 -0400 Original-Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]:35684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTGSU-0004es-7s for emacs-devel@gnu.org; Mon, 27 Apr 2020 22:58:54 -0400 Original-Received: by mail-ot1-x330.google.com with SMTP id e26so30219620otr.2 for ; Mon, 27 Apr 2020 19:58:53 -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=jIl4NKkgfFm+f3auEBtSp2fFde5ksDTqANg7V1mpyFA=; b=OLRkqJSMTlFAoQPHOQ8ghv4yMNR25MC2irqB3gGw4tLgnbntwT6AsoB2Z5UIdKQI6n xQpvYDFgw9QYkChvTwtVkATDd3OpVDtlzAelVlpSPhWPxEW7eDtuKu6gx9IHeEZM+A6E uwnt7whIkNnu+NHVX7YqB90hyz17ccPYUFfDChNaQppdU/CGAMJAejecvjLBT+PBPn0H f2pRj6sg0PJ6JkKlgUKW/buwCnLVl7dA4bFCPBHBgQQLIaVUu/nt7uXO8RfDQYFL7wku rQXL7mdY6bP4oOm1NSa2tKzUMUXmSj32iqa4Tc8ZW6w9XiDJi9p4b025gqxgoHsJZXcc Es7A== 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=jIl4NKkgfFm+f3auEBtSp2fFde5ksDTqANg7V1mpyFA=; b=dOHzHR4g2az96YHre7iF/GT7k3BgIdnxMkIJbhWvL61rIRkYXhDAXx5kI2K7cPuXO2 GkoF+RdivfRwHctMuE4bbKMolXreOp5aPn3FjmWjbqhtTGSierQWHUBpVE+jnmwNPNAS wvffl1A1haI0eOMGybztH8x23uMM189SLeDWxLe+RM3BFA/Y1xET+Of/BGnhPAt4r6KZ r8CbTiq4SqCU0+5vOuzFmDW7FTtvUoRZ3SebhGiGspBQ4v/pXwTEF9DumWmLKCewct1H sNwkNOXZpetpafnC7mUwayA1LfjQFqSp2A7y7daLK/Te30dVNNyyFTXvlIySWf8iItZm Ympw== X-Gm-Message-State: AGi0PuZPvrvypSUT2mPEnyUC46W3n0EuqEmgT/W9jhZgzKXZ5+T7YCRn xG+BauKWwK3VV9JQSu3Lx9AZVW/S232Y0SzzLCGot6QuK80= X-Google-Smtp-Source: APiQypJUB1Q+QULdpAvr31SwT8qEdy2Z/XnNlO9NV+8UaViHfoQ46niI9tzgqaTyqfD2YRsHTMfg9c4X+Itz2Yz+cBs= X-Received: by 2002:a9d:1d08:: with SMTP id m8mr21218500otm.364.1588042732194; Mon, 27 Apr 2020 19:58:52 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::330; envelope-from=hiroakiendoh@gmail.com; helo=mail-ot1-x330.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::330 X-Mailman-Approved-At: Tue, 28 Apr 2020 00:33:20 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:247995 Archived-At: --000000000000f1395105a4510285 Content-Type: text/plain; charset="UTF-8" Hi, Emacs team. I got the build error of Emacs v26.3.50 on macOS v10.15.4 with Xcode 11.4.1. Using the attached diff.patch, you would get success build Emacs v26.3.50. The reproduction procedure, error log and workarounds are summarized below. https://github.com/hiroakit/emacs-on-apple/issues/1 Would you be able to check it? Best regards, Hiroaki ENDOH --000000000000f1395105a4510285 Content-Type: application/octet-stream; name="diff.patch" Content-Disposition: attachment; filename="diff.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k9jbkw3k0 LS0tIGEvc3JjL3VuZXhtYWNvc3guYwkyMDIwLTA0LTI3IDIzOjI2OjI0LjAwMDAwMDAwMCArMDkw MAorKysgYi9zcmMvdW5leG1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