MidnightBSD Magus

databases/php71-pgsql

The pgsql shared extension for php

Flavor Version Run OSVersion Arch License Restricted Status
php73 7.1.32 390 1.2 i386 php 0 fail

Events

Machine Type Time Message
m1232 info 2019-10-14 11:59:50.138412 Test Started
m1232 fail 2019-10-14 12:00:42.653947 make build returned non-zero: 1
m1232 fail 2019-10-14 12:00:42.701969 Test complete.

Log

===>  Building for php71-pgsql-7.1.32
/bin/sh /magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql -DPHP_ATOM_INC -I/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/include -I/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/main -I/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql -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  -I/usr/local/include -DHAVE_CONFIG_H  -O2 -pipe -fno-strict-aliasing   -c /magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c -o pgsql.lo
mkdir .libs
 cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql -DPHP_ATOM_INC -I/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/include -I/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/main -I/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql -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 -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c  -fPIC -DPIC -o .libs/pgsql.o
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:926:18: error: expression is not assignable
        GC_REFCOUNT(res)++;
        ~~~~~~~~~~~~~~~~^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:1436:22: error: expression is not assignable
                                GC_REFCOUNT(link)++;
                                ~~~~~~~~~~~~~~~~~^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:2845:8: error: no member named 'initialized' in 'struct _zend_fcall_info_cache'
                        fcc.initialized = 1;
                        ~~~ ^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:5762:2: error: use of undeclared identifier 'pcre'
        pcre *re;
        ^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:5762:8: error: use of undeclared identifier 're'
        pcre *re;
              ^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:5765:16: error: use of undeclared identifier 'PCRE_NO_AUTO_CAPTURE'
        int options = PCRE_NO_AUTO_CAPTURE, res;
                      ^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:5778:14: error: use of undeclared identifier 'PCRE_CASELESS'
                options |= PCRE_CASELESS;
                           ^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:5781:7: error: use of undeclared identifier 're'
        if ((re = pcre_compile(regex, options, &err_msg, &err_offset, NULL)) == NULL) {
             ^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:5781:12: warning: implicit declaration of function 'pcre_compile' is invalid in C99 [-Wimplicit-function-declaration]
        if ((re = pcre_compile(regex, options, &err_msg, &err_offset, NULL)) == NULL) {
                  ^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:5786:8: warning: implicit declaration of function 'pcre_exec' is invalid in C99 [-Wimplicit-function-declaration]
        res = pcre_exec(re, NULL, str, str_len, 0, 0, NULL, 0);
              ^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:5786:18: error: use of undeclared identifier 're'
        res = pcre_exec(re, NULL, str, str_len, 0, 0, NULL, 0);
                        ^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:5787:2: warning: implicit declaration of function 'pcre_free' is invalid in C99 [-Wimplicit-function-declaration]
        pcre_free(re);
        ^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:5787:12: error: use of undeclared identifier 're'
        pcre_free(re);
                  ^
/magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql/pgsql.c:5789:13: error: use of undeclared identifier 'PCRE_ERROR_NOMATCH'
        if (res == PCRE_ERROR_NOMATCH) {
                   ^
3 warnings and 11 errors generated.
*** [pgsql.lo] Error code 1

make[1]: stopped in /magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql
1 error

make[1]: stopped in /magus/work/usr/mports/databases/php71-pgsql/work-php73/php-7.1.32/ext/pgsql
===> 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 /usr/mports/databases/php71-pgsql

Links

Depends On

Depend Of

Nothing

Categories