[MacPorts] #64874: moon-buggy build failure
MacPorts
noreply at macports.org
Wed Mar 23 01:05:11 UTC 2022
#64874: moon-buggy build failure
---------------------------+--------------------
Reporter: adamcrussell | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: moon-buggy |
---------------------------+--------------------
Comment (by ryandesign):
The config.log shows that the failure to find `size_t`:
{{{
configure:5273: /usr/bin/clang -c -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk conftest.c
>&5
In file included from conftest.c:35:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdlib.h:66:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/wait.h:109:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/signal.h:156:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/_types/_uid_t.h:31:31:
error: cannot combine with previous 'type-name' declaration specifier
typedef __darwin_uid_t uid_t;
^
conftest.c:27:15: note: expanded from macro 'uid_t'
#define uid_t int
^
In file included from conftest.c:50:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/types.h:109:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/sys/_types/_gid_t.h:31:25:
error: cannot combine with previous 'type-name' declaration specifier
typedef __darwin_gid_t gid_t;
^
conftest.c:28:15: note: expanded from macro 'gid_t'
#define gid_t int
^
2 errors generated.
}}}
is caused by the preceding failure to find `uid_t`:
{{{
configure:5241: checking for uid_t in sys/types.h
./configure: line 5252: -I/opt/local/include: No such file or directory
configure:5262: result: no
}}}
but that doesn't give us any clues about why it can't find `uid_t`. This
is a pretty basic check. It should not fail.
I see the same problem on my macOS 10.15.7 machine with Xcode 12.4.
But we show successful build on our macOS 11 and earlier build machines as
recently as 2020-12-25. I wonder what changed since then.
--
Ticket URL: <https://trac.macports.org/ticket/64874#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list