[MacPorts] #66980: lldb-9.0 @9.0.2: Error: Macro '__STDC_LIMIT_MACROS' redefined (was: lldb-9.0 fails to build)
MacPorts
noreply at macports.org
Wed Feb 22 08:26:30 UTC 2023
#66980: lldb-9.0 @9.0.2: Error: Macro '__STDC_LIMIT_MACROS' redefined
-------------------------+------------------------------
Reporter: clintolsen | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: monterey ventura
Port: lldb-9.0 |
-------------------------+------------------------------
Changes (by ryandesign):
* keywords: monterey => monterey ventura
Comment:
The error in the log is:
{{{
:info:build ERROR:root:swig failed with error code 1: stdout=,
stderr=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/lldb-9.0/work/llvm-9.0.1.src/tools/lldb/scripts/lldb.swig:182:
Error: Macro '__STDC_LIMIT_MACROS' redefined,
:info:build :1: Error: previous definition of '__STDC_LIMIT_MACROS'.
:info:build ERROR:root:command line:
:info:build /opt/local/bin/swig -c++ -shadow -python -threads
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/lldb-9.0/work/llvm-9.0.1.src/tools/lldb/include
-I. -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -outdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/lldb-9.0/work/build/tools/lldb/scripts
-o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/lldb-9.0/work/build/tools/lldb/scripts/LLDBWrapPython.cpp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/lldb-9.0/work/llvm-9.0.1.src/tools/lldb/scripts/lldb.swig
:info:build make[2]: *** [tools/lldb/scripts/LLDBWrapPython.cpp] Error 1
}}}
We see the same problem on our Ventura x86_64 build machine.
Is there a reason why you need a version as old as this? The current
stable version is lldb-15 and it shows successful builds.
--
Ticket URL: <https://trac.macports.org/ticket/66980#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list