From: Jacob Faibussowitsch <jacob.fai@gmail.com>
To: Filipp Gunbin <fgunbin@fastmail.fm>
Cc: 51925@debbugs.gnu.org
Subject: bug#51925: [Trunk][macOS] "vfork" is deprecated
Date: Thu, 18 Nov 2021 09:50:27 -0600 [thread overview]
Message-ID: <038C2656-DD80-4326-8ED4-4C88F8D69C4A@gmail.com> (raw)
In-Reply-To: <m2a6i2fsg8.fsf@fastmail.fm>
[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]
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’t 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) == 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’ve 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
[-- Attachment #2: Type: text/html, Size: 3437 bytes --]
next prev parent reply other threads:[~2021-11-18 15:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 17:50 bug#51925: [Trunk][macOS] "vfork" is deprecated Jacob Faibussowitsch
2021-11-17 17:58 ` Eli Zaretskii
2021-11-17 18:02 ` Jacob Faibussowitsch
2021-11-17 18:08 ` Jacob Faibussowitsch
2021-11-17 18:25 ` Eli Zaretskii
[not found] ` <m2ilwqfuiy.fsf@fastmail.fm>
[not found] ` <D05C8617-3056-4753-A5CE-B0AC8D1FC215@gmail.com>
2021-11-17 20:16 ` Filipp Gunbin
2021-11-18 15:50 ` Jacob Faibussowitsch [this message]
2021-11-18 17:09 ` Filipp Gunbin
2022-09-20 15:20 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=038C2656-DD80-4326-8ED4-4C88F8D69C4A@gmail.com \
--to=jacob.fai@gmail.com \
--cc=51925@debbugs.gnu.org \
--cc=fgunbin@fastmail.fm \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).