D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/iurt/rpmbuild/SRPMS/@2353016:php8.6-apcu-5.1.28-3.mga11.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.so53dv Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.5QP92Z + umask 022 + cd /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build + rm -rf apcu-5.1.28 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/apcu-5.1.28.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd apcu-5.1.28 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/hg init -q . + /usr/bin/hg add -q . + /usr/bin/hg commit -q --user 'rpm-build ' -m 'php8.6-apcu-5.1.28 base' + /usr/bin/hg import - -q -m apcu-4.0.7-default_lock_dir.diff --user 'rpm-build ' + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/apcu-4.0.7-default_lock_dir.diff + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/apcu-4.0.7-default_config.diff + /usr/bin/hg import - -q -m apcu-4.0.7-default_config.diff --user 'rpm-build ' + '[' '../package*.xml' '!=' / ']' + mv ../package.xml . + cp /home/iurt/rpmbuild/SOURCES/apcu.ini 99_apcu.ini + cp /home/iurt/rpmbuild/SOURCES/php-apcu.config.php php-apc.config.php + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.UQo93q + umask 022 + cd /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd apcu-5.1.28 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + phpize Configuring for: PHP Version: 8.6 PHP Api Version: 20260924 Zend Module Api No: 20260924 Zend Extension Api No: 420260924 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./build/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./build/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./build/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./build/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying build/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu shtool:echo:Warning: unable to determine terminal sequence for bold mode shtool:echo:Warning: unable to determine terminal sequence for bold mode checking for gawk... gawk checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for x86_64-mageia-linux-gnu-cc... gcc 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C23 features... none needed checking how to run the C preprocessor... gcc -E checking for egrep -e... (cached) /usr/bin/grep -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -Wl,-rpath,... yes checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib checking for PHP extension directory... /usr/lib64/php/8.6/extensions checking for PHP installed headers prefix... /usr/include/php8.6 checking if debugging is enabled... no checking if PHP is built with thread safety (ZTS)... yes Configuring extension 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 should use mmap instead of shm... yes checking if APCu should utilize spinlocks before flocks... no checking whether to enable Valgrind-based memory checks... yes checking whether to include code coverage symbols... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for valgrind/memcheck.h... no configure: Valgrind-based memory checks are disabled. checking whether the target compiler supports builtin atomics... yes checking for pthread rwlocks... yes checking for pthread mutexes... yes checking for sigaction... yes checking whether the C compiler accepts -Wall... yes checking whether the C compiler accepts -Wextra... yes checking whether the C compiler accepts -Wno-clobbered... yes checking whether the C compiler accepts -Wno-unused-parameter... yes checking for library containing shm_open... none required Configuring libtool checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for gawk... (cached) gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux 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 Generating files configure: creating build directories configure: creating Makefile configure: patching config.h.in configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j24 V=1 VERBOSE=1 /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c -o apc.lo -MMD -MF apc.dep -MT apc.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c -MMD -MF apc.dep -MT apc.lo -fPIC -DPIC -o .libs/apc.o /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c: In function 'apc_error': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:34: error: passing argument 2 of 'php_verror' makes integer from pointer without a cast [-Wint-conversion] 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~ | | | char * /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:48:1: note: in expansion of macro 'APC_PRINT_FUNCTION' 48 | APC_PRINT_FUNCTION(error, E_ERROR) | ^~~~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.h:67, from /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:32: /usr/include/php8.6/main/php.h:302:58: note: expected 'int' but argument is of type 'char *' 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ~~~~^~~~ /usr/include/php8.6/Zend/zend_errors.h:22:41: error: passing argument 3 of 'php_verror' makes pointer from integer without a cast [-Wint-conversion] 22 | #define E_ERROR (1<<0L) | ^~~~~~~ | | | int /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:38: note: in definition of macro 'APC_PRINT_FUNCTION' 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:48:27: note: in expansion of macro 'E_ERROR' 48 | APC_PRINT_FUNCTION(error, E_ERROR) | ^~~~~~~ /usr/include/php8.6/main/php.h:302:76: note: expected 'const char *' but argument is of type 'int' 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ~~~~~~~~~~~~^~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:49: error: passing argument 4 of 'php_verror' from incompatible pointer type [-Wincompatible-pointer-types] 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~~~~~ | | | const char * /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:48:1: note: in expansion of macro 'APC_PRINT_FUNCTION' 48 | APC_PRINT_FUNCTION(error, E_ERROR) | ^~~~~~~~~~~~~~~~~~ /usr/include/php8.6/main/php.h:302:92: note: expected '__va_list_tag *' but argument is of type 'const char *' 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ~~~~~~~~^~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:17: error: too many arguments to function 'php_verror'; expected 4, have 5 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~~~~~~~~~ ~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:48:1: note: in expansion of macro 'APC_PRINT_FUNCTION' 48 | APC_PRINT_FUNCTION(error, E_ERROR) | ^~~~~~~~~~~~~~~~~~ /usr/include/php8.6/main/php.h:302:23: note: declared here 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ^~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c: In function 'apc_warning': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:34: error: passing argument 2 of 'php_verror' makes integer from pointer without a cast [-Wint-conversion] 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~ | | | char * /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:49:1: note: in expansion of macro 'APC_PRINT_FUNCTION' 49 | APC_PRINT_FUNCTION(warning, E_WARNING) | ^~~~~~~~~~~~~~~~~~ /usr/include/php8.6/main/php.h:302:58: note: expected 'int' but argument is of type 'char *' 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ~~~~^~~~ /usr/include/php8.6/Zend/zend_errors.h:23:41: error: passing argument 3 of 'php_verror' makes pointer from integer without a cast [-Wint-conversion] 23 | #define E_WARNING (1<<1L) | ^~~~~~~ | | | int /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:38: note: in definition of macro 'APC_PRINT_FUNCTION' 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:49:29: note: in expansion of macro 'E_WARNING' 49 | APC_PRINT_FUNCTION(warning, E_WARNING) | ^~~~~~~~~ /usr/include/php8.6/main/php.h:302:76: note: expected 'const char *' but argument is of type 'int' 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ~~~~~~~~~~~~^~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:49: error: passing argument 4 of 'php_verror' from incompatible pointer type [-Wincompatible-pointer-types] 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~~~~~ | | | const char * /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:49:1: note: in expansion of macro 'APC_PRINT_FUNCTION' 49 | APC_PRINT_FUNCTION(warning, E_WARNING) | ^~~~~~~~~~~~~~~~~~ /usr/include/php8.6/main/php.h:302:92: note: expected '__va_list_tag *' but argument is of type 'const char *' 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ~~~~~~~~^~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:17: error: too many arguments to function 'php_verror'; expected 4, have 5 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~~~~~~~~~ ~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:49:1: note: in expansion of macro 'APC_PRINT_FUNCTION' 49 | APC_PRINT_FUNCTION(warning, E_WARNING) | ^~~~~~~~~~~~~~~~~~ /usr/include/php8.6/main/php.h:302:23: note: declared here 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ^~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c: In function 'apc_notice': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:34: error: passing argument 2 of 'php_verror' makes integer from pointer without a cast [-Wint-conversion] 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~ | | | char * /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:50:1: note: in expansion of macro 'APC_PRINT_FUNCTION' 50 | APC_PRINT_FUNCTION(notice, E_NOTICE) | ^~~~~~~~~~~~~~~~~~ /usr/include/php8.6/main/php.h:302:58: note: expected 'int' but argument is of type 'char *' 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ~~~~^~~~ /usr/include/php8.6/Zend/zend_errors.h:25:41: error: passing argument 3 of 'php_verror' makes pointer from integer without a cast [-Wint-conversion] 25 | #define E_NOTICE (1<<3L) | ^~~~~~~ | | | int /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:38: note: in definition of macro 'APC_PRINT_FUNCTION' 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:50:28: note: in expansion of macro 'E_NOTICE' 50 | APC_PRINT_FUNCTION(notice, E_NOTICE) | ^~~~~~~~ /usr/include/php8.6/main/php.h:302:76: note: expected 'const char *' but argument is of type 'int' 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ~~~~~~~~~~~~^~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:49: error: passing argument 4 of 'php_verror' from incompatible pointer type [-Wincompatible-pointer-types] 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~~~~~ | | | const char * /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:50:1: note: in expansion of macro 'APC_PRINT_FUNCTION' 50 | APC_PRINT_FUNCTION(notice, E_NOTICE) | ^~~~~~~~~~~~~~~~~~ /usr/include/php8.6/main/php.h:302:92: note: expected '__va_list_tag *' but argument is of type 'const char *' 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ~~~~~~~~^~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:44:17: error: too many arguments to function 'php_verror'; expected 4, have 5 44 | php_verror(NULL, "", verbosity, format, args); \ | ^~~~~~~~~~ ~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.c:50:1: note: in expansion of macro 'APC_PRINT_FUNCTION' 50 | APC_PRINT_FUNCTION(notice, E_NOTICE) | ^~~~~~~~~~~~~~~~~~ /usr/include/php8.6/main/php.h:302:23: note: declared here 302 | PHPAPI ZEND_COLD void php_verror(const char *docref, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 3, 0); | ^~~~~~~~~~ make: *** [Makefile:209: apc.lo] Error 1 make: *** Waiting for unfinished jobs.... /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_time.c -o apc_time.lo -MMD -MF apc_time.dep -MT apc_time.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_time.c -MMD -MF apc_time.dep -MT apc_time.lo -fPIC -DPIC -o .libs/apc_time.o /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_mutex.c -o apc_mutex.lo -MMD -MF apc_mutex.dep -MT apc_mutex.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_mutex.c -MMD -MF apc_mutex.dep -MT apc_mutex.lo -fPIC -DPIC -o .libs/apc_mutex.o /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_lock.c -o apc_lock.lo -MMD -MF apc_lock.dep -MT apc_lock.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_lock.c -MMD -MF apc_lock.dep -MT apc_lock.lo -fPIC -DPIC -o .libs/apc_lock.o /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c -o apc_persist.lo -MMD -MF apc_persist.dep -MT apc_persist.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c -MMD -MF apc_persist.dep -MT apc_persist.lo -fPIC -DPIC -o .libs/apc_persist.o /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c: In function 'apc_persist_calc_zval': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c:247:17: error: implicit declaration of function 'EMPTY_SWITCH_DEFAULT_CASE' [-Wimplicit-function-declaration] 247 | EMPTY_SWITCH_DEFAULT_CASE() | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c:247:44: error: expected ';' before '}' token 247 | EMPTY_SWITCH_DEFAULT_CASE() | ^ | ; 248 | } | ~ In file included from /usr/include/php8.6/Zend/zend.h:29, from /usr/include/php8.6/main/php.h:28, from /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.h:67, from /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c:19: /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c: In function 'apc_persist_calc': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_cache.h:303:55: error: implicit declaration of function 'XtOffsetOf'; did you mean 'offsetof'? [-Wimplicit-function-declaration] 303 | #define APC_ENTRY_SIZE(key_len) (ZEND_MM_ALIGNED_SIZE(XtOffsetOf(apc_cache_entry_t, key.val) + key_len + 1)) | ^~~~~~~~~~ /usr/include/php8.6/Zend/zend_alloc.h:34:44: note: in definition of macro 'ZEND_MM_ALIGNED_SIZE' 34 | #define ZEND_MM_ALIGNED_SIZE(size) (((size) + ZEND_MM_ALIGNMENT - 1) & ZEND_MM_ALIGNMENT_MASK) | ^~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c:252:9: note: in expansion of macro 'ADD_SIZE' 252 | ADD_SIZE(APC_ENTRY_SIZE(ZSTR_LEN(key))); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_cache.h:303:34: note: in expansion of macro 'ZEND_MM_ALIGNED_SIZE' 303 | #define APC_ENTRY_SIZE(key_len) (ZEND_MM_ALIGNED_SIZE(XtOffsetOf(apc_cache_entry_t, key.val) + key_len + 1)) | ^~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c:252:18: note: in expansion of macro 'APC_ENTRY_SIZE' 252 | ADD_SIZE(APC_ENTRY_SIZE(ZSTR_LEN(key))); | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_cache.h:303:66: error: expected expression before 'apc_cache_entry_t' 303 | #define APC_ENTRY_SIZE(key_len) (ZEND_MM_ALIGNED_SIZE(XtOffsetOf(apc_cache_entry_t, key.val) + key_len + 1)) | ^~~~~~~~~~~~~~~~~ /usr/include/php8.6/Zend/zend_alloc.h:34:44: note: in definition of macro 'ZEND_MM_ALIGNED_SIZE' 34 | #define ZEND_MM_ALIGNED_SIZE(size) (((size) + ZEND_MM_ALIGNMENT - 1) & ZEND_MM_ALIGNMENT_MASK) | ^~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c:252:9: note: in expansion of macro 'ADD_SIZE' 252 | ADD_SIZE(APC_ENTRY_SIZE(ZSTR_LEN(key))); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_cache.h:303:34: note: in expansion of macro 'ZEND_MM_ALIGNED_SIZE' 303 | #define APC_ENTRY_SIZE(key_len) (ZEND_MM_ALIGNED_SIZE(XtOffsetOf(apc_cache_entry_t, key.val) + key_len + 1)) | ^~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c:252:18: note: in expansion of macro 'APC_ENTRY_SIZE' 252 | ADD_SIZE(APC_ENTRY_SIZE(ZSTR_LEN(key))); | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c: In function 'apc_persist_copy_zval_impl': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c:453:44: error: expected ';' before '}' token 453 | EMPTY_SWITCH_DEFAULT_CASE() | ^ | ; 454 | } | ~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c: In function 'apc_persist_create_entry': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_cache.h:303:66: error: expected expression before 'apc_cache_entry_t' 303 | #define APC_ENTRY_SIZE(key_len) (ZEND_MM_ALIGNED_SIZE(XtOffsetOf(apc_cache_entry_t, key.val) + key_len + 1)) | ^~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c:69:43: note: in definition of macro 'ALLOC' 69 | #define ALLOC(sz) apc_persist_alloc(ctxt, sz) | ^~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_cache.h:303:34: note: in expansion of macro 'ZEND_MM_ALIGNED_SIZE' 303 | #define APC_ENTRY_SIZE(key_len) (ZEND_MM_ALIGNED_SIZE(XtOffsetOf(apc_cache_entry_t, key.val) + key_len + 1)) | ^~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c:461:42: note: in expansion of macro 'APC_ENTRY_SIZE' 461 | apc_cache_entry_t *entry = ALLOC(APC_ENTRY_SIZE(ZSTR_LEN(key))); | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c: In function 'apc_persist_calc_zval': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_persist.c:249:1: warning: control reaches end of non-void function [-Wreturn-type] 249 | } | ^ make: *** [Makefile:245: apc_persist.lo] Error 1 /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c -o apc_iterator.lo -MMD -MF apc_iterator.dep -MT apc_iterator.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c -MMD -MF apc_iterator.dep -MT apc_iterator.lo -fPIC -DPIC -o .libs/apc_iterator.o In file included from /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:21: /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'apc_iterator_free': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:66: error: implicit declaration of function 'XtOffsetOf'; did you mean 'offsetof'? [-Wimplicit-function-declaration] 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:118:36: note: in expansion of macro 'apc_iterator_fetch_from' 118 | apc_iterator_t *iterator = apc_iterator_fetch_from(object); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:77: error: expected expression before 'apc_iterator_t' 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:118:36: note: in expansion of macro 'apc_iterator_fetch_from' 118 | apc_iterator_t *iterator = apc_iterator_fetch_from(object); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'zim_APCUIterator___construct': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:77: error: expected expression before 'apc_iterator_t' 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:73:31: note: in expansion of macro 'apc_iterator_fetch_from' 73 | #define apc_iterator_fetch(z) apc_iterator_fetch_from(Z_OBJ_P(z)) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:360:36: note: in expansion of macro 'apc_iterator_fetch' 360 | apc_iterator_t *iterator = apc_iterator_fetch(getThis()); | ^~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'zim_APCUIterator_rewind': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:77: error: expected expression before 'apc_iterator_t' 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:73:31: note: in expansion of macro 'apc_iterator_fetch_from' 73 | #define apc_iterator_fetch(z) apc_iterator_fetch_from(Z_OBJ_P(z)) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:383:36: note: in expansion of macro 'apc_iterator_fetch' 383 | apc_iterator_t *iterator = apc_iterator_fetch(getThis()); | ^~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'zim_APCUIterator_valid': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:77: error: expected expression before 'apc_iterator_t' 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:73:31: note: in expansion of macro 'apc_iterator_fetch_from' 73 | #define apc_iterator_fetch(z) apc_iterator_fetch_from(Z_OBJ_P(z)) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:398:36: note: in expansion of macro 'apc_iterator_fetch' 398 | apc_iterator_t *iterator = apc_iterator_fetch(getThis()); | ^~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'zim_APCUIterator_current': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:77: error: expected expression before 'apc_iterator_t' 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:73:31: note: in expansion of macro 'apc_iterator_fetch_from' 73 | #define apc_iterator_fetch(z) apc_iterator_fetch_from(Z_OBJ_P(z)) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:415:36: note: in expansion of macro 'apc_iterator_fetch' 415 | apc_iterator_t *iterator = apc_iterator_fetch(getThis()); | ^~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'zim_APCUIterator_key': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:77: error: expected expression before 'apc_iterator_t' 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:73:31: note: in expansion of macro 'apc_iterator_fetch_from' 73 | #define apc_iterator_fetch(z) apc_iterator_fetch_from(Z_OBJ_P(z)) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:436:36: note: in expansion of macro 'apc_iterator_fetch' 436 | apc_iterator_t *iterator = apc_iterator_fetch(getThis()); | ^~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'zim_APCUIterator_next': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:77: error: expected expression before 'apc_iterator_t' 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:73:31: note: in expansion of macro 'apc_iterator_fetch_from' 73 | #define apc_iterator_fetch(z) apc_iterator_fetch_from(Z_OBJ_P(z)) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:460:36: note: in expansion of macro 'apc_iterator_fetch' 460 | apc_iterator_t *iterator = apc_iterator_fetch(getThis()); | ^~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'zim_APCUIterator_getTotalHits': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:77: error: expected expression before 'apc_iterator_t' 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:73:31: note: in expansion of macro 'apc_iterator_fetch_from' 73 | #define apc_iterator_fetch(z) apc_iterator_fetch_from(Z_OBJ_P(z)) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:476:36: note: in expansion of macro 'apc_iterator_fetch' 476 | apc_iterator_t *iterator = apc_iterator_fetch(getThis()); | ^~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'zim_APCUIterator_getTotalSize': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:77: error: expected expression before 'apc_iterator_t' 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:73:31: note: in expansion of macro 'apc_iterator_fetch_from' 73 | #define apc_iterator_fetch(z) apc_iterator_fetch_from(Z_OBJ_P(z)) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:492:36: note: in expansion of macro 'apc_iterator_fetch' 492 | apc_iterator_t *iterator = apc_iterator_fetch(getThis()); | ^~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'zim_APCUIterator_getTotalCount': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:77: error: expected expression before 'apc_iterator_t' 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:73:31: note: in expansion of macro 'apc_iterator_fetch_from' 73 | #define apc_iterator_fetch(z) apc_iterator_fetch_from(Z_OBJ_P(z)) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:508:36: note: in expansion of macro 'apc_iterator_fetch' 508 | apc_iterator_t *iterator = apc_iterator_fetch(getThis()); | ^~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'apc_iterator_init': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:551:58: error: expected expression before 'apc_iterator_t' 551 | apc_iterator_object_handlers.offset = XtOffsetOf(apc_iterator_t, obj); | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c: In function 'apc_iterator_delete': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:72:77: error: expected expression before 'apc_iterator_t' 72 | #define apc_iterator_fetch_from(o) ((apc_iterator_t*)((char*)o - XtOffsetOf(apc_iterator_t, obj))) | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.h:73:31: note: in expansion of macro 'apc_iterator_fetch_from' 73 | #define apc_iterator_fetch(z) apc_iterator_fetch_from(Z_OBJ_P(z)) | ^~~~~~~~~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_iterator.c:569:20: note: in expansion of macro 'apc_iterator_fetch' 569 | iterator = apc_iterator_fetch(zobj); | ^~~~~~~~~~~~~~~~~~ make: *** [Makefile:242: apc_iterator.lo] Error 1 /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_shm.c -o apc_shm.lo -MMD -MF apc_shm.dep -MT apc_shm.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_shm.c -MMD -MF apc_shm.dep -MT apc_shm.lo -fPIC -DPIC -o .libs/apc_shm.o /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_stack.c -o apc_stack.lo -MMD -MF apc_stack.dep -MT apc_stack.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_stack.c -MMD -MF apc_stack.dep -MT apc_stack.lo -fPIC -DPIC -o .libs/apc_stack.o /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_signal.c -o apc_signal.lo -MMD -MF apc_signal.dep -MT apc_signal.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_signal.c -MMD -MF apc_signal.dep -MT apc_signal.lo -fPIC -DPIC -o .libs/apc_signal.o /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/php_apc.c -o php_apc.lo -MMD -MF php_apc.dep -MT php_apc.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/php_apc.c -MMD -MF php_apc.dep -MT php_apc.lo -fPIC -DPIC -o .libs/php_apc.o In file included from /usr/include/php8.6/Zend/zend.h:29, from /usr/include/php8.6/main/php.h:28, from /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc.h:67, from /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_cache.h:32, from /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/php_apc.c:33: /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/php_apc.c: In function 'zm_startup_apcu': /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_cache.h:303:55: error: implicit declaration of function 'XtOffsetOf'; did you mean 'offsetof'? [-Wimplicit-function-declaration] 303 | #define APC_ENTRY_SIZE(key_len) (ZEND_MM_ALIGNED_SIZE(XtOffsetOf(apc_cache_entry_t, key.val) + key_len + 1)) | ^~~~~~~~~~ /usr/include/php8.6/Zend/zend_alloc.h:34:44: note: in definition of macro 'ZEND_MM_ALIGNED_SIZE' 34 | #define ZEND_MM_ALIGNED_SIZE(size) (((size) + ZEND_MM_ALIGNMENT - 1) & ZEND_MM_ALIGNMENT_MASK) | ^~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/php_apc.c:255:49: note: in expansion of macro 'APC_ENTRY_SIZE' 255 | APCG(shm_size), APC_ENTRY_SIZE(0), mmap_file_mask, mmap_hugepage_size); | ^~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_cache.h:303:66: error: expected expression before 'apc_cache_entry_t' 303 | #define APC_ENTRY_SIZE(key_len) (ZEND_MM_ALIGNED_SIZE(XtOffsetOf(apc_cache_entry_t, key.val) + key_len + 1)) | ^~~~~~~~~~~~~~~~~ /usr/include/php8.6/Zend/zend_alloc.h:34:44: note: in definition of macro 'ZEND_MM_ALIGNED_SIZE' 34 | #define ZEND_MM_ALIGNED_SIZE(size) (((size) + ZEND_MM_ALIGNMENT - 1) & ZEND_MM_ALIGNMENT_MASK) | ^~~~ /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/php_apc.c:255:49: note: in expansion of macro 'APC_ENTRY_SIZE' 255 | APCG(shm_size), APC_ENTRY_SIZE(0), mmap_file_mask, mmap_hugepage_size); | ^~~~~~~~~~~~~~ make: *** [Makefile:218: php_apc.lo] Error 1 /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_mmap.c -o apc_mmap.lo -MMD -MF apc_mmap.dep -MT apc_mmap.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_mmap.c -MMD -MF apc_mmap.dep -MT apc_mmap.lo -fPIC -DPIC -o .libs/apc_mmap.o /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_sma.c -o apc_sma.lo -MMD -MF apc_sma.dep -MT apc_sma.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_sma.c -MMD -MF apc_sma.dep -MT apc_sma.lo -fPIC -DPIC -o .libs/apc_sma.o /bin/sh /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/libtool --tag=CC --mode=compile gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_cache.c -o apc_cache.lo -MMD -MF apc_cache.dep -MT apc_cache.lo libtool: compile: gcc -I. -I/home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28 -I/usr/include/php8.6 -I/usr/include/php8.6/main -I/usr/include/php8.6/TSRM -I/usr/include/php8.6/Zend -I/usr/include/php8.6/ext -I/usr/include/php8.6/ext/date/lib -DHAVE_CONFIG_H -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_GNU_SOURCE -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -Wextra -Wno-clobbered -Wno-unused-parameter -DZEND_COMPILE_DL_EXT=1 -c /home/iurt/rpmbuild/BUILD/php8.6-apcu-5.1.28-build/apcu-5.1.28/apc_cache.c -MMD -MF apc_cache.dep -MT apc_cache.lo -fPIC -DPIC -o .libs/apc_cache.o error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.UQo93q (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.UQo93q (%build) I: [iurt_root_command] ERROR: chroot