[MacPorts] #64010: cctools @949.0.1_1+llvm10.darwin_21.x86_64: build failure in print_obj.c
MacPorts
noreply at macports.org
Sat Nov 20 01:33:07 UTC 2021
#64010: cctools @949.0.1_1+llvm10.darwin_21.x86_64: build failure in print_obj.c
--------------------+--------------------
Reporter: jwoehr | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port:
--------------------+--------------------
macOS Monterey version 12.0.1 (21A559)
{{{
:info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -g -Wall
-I./../include -I. -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_
-D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -DEFI_SUPPORT
-I/opt/local/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/../ld64-530/src/abstraction
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/../ld64-530/src/other
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-949.0.1/include
-arch x86_64 -I/opt/local/libexec/llvm-10/include
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c
-o ./print_objc2_64bit.o print_objc2_64bit.c
:info:build print_objc.c:639:21: error: implicit declaration of function
'CLS_GETINFO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build if(verbose && CLS_GETINFO(&objc_class,
CLS_META)){
:info:build ^
:info:build print_objc.c:639:46: error: use of undeclared identifier
'CLS_META'
:info:build if(verbose && CLS_GETINFO(&objc_class,
CLS_META)){
:info:build ^
:info:build print_objc.c:678:32: error: use of undeclared identifier
'CLS_CLASS'
:info:build if(CLS_GETINFO(&objc_class,
CLS_CLASS))
:info:build ^
:info:build print_objc.c:680:37: error: use of undeclared identifier
'CLS_META'
:info:build else if(CLS_GETINFO(&objc_class,
CLS_META))
:info:build ^
:info:build print_objc.c:770:37: error: use of undeclared identifier
'CLS_CLASS'
:info:build if(CLS_GETINFO((&objc_class), CLS_CLASS)){
:info:build ^
:info:build 5 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64010>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list