<86>Aug 14 04:48:54 userdel[3756838]: delete user 'rooter' <86>Aug 14 04:48:54 userdel[3756838]: removed group 'rooter' owned by 'rooter' <86>Aug 14 04:48:54 userdel[3756838]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 14 04:48:54 groupadd[3756848]: group added to /etc/group: name=rooter, GID=699 <86>Aug 14 04:48:54 groupadd[3756848]: group added to /etc/gshadow: name=rooter <86>Aug 14 04:48:54 groupadd[3756848]: new group: name=rooter, GID=699 <86>Aug 14 04:48:54 useradd[3756857]: new user: name=rooter, UID=699, GID=699, home=/root, shell=/bin/bash <86>Aug 14 04:48:54 userdel[3756871]: delete user 'builder' <86>Aug 14 04:48:54 userdel[3756871]: removed group 'builder' owned by 'builder' <86>Aug 14 04:48:54 userdel[3756871]: removed shadow group 'builder' owned by 'builder' <86>Aug 14 04:48:54 groupadd[3756879]: group added to /etc/group: name=builder, GID=700 <86>Aug 14 04:48:54 groupadd[3756879]: group added to /etc/gshadow: name=builder <86>Aug 14 04:48:54 groupadd[3756879]: new group: name=builder, GID=700 <86>Aug 14 04:48:54 useradd[3756892]: new user: name=builder, UID=700, GID=700, home=/usr/src, shell=/bin/bash <13>Aug 14 04:48:56 rpmi: rpm-build-php7-version-7.4.8-alt1 sisyphus+255210.40.2.1 1595504493 installed <13>Aug 14 04:48:56 rpmi: rpm-build-licenses-3.0.0-alt1 sisyphus+241804.100.1.1 1574868053 installed <13>Aug 14 04:48:58 rpmi: perl-HTTP-Date-6.04-alt1 sisyphus+241046.100.1.1 1574192946 installed <13>Aug 14 04:48:58 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Aug 14 04:48:58 rpmi: perl-Compress-Raw-Zlib-2.095-alt1 sisyphus+255277.100.1.1 1595512157 installed <13>Aug 14 04:48:58 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Aug 14 04:48:58 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Aug 14 04:48:58 rpmi: libe2fs-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Aug 14 04:48:58 rpmi: libss-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Aug 14 04:48:58 rpmi: e2fsprogs-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Aug 14 04:48:58 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Aug 14 04:48:58 rpmi: php-base-2.7-alt3 1289820413 installed <13>Aug 14 04:48:58 rpmi: shtool-2.0.8-alt2 1293142260 installed <13>Aug 14 04:48:58 rpmi: libsqlite3-3.32.3-alt1 sisyphus+253798.100.1.1 1592756027 installed <13>Aug 14 04:48:58 rpmi: libmm-1.4.2-alt3 1300666797 installed <13>Aug 14 04:48:59 rpmi: php7-libs-7.4.8-alt1 sisyphus+255210.40.2.1 1595504493 installed <13>Aug 14 04:48:59 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906326 installed <13>Aug 14 04:48:59 rpmi: libunixODBC2-2.3.7-alt1 sisyphus+228027.100.1.1 1556027337 installed <13>Aug 14 04:48:59 rpmi: libunixODBC-devel-compat-2.3.7-alt1 sisyphus+228027.100.1.1 1556027337 installed <13>Aug 14 04:48:59 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Aug 14 04:48:59 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Aug 14 04:48:59 rpmi: perl-Compress-Raw-Bzip2-2.095-alt1 sisyphus+255276.100.1.1 1595511686 installed <13>Aug 14 04:48:59 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Aug 14 04:48:59 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343225 installed <13>Aug 14 04:48:59 rpmi: perl-Encode-3.04-alt1 sisyphus+247835.100.1.1 1584190284 installed <13>Aug 14 04:48:59 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed <13>Aug 14 04:48:59 rpmi: perl-IO-Compress-2.093-alt1 sisyphus+243543.100.1.1 1577294382 installed <13>Aug 14 04:48:59 rpmi: perl-Net-HTTP-6.19-alt1 sisyphus+229756.100.1.1 1558454558 installed <13>Aug 14 04:48:59 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343407 installed <13>Aug 14 04:48:59 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Aug 14 04:48:59 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Aug 14 04:48:59 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Aug 14 04:48:59 rpmi: perl-HTTP-Message-6.25-alt1 sisyphus+254521.100.1.1 1593894315 installed <13>Aug 14 04:48:59 rpmi: perl-HTTP-Cookies-6.08-alt1 sisyphus+242242.100.1.1 1575454022 installed <13>Aug 14 04:48:59 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Aug 14 04:48:59 rpmi: perl-XML-Writer-0.625-alt1 1402417374 installed <13>Aug 14 04:48:59 rpmi: perl-Term-ANSIColor-5.01-alt1 sisyphus+244783.100.1.2 1579747505 installed <13>Aug 14 04:48:59 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Aug 14 04:48:59 rpmi: perl-libwww-6.46-alt1 sisyphus+254012.100.1.1 1593105927 installed <13>Aug 14 04:48:59 rpmi: libexpat-2.2.9-alt1 sisyphus+252464.200.2.1 1590958863 installed <13>Aug 14 04:48:59 rpmi: perl-XML-Parser-2.44-alt2.2 sisyphus+219907.1300.1.1 1548343654 installed <13>Aug 14 04:48:59 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Aug 14 04:48:59 rpmi: libgdbm-devel-1.8.3-alt10 1454943313 installed <13>Aug 14 04:48:59 rpmi: libdb4.7-devel-4.7.25-alt9 1490438456 installed <13>Aug 14 04:48:59 rpmi: perl-devel-1:5.28.2-alt3 sisyphus+246858.100.1.1 1582561863 installed <13>Aug 14 04:48:59 rpmi: hwinfo-utils-21.23-alt1.1 sisyphus+248432.200.2.1 1585065321 installed <13>Aug 14 04:48:59 rpmi: gcc-c++-common-1.4.25-alt1 sisyphus+255450.100.1.1 1595851517 installed <13>Aug 14 04:48:59 rpmi: libstdc++9-devel-9.3.1-alt1 sisyphus+251917.40.3.1 1589811833 installed <13>Aug 14 04:49:00 rpmi: gcc9-c++-9.3.1-alt1 sisyphus+251917.40.3.1 1589811833 installed <13>Aug 14 04:49:00 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 14 04:49:00 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 14 04:49:04 rpmi: php7-devel-7.4.8-alt1 sisyphus+255210.40.2.1 1595504493 installed <13>Aug 14 04:49:04 rpmi: gcc-c++-9-alt2 sisyphus+251923.100.2.2 1589881406 installed <13>Aug 14 04:49:04 rpmi: libunixODBC-devel-2.3.7-alt1 sisyphus+228027.100.1.1 1556027337 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/php7-sqlsrv-7.4.8-alt1.1.nosrc.rpm Installing php7-sqlsrv-7.4.8-alt1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.83239 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf php7-sqlsrv-7.4.8 + /bin/mkdir -p php7-sqlsrv-7.4.8 + cd php7-sqlsrv-7.4.8 + echo 'Source #0 (sqlsrv.tar):' Source #0 (sqlsrv.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/sqlsrv.tar + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.83239 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd php7-sqlsrv-7.4.8 + phpize Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 ++ echo sqlsrv ++ tr '[:lower:]-' '[:upper:]_' + BUILD_HAVE=SQLSRV + export LDFLAGS=-lphp-7.4.8 + LDFLAGS=-lphp-7.4.8 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --with-sqlsrv --with-libdir=lib64 configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext, --with-sqlsrv checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for x86_64-alt-linux-cc... no checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for icc... no checking for suncc... no checking for system library directory... lib64 checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib checking for PHP extension directory... /usr/lib64/php/7.4.8/extensions checking for PHP installed headers prefix... /usr/include/php/7.4.8 checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable sqlsrv functions... yes, shared checking for SQLSRV headers... ./shared/ checking for a sed that does not truncate output... /bin/sed checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... (cached) pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for objdir... .libs checking for x86_64-alt-linux-ar... no checking for ar... ar checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for x86_64-alt-linux-strip... no checking for strip... strip checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking whether the x86_64-alt-linux-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 creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC works... yes checking if x86_64-alt-linux-g++ static flag -static works... no checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate configure: patching config.h.in configure: creating ./config.status config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext, --with-sqlsrv + BUILD_ENV_VARS='EXTENSION_DIR=/usr/lib64/php/7.4.8/extensions INSTALL_ROOT=/usr/src/tmp/php7-sqlsrv-buildroot PEAR_INSTALLDIR=/usr/share/php/pear' + make -j8 EXTENSION_DIR=/usr/lib64/php/7.4.8/extensions INSTALL_ROOT=/usr/src/tmp/php7-sqlsrv-buildroot PEAR_INSTALLDIR=/usr/share/php/pear make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp -o init.lo x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp -fPIC -DPIC -o .libs/init.o In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/php_sqlsrv_int.h:25, from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp:23: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'param_meta_data::param_meta_data()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1372:17: warning: 'param_meta_data::column_size' will be initialized after [-Wreorder] 1372 | SQLULEN column_size; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1371:17: warning: 'SQLSMALLINT param_meta_data::nullable' [-Wreorder] 1371 | SQLSMALLINT nullable; | ^~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1374:5: warning: when initialized here [-Wreorder] 1374 | param_meta_data() : sql_type(0), decimal_digits(0), column_size(0), nullable(0) | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, SQLSRV_ENCODING, int, SQLUINTEGER)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1401:5: warning: when initialized here [-Wreorder] 1401 | sqlsrv_output_param( _In_ zval* p_z, _In_ SQLSRV_ENCODING enc, _In_ int num, _In_ SQLUINTEGER buffer_len ) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, int, bool, SQLSRV_PHPTYPE)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1407:5: warning: when initialized here [-Wreorder] 1407 | sqlsrv_output_param( _In_ zval* p_z, _In_ int num, _In_ bool is_bool, _In_ SQLSRV_PHPTYPE php_out_type) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp: In function 'int zm_startup_sqlsrv(int, int)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp:272:20: warning: statement has no effect [-Wunused-value] 272 | SQLSRV_UNUSED( type ); | ^~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1809:32: note: in definition of macro 'SQLSRV_UNUSED' 1809 | #define SQLSRV_UNUSED( var ) var; | ^~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp: In function 'int zm_shutdown_sqlsrv(int, int)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp:597:20: warning: statement has no effect [-Wunused-value] 597 | SQLSRV_UNUSED( type ); | ^~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1809:32: note: in definition of macro 'SQLSRV_UNUSED' 1809 | #define SQLSRV_UNUSED( var ) var; | ^~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp: In function 'int zm_activate_sqlsrv(int, int)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp:631:20: warning: statement has no effect [-Wunused-value] 631 | SQLSRV_UNUSED( module_number ); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1809:32: note: in definition of macro 'SQLSRV_UNUSED' 1809 | #define SQLSRV_UNUSED( var ) var; | ^~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp:632:20: warning: statement has no effect [-Wunused-value] 632 | SQLSRV_UNUSED( type ); | ^~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1809:32: note: in definition of macro 'SQLSRV_UNUSED' 1809 | #define SQLSRV_UNUSED( var ) var; | ^~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp: In function 'int zm_deactivate_sqlsrv(int, int)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp:691:20: warning: statement has no effect [-Wunused-value] 691 | SQLSRV_UNUSED( module_number ); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1809:32: note: in definition of macro 'SQLSRV_UNUSED' 1809 | #define SQLSRV_UNUSED( var ) var; | ^~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/init.cpp:692:20: warning: statement has no effect [-Wunused-value] 692 | SQLSRV_UNUSED( type ); | ^~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1809:32: note: in definition of macro 'SQLSRV_UNUSED' 1809 | #define SQLSRV_UNUSED( var ) var; | ^~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_init.cpp -o shared/core_init.lo mkdir shared/.libs x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_init.cpp -fPIC -DPIC -o shared/.libs/core_init.o In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_init.cpp:20: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'param_meta_data::param_meta_data()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1372:17: warning: 'param_meta_data::column_size' will be initialized after [-Wreorder] 1372 | SQLULEN column_size; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1371:17: warning: 'SQLSMALLINT param_meta_data::nullable' [-Wreorder] 1371 | SQLSMALLINT nullable; | ^~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1374:5: warning: when initialized here [-Wreorder] 1374 | param_meta_data() : sql_type(0), decimal_digits(0), column_size(0), nullable(0) | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, SQLSRV_ENCODING, int, SQLUINTEGER)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1401:5: warning: when initialized here [-Wreorder] 1401 | sqlsrv_output_param( _In_ zval* p_z, _In_ SQLSRV_ENCODING enc, _In_ int num, _In_ SQLUINTEGER buffer_len ) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, int, bool, SQLSRV_PHPTYPE)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1407:5: warning: when initialized here [-Wreorder] 1407 | sqlsrv_output_param( _In_ zval* p_z, _In_ int num, _In_ bool is_bool, _In_ SQLSRV_PHPTYPE php_out_type) : | ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp -o util.lo mkdir .libs x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp -fPIC -DPIC -o .libs/util.o In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/php_sqlsrv_int.h:25, from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp:26: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'param_meta_data::param_meta_data()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1372:17: warning: 'param_meta_data::column_size' will be initialized after [-Wreorder] 1372 | SQLULEN column_size; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1371:17: warning: 'SQLSMALLINT param_meta_data::nullable' [-Wreorder] 1371 | SQLSMALLINT nullable; | ^~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1374:5: warning: when initialized here [-Wreorder] 1374 | param_meta_data() : sql_type(0), decimal_digits(0), column_size(0), nullable(0) | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, SQLSRV_ENCODING, int, SQLUINTEGER)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1401:5: warning: when initialized here [-Wreorder] 1401 | sqlsrv_output_param( _In_ zval* p_z, _In_ SQLSRV_ENCODING enc, _In_ int num, _In_ SQLUINTEGER buffer_len ) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, int, bool, SQLSRV_PHPTYPE)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1407:5: warning: when initialized here [-Wreorder] 1407 | sqlsrv_output_param( _In_ zval* p_z, _In_ int num, _In_ bool is_bool, _In_ SQLSRV_PHPTYPE php_out_type) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp: In function 'void zif_sqlsrv_errors(zend_execute_data*, zval*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp:527:20: warning: statement has no effect [-Wunused-value] 527 | SQLSRV_UNUSED( execute_data ); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1809:32: note: in definition of macro 'SQLSRV_UNUSED' 1809 | #define SQLSRV_UNUSED( var ) var; | ^~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp: In function 'void zif_sqlsrv_configure(zend_execute_data*, zval*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp:584:20: warning: statement has no effect [-Wunused-value] 584 | SQLSRV_UNUSED( execute_data ); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1809:32: note: in definition of macro 'SQLSRV_UNUSED' 1809 | #define SQLSRV_UNUSED( var ) var; | ^~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp: In function 'void zif_sqlsrv_get_config(zend_execute_data*, zval*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp:707:20: warning: statement has no effect [-Wunused-value] 707 | SQLSRV_UNUSED( execute_data ); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1809:32: note: in definition of macro 'SQLSRV_UNUSED' 1809 | #define SQLSRV_UNUSED( var ) var; | ^~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp: In function 'bool {anonymous}::ignore_warning(char*, int)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp:956:13: warning: variable 'index' set but not used [-Wunused-but-set-variable] 956 | zend_ulong index = -1; | ^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp:957:15: warning: variable 'key' set but not used [-Wunused-but-set-variable] 957 | zend_string* key = NULL; | ^~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp: In function 'bool {anonymous}::sqlsrv_merge_zend_hash(zval*, const zval*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp:993:13: warning: variable 'index' set but not used [-Wunused-but-set-variable] 993 | zend_ulong index = -1; | ^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/util.cpp:994:15: warning: variable 'key' set but not used [-Wunused-but-set-variable] 994 | zend_string* key = NULL; | ^~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stream.cpp -o shared/core_stream.lo x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stream.cpp -fPIC -DPIC -o shared/.libs/core_stream.o In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stream.cpp:20: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'param_meta_data::param_meta_data()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1372:17: warning: 'param_meta_data::column_size' will be initialized after [-Wreorder] 1372 | SQLULEN column_size; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1371:17: warning: 'SQLSMALLINT param_meta_data::nullable' [-Wreorder] 1371 | SQLSMALLINT nullable; | ^~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1374:5: warning: when initialized here [-Wreorder] 1374 | param_meta_data() : sql_type(0), decimal_digits(0), column_size(0), nullable(0) | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, SQLSRV_ENCODING, int, SQLUINTEGER)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1401:5: warning: when initialized here [-Wreorder] 1401 | sqlsrv_output_param( _In_ zval* p_z, _In_ SQLSRV_ENCODING enc, _In_ int num, _In_ SQLUINTEGER buffer_len ) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, int, bool, SQLSRV_PHPTYPE)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1407:5: warning: when initialized here [-Wreorder] 1407 | sqlsrv_output_param( _In_ zval* p_z, _In_ int num, _In_ bool is_bool, _In_ SQLSRV_PHPTYPE php_out_type) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stream.cpp: In function 'ssize_t {anonymous}::sqlsrv_stream_read(php_stream*, char*, size_t)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stream.cpp:127:56: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'SQLLEN' {aka 'long int'} [-Wsign-compare] 127 | if( is_truncated_warning( state ) || count < read) { | ~~~~~~^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp -o conn.lo x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp -fPIC -DPIC -o .libs/conn.o In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/php_sqlsrv_int.h:25, from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp:24: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'param_meta_data::param_meta_data()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1372:17: warning: 'param_meta_data::column_size' will be initialized after [-Wreorder] 1372 | SQLULEN column_size; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1371:17: warning: 'SQLSMALLINT param_meta_data::nullable' [-Wreorder] 1371 | SQLSMALLINT nullable; | ^~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1374:5: warning: when initialized here [-Wreorder] 1374 | param_meta_data() : sql_type(0), decimal_digits(0), column_size(0), nullable(0) | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, SQLSRV_ENCODING, int, SQLUINTEGER)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1401:5: warning: when initialized here [-Wreorder] 1401 | sqlsrv_output_param( _In_ zval* p_z, _In_ SQLSRV_ENCODING enc, _In_ int num, _In_ SQLUINTEGER buffer_len ) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, int, bool, SQLSRV_PHPTYPE)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1407:5: warning: when initialized here [-Wreorder] 1407 | sqlsrv_output_param( _In_ zval* p_z, _In_ int num, _In_ bool is_bool, _In_ SQLSRV_PHPTYPE php_out_type) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp: In static member function 'static void {anonymous}::conn_char_set_func::func(const connection_option*, zval*, sqlsrv_conn*, std::string&)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp:100:21: warning: variable 'index' set but not used [-Wunused-but-set-variable] 100 | zend_ulong index = -1; | ^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp:101:23: warning: variable 'key' set but not used [-Wunused-but-set-variable] 101 | zend_string* key = NULL; | ^~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp: In function 'int {anonymous}::get_conn_option_key(sqlsrv_context&, zend_string*, size_t, const zval*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp:1355:20: warning: enumeration value 'CONN_ATTR_INVALID' not handled in switch [-Wswitch] 1355 | switch( SS_CONN_OPTS[i].value_type ) { | ^ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp: In function 'void {anonymous}::validate_conn_options(sqlsrv_context&, zval*, char**, char**, HashTable*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp:1498:24: warning: variable 'int_key' set but not used [-Wunused-but-set-variable] 1498 | zend_ulong int_key = -1; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/php_sqlsrv_int.h:25, from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp:24: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/php_sqlsrv_int.h: In instantiation of 'H* process_params(zend_execute_data*, zval*, const char*, const char*, size_t, ...) [with H = ss_sqlsrv_conn; zend_execute_data = _zend_execute_data; zval = _zval_struct; size_t = long unsigned int]': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/conn.cpp:734:5: required from here /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/php_sqlsrv_int.h:373:20: warning: statement has no effect [-Wunused-value] 373 | SQLSRV_UNUSED( return_value ); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1809:32: note: in definition of macro 'SQLSRV_UNUSED' 1809 | #define SQLSRV_UNUSED( var ) var; | ^~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_conn.cpp -o shared/core_conn.lo x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_conn.cpp -fPIC -DPIC -o shared/.libs/core_conn.o In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_conn.cpp:20: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'param_meta_data::param_meta_data()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1372:17: warning: 'param_meta_data::column_size' will be initialized after [-Wreorder] 1372 | SQLULEN column_size; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1371:17: warning: 'SQLSMALLINT param_meta_data::nullable' [-Wreorder] 1371 | SQLSMALLINT nullable; | ^~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1374:5: warning: when initialized here [-Wreorder] 1374 | param_meta_data() : sql_type(0), decimal_digits(0), column_size(0), nullable(0) | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, SQLSRV_ENCODING, int, SQLUINTEGER)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1401:5: warning: when initialized here [-Wreorder] 1401 | sqlsrv_output_param( _In_ zval* p_z, _In_ SQLSRV_ENCODING enc, _In_ int num, _In_ SQLUINTEGER buffer_len ) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, int, bool, SQLSRV_PHPTYPE)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1407:5: warning: when initialized here [-Wreorder] 1407 | sqlsrv_output_param( _In_ zval* p_z, _In_ int num, _In_ bool is_bool, _In_ SQLSRV_PHPTYPE php_out_type) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_conn.cpp: At global scope: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_conn.cpp:75:26: warning: 'const connection_option* {anonymous}::get_connection_option(sqlsrv_conn*, const char*, SQLULEN)' declared 'static' but never defined [-Wunused-function] 75 | connection_option const* get_connection_option( sqlsrv_conn* conn, _In_ const char* key, _In_ SQLULEN key_len TSRMLS_DC ); | ^~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp -o stmt.lo x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp -fPIC -DPIC -o .libs/stmt.o In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/php_sqlsrv_int.h:25, from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp:25: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'param_meta_data::param_meta_data()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1372:17: warning: 'param_meta_data::column_size' will be initialized after [-Wreorder] 1372 | SQLULEN column_size; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1371:17: warning: 'SQLSMALLINT param_meta_data::nullable' [-Wreorder] 1371 | SQLSMALLINT nullable; | ^~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1374:5: warning: when initialized here [-Wreorder] 1374 | param_meta_data() : sql_type(0), decimal_digits(0), column_size(0), nullable(0) | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, SQLSRV_ENCODING, int, SQLUINTEGER)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1401:5: warning: when initialized here [-Wreorder] 1401 | sqlsrv_output_param( _In_ zval* p_z, _In_ SQLSRV_ENCODING enc, _In_ int num, _In_ SQLUINTEGER buffer_len ) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, int, bool, SQLSRV_PHPTYPE)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1407:5: warning: when initialized here [-Wreorder] 1407 | sqlsrv_output_param( _In_ zval* p_z, _In_ int num, _In_ bool is_bool, _In_ SQLSRV_PHPTYPE php_out_type) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp: In function 'bool {anonymous}::determine_column_size_or_precision(const sqlsrv_stmt*, sqlsrv_sqltype, SQLULEN*, SQLSMALLINT*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp:1597:30: warning: comparison of integer expressions of different signedness: 'SQLULEN' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 1597 | if( *column_size == SQLSRV_SIZE_MAX_TYPE ) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp:1608:30: warning: comparison of integer expressions of different signedness: 'SQLULEN' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 1608 | if( *column_size == SQLSRV_SIZE_MAX_TYPE ) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp:1622:30: warning: comparison of integer expressions of different signedness: 'SQLULEN' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 1622 | if( *column_size == SQLSRV_INVALID_PRECISION || *decimal_digits == SQLSRV_INVALID_PRECISION ) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/php_sqlsrv_int.h:25, from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp:25: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp: In function 'SQLSMALLINT {anonymous}::get_resultset_meta_data(sqlsrv_stmt*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp:1837:50: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'SQLSMALLINT' {aka 'short int'} [-Wsign-compare] 1837 | SQLSRV_ASSERT(stmt->current_meta_data.size() == num_cols, "Meta data vector out of sync" ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1949:52: note: in definition of macro 'SQLSRV_ASSERT' 1949 | #define SQLSRV_ASSERT( condition, msg, ...) if( !(condition)) DIE( msg, ## __VA_ARGS__ ); | ^~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp: In function 'bool {anonymous}::verify_and_set_encoding(const char*, sqlsrv_phptype&)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp:2172:13: warning: variable 'index' set but not used [-Wunused-but-set-variable] 2172 | zend_ulong index = -1; | ^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp:2173:15: warning: variable 'key' set but not used [-Wunused-but-set-variable] 2173 | zend_string* key = NULL; | ^~~ In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/php_sqlsrv_int.h:25, from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp:25: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/php_sqlsrv_int.h: In instantiation of 'H* process_params(zend_execute_data*, zval*, const char*, const char*, size_t, ...) [with H = ss_sqlsrv_stmt; zend_execute_data = _zend_execute_data; zval = _zval_struct; size_t = long unsigned int]': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp:319:9: required from here /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/php_sqlsrv_int.h:373:20: warning: statement has no effect [-Wunused-value] 373 | SQLSRV_UNUSED( return_value ); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1809:32: note: in definition of macro 'SQLSRV_UNUSED' 1809 | #define SQLSRV_UNUSED( var ) var; | ^~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp: At global scope: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/stmt.cpp:96:16: warning: 'sqlsrv_phptype {anonymous}::determine_sqlsrv_php_type(const sqlsrv_stmt*, SQLINTEGER, SQLUINTEGER, bool)' declared 'static' but never defined [-Wunused-function] 96 | sqlsrv_phptype determine_sqlsrv_php_type( sqlsrv_stmt const* stmt, SQLINTEGER sql_type, SQLUINTEGER size, bool prefer_string ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp -o shared/localizationimpl.lo x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp -fPIC -DPIC -o shared/.libs/localizationimpl.o /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp: In constructor 'IConvCachePool::IConvCachePool()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:104:38: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 104 | for ( int dstIdx = 0; dstIdx < cp_iconv::g_cp_iconv_count; ++dstIdx ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:106:42: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 106 | for ( int srcIdx = 0; srcIdx < cp_iconv::g_cp_iconv_count; ++srcIdx ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp: In destructor 'IConvCachePool::~IConvCachePool()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:118:38: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 118 | for ( int dstIdx = 0; dstIdx < cp_iconv::g_cp_iconv_count; ++dstIdx ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:120:42: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 120 | for ( int srcIdx = 0; srcIdx < cp_iconv::g_cp_iconv_count; ++srcIdx ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/xplat.h:97, from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/typedefs_for_linux.h:23, from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localization.hpp:25, from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:22: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp: In member function 'USHORT IConvCachePool::Depth(int, int)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:135:39: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 135 | assert( 0 <= dstIdx && dstIdx < cp_iconv::g_cp_iconv_count ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:136:39: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 136 | assert( 0 <= srcIdx && srcIdx < cp_iconv::g_cp_iconv_count ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp: In member function 'const IConvCache* IConvCachePool::Borrow(int, int)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:144:39: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 144 | assert( 0 <= dstIdx && dstIdx < cp_iconv::g_cp_iconv_count ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:145:39: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 145 | assert( 0 <= srcIdx && srcIdx < cp_iconv::g_cp_iconv_count ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp: In member function 'void IConvCachePool::Return(const IConvCache*, int, int)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:165:39: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 165 | assert( 0 <= dstIdx && dstIdx < cp_iconv::g_cp_iconv_count ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:166:39: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare] 166 | assert( 0 <= srcIdx && srcIdx < cp_iconv::g_cp_iconv_count ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:22: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localization.hpp: In constructor 'SystemLocale::SystemLocale(const char*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localization.hpp:198:10: warning: 'SystemLocale::m_uAnsiCP' will be initialized after [-Wreorder] 198 | UINT m_uAnsiCP; | ^~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localization.hpp:197:19: warning: 'std::locale* SystemLocale::m_pLocale' [-Wreorder] 197 | std::locale * m_pLocale; | ^~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:282:1: warning: when initialized here [-Wreorder] 282 | SystemLocale::SystemLocale( const char * localeName ) | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp: In static member function 'static size_t SystemLocale::Utf8To16(const char*, SSIZE_T, WCHAR*, size_t, DWORD*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:436:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 436 | if (ucode < 0x800 || ucode >= 0xD800 && ucode <= 0xDFFF) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:478:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 478 | || ucode >= 0xD800 && ucode <= 0xDFFF) // surrogate pairs | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp: In static member function 'static size_t SystemLocale::Utf8To16Strict(const char*, SSIZE_T, WCHAR*, size_t, DWORD*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:561:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 561 | if (ucode < 0x800 || ucode >= 0xD800 && ucode <= 0xDFFF) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:603:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 603 | || ucode >= 0xD800 && ucode <= 0xDFFF) // surrogate pairs | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp: In static member function 'static size_t SystemLocale::Utf8From16(const WCHAR*, SSIZE_T, char*, size_t, DWORD*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:761:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 761 | *dest++ = 0x80 | (wch >> 6)&0x3F; | ~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:799:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 799 | *dest++ = 0x80 | (wch >>12)&0x3F; | ~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:800:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 800 | *dest++ = 0x80 | (wch >> 6)&0x3F; | ~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:801:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 801 | *dest++ = 0x80 | wch&0x3F; | ~~~^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp: In static member function 'static size_t SystemLocale::Utf8From16Strict(const WCHAR*, SSIZE_T, char*, size_t, DWORD*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:900:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 900 | *dest++ = 0x80 | (wch >> 6)&0x3F; | ~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:931:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 931 | *dest++ = 0x80 | (wch >>12)&0x3F; | ~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:932:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 932 | *dest++ = 0x80 | (wch >> 6)&0x3F; | ~~~~~~~~~~^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/localizationimpl.cpp:933:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 933 | *dest++ = 0x80 | wch&0x3F; | ~~~^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/StringFunctions.cpp -o shared/StringFunctions.lo x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/StringFunctions.cpp -fPIC -DPIC -o shared/.libs/StringFunctions.o make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/FormattedPrint.cpp -o shared/FormattedPrint.lo x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/FormattedPrint.cpp -fPIC -DPIC -o shared/.libs/FormattedPrint.o /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/FormattedPrint.cpp:231:13: warning: 'bool _isleadbyte_l(unsigned char, _locale_t)' defined but not used [-Wunused-function] 231 | static bool _isleadbyte_l(unsigned char ch, _locale_t loc) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/FormattedPrint.cpp: In function 'int FormattedPrintA(IFormattedPrintOutput*, const char*, __va_list_tag*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/FormattedPrint.cpp:921:41: warning: 'text.FormattedPrintA(IFormattedPrintOutput*, const char*, __va_list_tag*)::::sz' may be used uninitialized in this function [-Wmaybe-uninitialized] 921 | output->WRITE_STRING(text.sz, textlen, &charsout); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_util.cpp -o shared/core_util.lo x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_util.cpp -fPIC -DPIC -o shared/.libs/core_util.o In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_util.cpp:22: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'param_meta_data::param_meta_data()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1372:17: warning: 'param_meta_data::column_size' will be initialized after [-Wreorder] 1372 | SQLULEN column_size; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1371:17: warning: 'SQLSMALLINT param_meta_data::nullable' [-Wreorder] 1371 | SQLSMALLINT nullable; | ^~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1374:5: warning: when initialized here [-Wreorder] 1374 | param_meta_data() : sql_type(0), decimal_digits(0), column_size(0), nullable(0) | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, SQLSRV_ENCODING, int, SQLUINTEGER)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1401:5: warning: when initialized here [-Wreorder] 1401 | sqlsrv_output_param( _In_ zval* p_z, _In_ SQLSRV_ENCODING enc, _In_ int num, _In_ SQLUINTEGER buffer_len ) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, int, bool, SQLSRV_PHPTYPE)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1407:5: warning: when initialized here [-Wreorder] 1407 | sqlsrv_output_param( _In_ zval* p_z, _In_ int num, _In_ bool is_bool, _In_ SQLSRV_PHPTYPE php_out_type) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_util.cpp: In function 'bool convert_string_from_utf16(SQLSRV_ENCODING, const SQLWCHAR*, SQLINTEGER, char**, SQLLEN&)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_util.cpp:124:11: warning: variable 'flags' set but not used [-Wunused-but-set-variable] 124 | DWORD flags = 0; | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp -o shared/core_results.lo mkdir shared/.libs mkdir: cannot create directory 'shared/.libs': File exists x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp -fPIC -DPIC -o shared/.libs/core_results.o In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp:20: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'param_meta_data::param_meta_data()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1372:17: warning: 'param_meta_data::column_size' will be initialized after [-Wreorder] 1372 | SQLULEN column_size; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1371:17: warning: 'SQLSMALLINT param_meta_data::nullable' [-Wreorder] 1371 | SQLSMALLINT nullable; | ^~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1374:5: warning: when initialized here [-Wreorder] 1374 | param_meta_data() : sql_type(0), decimal_digits(0), column_size(0), nullable(0) | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, SQLSRV_ENCODING, int, SQLUINTEGER)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1401:5: warning: when initialized here [-Wreorder] 1401 | sqlsrv_output_param( _In_ zval* p_z, _In_ SQLSRV_ENCODING enc, _In_ int num, _In_ SQLUINTEGER buffer_len ) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, int, bool, SQLSRV_PHPTYPE)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1407:5: warning: when initialized here [-Wreorder] 1407 | sqlsrv_output_param( _In_ zval* p_z, _In_ int num, _In_ bool is_bool, _In_ SQLSRV_PHPTYPE php_out_type) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp: In member function 'SQLRETURN sqlsrv_buffered_result_set::double_to_long(SQLSMALLINT, void*, SQLLEN, SQLLEN*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp:1024:34: warning: comparison of integer expressions of different signedness: 'SQLLEN' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1024 | SQLSRV_ASSERT( buffer_length >= sizeof(SQLLEN), "Buffer length must be able to find a long in " | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1949:52: note: in definition of macro 'SQLSRV_ASSERT' 1949 | #define SQLSRV_ASSERT( condition, msg, ...) if( !(condition)) DIE( msg, ## __VA_ARGS__ ); | ^~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp: In member function 'SQLRETURN sqlsrv_buffered_result_set::long_to_double(SQLSMALLINT, void*, SQLLEN, SQLLEN*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp:1087:34: warning: comparison of integer expressions of different signedness: 'SQLLEN' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1087 | SQLSRV_ASSERT( buffer_length >= sizeof(double), "Buffer length must be able to find a long in sqlsrv_buffered_result_set::double_to_long" ); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1949:52: note: in definition of macro 'SQLSRV_ASSERT' 1949 | #define SQLSRV_ASSERT( condition, msg, ...) if( !(condition)) DIE( msg, ## __VA_ARGS__ ); | ^~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp: In member function 'SQLRETURN sqlsrv_buffered_result_set::string_to_double(SQLSMALLINT, void*, SQLLEN, SQLLEN*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp:1136:34: warning: comparison of integer expressions of different signedness: 'SQLLEN' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1136 | SQLSRV_ASSERT( buffer_length >= sizeof( double ), "Buffer needs to be big enough to hold a double" ); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1949:52: note: in definition of macro 'SQLSRV_ASSERT' 1949 | #define SQLSRV_ASSERT( condition, msg, ...) if( !(condition)) DIE( msg, ## __VA_ARGS__ ); | ^~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp: In member function 'SQLRETURN sqlsrv_buffered_result_set::wstring_to_double(SQLSMALLINT, void*, SQLLEN, SQLLEN*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp:1148:34: warning: comparison of integer expressions of different signedness: 'SQLLEN' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1148 | SQLSRV_ASSERT( buffer_length >= sizeof( double ), "Buffer needs to be big enough to hold a double" ); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1949:52: note: in definition of macro 'SQLSRV_ASSERT' 1949 | #define SQLSRV_ASSERT( condition, msg, ...) if( !(condition)) DIE( msg, ## __VA_ARGS__ ); | ^~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp: In member function 'SQLRETURN sqlsrv_buffered_result_set::string_to_long(SQLSMALLINT, void*, SQLLEN, SQLLEN*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp:1160:34: warning: comparison of integer expressions of different signedness: 'SQLLEN' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1160 | SQLSRV_ASSERT( buffer_length >= sizeof( LONG ), "Buffer needs to be big enough to hold a long" ); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1949:52: note: in definition of macro 'SQLSRV_ASSERT' 1949 | #define SQLSRV_ASSERT( condition, msg, ...) if( !(condition)) DIE( msg, ## __VA_ARGS__ ); | ^~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp: In member function 'SQLRETURN sqlsrv_buffered_result_set::wstring_to_long(SQLSMALLINT, void*, SQLLEN, SQLLEN*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp:1172:34: warning: comparison of integer expressions of different signedness: 'SQLLEN' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1172 | SQLSRV_ASSERT( buffer_length >= sizeof( LONG ), "Buffer needs to be big enough to hold a long" ); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1949:52: note: in definition of macro 'SQLSRV_ASSERT' 1949 | #define SQLSRV_ASSERT( condition, msg, ...) if( !(condition)) DIE( msg, ## __VA_ARGS__ ); | ^~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp: In member function 'SQLRETURN sqlsrv_buffered_result_set::to_long(SQLSMALLINT, void*, SQLLEN, SQLLEN*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp:1454:34: warning: comparison of integer expressions of different signedness: 'SQLLEN' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1454 | SQLSRV_ASSERT( buffer_length >= sizeof( LONG ), "Buffer too small for SQL_C_LONG" ); // technically should ignore this | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1949:52: note: in definition of macro 'SQLSRV_ASSERT' 1949 | #define SQLSRV_ASSERT( condition, msg, ...) if( !(condition)) DIE( msg, ## __VA_ARGS__ ); | ^~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp: In member function 'SQLRETURN sqlsrv_buffered_result_set::to_double(SQLSMALLINT, void*, SQLLEN, SQLLEN*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_results.cpp:1468:34: warning: comparison of integer expressions of different signedness: 'SQLLEN' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1468 | SQLSRV_ASSERT( buffer_length >= sizeof( double ), "Buffer too small for SQL_C_DOUBLE" ); // technically should ignore this | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1949:52: note: in definition of macro 'SQLSRV_ASSERT' 1949 | #define SQLSRV_ASSERT( condition, msg, ...) if( !(condition)) DIE( msg, ## __VA_ARGS__ ); | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=compile x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp -o shared/core_stmt.lo x86_64-alt-linux-g++ -std=c++11 -I. -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp -fPIC -DPIC -o shared/.libs/core_stmt.o In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:20: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'param_meta_data::param_meta_data()': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1372:17: warning: 'param_meta_data::column_size' will be initialized after [-Wreorder] 1372 | SQLULEN column_size; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1371:17: warning: 'SQLSMALLINT param_meta_data::nullable' [-Wreorder] 1371 | SQLSMALLINT nullable; | ^~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1374:5: warning: when initialized here [-Wreorder] 1374 | param_meta_data() : sql_type(0), decimal_digits(0), column_size(0), nullable(0) | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, SQLSRV_ENCODING, int, SQLUINTEGER)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1401:5: warning: when initialized here [-Wreorder] 1401 | sqlsrv_output_param( _In_ zval* p_z, _In_ SQLSRV_ENCODING enc, _In_ int num, _In_ SQLUINTEGER buffer_len ) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_output_param::sqlsrv_output_param(zval*, int, bool, SQLSRV_PHPTYPE)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1397:10: warning: 'sqlsrv_output_param::is_bool' will be initialized after [-Wreorder] 1397 | bool is_bool; | ^~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1396:20: warning: 'SQLSRV_PHPTYPE sqlsrv_output_param::php_out_type' [-Wreorder] 1396 | SQLSRV_PHPTYPE php_out_type; // used to convert output param if necessary | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1407:5: warning: when initialized here [-Wreorder] 1407 | sqlsrv_output_param( _In_ zval* p_z, _In_ int num, _In_ bool is_bool, _In_ SQLSRV_PHPTYPE php_out_type) : | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h: In constructor 'sqlsrv_stmt::sqlsrv_stmt(sqlsrv_conn*, SQLHANDLE, error_callback, void*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1530:10: warning: 'sqlsrv_stmt::data_classification' will be initialized after [-Wreorder] 1530 | bool data_classification; // false by default but the user can set this to true to retrieve data classification sensitivity metadata | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1526:15: warning: 'zend_long sqlsrv_stmt::buffered_query_limit' [-Wreorder] 1526 | zend_long buffered_query_limit; // maximum allowed memory for a buffered query (measured in KB) | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:132:1: warning: when initialized here [-Wreorder] 132 | sqlsrv_stmt::sqlsrv_stmt( _In_ sqlsrv_conn* c, _In_ SQLHANDLE handle, _In_ error_callback e, _In_opt_ void* drv TSRMLS_DC ) : | ^~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp: In function 'void {anonymous}::finalize_output_parameters(sqlsrv_stmt*)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:2416:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] 2416 | zend_ulong index = -1; | ^~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:2417:18: warning: variable 'key' set but not used [-Wunused-but-set-variable] 2417 | zend_string* key = NULL; | ^~~ In file included from /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:20: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp: In function 'void {anonymous}::adjustInputPrecision(zval*, SQLSMALLINT)': /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:3045:38: warning: comparison of integer expressions of different signedness: 'short int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3045 | SQLSRV_ASSERT( scientificExp <= maxDecimalPrecision, "Input decimal overflow: sql decimal type only supports up to a precision of 38." ); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_sqlsrv.h:1949:52: note: in definition of macro 'SQLSRV_ASSERT' 1949 | #define SQLSRV_ASSERT( condition, msg, ...) if( !(condition)) DIE( msg, ## __VA_ARGS__ ); | ^~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:3096:22: warning: statement has no effect [-Wunused-value] 3096 | for( i; i < numInt && i < digits.size(); i++ ){ | ^ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:3096:41: warning: comparison of integer expressions of different signedness: 'short int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3096 | for( i; i < numInt && i < digits.size(); i++ ){ | ~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:3101:26: warning: statement has no effect [-Wunused-value] 3101 | for( i; i < numInt; i++ ){ | ^ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:3105:28: warning: comparison of integer expressions of different signedness: 'short int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3105 | if( numInt < digits.size() ){ | ~~~~~~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:3107:26: warning: statement has no effect [-Wunused-value] 3107 | for( i; i < digits.size(); i++ ){ | ^ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:3107:31: warning: comparison of integer expressions of different signedness: 'short int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3107 | for( i; i < digits.size(); i++ ){ | ~~^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp: At global scope: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared/core_stmt.cpp:2847:6: warning: 'bool {anonymous}::is_fixed_size_type(SQLINTEGER)' defined but not used [-Wunused-function] 2847 | bool is_fixed_size_type( _In_ SQLINTEGER sql_type ) | ^~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=link x86_64-alt-linux-gcc -DPHP_ATOM_INC -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/include -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/main -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8 -I/usr/include/php/7.4.8 -I/usr/include/php/7.4.8/main -I/usr/include/php/7.4.8/TSRM -I/usr/include/php/7.4.8/Zend -I/usr/include/php/7.4.8/ext -I/usr/include/php/7.4.8/ext/date/lib -I/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/shared -DHAVE_CONFIG_H -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -L/usr/lib64 -lphp-7.4.8 -o sqlsrv.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/modules conn.lo util.lo init.lo stmt.lo shared/core_conn.lo shared/core_results.lo shared/core_stream.lo shared/core_init.lo shared/core_stmt.lo shared/core_util.lo shared/FormattedPrint.lo shared/localizationimpl.lo shared/StringFunctions.lo -Wl,-z,now -lstdc++ -lodbc -lodbcinst x86_64-alt-linux-gcc -shared .libs/conn.o .libs/util.o .libs/init.o .libs/stmt.o shared/.libs/core_conn.o shared/.libs/core_results.o shared/.libs/core_stream.o shared/.libs/core_init.o shared/.libs/core_stmt.o shared/.libs/core_util.o shared/.libs/FormattedPrint.o shared/.libs/localizationimpl.o shared/.libs/StringFunctions.o -L/usr/lib64 -lphp-7.4.8 -lstdc++ -lodbc -lodbcinst -Wl,-z -Wl,now -Wl,-soname -Wl,sqlsrv.so -o .libs/sqlsrv.so creating sqlsrv.la (cd .libs && rm -f sqlsrv.la && ln -s ../sqlsrv.la sqlsrv.la) make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' /bin/sh /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/libtool --mode=install cp ./sqlsrv.la /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/modules cp ./.libs/sqlsrv.so /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/modules/sqlsrv.so cp ./.libs/sqlsrv.lai /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/modules/sqlsrv.la PATH="$PATH:/sbin" ldconfig -n /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/modules ---------------------------------------------------------------------- Libraries have been installed in: /usr/src/RPM/BUILD/php7-sqlsrv-7.4.8/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 - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' Build complete. Don't forget to run 'make test'. make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.51280 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/php7-sqlsrv-buildroot + : + /bin/rm -rf -- /usr/src/tmp/php7-sqlsrv-buildroot + cd php7-sqlsrv-7.4.8 + BUILD_ENV_VARS='EXTENSION_DIR=/usr/src/tmp/php7-sqlsrv-buildroot//usr/lib64/php/7.4.8/extensions PEAR_INSTALLDIR=/usr/src/tmp/php7-sqlsrv-buildroot//usr/share/php/pear' + /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/php7-sqlsrv-buildroot/usr exec_prefix=/usr/src/tmp/php7-sqlsrv-buildroot/usr bindir=/usr/src/tmp/php7-sqlsrv-buildroot/usr/bin sbindir=/usr/src/tmp/php7-sqlsrv-buildroot/usr/sbin sysconfdir=/usr/src/tmp/php7-sqlsrv-buildroot/etc datadir=/usr/src/tmp/php7-sqlsrv-buildroot/usr/share includedir=/usr/src/tmp/php7-sqlsrv-buildroot/usr/include libdir=/usr/src/tmp/php7-sqlsrv-buildroot/usr/lib64 libexecdir=/usr/src/tmp/php7-sqlsrv-buildroot/usr/lib localstatedir=/usr/src/tmp/php7-sqlsrv-buildroot/var/lib sharedstatedir=/usr/src/tmp/php7-sqlsrv-buildroot/var/lib mandir=/usr/src/tmp/php7-sqlsrv-buildroot/usr/share/man infodir=/usr/src/tmp/php7-sqlsrv-buildroot/usr/share/info install EXTENSION_DIR=/usr/src/tmp/php7-sqlsrv-buildroot//usr/lib64/php/7.4.8/extensions PEAR_INSTALLDIR=/usr/src/tmp/php7-sqlsrv-buildroot//usr/share/php/pear make: Entering directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' Installing shared extensions: /usr/src/tmp/php7-sqlsrv-buildroot//usr/lib64/php/7.4.8/extensions/ make: Leaving directory '/usr/src/RPM/BUILD/php7-sqlsrv-7.4.8' + install -D -m 644 -- /usr/src/RPM/SOURCES/php-sqlsrv.ini /usr/src/tmp/php7-sqlsrv-buildroot//usr/share/php/7.4/extconf/sqlsrv/config + install -D -m 644 -- /usr/src/RPM/SOURCES/php-sqlsrv-params.sh /usr/src/tmp/php7-sqlsrv-buildroot//usr/share/php/7.4/extconf/sqlsrv/params + install -D -m 644 -- /usr/src/RPM/SOURCES/README.ALT README.ALT + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/php7-sqlsrv-buildroot (auto) mode of './usr/lib64/php/7.4.8/extensions/sqlsrv.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/php7-sqlsrv-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/php7-sqlsrv-buildroot/ (default) Compressing files in /usr/src/tmp/php7-sqlsrv-buildroot (auto) Adjusting library links in /usr/src/tmp/php7-sqlsrv-buildroot ./usr/lib64: Verifying ELF objects in /usr/src/tmp/php7-sqlsrv-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: php7-sqlsrv-7.4.8-alt1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.51280 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd php7-sqlsrv-7.4.8 + DOCDIR=/usr/src/tmp/php7-sqlsrv-buildroot/usr/share/doc/php7-sqlsrv-7.4.8 + export DOCDIR + rm -rf /usr/src/tmp/php7-sqlsrv-buildroot/usr/share/doc/php7-sqlsrv-7.4.8 + /bin/mkdir -p /usr/src/tmp/php7-sqlsrv-buildroot/usr/share/doc/php7-sqlsrv-7.4.8 + cp -prL CREDITS README.ALT /usr/src/tmp/php7-sqlsrv-buildroot/usr/share/doc/php7-sqlsrv-7.4.8 + chmod -R go-w /usr/src/tmp/php7-sqlsrv-buildroot/usr/share/doc/php7-sqlsrv-7.4.8 + chmod -R a+rX /usr/src/tmp/php7-sqlsrv-buildroot/usr/share/doc/php7-sqlsrv-7.4.8 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lQi9pM find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.134uZN find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ttyIUO Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Gf22PL Requires: /usr/lib64/php, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libodbc.so.2()(64bit) >= set:lfCfPW47HIYIjsXFuwZqg1g2ix3vYA9hAMlcQ6L51oZ2JyufJyVAYWSfhmNkp1udgZCIETFB89ib135Wb04H8Q8, libodbcinst.so.2()(64bit) >= set:lji2mWex, libphp-7.4.8.so()(64bit) >= set:ohu8NpOnwyUbRAW3paxZEz8Go0QhM52XY6v1pCgXVXCxgDnW9fg2RUGdCU8ZnHGixbazzo8HyK61im9XiAKbCPPmaueAe02OKN8ZxAifid6EdRcqf9zBhWDFcj6UeDKBB9tsSSbZ6nQKThtXKFVicQA7ZnBoo1dTI6Utbb3Hn7ZzD1eOPs3TFg9Na0ARcWZnSOknsgZnvscRmkQZtJgnbYHqf36PHs6t, libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), rtld(GNU_HASH), rtld(GNU_UNIQUE) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, /usr/share/php/scripts/php_postin.sh Requires(preun): /bin/sh, /usr/share/php/scripts/php_preun.sh Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JLy1aP Creating php7-sqlsrv-debuginfo package Processing files: php7-sqlsrv-debuginfo-7.4.8-alt1.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rJKjpL find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ziRKJL find-requires: running scripts (debuginfo) Requires: php7-sqlsrv = 7.4.8-alt1.1, debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libodbc.so.2), debug64(libodbcinst.so.2), debug64(libphp-7.4.8.so), debug64(libstdc++.so.6) Adding to php7-sqlsrv-debuginfo a strict dependency on php7-sqlsrv Wrote: /usr/src/RPM/RPMS/x86_64/php7-sqlsrv-7.4.8-alt1.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/php7-sqlsrv-debuginfo-7.4.8-alt1.1.x86_64.rpm 22.41user 3.06system 0:23.72elapsed 107%CPU (0avgtext+0avgdata 199808maxresident)k 0inputs+0outputs (0major+1427688minor)pagefaults 0swaps 34.46user 7.51system 0:41.66elapsed 100%CPU (0avgtext+0avgdata 199808maxresident)k 0inputs+0outputs (0major+1856445minor)pagefaults 0swaps