------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/pcre2-10.35.txz Installing /packages/All/libargon2-20190702.txz Installing /packages/All/libxml2-2.9.10_1.txz Installing /packages/All/php80-8.0.0.r2_1.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/m4-1.4.18_1,1.txz Installing /packages/All/autoconf-wrapper-20131203.txz Installing /packages/All/perl5-5.32.0.txz Installing /packages/All/autoconf-2.69_3.txz Installing /packages/All/libinotify-20180201_2.txz ===== Message from libinotify-20180201_2: -- Libinotify functionality on FreeBSD is missing support for - detecting a file being moved into or out of a directory within the same filesystem - certain modifications to a symbolic link (rather than the file it points to.) in addition to the known limitations on all platforms using kqueue(2) where various open and close notifications are unimplemented. This means the following regression tests will fail: Directory notifications: IN_MOVED_FROM IN_MOVED_TO Open/close notifications: IN_OPEN IN_CLOSE_NOWRITE IN_CLOSE_WRITE Symbolic Link notifications: IN_DONT_FOLLOW IN_ATTRIB IN_MOVE_SELF IN_DELETE_SELF Kernel patches to address the missing directory and symbolic link notifications are available from: https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. SUCCEEDED 00:00:11 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> php80-pecl-inotify-2.0.0 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> php80-pecl-inotify-2.0.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-inotify-2.0.0 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> php80-pecl-inotify-2.0.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-inotify-2.0.0 for building => SHA256 Checksum OK for PECL/inotify-2.0.0.tgz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> php80-pecl-inotify-2.0.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php80-pecl-inotify-2.0.0 for building ===> Extracting for php80-pecl-inotify-2.0.0 => SHA256 Checksum OK for PECL/inotify-2.0.0.tgz. Extracted Memory Use: 0.05M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for php80-pecl-inotify-2.0.0 ===> Applying ports patches for php80-pecl-inotify-2.0.0 from /xports/devel/pecl-inotify/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> php80-pecl-inotify-2.0.0 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-inotify-2.0.0 depends on package: autoconf>0 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> php80-pecl-inotify-2.0.0 depends on shared library: libinotify.so - found (/usr/local/lib/libinotify.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> php80-pecl-inotify-2.0.0 depends on file: /usr/local/bin/phpize - found ===> php80-pecl-inotify-2.0.0 depends on package: autoconf>0 - found ===> php80-pecl-inotify-2.0.0 depends on shared library: libinotify.so - found (/usr/local/lib/libinotify.so) ===> PHPizing for php80-pecl-inotify-2.0.0 ===> Configuring for php80-pecl-inotify-2.0.0 Configuring for: PHP Api Version: 20200930 Zend Module Api No: 20200930 Zend Extension Api No: 420200930 configure: loading site script /xports/Templates/config.site checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for pkg-config... no checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... yes checking build system type... x86_64-portbld-dragonfly5.9 checking host system type... x86_64-portbld-dragonfly5.9 checking target system type... x86_64-portbld-dragonfly5.9 checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/20200930 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... (cached) /usr/bin/awk checking if /usr/bin/awk is broken... no checking whether to enable inotify support... yes, shared checking for libinotify headers in default path... found in /usr/local checking for inotify_init in -linotify... yes checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly5.9 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... checking if c++ static flag works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... dragonfly5.9 ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: patching config.h.in configure: creating ./config.status config.status: creating config.h SUCCEEDED 00:00:08 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for php80-pecl-inotify-2.0.0 --- inotify.lo --- /bin/sh /construction/devel/pecl-inotify/inotify-2.0.0/libtool --mode=compile cc -I. -I/construction/devel/pecl-inotify/inotify-2.0.0 -I/construction/devel/pecl-inotify/inotify-2.0.0/include -I/construction/devel/pecl-inotify/inotify-2.0.0/main -I/construction/devel/pecl-inotify/inotify-2.0.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c -o inotify.lo mkdir .libs cc -I. -I/construction/devel/pecl-inotify/inotify-2.0.0 -I/construction/devel/pecl-inotify/inotify-2.0.0/include -I/construction/devel/pecl-inotify/inotify-2.0.0/main -I/construction/devel/pecl-inotify/inotify-2.0.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -pipe -O2 -fno-strict-aliasing -c /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c -fPIC -DPIC -o .libs/inotify.o /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:152:47: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int php_inotify_queue_len(const int fd TSRMLS_DC) /* {{{ */ ^~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c: In function 'zif_inotify_init': /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:176:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(INIT,EMFILE); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:176:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(INIT,EMFILE); ^~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:177:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(INIT,ENFILE); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:177:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(INIT,ENFILE); ^~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:178:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(INIT,ENOMEM); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:178:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(INIT,ENOMEM); ^~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:80:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:179:4: note: in expansion of macro 'INOTIFY_DEFAULT_ERROR' INOTIFY_DEFAULT_ERROR(errno); ^~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:80:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:179:4: note: in expansion of macro 'INOTIFY_DEFAULT_ERROR' INOTIFY_DEFAULT_ERROR(errno); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c: In function 'zif_inotify_add_watch': /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:202:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsl", &zstream, &pathname, &pathname_len, &mask) == FAILURE) { ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:202:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsl", &zstream, &pathname, &pathname_len, &mask) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:206:37: error: expected ')' before 'TSRMLS_CC' if (php_check_open_basedir(pathname TSRMLS_CC)) { ^~~~~~~~~~ ) In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:217:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(ADD_WATCH,EACCES); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:217:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(ADD_WATCH,EACCES); ^~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:218:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(ADD_WATCH,EBADF); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:218:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(ADD_WATCH,EBADF); ^~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:219:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(ADD_WATCH,EINVAL); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:219:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(ADD_WATCH,EINVAL); ^~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:220:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(ADD_WATCH,ENOMEM); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:220:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(ADD_WATCH,ENOMEM); ^~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:221:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(ADD_WATCH,ENOSPC); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:221:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(ADD_WATCH,ENOSPC); ^~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:80:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:222:4: note: in expansion of macro 'INOTIFY_DEFAULT_ERROR' INOTIFY_DEFAULT_ERROR(errno); ^~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:80:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:222:4: note: in expansion of macro 'INOTIFY_DEFAULT_ERROR' INOTIFY_DEFAULT_ERROR(errno); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c: In function 'zif_inotify_rm_watch': /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:240:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &zstream, &wd) == FAILURE) { ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:240:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &zstream, &wd) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:249:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(RM_WATCH,EINVAL); ^~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:76:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, INOTIFY_##func##_##errno); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:249:4: note: in expansion of macro 'INOTIFY_ERROR_CASE' INOTIFY_ERROR_CASE(RM_WATCH,EINVAL); ^~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:29: /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:80:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); \ ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:250:4: note: in expansion of macro 'INOTIFY_DEFAULT_ERROR' INOTIFY_DEFAULT_ERROR(errno); ^~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/php_inotify.h:80:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); \ ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:250:4: note: in expansion of macro 'INOTIFY_DEFAULT_ERROR' INOTIFY_DEFAULT_ERROR(errno); ^~~~~~~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c: In function 'zif_inotify_queue_len': /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:268:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &zstream) == FAILURE) { ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:268:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &zstream) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:275:14: warning: implicit declaration of function 'php_inotify_queue_len'; did you mean 'zif_inotify_queue_len'? [-Wimplicit-function-declaration] queue_len = php_inotify_queue_len(fd TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~ zif_inotify_queue_len /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:275:38: error: expected ')' before 'TSRMLS_CC' queue_len = php_inotify_queue_len(fd TSRMLS_CC); ^~~~~~~~~~ ) /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c: In function 'zif_inotify_read': /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:294:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &zstream) == FAILURE) { ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:294:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &zstream) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/php/main/php.h:35, from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:301:50: error: expected ')' before 'TSRMLS_CC' readbuf_size = (double) php_inotify_queue_len(fd TSRMLS_CC) * 1.6; ^~~~~~~~~~ ) /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:318:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); ^~~~~~~~~ /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:318:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno)); ^~~~~~~~~~~~~~~~ In file included from /construction/devel/pecl-inotify/inotify-2.0.0/inotify.c:26: /usr/local/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ *** [inotify.lo] Error code 1 make[1]: stopped in /construction/devel/pecl-inotify/inotify-2.0.0 1 error make[1]: stopped in /construction/devel/pecl-inotify/inotify-2.0.0 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/devel/pecl-inotify FAILED 00:00:00