D: [iurt_root_command] chroot warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/389-dsgw-1.1.11-28.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CjF46R + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf 389-dsgw-1.1.11 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/389-dsgw-1.1.11.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd 389-dsgw-1.1.11 + rm -rf /home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (389-dsgw-1.1.11-icu-true.patch):' Patch #0 (389-dsgw-1.1.11-icu-true.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cgiutil.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.S0HLJA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd 389-dsgw-1.1.11 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. configure.ac:30: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.ac:30: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:30: the top level configure.ac:39: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:39: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:39: the top level configure.ac:42: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:42: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:42: the top level configure.ac:49: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:49: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:49: the top level configure.ac:77: warning: The macro 'AC_ERROR' is obsolete. configure.ac:77: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:77: the top level m4/fhs.m4:21: warning: The macro 'AC_CHECKING' is obsolete. m4/fhs.m4:21: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... m4/fhs.m4:21: the top level m4/nspr.m4:21: warning: The macro 'AC_CHECKING' is obsolete. m4/nspr.m4:21: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... m4/nspr.m4:21: the top level m4/nss.m4:21: warning: The macro 'AC_CHECKING' is obsolete. m4/nss.m4:21: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... m4/nss.m4:21: the top level m4/sasl.m4:30: warning: The macro 'AC_CHECKING' is obsolete. m4/sasl.m4:30: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... m4/sasl.m4:30: the top level m4/openldap.m4:21: warning: The macro 'AC_CHECKING' is obsolete. m4/openldap.m4:21: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... m4/openldap.m4:21: the top level m4/mozldap.m4:21: warning: The macro 'AC_CHECKING' is obsolete. m4/mozldap.m4:21: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... m4/mozldap.m4:21: the top level m4/icu.m4:21: warning: The macro 'AC_CHECKING' is obsolete. m4/icu.m4:21: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... m4/icu.m4:21: the top level m4/adminutil.m4:21: warning: The macro 'AC_CHECKING' is obsolete. m4/adminutil.m4:21: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... m4/adminutil.m4:21: the top level configure.ac:34: installing './compile' configure.ac:26: installing './missing' Makefile.am: installing './depcomp' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --with-openldap checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by 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 g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for egrep... (cached) /usr/bin/grep -E checking for fcntl.h... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/file.h... yes checking for sys/param.h... yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for _Bool... yes checking for stdbool.h that conforms to C99 or later... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for working strtod... yes checking for vprintf... yes checking for ftruncate... yes checking for getcwd... yes checking for isascii... yes checking for localtime_r... yes checking for memmove... yes checking for memset... yes checking for select... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtoul... yes checking for lockf... yes checking for --with-instconfigdir... no checking for --enable-debug... no checking for --enable-bundle... no checking for --enable-rpath... configure: checking for FHS... checking for --with-fhs... no checking for --with-fhs-opt... no configure: checking for NSPR... checking for --with-nspr... no checking for --with-nspr-inc... no checking for --with-nspr-lib... no checking for pkg-config... /usr/bin/pkg-config checking for nspr with pkg-config... using system NSPR configure: checking for NSS... checking for --with-nss... no checking for --with-nss-inc... no checking for --with-nss-lib... no checking for pkg-config... (cached) /usr/bin/pkg-config checking for nss with pkg-config... using system NSS configure: checking for sasl... checking for --with-sasl... no checking for --with-sasl-inc... no checking for --with-sasl-lib... no checking for sasl.h... using /usr/include/sasl/sasl.h configure: checking for OpenLDAP... checking for --with-openldap... using system OpenLDAP checking for --with-openldap-inc... no checking for --with-openldap-lib... no checking for --with-openldap-bin... no checking for pkg-config... (cached) /usr/bin/pkg-config checking for OpenLDAP with pkg-config... no OpenLDAP pkg-config files checking for ldap_features.h... yes checking for ldap_initialize in -lldap-2.5... no checking for ldap_initialize in -lldap... yes checking for ldap_url_parse_ext in -lldap... yes checking for ldif_open in -lldap... yes configure: checking for Mozilla LDAPSDK... checking for --with-ldapsdk... no checking for --with-ldapsdk-inc... no checking for --with-ldapsdk-lib... no checking for --with-ldapsdk-bin... no configure: checking for LIBICU... checking for --with-icu... no checking for --with-icu-inc... no checking for --with-icu-lib... no checking for --with-icu-bin... no checking for icu with icu-config... checking for icu-config... /usr/bin/icu-config using system ICU checking for genrb... 1 configure: checking for ADMINUTIL... checking for --with-adminutil... no checking for adminutil with pkg-config... checking for pkg-config... (cached) /usr/bin/pkg-config checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: Fixing libtool to remove automatic rpath to /usr/lib64 . . . + export 'XCFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + XCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export USE_64=1 + USE_64=1 + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o auth.o auth.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o error.o error.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cgiutil.o cgiutil.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o htmlout.o htmlout.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o htmlparse.o htmlparse.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o emitauth.o emitauth.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dsgwutil.o dsgwutil.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o Versiongw.o Versiongw.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cookie.o cookie.c cookie.c: In function 'dsgw_delcookie': cookie.c:401:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 401 | fgets( buf, sizeof(buf), fp ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cookie.c: In function 'dsgw_getlastpurged': cookie.c:481:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 481 | fgets( buf, sizeof(buf), fp ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cookie.c: In function 'dsgw_purgedatabase': cookie.c:624:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 624 | ftruncate( fileno( fp ), csize ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o collate.o collate.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o vcard.o vcard.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dsgwgetlang.o dsgwgetlang.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o config.o config.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o srchpref.o srchpref.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o utf8.o utf8.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o emitf.o emitf.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o utf8compare.o utf8compare.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sort.o sort.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dsparse.o dsparse.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o propmaker.o propmaker.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ldaputil.o ldaputil.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o edit.o edit.c edit.c: In function 'main': edit.c:30:5: error: type of 'env' defaults to 'int' [-Wimplicit-int] 30 | int main( argc, argv, env ) | ^~~~ make[1]: *** [Makefile:1151: edit.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o domodify.o domodify.c domodify.c: In function 'main': domodify.c:52:5: error: type of 'env' defaults to 'int' [-Wimplicit-int] 52 | int main( argc, argv, env ) | ^~~~ make[1]: *** [Makefile:1151: domodify.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dosearch.o dosearch.c dosearch.c: In function 'main': dosearch.c:53:5: error: type of 'env' defaults to 'int' [-Wimplicit-int] 53 | int main( argc, argv, env ) | ^~~~ make[1]: *** [Makefile:1151: dosearch.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o doauth.o doauth.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dnedit.o dnedit.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o disptmpl.o disptmpl.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o entrydisplay.o entrydisplay.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' gcc -DHAVE_CONFIG_H -I. -DDSGW_VER_STR=\""Directory-Server-Gateway/1.1.11"\" -I/usr/include/admsslutil -I/usr/include/adminutil -I/usr/include/nspr4 -I/usr/include/nss -I/usr/include -I/usr/include -I/usr/include/nss -I/usr/include/nspr4 -I/usr/include/nspr4 -I./include -I./include/base -DXP_UNIX -DPROPERTYDIR=\"/usr/share/dirsrv/properties/dsgw\" -DHTMLDIR=\"/usr/share/dirsrv/dsgw/html\" -DCOOKIEDIR=\"/var/run/dirsrv/dsgw/cookies\" -DCONFIGDIR=\"/usr/share/dirsrv/dsgw/config\" -DSECURITYDIR=\"/etc/dirsrv/dsgw\" -DCGIBINDIR=\"/usr/lib64/dirsrv/dsgw-cgi-bin\" -DCONTEXTDIR=\"/etc/dirsrv/dsgw\" -DINSTCONFIGDIR=\"/etc/dirsrv\" -DMANUALDIR=\"/usr/share/dirsrv/manual\" -DCGIURIBASE=\"/dsgwcmd\" -DMANUALSUBDIR=\"dsgw\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o tmplout.o tmplout.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/389-dsgw-1.1.11' make: *** [Makefile:858: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.S0HLJA (%build) RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.S0HLJA (%build) I: [iurt_root_command] ERROR: chroot