From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jacob Faibussowitsch Newsgroups: gmane.emacs.bugs Subject: bug#51925: [Trunk][macOS] "vfork" is deprecated Date: Thu, 18 Nov 2021 09:50:27 -0600 Message-ID: <038C2656-DD80-4326-8ED4-4C88F8D69C4A@gmail.com> References: <9FD9579F-AB2E-4425-999C-377ED34AA66D@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_2DB71ADB-95A9-48B0-BA37-BAF80E31E645" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4646"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51925@debbugs.gnu.org To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 18 16:51:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mnjgt-00012H-QT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Nov 2021 16:51:11 +0100 Original-Received: from localhost ([::1]:58262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnjgs-0007sR-LH for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Nov 2021 10:51:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnjgk-0007pL-Ct for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 10:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53623) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnjgk-0001N9-3Y for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 10:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnjgj-00071A-U3 for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 10:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jacob Faibussowitsch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Nov 2021 15:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51925 X-GNU-PR-Package: emacs Original-Received: via spool by 51925-submit@debbugs.gnu.org id=B51925.163725064226939 (code B ref 51925); Thu, 18 Nov 2021 15:51:01 +0000 Original-Received: (at 51925) by debbugs.gnu.org; 18 Nov 2021 15:50:42 +0000 Original-Received: from localhost ([127.0.0.1]:36936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnjgP-00070Q-Df for submit@debbugs.gnu.org; Thu, 18 Nov 2021 10:50:41 -0500 Original-Received: from mail-il1-f178.google.com ([209.85.166.178]:37815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnjgJ-0006zz-C0 for 51925@debbugs.gnu.org; Thu, 18 Nov 2021 10:50:40 -0500 Original-Received: by mail-il1-f178.google.com with SMTP id h23so6930838ila.4 for <51925@debbugs.gnu.org>; Thu, 18 Nov 2021 07:50:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Y4qGi9Q3ZJxB8IgqkynWmrlBCNjwtLdTrtq67pwI+j0=; b=MdC7POaIE8F6AJQcdVtdlPSxXDM1sl/k6MGM0GQOMVmaPp8KLN85ItkrHv5EQkALH9 xl84SgKtRNUWQnSgviydOx1Xt3ZYThPHV8kJYLgKxXu64Lh0o6js6skM3UJs4sx+QFhS eECmQS/tRGBgG3fb71vjd2ydiMSYz8PRK38qKQe2zaI+2+f8CBtJ4rsUR0Mvn3hMXzVk v31R1Nj3fV1AtfeuG5/gwHexT9Cne8O9V4boSZP/d70B0VKKqHYGXPgonV8r6+1KB2KQ YIRNIyRXYFG/tMt8JXqm1Vz4z2EEgls/vKV0gFH+tf0GJYoCi+Zniap4HBaFnHSFiD7N ucPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Y4qGi9Q3ZJxB8IgqkynWmrlBCNjwtLdTrtq67pwI+j0=; b=jtRgJ5RGxFg7xuuD0u9TCTV9XeO8sAWLMNr+yeC/dMV1++THFg4ZrF+3BTtpVx5vzu 7+uUNuw6WfAr8Lo7JHuCovYK2vsbYuhWpZhhaGjrDuGt/qAf9DKExw/IUXZWuOCTkfRs 306l9GNorMIsEZiW4OnHcHUkpzNm6HLCf+1gEZ9hTFWy3ELEyC0kkHaCs+A9+HJX9Br6 QmicuwjK0SMHx/5TlZEZuP150EmPbjAiLyAWKe6Ud/GtfJ2J8glF5V0AVdYIt6yLaGDI QKP9pEAjiDrhuluZOcZNYLHtWaKFsf1Cm2q1M1yE21LsMobP6IImU/jk/ukOKQ5O4ym5 23Zw== X-Gm-Message-State: AOAM530G70MDvgy2pWLqImJ2Z0Eqj7n22S2WVD/8WTh2Sizi2hG6Fiwv mBUNaihBD1ztOG+a/WaCd3c= X-Google-Smtp-Source: ABdhPJyTNVILCk5IXrd/QLSZuU5CC/Hvun10KfTexalz46Ev+AkBiUvm8fy6Q293JEHyyd4KhQ46dQ== X-Received: by 2002:a05:6e02:1b87:: with SMTP id h7mr91368ili.112.1637250629840; Thu, 18 Nov 2021 07:50:29 -0800 (PST) Original-Received: from smtpclient.apple (node-17-233.flex.volo.net. [76.191.17.233]) by smtp.gmail.com with ESMTPSA id f16sm121720iov.33.2021.11.18.07.50.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Nov 2021 07:50:29 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220324 Archived-At: --Apple-Mail=_2DB71ADB-95A9-48B0-BA37-BAF80E31E645 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I have had these installed for ages, but as it turns out my Xcode path = was still pointing to /Applications/Xcode.app/Contents/Developer -_-. Switching to CLT I now don=E2=80=99t get warnings about vfork() when = building emacs anymore, but have now gotten the following warning: nproc.c:321:21: warning: passing 'const int [2]' to parameter of type = 'int *' discards qualifiers = [-Wincompatible-pointer-types-discards-qualifiers] if (sysctl (mib[i], ARRAY_SIZE (mib[i]), &nprocs, &len, NULL, 0) = =3D=3D 0 ^~~~~~ = /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/sysctl= .h:770:21: note: passing argument to parameter here int sysctl(int *, u_int, void *, size_t *, void *, size_t); ^ 1 warning generated. Best regards, Jacob Faibussowitsch (Jacob Fai - booss - oh - vitch) > On Nov 17, 2021, at 14:16, Filipp Gunbin wrote: >=20 > (resending with Eli & list in CC) >=20 > On 17/11/2021 13:34 -0600, Jacob Faibussowitsch wrote: >=20 >>> Did you try "make bootstrap"? >>=20 >> Yes, I=E2=80=99ve been getting the warning for a few weeks now, and = it >> persists through bootstrap builds. Any other config files/logs I can >> send to help diagnose this? >>=20 >=20 > Then I'd ensure that Command Line Tools are properly installed. >=20 > Either run 'xcode-select --install', or, if you want a clean install, = 1) > delete /Library/Developer/CommandLineTools, 2) download dmg from here > https://developer.apple.com/download/all and install it. >=20 > Filipp --Apple-Mail=_2DB71ADB-95A9-48B0-BA37-BAF80E31E645 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I = have had these installed for ages, but as it turns out my Xcode path was = still pointing to /Applications/Xcode.app/Contents/Developer = -_-.

Switching to = CLT I now don=E2=80=99t get warnings about vfork() when building emacs = anymore, but have now gotten the following warning:

nproc.c:321:21: warning: = passing 'const int [2]' to parameter of type 'int *' discards qualifiers = [-Wincompatible-pointer-types-discards-qualifiers]
  =       if (sysctl (mib[i], ARRAY_SIZE (mib[i]), = &nprocs, &len, NULL, 0) =3D=3D 0
    =                 ^~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include= /sys/sysctl.h:770:21: note: passing argument to parameter here
int     sysctl(int *, u_int, void *, size_t *, void = *, size_t);
            =         ^
1 warning = generated.

Best regards,

Jacob = Faibussowitsch
(Jacob Fai - booss - oh - vitch)

On Nov 17, 2021, at 14:16, Filipp Gunbin <fgunbin@fastmail.fm>= wrote:

(resending with Eli & list in CC)

On 17/11/2021 13:34 -0600, Jacob Faibussowitsch wrote:

Did you try "make bootstrap"?

Yes, I=E2=80=99ve been getting = the warning for a few weeks now, and it
persists through = bootstrap builds. Any other config files/logs I can
send = to help diagnose this?


Then I'd ensure that Command Line Tools are properly = installed.

Either run 'xcode-select = --install', or, if you want a clean install, 1)
delete = /Library/Developer/CommandLineTools, 2) download dmg from here
https://developer.apple.com/download/all and install = it.

Filipp

= --Apple-Mail=_2DB71ADB-95A9-48B0-BA37-BAF80E31E645--