[MacPorts] #69469: rizin fails to build on 10.12 and below: error: too many arguments provided to function-like macro invocation; error: use of undeclared identifier 'POSIX_SPAWN_CLOEXEC_DEFAULT'

MacPorts noreply at macports.org
Wed Mar 13 16:16:09 UTC 2024


#69469: rizin fails to build on 10.12 and below: error: too many arguments provided
to function-like macro invocation; error: use of undeclared identifier
'POSIX_SPAWN_CLOEXEC_DEFAULT'
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  l2dy
  barracuda156           |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.9.1
Resolution:              |   Keywords:  sierra, elcapitan, yosemite,
                         |  mavericks, mountainlion, lion, snowleopard,
      Port:  rizin       |  leopard, tiger
-------------------------+-------------------------------------------------

Comment (by barracuda156):

 UPD. On 10.6 and below with gcc-4.2 fails here:
 {{{
 FAILED: librz/io/librz_io.0.7.dylib.p/p_io_zip.c.o
 /usr/bin/gcc-4.2 -Ilibrz/io/librz_io.0.7.dylib.p -I. -I../rizin-v0.7.2
 -Ilibrz -I../rizin-v0.7.2/librz -Ilibrz/include
 -I../rizin-v0.7.2/librz/include
 -I../rizin-v0.7.2/subprojects/rzgdb/include
 -I../rizin-v0.7.2/subprojects/rzgdb/include/gdbclient
 -I../rizin-v0.7.2/subprojects/rzgdb/include/gdbserver
 -Isubprojects/rzwinkd -I../rizin-v0.7.2/subprojects/rzwinkd
 -Isubprojects/rzar -I../rizin-v0.7.2/subprojects/rzar -Ilibrz/util/sdb/src
 -I../rizin-v0.7.2/librz/util/sdb/src
 -I../rizin-v0.7.2/subprojects/rzqnx/include
 -I/opt/local/libexec/openssl3/include -Wall -Winvalid-pch -O2 -g
 -DRZ_PLUGIN_INCORE=1 -DUSE_SYS_CAPSTONE --std=gnu99 -fvisibility=hidden
 -pipe -Os -arch ppc -MD -MQ librz/io/librz_io.0.7.dylib.p/p_io_zip.c.o -MF
 librz/io/librz_io.0.7.dylib.p/p_io_zip.c.o.d -o
 librz/io/librz_io.0.7.dylib.p/p_io_zip.c.o -c
 ../rizin-v0.7.2/librz/io/p/io_zip.c
 In file included from ../rizin-v0.7.2/librz/io/p/io_zip.c:9:
 /opt/local/include/zip.h:378: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:380: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:381: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:382: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:383: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:384: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:385: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:386: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:387: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:388: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:389: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:390: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:391: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 /opt/local/include/zip.h:392: error: wrong number of arguments specified
 for ‘deprecated’ attribute
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69469#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list