[MacPorts] #66092: nethack: build failure on macOS 13

MacPorts noreply at macports.org
Fri Oct 28 09:11:23 UTC 2022


#66092: nethack: build failure on macOS 13
--------------------------+---------------------
 Reporter:  ShadSterling  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.0
 Keywords:  ventura       |       Port:  nethack
--------------------------+---------------------
 Build failed while reinstalling all ports after upgrading to Ventura

 The problem seems to be a conflict with a macro defined in the SDK
 {{{
 :info:build /usr/bin/clang -Wall -Wextra -Wno-missing-field-initializers
 -Wimplicit -Wreturn-type -Wunused -Wformat -Wswitch -Wshadow -Wwrite-
 strings -DGCC_WARN -ansi -pedantic -Wno-long-long -O2 -I../include
 -DNOMAIL -DNOTPARMDECL -DHACKDIR=\"/opt/local/var/games/nethack\"
 -DDEFAULT_WINDOW_SYS=\"tty\" -DDLB -DGREPPATH=\"/usr/bin/grep\" -DSYSCF
 -DSYSCF_FILE=\"/opt/local/var/games/nethack/sysconf\" -DSECURE -c monst.c
 :info:build In file included from monst.c:6:
 :info:build In file included from ../include/config.h:581:
 :info:build In file included from ../include/global.h:9:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/stdio.h:64:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/_stdio.h:68:
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/cdefs.h:309:39:
 error: too few arguments provided to function-like macro invocation
 :info:build #if __has_attribute(warn_unused_result)
 :info:build                                       ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66092>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list