[MacPorts] #65885: wesnoth @1.16.6 +debug: linking error: udefined symbols for architecture x86_64
MacPorts
noreply at macports.org
Fri Sep 23 10:01:54 UTC 2022
#65885: wesnoth @1.16.6 +debug: linking error: udefined symbols for architecture
x86_64
--------------------------+--------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: wesnoth |
--------------------------+--------------------
Comment (by ryandesign):
Hmm, we built this version of this port successfully on all systems 10.7
and later on the buildbot on September 8, however we did not use the
+debug variant so we were compiling with `-NDEBUG` (however the Portfile
contains the comment `# src/global.hpp:28:2: error: "Compilation with
NDEBUG defined isn't supported, Wesnoth depends on asserts."` and adds
`-UNDEBUG` to `CPPFLAGS` to counteract it) while you are using the +debug
variant so you are compiling with `-g -fno-limit-debug-info -DDEBUG`.
--
Ticket URL: <https://trac.macports.org/ticket/65885#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list