[MacPorts] #70812: ossp_uuid +universal won't build under Sequoia
MacPorts
noreply at macports.org
Thu Sep 19 18:37:07 UTC 2024
#70812: ossp_uuid +universal won't build under Sequoia
-----------------------------+-----------------------
Reporter: BarneyStratford | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Keywords: | Port: ossp_uuid
-----------------------------+-----------------------
The arm64 part of the universal build runs just fine but the x86_64 part
does not. Under arm64, ./configure correctly detects ac_cv_va_copy=C99.
Under x86_64, the Portfile forces ac_cv_va_copy=yes, which isn't a valid
value for the configure script to use. Without forcing ac_cv_va_copy=yes,
./configure correctly detects ac_cv_va_copy=C99 under x86_64 as well and
the build runs to completion.
The relevant part of main.log reads:
{{{
:info:build libtool: compile: /usr/bin/clang -I. -I. -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
-DHAVE_CONFIG_H -Os -arch x86_64
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -pipe -c
uuid_str.c -fno-common -DPIC -o .libs/uuid_str.o
:info:build uuid_str.c:699:5: error: call to undeclared function
'__VA_COPY_USE_yes'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
:info:build 699 | va_copy(ap_tmp, ap);
:info:build | ^
:info:build ./config.h:212:23: note: expanded from macro 'va_copy'
:info:build 212 | #define va_copy(d, s) __VA_COPY_USE(d, s)
:info:build | ^
:info:build ./config.h:217:23: note: expanded from macro '__VA_COPY_USE'
:info:build 217 | #define __VA_COPY_USE __VA_COPY_USE_yes
:info:build | ^
:info:build uuid_str.c:738:9: error: call to undeclared function
'__VA_COPY_USE_yes'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
:info:build 738 | va_copy(ap_tmp, ap);
:info:build | ^
:info:build ./config.h:212:23: note: expanded from macro 'va_copy'
:info:build 212 | #define va_copy(d, s) __VA_COPY_USE(d, s)
:info:build | ^
:info:build ./config.h:217:23: note: expanded from macro '__VA_COPY_USE'
:info:build 217 | #define __VA_COPY_USE __VA_COPY_USE_yes
:info:build | ^
:info:build 2 errors generated.
}}}
I'll attach both config.log files.
--
Ticket URL: <https://trac.macports.org/ticket/70812>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list