Closed WilbertNL closed 4 years ago
Update: I've deleted all datasets en nextcloud's iocage. I also made a modification to the script to add "ALLOW_UNSUPPORTED_SYSTEM=yes" to make.conf. Then I restarted the installation.
The result is still the same. When I connect using FQDN via HTTP, it redirects to HTTPS (so that works) but shows "502 Bad Gateway".
Please find the output of the unsupported, EOL, install and the 'nextcloud_acces.log', 'nextcloud_errors.log' and 'php-fpm.log' below.
php_fpm_enable: -> YES
===> Cleaning for php73-pecl-redis-5.0.2 ===> Cleaning for php71-pecl-redis-5.0.2 ===> Cleaning for php72-pecl-redis-5.0.2 ===> Cleaning for php74-pecl-redis-5.0.2 /!\ WARNING /!\ Ports Collection support for your FreeBSD version has ended, and no ports are guaranteed to build on this system. Please upgrade to a supported release. ===> License PHP301 accepted by the user ===> php73-pecl-redis-5.0.2 depends on file: /usr/local/sbin/pkg - found => redis-5.0.2.tgz doesn't seem to exist in /usr/ports/distfiles/PECL. => Attempting to fetch https://pecl.php.net/get/redis-5.0.2.tgz redis-5.0.2.tgz 100% of 237 kB 463 kBps 00m01s ===> Fetching all distfiles required by php73-pecl-redis-5.0.2 for building ===> Extracting for php73-pecl-redis-5.0.2 => SHA256 Checksum OK for PECL/redis-5.0.2.tgz. ===> Patching for php73-pecl-redis-5.0.2 ===> php73-pecl-redis-5.0.2 depends on file: /usr/local/bin/phpize - found ===> php73-pecl-redis-5.0.2 depends on package: autoconf>0 - found ===> php73-pecl-redis-5.0.2 depends on file: /usr/local/lib/php/20180731/hash.so - found ===> php73-pecl-redis-5.0.2 depends on file: /usr/local/lib/php/20180731/json.so - found ===> php73-pecl-redis-5.0.2 depends on file: /usr/local/lib/php/20180731/session.so - found ===> PHPizing for php73-pecl-redis-5.0.2 ===> Configuring for php73-pecl-redis-5.0.2 Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 configure: loading site script /usr/ports/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... /usr/bin/sed 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 whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... amd64-portbld-freebsd11.2 checking host system type... amd64-portbld-freebsd11.2 checking target system type... amd64-portbld-freebsd11.2 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/20180731 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... (cached) /usr/bin/awk checking if /usr/bin/awk is broken... no checking whether to enable redis support... yes, shared checking whether to disable sessions... yes checking whether to disable json serializer support... yes checking whether to enable igbinary serializer support... no checking whether to enable msgpack serializer support... no checking whether to enable lzf compression... no checking use system liblzf... no checking for json includes... /usr/local/include/php checking for redis json support... enabled checking for redis igbinary support... disabled checking for git... no 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 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 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... yes 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... freebsd11.2 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no 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... freebsd11.2 ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: creating ./config.status config.status: creating config.h ===> Building for php73-pecl-redis-5.0.2 --- redis.lo --- --- redis_commands.lo --- --- library.lo --- --- redis_session.lo --- --- redis.lo --- /bin/sh /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/libtool --mode=compile cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis.c -o redis.lo --- redis_commands.lo --- /bin/sh /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/libtool --mode=compile cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis_commands.c -o redis_commands.lo --- redis_session.lo --- /bin/sh /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/libtool --mode=compile cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis_session.c -o redis_session.lo --- library.lo --- /bin/sh /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/libtool --mode=compile cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/library.c -o library.lo --- redis.lo --- mkdir .libs --- redis_commands.lo --- mkdir .libs --- redis.lo --- mkdir: .libs: File exists --- redis_commands.lo --- cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC-I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis_commands.c -fPIC -DPIC -o .libs/redis_commands.o --- redis.lo --- cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC-I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis.c -fPIC -DPIC -o .libs/redis.o --- library.lo --- cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC-I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/library.c -fPIC -DPIC -o .libs/library.o --- redis_session.lo --- cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC-I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis_session.c -fPIC -DPIC -o .libs/redis_session.o --- redis_array.lo --- /bin/sh /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/libtool --mode=compile cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis_array.c -o redis_array.lo cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC-I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis_array.c -fPIC -DPIC -o .libs/redis_array.o --- redis_array_impl.lo --- /bin/sh /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/libtool --mode=compile cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis_array_impl.c -o redis_array_impl.lo cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC-I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis_array_impl.c -fPIC -DPIC -o.libs/redis_array_impl.o --- redis_cluster.lo --- /bin/sh /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/libtool --mode=compile cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis_cluster.c -o redis_cluster.lo cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC-I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/redis_cluster.c -fPIC -DPIC -o .libs/redis_cluster.o --- cluster_library.lo --- /bin/sh /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/libtool --mode=compile cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/cluster_library.c -o cluster_library.lo cc -I. -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -DPHP_ATOM_INC-I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/cluster_library.c -fPIC -DPIC -o .libs/cluster_library.o --- ./redis.la --- /bin/sh /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/libtool --mode=link cc -DPHP_ATOM_INC -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/include -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/main -I/usr/ports/databases/pecl-redis/work-php73/redis-5.0.2 -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/php/ext -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o ./redis.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/modules redis.lo redis_commands.lo library.lo redis_session.lo redis_array.lo redis_array_impl.lo redis_cluster.lo cluster_library.lo cc -shared .libs/redis.o .libs/redis_commands.o .libs/library.o .libs/redis_session.o .libs/redis_array.o .libs/redis_array_impl.o .libs/redis_cluster.o .libs/cluster_library.o -Wl,-soname -Wl,redis.so -o ./.libs/redis.so creating ./redis.la (cd ./.libs && rm -f redis.la && ln -s ../redis.la redis.la) --- /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/modules/redis.la --- /bin/sh /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/libtool --mode=install cp ./redis.la /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/modules cp ./.libs/redis.so /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/modules/redis.so cp ./.libs/redis.lai /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/modules/redis.la ---------------------------------------------------------------------- Libraries have been installed in: /usr/ports/databases/pecl-redis/work-php73/redis-5.0.2/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- --- all --- Build complete. Don't forget to run 'make test'. ===> Staging for php73-pecl-redis-5.0.2 ===> php73-pecl-redis-5.0.2 depends on file: /usr/local/include/php/main/php.h - found ===> php73-pecl-redis-5.0.2 depends on file: /usr/local/lib/php/20180731/hash.so - found ===> php73-pecl-redis-5.0.2 depends on file: /usr/local/lib/php/20180731/json.so - found ===> php73-pecl-redis-5.0.2 depends on file: /usr/local/lib/php/20180731/session.so - found ===> Generating temporary packing list ====> Compressing man pages (compress-man) ===> Installing for php73-pecl-redis-5.0.2 ===> Checking if php73-pecl-redis is already installed ===> Registering installation for php73-pecl-redis-5.0.2 [nextcloud] Installing php73-pecl-redis-5.0.2... This file has been added to automatically load the installed extension: /usr/local/etc/php/ext-30-redis.ini ===> Cleaning for php73-pecl-APCu-5.1.18 ===> Cleaning for php71-pecl-APCu-5.1.18 ===> Cleaning for php72-pecl-APCu-5.1.18 /!\ WARNING /!\ Ports Collection support for your FreeBSD version has ended, and no ports are guaranteed to build on this system. Please upgrade to a supported release. ===> License PHP301 accepted by the user ===> php73-pecl-APCu-5.1.18 depends on file: /usr/local/sbin/pkg - found => apcu-5.1.18.tgz doesn't seem to exist in /usr/ports/distfiles/PECL. => Attempting to fetch https://pecl.php.net/get/apcu-5.1.18.tgz apcu-5.1.18.tgz 100% of 92 kB 428 kBps 00m00s ===> Fetching all distfiles required by php73-pecl-APCu-5.1.18 for building ===> Extracting for php73-pecl-APCu-5.1.18 => SHA256 Checksum OK for PECL/apcu-5.1.18.tgz. ===> Patching for php73-pecl-APCu-5.1.18 ===> php73-pecl-APCu-5.1.18 depends on file: /usr/local/bin/phpize - found ===> php73-pecl-APCu-5.1.18 depends on package: autoconf>0 - found ===> PHPizing for php73-pecl-APCu-5.1.18 ===> Configuring for php73-pecl-APCu-5.1.18 Configuring for: PHP Api Version: 20180731 Zend Module Api No: 20180731 Zend Extension Api No: 320180731 configure: loading site script /usr/ports/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... /usr/bin/sed 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 whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... amd64-portbld-freebsd11.2 checking host system type... amd64-portbld-freebsd11.2 checking target system type... amd64-portbld-freebsd11.2 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/20180731 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... (cached) /usr/bin/awk checking if /usr/bin/awk is broken... no checking whether to enable APCu support... yes, shared checking if APCu should be allowed to use rwlocks... yes checking if APCu should be built in debug mode... no checking if APCu should clear on SIGUSR1... no checking if APCu will use mmap (or shm)... yes checking if APCu should utilize spinlocks before flocks... no checking whether the target compiler supports builtin atomics... yes checking for pthread rwlocks... yes checking for pthread mutexes... yes checking for sigaction... (cached) yes checking for union semun... yes 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 valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for shm_open in -lrt... yes checking whether to include code coverage symbols... no 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 checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for dlfcn.h... (cached) yes checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm 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... yes 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... freebsd11.2 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no 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... freebsd11.2 ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: creating ./config.status config.status: creating config.h ===> Building for php73-pecl-APCu-5.1.18 --- apc.lo --- --- apc_lock.lo --- --- apc_mutex.lo --- --- php_apc.lo --- --- apc.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc.c -o apc.lo --- apc_lock.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_lock.c -o apc_lock.lo --- php_apc.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/php_apc.c -o php_apc.lo --- apc_mutex.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_mutex.c -o apc_mutex.lo --- php_apc.lo --- mkdir .libs cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/php_apc.c -fPIC -DPIC -o .libs/php_apc.o --- apc_mutex.lo --- cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_mutex.c -fPIC -DPIC -o .libs/apc_mutex.o --- apc_lock.lo --- cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_lock.c -fPIC -DPIC -o .libs/apc_lock.o --- apc.lo --- cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc.c -fPIC -DPIC -o .libs/apc.o --- apc_cache.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_cache.c -o apc_cache.lo --- apc_mmap.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_mmap.c -o apc_mmap.lo --- apc_shm.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_shm.c -o apc_shm.lo --- apc_mmap.lo --- cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_mmap.c -fPIC -DPIC -o .libs/apc_mmap.o --- apc_cache.lo --- cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_cache.c -fPIC -DPIC -o .libs/apc_cache.o --- apc_shm.lo --- cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_shm.c -fPIC -DPIC -o .libs/apc_shm.o --- apc_sma.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_sma.c -o apc_sma.lo cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_sma.c -fPIC -DPIC -o .libs/apc_sma.o --- apc_shm.lo --- /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_shm.c:56:235: warning: format specifies type 'int' but the argument has type 'key_t' (aka 'long') [-Wformat] zend_error_noreturn(E_CORE_ERROR, "apc_shm_create: shmget(%d, %zd, %d) failed: %s. It is possible that the chosen SHM segment size is higher than the operation system allows. Linux has usually a default limit of 32MB per segment.", key, size, oflag, strerror(errno)); ~~ ^~~ %ld --- apc_stack.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_stack.c -o apc_stack.lo --- apc_shm.lo --- 1 warning generated. --- apc_signal.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_signal.c -o apc_signal.lo --- apc_stack.lo --- cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_stack.c -fPIC -DPIC -o .libs/apc_stack.o --- apc_signal.lo --- cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_signal.c -fPIC -DPIC -o .libs/apc_signal.o --- apc_iterator.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_iterator.c -o apc_iterator.lo --- apc_persist.lo --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_persist.c -o apc_persist.lo --- apc_iterator.lo --- cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_iterator.c -fPIC -DPIC -o .libs/apc_iterator.o --- apc_persist.lo --- cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc_persist.c -fPIC -DPIC -o .libs/apc_persist.o --- ./apcu.la --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=link cc -DPHP_ATOM_INC -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/include -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/main -I/usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18 -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -o ./apcu.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/modules apc.lo apc_lock.lo apc_mutex.lo php_apc.lo apc_cache.lo apc_mmap.lo apc_shm.lo apc_sma.lo apc_stack.lo apc_signal.lo apc_iterator.lo apc_persist.lo -lrt cc -shared .libs/apc.o .libs/apc_lock.o .libs/apc_mutex.o .libs/php_apc.o .libs/apc_cache.o .libs/apc_mmap.o .libs/apc_shm.o .libs/apc_sma.o .libs/apc_stack.o.libs/apc_signal.o .libs/apc_iterator.o .libs/apc_persist.o -lrt -Wl,-soname -Wl,apcu.so -o ./.libs/apcu.so creating ./apcu.la (cd ./.libs && rm -f apcu.la && ln -s ../apcu.la apcu.la) --- /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/modules/apcu.la --- /bin/sh /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/libtool --mode=install cp ./apcu.la /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/modules cp ./.libs/apcu.so /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/modules/apcu.so cp ./.libs/apcu.lai /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/modules/apcu.la ---------------------------------------------------------------------- Libraries have been installed in: /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- --- all --- Build complete. Don't forget to run 'make test'. ===> Staging for php73-pecl-APCu-5.1.18 ===> php73-pecl-APCu-5.1.18 depends on file: /usr/local/include/php/main/php.h - found ===> Generating temporary packing list /bin/mkdir -p /usr/ports/devel/pecl-APCu/work-php73/stage/usr/local/share/APCu install -m 0644 /usr/ports/devel/pecl-APCu/work-php73/apcu-5.1.18/apc.php /usr/ports/devel/pecl-APCu/work-php73/stage/usr/local/share/APCu ====> Compressing man pages (compress-man) ===> Installing for php73-pecl-APCu-5.1.18 ===> Checking if php73-pecl-APCu is already installed ===> Registering installation for php73-pecl-APCu-5.1.18 [nextcloud] Installing php73-pecl-APCu-5.1.18... This file has been added to automatically load the installed extension: /usr/local/etc/php/ext-20-apcu.ini Copying Caddyfile for Let's Encrypt cert caddy_enable: -> YES caddy_cert_email: -> xxx@xxx.xx caddy_env: -> * Stopping nextcloud + Running prestop OK + Stopping services OK + Tearing down VNET OK + Removing devfs_ruleset: 5 OK + Removing jail process OK + Running poststop OK * Starting nextcloud + Started OK + Configuring VNET OK + Starting services OK Nextcloud was successfully installed
Check logs:
root@nextcloud:~ # cat /var/log/nextcloud.log root@nextcloud:~ # cat /var/log/nextcloud_access.log 192.168.77.155 - - [07/Nov/2019:08:06:14 +0100] "GET / HTTP/2.0" 502 16 192.168.77.155 - - [07/Nov/2019:08:06:14 +0100] "GET /favicon.ico HTTP/2.0" 50216 root@nextcloud:~ # cat /var/log/nextcloud_errors.log 07/Nov/2019:08:06:14 +0100 [ERROR 502 /index.php/] dial tcp 127.0.0.1:9000: connect: connection refused 07/Nov/2019:08:06:14 +0100 [ERROR 502 /index.php/favicon.ico] dial tcp 127.0.0.1:9000: connect: connection refused root@nextcloud:~ # cat /var/log/php-fpm.log [07-Nov-2019 01:17:41] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful [07-Nov-2019 01:17:42] ERROR: no data have been read from pipe
Please let me know if I can provide you with anymore information.
An update:
I retried the exact same installation- and configuration procedure, but with Freenas 11.3-BETA1. This resulted ootb in a working installation of Nextcloud, without installation/configuration errors. I was able to connect and login to Nextcloud. Further testing of installation pending, but the installation script appears to work just fine with the beta-release.
An update:
I retried the exact same installation- and configuration procedure, but with Freenas 11.3-BETA1. This resulted ootb in a working installation of Nextcloud, without installation/configuration errors. I was able to connect and login to Nextcloud. Further testing of installation pending, but the installation script appears to work just fine with the beta-release.
Hi Wilbert
I have the same problem and according to Dan (answered in the FreeNAS forum it is caused by the FreeBSD version which the last 11.2 release is based on is ALREADY EOL. This is probably not the case for 11.3 Beta. Theree are ways around this and Dan told me he needed some time to update the script.
Just thought I should let you know!
Rgrds .../O
Hi elogreb, Thanks, I did see this forum later on and I tried the suggested
Inside the jail, can you do
pkg install php73-pecl-redis
andpkg install php73-pecl-APCu
?
but to no avail; ended up with the same results with regards to connectivity.
Since mentioned forum covers a slew of issues, and kinda got "hijiacked" with the most recent post, I figured I'd continue adding information regarding this issue in this thread :-)
Same issue here, also on 11.2U6. Will try upgrading to the Beta today, and see if that fixes it!
I've made a commit to the script that enables ALLOW_UNSUPPORTED_SYSTEM for the ports that need to be built, so this should work again on 11.2-U6.
Nice! Now I have to figure out a way to test it since I kinda continued with the 11.3 BETA set-up... I'll report back as soon as I have a chance to test it.
I'd really like to make my test-system available again, but I'm encountering some issues with my production server. Therefore I can't free up my test-system just yet. If your interested, you can check my post here.
As soon as that is figured out, I'll return to this. Thanks for your patience!
Hi.
I have testet the script today on 11.2-U6 and it's working.
Thank you Dan
Although my VLAN issue is not yet resolved (if you by any chance have any insights.....?), I was able to test your script and I too can confirm that it works.
Great job, thanks!
VLANs are not working for me in 11.3 either.
I just added another NIC and asked the switch to put the vlan untagged on that NIC. That solves some things.
VLANS en FreeNAS, "'da gaat 'em nie worden nie"
@WilbertNL Lookup Lawrence Systems on youtube, he just made a guide some time ago how to setup vlans.
As this script is not 11.2 compatible anymore, please close your issue or @danb35 please close it for him.
Hi Danb35, Thanks for you efforts in creating this script!
I was trying to get Nextcloud installed using your script on a brand-new, clean installed, Freenas 11.2U6. I've retried installing everything from scratch a couple of times, pulling my hair out wondering why it wasn't working. I was never able to connect to the WebUI of Nextcloud. Then I reviewed the complete installation output and noticed:
'make' stops... that can't be good right?
Could this be the culprit for me not being able to connect to the UI neither using FQDN (HTTP/HTTPS) nor IP? I'm able to ping the jail on both FQDN and IP. When I stop the jail, the pings stop. Caddy seems to start when using 'service caddy start', but php-pfm throws errors like:
It feels to me like the installation is partially broken, even though it just finished installing and I didn't even get the chance to break it yet...
Any insights would be greatly appreciated!