Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ldapvi.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79459-53370/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ldapvi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ldapvi-1.7-2.oc9.src.rpm RPM build warnings: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ldapvi.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79459-53370/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ldapvi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9e6uu0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ldapvi-1.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ldapvi-1.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ldapvi-1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (GNUmakefile.in.patch): + echo 'Patch #0 (GNUmakefile.in.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .gnumk --fuzz=0 patching file GNUmakefile.in Patch #1 (ldapvi-1.7-getline.patch): + echo 'Patch #1 (ldapvi-1.7-getline.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 -b --suffix .getline --fuzz=0 patching file common.h patching file ldapvi.c patching file misc.c Patch #2 (dont-set-encoding-in-vim-modeline.diff): + echo 'Patch #2 (dont-set-encoding-in-vim-modeline.diff):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 -b --suffix .encoding --fuzz=0 patching file ldapvi.c Patch #3 (ldapvi-1.7-fix-use-after-free-in-sasl-code.patch): + echo 'Patch #3 (ldapvi-1.7-fix-use-after-free-in-sasl-code.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 -b --suffix .doubleFree --fuzz=0 patching file ldapvi.c Patch #4 (ldapvi-1.7-incorrect-FSF-address.patch): + echo 'Patch #4 (ldapvi-1.7-incorrect-FSF-address.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .FSFaddress --fuzz=0 patching file COPYING patching file arguments.c patching file data.c patching file diff.c patching file error.c patching file ldapvi.c patching file misc.c patching file parse.c patching file parseldif.c patching file port.c patching file print.c patching file sasl.c patching file schema.c patching file search.c patching file common.h Patch #5 (0001-Don-t-switch-off-canonical-mode.patch): + echo 'Patch #5 (0001-Don-t-switch-off-canonical-mode.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nopassword --fuzz=0 patching file ldapvi.c Patch #6 (ldapvi-c99-1.patch): + echo 'Patch #6 (ldapvi-c99-1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file common.h Patch #7 (ldapvi-c99-2.patch): + echo 'Patch #7 (ldapvi-c99-2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file parse.c Patch #8 (ldapvi-c99-3.patch): + echo 'Patch #8 (ldapvi-c99-3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file diff.c Patch #9 (ldapvi-c99-4.patch): + echo 'Patch #9 (ldapvi-c99-4.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file port.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.myb4ll + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ldapvi-1.7 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED' + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-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 checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for mkdtemp... yes checking for on_exit... yes checking for main in -lsocket... no checking for main in -lresolv... yes checking for main in -llber... yes checking for main in -lldap... yes checking for ldap_initialize in -lldap... yes checking for ldap_bv2dn_x in -lldap... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 sasl/sasl.h usability... yes checking sasl/sasl.h presence... yes checking for sasl/sasl.h... yes checking for library containing tigetstr... -lcurses checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for poptGetContext in -lpopt... yes checking for readline in -lreadline... yes checking for pkg-config... /usr/bin/pkg-config checking for main in -lglib-2.0... yes checking for main in -lssl... yes checking for SHA1... yes checking for RAND_pseudo_bytes... yes checking for main in -lcrypt... yes configure: creating ./config.status config.status: creating GNUmakefile config.status: creating config.h + make -j32 gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o ldapvi.o ldapvi.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o data.o data.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o diff.o diff.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o error.o error.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o misc.o misc.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o parse.o parse.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o port.o port.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o print.o print.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o search.o search.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o base64.o base64.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o arguments.o arguments.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o parseldif.o parseldif.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o sasl.o sasl.c parseldif.c: In function 'ldif_read_line1': parseldif.c:215:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 215 | if ( c = ldif_read_ad(s, name)) return c; | ^ print.c: In function 'utf8_string_p': print.c:81:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 81 | if ((0xd800 <= code) && (code <= 0xdfff) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sasl.c: In function 'process_result': sasl.c:143:1: warning: no return statement in function returning non-void [-Wreturn-type] 143 | } | ^ ldapvi.c: In function 'rebind': ldapvi.c:657:13: warning: unused variable 'rc' [-Wunused-variable] 657 | int rc = -1; | ^~ ldapvi.c: In function 'do_connect': ldapvi.c:721:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 721 | if ( rc = ldap_initialize(&ld, server)) { | ^~ ldapvi.c: In function 'save_ldif': ldapvi.c:766:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" 766 | g_string_sprintfa(name, "-%d.ldif", getpid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ldapvi.c: In function 'write_config': ldapvi.c:1218:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1218 | if (server) | ^ ldapvi.c:1236:43: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'gpointer' {aka 'void *'} [-Wformat=] 1236 | fprintf(f, "BASE %s\n", g_ptr_array_index(basedns, i)); | ~^ | | | char * | %p ldapvi.c: In function 'copy_sasl_output': ldapvi.c:1468:37: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1468 | if (lstat(sasl, &st) == -1) return; | ^~~~~~ ldapvi.c:1460:1: note: declared here 1460 | copy_sasl_output(FILE *out, char *sasl) | ^~~~~~~~~~~~~~~~ port.c: In function 'g_string_append_ssha': port.c:134:27: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign] 134 | RAND_pseudo_bytes(rand, sizeof(rand)); | ^~~~ | | | char * In file included from port.c:39: /usr/include/openssl/rand.h:61:31: note: expected 'unsigned char *' but argument is of type 'char *' 61 | int RAND_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ port.c:136:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 136 | SHA1_Init(&SHA1context); | ^~~~~~~~~ In file included from port.c:37: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ port.c:137:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 137 | SHA1_Update(&SHA1context, key, strlen(key)); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ port.c:138:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | SHA1_Update(&SHA1context, rand, sizeof(rand)); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ port.c:139:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 139 | SHA1_Final(tmp, &SHA1context); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ port.c: In function 'g_string_append_md5': port.c:154:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 154 | MD5((unsigned char *) key, strlen(key), tmp); | ^~~ In file included from port.c:38: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ port.c: In function 'g_string_append_smd5': port.c:168:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 168 | MD5_Init(&MD5context); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ port.c:169:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 169 | MD5_Update(&MD5context, key, strlen(key)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ port.c:170:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 170 | MD5_Update(&MD5context, rand, sizeof(rand)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ port.c:171:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 171 | MD5_Final(tmp, &MD5context); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ parse.c: In function 'read_line1': parse.c:223:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 223 | if ( encoding = memchr(name->str, ':', name->len)) { | ^~~~~~~~ ldapvi.c: In function 'ensure_tmp_directory': ldapvi.c:579:9: warning: ignoring return value of 'mkdtemp' declared with attribute 'warn_unused_result' [-Wunused-result] 579 | mkdtemp(dir); | ^~~~~~~~~~~~ arguments.c: In function 'parse_profile_line': arguments.c:527:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 527 | if (o->argInfo == 0) | ^ ldapvi.c: At top level: ldapvi.c:317:1: warning: 'noop_delete' defined but not used [-Wunused-function] 317 | noop_delete(int key, char *dn, void *userdata) | ^~~~~~~~~~~ arguments.c: In function 'usage': arguments.c:184:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 184 | write(fd, USAGE, strlen(USAGE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'edit': misc.c:176:25: warning: missing sentinel in function call [-Wformat=] 176 | execlp(vi, vi, buf, pathname, 0); | ^~~~~~ misc.c:178:25: warning: missing sentinel in function call [-Wformat=] 178 | execlp(vi, vi, pathname, 0); | ^~~~~~ misc.c: In function 'view': misc.c:217:17: warning: missing sentinel in function call [-Wformat=] 217 | execlp(pg, pg, pathname, 0); | ^~~~~~ misc.c: In function 'pipeview': misc.c:249:17: warning: missing sentinel in function call [-Wformat=] 249 | execlp(pg, pg, 0); | ^~~~~~ misc.c: In function 'set_meta_keymap': misc.c:593:1: warning: no return statement in function returning non-void [-Wreturn-type] 593 | } | ^ misc.c: In function 'xalloc': misc.c:401:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 401 | write(2, "\nmalloc error\n", sizeof("\nmalloc error\n") - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'xdup': misc.c:415:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 415 | write(2, "\nstrdup error\n", sizeof("\nstrdup error\n") - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseldif.c: In function 'ldif_read_header': parseldif.c:513:33: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized] 513 | if (dn) free(d); | ^~~~~~~ parseldif.c:464:15: note: 'd' was declared here 464 | char *d; | ^ misc.c: In function 'fdcp': misc.c:54:21: warning: 'write' specified size 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 54 | if (write(fddst, buf, n) != n) syserr(); | ^~~~~~~~~~~~~~~~~~~~ In file included from common.h:40, from misc.c:21: /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ misc.c: In function 'edit': misc.c:175:48: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 175 | snprintf(buf, 20, "+%ld", line); | ^ In file included from /usr/include/stdio.h:964, from /usr/include/curses.h:232, from misc.c:19: In function 'snprintf', inlined from 'edit' at misc.c:175:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 21 bytes into a destination of size 20 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ parse.c: In function 'read_modify_body': parse.c:425:25: warning: 'values' may be used uninitialized [-Wmaybe-uninitialized] 425 | g_ptr_array_add(values, gstring2berval(tmp2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:393:20: note: 'values' was declared here 393 | GPtrArray *values; | ^~~~~~ gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLDAP_DEPRECATED -o ldapvi ldapvi.o data.o diff.o error.o misc.o parse.o port.o print.o search.o base64.o arguments.o parseldif.o schema.c sasl.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lcrypt -lssl -lssl -lcrypto -lglib-2.0 -lreadline -lpopt -lcurses -lldap -llber -lresolv + cd manual + make manual.html xsltproc html.xsl manual.xml >manual.html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DcSp5W + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64 + cd ldapvi-1.7 + rm -rf /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64 + make DESTDIR=/builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64 install mkdir -p /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/bin /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/share/man/man1/ /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/share/doc/ldapvi /usr/bin/install -c ldapvi /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/bin /usr/bin/install -c -m 644 ldapvi.1 /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/share/man/man1/ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.7-2.oc9 --unique-debug-suffix -1.7-2.oc9.x86_64 --unique-debug-src-base ldapvi-1.7-2.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/ldapvi-1.7 extracting debug info from /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/bin/ldapvi 375 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: ldapvi-1.7-2.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vkkbnB + umask 022 + cd /builddir/build/BUILD + cd ldapvi-1.7 + DOCDIR=/builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/share/doc/ldapvi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/share/doc/ldapvi + cp -pr NEWS /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/share/doc/ldapvi + cp -pr COPYING /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/share/doc/ldapvi + cp -pr manual/bg.png /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/share/doc/ldapvi + cp -pr manual/manual.html /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/share/doc/ldapvi + cp -pr manual/manual.css /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64/usr/share/doc/ldapvi + RPM_EC=0 ++ jobs -p + exit 0 Provides: ldapvi = 1.7-2.oc9 ldapvi(x86-64) = 1.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(XCRYPT_2.0)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libglib-2.0.so.0()(64bit) liblber.so.2()(64bit) liblber.so.2(OPENLDAP_2.200)(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) libreadline.so.8()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: ldapvi-debugsource-1.7-2.oc9.x86_64 Provides: ldapvi-debugsource = 1.7-2.oc9 ldapvi-debugsource(x86-64) = 1.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ldapvi-debuginfo-1.7-2.oc9.x86_64 Provides: debuginfo(build-id) = 24018c7d73cd19e28f04316b8c3de488bb3905e3 ldapvi-debuginfo = 1.7-2.oc9 ldapvi-debuginfo(x86-64) = 1.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ldapvi-debugsource(x86-64) = 1.7-2.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ldapvi-1.7-2.oc9.x86_64 Wrote: /builddir/build/RPMS/ldapvi-debugsource-1.7-2.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/ldapvi-1.7-2.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/ldapvi-debuginfo-1.7-2.oc9.x86_64.rpm RPM build warnings: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Child return code was: 0