[MacPorts] #66631: groff fails to configure under universal variant
MacPorts
noreply at macports.org
Thu Jan 5 20:19:29 UTC 2023
#66631: groff fails to configure under universal variant
----------------------------+--------------------
Reporter: MichaelGDev48 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.99
Resolution: | Keywords:
Port: groff |
----------------------------+--------------------
Comment (by ryandesign):
The problems start at:
{{{
checking for working fcntl.h... no
}}}
which fails because:
{{{
In file included from conftest.c:81:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/types.h:81:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/machine/endian.h:35:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/i386/endian.h:101:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_endian.h:130:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libkern/_OSByteOrder.h:80:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libkern/arm/OSByteOrder.h:15:1:
error: redefinition of '_OSSwapInt16'
_OSSwapInt16(
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libkern/i386/_OSByteOrder.h:46:1:
note: previous definition is here
_OSSwapInt16(
^
In file included from conftest.c:81:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/types.h:81:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/machine/endian.h:35:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/i386/endian.h:101:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_endian.h:130:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libkern/_OSByteOrder.h:80:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libkern/arm/OSByteOrder.h:25:1:
error: redefinition of '_OSSwapInt32'
_OSSwapInt32(
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libkern/i386/_OSByteOrder.h:55:1:
note: previous definition is here
_OSSwapInt32(
^
In file included from conftest.c:81:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/types.h:81:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/machine/endian.h:35:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/i386/endian.h:101:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/_endian.h:130:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libkern/_OSByteOrder.h:80:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libkern/arm/OSByteOrder.h:41:1:
error: redefinition of '_OSSwapInt64'
_OSSwapInt64(
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/libkern/i386/_OSByteOrder.h:70:1:
note: previous definition is here
_OSSwapInt64(
^
conftest.c:107:27: warning: address of array 'constants' will always
evaluate to 'true' [-Wpointer-bool-conversion]
int result = !constants;
~^~~~~~~~~
1 warning and 3 errors generated.
}}}
We've seen this in tons of other ports already. See query:summary=~OSSwap
to see a few, and look at the linked tickets in those tickets. Probably a
defect in autoconf or gnulib or something else that goes into the creation
of configure scripts, or alternately a defect in the macOS 11/12/13 SDKs.
Not a defect in groff or the ports that are experiencing this build
failure. We've worked around it in other ports by switching to the
muniversal portgroup (which comes with its own set of difficulties).
--
Ticket URL: <https://trac.macports.org/ticket/66631#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list