From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#51925: [Trunk][macOS] "vfork" is deprecated Date: Thu, 18 Nov 2021 20:09:19 +0300 Message-ID: References: <9FD9579F-AB2E-4425-999C-377ED34AA66D@gmail.com> <038C2656-DD80-4326-8ED4-4C88F8D69C4A@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10726"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: 51925@debbugs.gnu.org To: Jacob Faibussowitsch Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 18 18:11:42 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 1mnkwm-0002Zk-AO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Nov 2021 18:11:42 +0100 Original-Received: from localhost ([::1]:40210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnkwl-0006DG-Ai for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Nov 2021 12:11:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnkvD-0004I8-OW for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 12:10:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnkvD-0004qx-1b for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 12:10:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnkvC-0005iB-Rs for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2021 12:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Nov 2021 17:10:02 +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.163725536921878 (code B ref 51925); Thu, 18 Nov 2021 17:10:02 +0000 Original-Received: (at 51925) by debbugs.gnu.org; 18 Nov 2021 17:09:29 +0000 Original-Received: from localhost ([127.0.0.1]:37056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnkue-0005gn-R1 for submit@debbugs.gnu.org; Thu, 18 Nov 2021 12:09:29 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnkud-0005gU-5d for 51925@debbugs.gnu.org; Thu, 18 Nov 2021 12:09:27 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1D6545C01C1; Thu, 18 Nov 2021 12:09:22 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 18 Nov 2021 12:09:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= qhlEQUeDRzaNtTrNYJ+TPLKKOrM7NAkKTk7fnI9vazM=; b=QrqIpW8KlZIFjFVY YTGBYwMStGKZY434wLPaJjpWJs/SH1z7yRLByOOFsVQiBoYcVeao79CNu8QORWoD MM7AMMi3gsrEfbzHQxumoS8KhMr/ijQVDY63O4uPtCDCSjLjT7/aKa4a2yFJqJmt QSpfBEvERDaNgu5YU6R+OVgPhdGpu9cBhI29tXd1nHkRk8VPr8mf8/MxZXYAQaM4 N9oQZnJAG9+uo6vYwCkOrzpOJL9P47aSOM8llWnQYvMXLvqqudv+90PSrG7Ma5Q9 svRPLETu7YdWkAotKn2yQJ7b92BSXnBk3M2Vjv8zuU2ccPCZMtiGLJSD9hQHSrLM Y22VZg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=qhlEQUeDRzaNtTrNYJ+TPLKKOrM7NAkKTk7fnI9va zM=; b=loRN9mmf07Ew3xwOBv5Anc18WmnGxry9ImCWC0kq9Od5Jljx6Mdk4R/I/ xDfG2fUAD0+OnhXnJHoAs/NwaIOlkPP4jc6Etg+UBvbJSu/dd9ILGDj6xj/3YlDa iDgdt5KvxrH9H4bNGos5I5/rTOpPvG6yTQ7N6xdHYpKick63RquVli8jgsGek8zL aKNheSY/NED9NkSMJ6bOhY2KGGQyAb9B7BKB9efmy87s4cG586jQ3QkXWRJ4eqlO JUF1V4N/1mqglWy8ZhfTSPdalWcO76WOxnuS+s+AG1dhOvfEMrGpPcJw6tn0nAam IuXeRrsI375OCkgYXP7fqbTytNkqw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrfeeigdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgfgsehtqhertddtreejnecuhfhrohhmpefhihhlihhp phcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecuggftrf grthhtvghrnhepgeejudejieevhfeigeeviefgheektdfgvdegvedtvdeujefhueduueeg tddttdetnecuffhomhgrihhnpeigtghouggvrdgrphhpnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepfhhguhhnsghinhesfhgrshhtmhgrihhl rdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 18 Nov 2021 12:09:21 -0500 (EST) In-Reply-To: <038C2656-DD80-4326-8ED4-4C88F8D69C4A@gmail.com> (Jacob Faibussowitsch's message of "Thu, 18 Nov 2021 09:50:27 -0600") 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:220330 Archived-At: On 18/11/2021 09:50 -0600, Jacob Faibussowitsch wrote: > I have had these installed for ages, but as it turns out my Xcode path > was still pointing to /Applications/Xcode.app/Contents/Developer -_-. CLT are enough for a working toolchain (XCode itself is not necessary). I was talking about ensuring "proper" installation just in case something's wrong with CLT (for example, who knows what macOS update is doing?). But good that you found the reason. > Switching to CLT I now don=E2=80=99t get warnings about vfork() when buil= ding emacs anymore, but have now gotten the following warning: > > nproc.c:321:21: warning: passing 'const int [2]' to parameter of type 'in= t *' 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/sysct= l.h:770:21: note: passing argument to parameter here > int sysctl(int *, u_int, void *, size_t *, void *, size_t); > ^ I have them too, someone has to fix it. Filipp