Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ldapvi.spec'], chrootPath='/var/lib/mock/epel9-next-build-59201025-6571824/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bqokeotc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bqokeotc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '52e4a240e63a480e87246672a5f94190', '-D', '/var/lib/mock/epel9-next-build-59201025-6571824/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bqokeotc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/ldapvi-1.7-41.el9.next.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ldapvi.spec'], chrootPath='/var/lib/mock/epel9-next-build-59201025-6571824/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bqokeotc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bqokeotc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0ea151ef8d37446dbbbafd95af9c4c2a', '-D', '/var/lib/mock/epel9-next-build-59201025-6571824/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bqokeotc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eDHWDH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ldapvi-1.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/ldapvi-1.7.tar.gz + /usr/bin/tar -xof - + 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 -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 -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 -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 -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 -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 -p1 -b --suffix .nopassword --fuzz=0 patching file ldapvi.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZPRNLV + umask 022 + cd /builddir/build/BUILD + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-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 aarch64-redhat-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 -j12 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o parseldif.o parseldif.c parse.c: In function 'cryptdes': parse.c:157:16: warning: implicit declaration of function 'crypt' [-Wimplicit-function-declaration] 157 | return crypt(key, (char *) salt); | ^~~~~ parse.c:157:16: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 157 | return crypt(key, (char *) salt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ parse.c: In function 'cryptmd5': parse.c:178:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 178 | result = crypt(key, (char *) salt); | ^ parse.c: In function 'read_line1': parse.c:224:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 224 | if ( encoding = memchr(name->str, ':', name->len)) { | ^~~~~~~~ error.c: In function 'ldaperr': error.c:55:9: warning: implicit declaration of function 'ldap_perror'; did you mean 'ldaperr'? [-Wimplicit-function-declaration] 55 | ldap_perror(ld, str); | ^~~~~~~~~~~ | ldaperr 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; | ^ diff.c: In function 'safe_str2dn': diff.c:219:9: warning: implicit declaration of function 'ldap_bv2dn_x'; did you mean 'ldap_bv2dn'? [-Wimplicit-function-declaration] 219 | ldap_bv2dn_x(&bv, out, flags); | ^~~~~~~~~~~~ | ldap_bv2dn 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) | ^ port.c: In function 'g_string_append_ssha': port.c:47:27: warning: implicit declaration of function 'RAND_bytes' [-Wimplicit-function-declaration] 47 | #define RAND_pseudo_bytes RAND_bytes | ^~~~~~~~~~ port.c:133:9: note: in expansion of macro 'RAND_pseudo_bytes' 133 | RAND_pseudo_bytes(rand, sizeof(rand)); | ^~~~~~~~~~~~~~~~~ port.c:135:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | 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:136:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 136 | SHA1_Update(&SHA1context, key, strlen(key)); | ^~~~~~~~~~~ In file included from port.c:37: /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:137:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 137 | SHA1_Update(&SHA1context, rand, sizeof(rand)); | ^~~~~~~~~~~ In file included from port.c:37: /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_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | SHA1_Final(tmp, &SHA1context); | ^~~~~~~~~~ In file included from port.c:37: /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:153:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | 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:167:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 167 | MD5_Init(&MD5context); | ^~~~~~~~ In file included from port.c:38: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ port.c:168:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 168 | MD5_Update(&MD5context, key, strlen(key)); | ^~~~~~~~~~ In file included from port.c:38: /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:169:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 169 | MD5_Update(&MD5context, rand, sizeof(rand)); | ^~~~~~~~~~ In file included from port.c:38: /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_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 170 | MD5_Final(tmp, &MD5context); | ^~~~~~~~~ In file included from port.c:38: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c: In function 'utf8_string_p': print.c:81:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 81 | if ((0xd800 <= code) && (code <= 0xdfff) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o sasl.o sasl.c 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 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) | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~ 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) | ^~~~~~~~~~~ parseldif.c: In function 'ldif_read_header': parseldif.c:513:33: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized] 513 | if (dn) free(d); | ^~~~~~~ sasl.c: In function 'finish_sasl_redirection': sasl.c:73:9: warning: implicit declaration of function 'fdcp' [-Wimplicit-function-declaration] 73 | fdcp(defaults->fd, 2); | ^~~~ sasl.c: In function 'process_result': sasl.c:143:1: warning: no return statement in function returning non-void [-Wreturn-type] 143 | } | ^ 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:900, from /usr/include/curses.h:204, from misc.c:19: /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:426:25: warning: 'values' may be used uninitialized in this function [-Wmaybe-uninitialized] 426 | g_ptr_array_add(values, gstring2berval(tmp2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.M4YVVa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64 ++ dirname /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64 + cd ldapvi-1.7 + rm -rf /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64 + make DESTDIR=/builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64 install mkdir -p /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/bin /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/share/man/man1/ /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/share/doc/ldapvi /usr/bin/install -c ldapvi /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/bin /usr/bin/install -c -m 644 ldapvi.1 /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/share/man/man1/ + /usr/bin/find-debuginfo -j12 --strict-build-id -m -i --build-id-seed 1.7-41.el9.next --unique-debug-suffix -1.7-41.el9.next.aarch64 --unique-debug-src-base ldapvi-1.7-41.el9.next.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/ldapvi-1.7 extracting debug info from /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/bin/ldapvi original debug info size: 380kB, size after compression: 344kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 376 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ldapvi-1.7-41.el9.next.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.f1tcjo + umask 022 + cd /builddir/build/BUILD + cd ldapvi-1.7 + DOCDIR=/builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/share/doc/ldapvi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/share/doc/ldapvi + cp -pr NEWS /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/share/doc/ldapvi + cp -pr COPYING /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/share/doc/ldapvi + cp -pr manual/bg.png /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/share/doc/ldapvi + cp -pr manual/manual.html /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/share/doc/ldapvi + cp -pr manual/manual.css /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64/usr/share/doc/ldapvi + RPM_EC=0 ++ jobs -p + exit 0 Provides: ldapvi = 1.7-41.el9.next ldapvi(aarch-64) = 1.7-41.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(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-41.el9.next.aarch64 Provides: ldapvi-debugsource = 1.7-41.el9.next ldapvi-debugsource(aarch-64) = 1.7-41.el9.next 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-41.el9.next.aarch64 Provides: debuginfo(build-id) = f5477c7f0da782aceb8450a4a4ee0ab92bd9cc69 ldapvi-debuginfo = 1.7-41.el9.next ldapvi-debuginfo(aarch-64) = 1.7-41.el9.next Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ldapvi-debugsource(aarch-64) = 1.7-41.el9.next Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ldapvi-1.7-41.el9.next.aarch64 Wrote: /builddir/build/RPMS/ldapvi-1.7-41.el9.next.aarch64.rpm Wrote: /builddir/build/RPMS/ldapvi-debugsource-1.7-41.el9.next.aarch64.rpm Wrote: /builddir/build/RPMS/ldapvi-debuginfo-1.7-41.el9.next.aarch64.rpm Child return code was: 0