Opened 23 months ago
Closed 23 months ago
#66553 closed defect (duplicate)
nethack: error: too few arguments provided to function-like macro invocation
Reported by: | asgalon | Owned by: | jflude |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | ventura | Cc: | Nax (Maxime Bacoux) |
Port: | nethack |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Build error on port reinstall procedure after upgrade from Monterey to Ventura:
:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk' :info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_nethack/nethack/work/nethack-3.6.6" && /usr/bin/make -j1 -w all CC=/usr/bin/clang CXX=/usr/bin/clang++ CPP=/usr/bin/cpp :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_nethack/nethack/work/nethack-3.6.6" && /usr/bin/make -j1 -w all CC=/usr/bin/clang CXX=/usr/bin/clang++ CPP=/usr/bin/cpp :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_nethack/nethack/work/NetHack-NetHack-3.6.6_Released' :info:build ( cd src ; /Library/Developer/CommandLineTools/usr/bin/make ) :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_nethack/nethack/work/NetHack-NetHack-3.6.6_Released/src' :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 ^ :info:build 1 error generated. :info:build make[1]: *** [monst.o] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_nethack/nethack/work/NetHack-NetHack-3.6.6_Released/src' :info:build make: *** [nethack] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_nethack/nethack/work/NetHack-NetHack-3.6.6_Released' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_nethack/nethack/work/nethack-3.6.6" && /usr/bin/make -j1 -w all CC=/usr/bin/clang CXX=/usr/bin/clang++ CPP=/usr/bin/cpp :info:build Exit code: 2 :error:build Failed to build nethack: command execution failed :debug:build Error code: CHILDSTATUS 99249 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_nethack/nethack/main.log for details.
Información del hardware: Nombre del modelo: MacBook Air Identificador del modelo: Mac14,2 Número de modelo: MLY03Y/A Chip: Apple M2 Cantidad total de núcleos: 8 (4 de rendimiento y 4 de eficiencia) Memoria: 8 GB Versión del firmware del sistema: 8419.41.10 Versión del cargador del sistema operativo: 8419.41.10
Change History (2)
comment:1 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | Nax added |
---|---|
Description: | modified (diff) |
Keywords: | ventura added |
Owner: | set to jflude |
Status: | new → assigned |
Summary: | nethack build error on macos ventura/arm M2 → nethack: error: too few arguments provided to function-like macro invocation |
comment:2 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Duplicate of #66092.