Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/adtool.spec'], chrootPath='/var/lib/mock/epel-8-aarch64-1607450244.294034/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3owp68tj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3owp68tj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '6ebd0a631ebf4c338c1d2a975d9fd24e', '-D', '/var/lib/mock/epel-8-aarch64-1607450244.294034/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3owp68tj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target aarch64 --nodeps /builddir/build/SPECS/adtool.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'} and shell False warning: bogus date in %changelog: Fri Oct 29 2020 Louis Abel - 1.3.3-2 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/adtool-1.3.3-2.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/adtool.spec'], chrootPath='/var/lib/mock/epel-8-aarch64-1607450244.294034/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3owp68tj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3owp68tj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '7f8f80c6021e41cbaafdf664090bd33b', '-D', '/var/lib/mock/epel-8-aarch64-1607450244.294034/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3owp68tj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target aarch64 --nodeps /builddir/build/SPECS/adtool.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'} and shell False warning: bogus date in %changelog: Fri Oct 29 2020 Louis Abel - 1.3.3-2 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yG6A2i + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf adtool-1.3.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/adtool-1.3.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd adtool-1.3.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tDc8Sj + umask 022 + cd /builddir/build/BUILD + cd adtool-1.3.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 --sysconfdir=/etc/adtool checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/adtool-1.3.3/missing: Unknown `--run' option Try `/builddir/build/BUILD/adtool-1.3.3/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for aarch64-redhat-linux-gnu-gcc... no checking for 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 style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu 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 ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for aarch64-redhat-linux-gnu-g++... no checking for aarch64-redhat-linux-gnu-c++... no checking for aarch64-redhat-linux-gnu-gpp... no checking for aarch64-redhat-linux-gnu-aCC... no checking for aarch64-redhat-linux-gnu-CC... no checking for aarch64-redhat-linux-gnu-cxx... no checking for aarch64-redhat-linux-gnu-cc++... no checking for aarch64-redhat-linux-gnu-cl.exe... no checking for aarch64-redhat-linux-gnu-FCC... no checking for aarch64-redhat-linux-gnu-KCC... no checking for aarch64-redhat-linux-gnu-RCC... no checking for aarch64-redhat-linux-gnu-xlC_r... no checking for aarch64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for aarch64-redhat-linux-gnu-g77... no checking for aarch64-redhat-linux-gnu-xlf... no checking for aarch64-redhat-linux-gnu-f77... no checking for aarch64-redhat-linux-gnu-frt... no checking for aarch64-redhat-linux-gnu-pgf77... no checking for aarch64-redhat-linux-gnu-cf77... no checking for aarch64-redhat-linux-gnu-fort77... no checking for aarch64-redhat-linux-gnu-fl32... no checking for aarch64-redhat-linux-gnu-af77... no checking for aarch64-redhat-linux-gnu-xlf90... no checking for aarch64-redhat-linux-gnu-f90... no checking for aarch64-redhat-linux-gnu-pgf90... no checking for aarch64-redhat-linux-gnu-pghpf... no checking for aarch64-redhat-linux-gnu-epcf90... no checking for aarch64-redhat-linux-gnu-gfortran... no checking for aarch64-redhat-linux-gnu-g95... no checking for aarch64-redhat-linux-gnu-xlf95... no checking for aarch64-redhat-linux-gnu-f95... no checking for aarch64-redhat-linux-gnu-fort... no checking for aarch64-redhat-linux-gnu-ifort... no checking for aarch64-redhat-linux-gnu-ifc... no checking for aarch64-redhat-linux-gnu-efc... no checking for aarch64-redhat-linux-gnu-pgf95... no checking for aarch64-redhat-linux-gnu-lf95... no checking for aarch64-redhat-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for aarch64-redhat-linux-gnu-ar... no checking for ar... ar checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for correct ltmain.sh version... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) 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... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for memset... yes checking for strdup... yes configure: creating ./config.status config.status: creating config.h config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating src/tools/Makefile config.status: creating src/etc/Makefile config.status: creating doc/Makefile config.status: creating doc/man/Makefile config.status: creating doc/man/man1/Makefile config.status: creating doc/html/Makefile config.status: creating tests/Makefile config.status: executing depfiles commands + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src/lib' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"adtool\" -DVERSION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -I. -I. -DSYSCONFDIR=\"/etc/adtool\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `test -f 'active_directory.c' || echo './'`active_directory.c active_directory.c: In function 'ad_login': active_directory.c:140:13: warning: implicit declaration of function 'ldap_simple_bind_s'; did you mean 'ldap_sasl_bind_s'? [-Wimplicit-function-declaration] bindresult=ldap_simple_bind_s(ds, binddn, bindpw); ^~~~~~~~~~~~~~~~~~ ldap_sasl_bind_s active_directory.c:144:3: warning: implicit declaration of function 'ldap_perror'; did you mean 'ldap_destroy'? [-Wimplicit-function-declaration] ldap_perror(ds, "bind: "); ^~~~~~~~~~~ ldap_destroy active_directory.c:151:27: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(bindpw, 0, sizeof(bindpw)); ^ active_directory.c: In function 'dn2domain': active_directory.c:179:2: warning: implicit declaration of function 'ldap_value_free'; did you mean 'ldap_value_free_len'? [-Wimplicit-function-declaration] ldap_value_free(exp_dn); ^~~~~~~~~~~~~~~ ldap_value_free_len active_directory.c: In function 'ad_create_user': active_directory.c:252:9: warning: implicit declaration of function 'ldap_add_s'; did you mean 'ldap_add_ext'? [-Wimplicit-function-declaration] result=ldap_add_s(ds, dn, attrs); ^~~~~~~~~~ ldap_add_ext active_directory.c: In function 'ad_object_delete': active_directory.c:327:9: warning: implicit declaration of function 'ldap_delete_s'; did you mean 'ldap_delete_ext'? [-Wimplicit-function-declaration] result=ldap_delete_s(ds, dn); ^~~~~~~~~~~~~ ldap_delete_ext active_directory.c: In function 'ad_setpass': active_directory.c:373:11: warning: implicit declaration of function 'ldap_modify_s'; did you mean 'ldap_modify_ext'? [-Wimplicit-function-declaration] result = ldap_modify_s(ds, dn, attrs); ^~~~~~~~~~~~~ ldap_modify_ext active_directory.c: In function 'ad_search': active_directory.c:408:9: warning: implicit declaration of function 'ldap_search_s'; did you mean 'ldap_search_ext'? [-Wimplicit-function-declaration] result=ldap_search_s(ds, search_base, LDAP_SCOPE_SUBTREE, filter, attrs, 1, &res); ^~~~~~~~~~~~~ ldap_search_ext active_directory.c: In function 'ad_get_attribute': active_directory.c:649:9: warning: implicit declaration of function 'ldap_get_values'; did you mean 'ldap_get_values_len'? [-Wimplicit-function-declaration] values=ldap_get_values(ds, entry, attribute); ^~~~~~~~~~~~~~~ ldap_get_values_len active_directory.c:649:8: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] values=ldap_get_values(ds, entry, attribute); ^ active_directory.c: In function 'ad_rename_user': active_directory.c:690:9: warning: implicit declaration of function 'ldap_modrdn2_s'; did you mean 'ldap_turn_s'? [-Wimplicit-function-declaration] result=ldap_modrdn2_s(ds, dn, new_rdn, 1); ^~~~~~~~~~~~~~ ldap_turn_s active_directory.c: In function 'ad_group_subtree_remove_user': active_directory.c:904:13: warning: passing argument 1 to restrict-qualified parameter aliases with argument 6 [-Wrestrict] snprintf(ad_error_msg, MAX_ERR_LENGTH, ^~~~~~~~~~~~ active_directory.c:907:24: user_dn, group_dn, ad_error_msg); ~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/lber.h:30, from /usr/include/ldap.h:30, from active_directory.c:22: In function 'strncat', inlined from 'dn2domain' at active_directory.c:175:4: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 1024 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ active_directory.c: In function 'ad_group_subtree_remove_user': active_directory.c:905:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 964 [-Wformat-truncation=] "Error in ad_group_subtree_remove_user" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ active_directory.c:907:24: user_dn, group_dn, ad_error_msg); ~~~~~~~~~~~~ active_directory.c:906:35: note: format string is defined here "\nwhen removing %s from %s:\n%s", ^~ In file included from /usr/include/stdio.h:873, from active_directory.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 61 or more bytes (assuming 1084) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libactive_directory.a ar cru libactive_directory.a active_directory.o ranlib libactive_directory.a make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src/lib' Making all in tools make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src/tools' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"adtool\" -DVERSION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -I. -I. -I../../src/lib -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `test -f 'adtool.c' || echo './'`adtool.c adtool.c: In function 'attributeaddbinary': adtool.c:453:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(data, filesize, 1, data_fd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o adtool adtool.o ../../src/lib/libactive_directory.a -lldap -llber -lldap_r -lpthread -lresolv mkdir .libs gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o adtool adtool.o ../../src/lib/libactive_directory.a -lldap -llber -lldap_r -lpthread -lresolv make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src/tools' Making all in etc make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src/etc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src/etc' make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src' make[1]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src' Making all in doc make[1]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc' Making all in man make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc/man' Making all in man1 make[3]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc/man/man1' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc/man/man1' make[3]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc/man' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc/man' make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc/man' Making all in html make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc/html' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc/html' make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc' make[1]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc' Making all in tests make[1]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/tests' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/tests' make[1]: Entering directory '/builddir/build/BUILD/adtool-1.3.3' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pB4YdL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64 + cd adtool-1.3.3 + rm -rf /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src/lib' make[3]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src/lib' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src/lib' make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src/lib' Making install in tools make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src/tools' make[3]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src/tools' /bin/sh ../../mkinstalldirs /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/usr/bin mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64 mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/usr mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/usr/bin /bin/sh ../../libtool --mode=install /usr/bin/install -p adtool /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/usr/bin/adtool /usr/bin/install -p adtool /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/usr/bin/adtool make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src/tools' make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src/tools' Making install in etc make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src/etc' make[3]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src/etc' /bin/sh ../../mkinstalldirs /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/etc/adtool mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/etc mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/etc/adtool /usr/bin/install -p -m 644 adtool.cfg.dist /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/etc/adtool/adtool.cfg.dist make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src/etc' make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src/etc' make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src' make[3]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/src' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src' make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src' make[1]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/src' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc' Making install in man make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc/man' Making install in man1 make[3]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc/man/man1' make[4]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc/man/man1' make[4]: Nothing to be done for 'install-exec-am'. /bin/sh ../../../mkinstalldirs /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/usr/share mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/usr/share/man mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/usr/share/man/man1 /usr/bin/install -p -m 644 ./adtool.1 /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/usr/share/man/man1/adtool.1 make[4]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc/man/man1' make[3]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc/man/man1' make[3]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc/man' make[4]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc/man' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc/man' make[3]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc/man' make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc/man' Making install in html make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc/html' make[3]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc/html' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc/html' make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc/html' make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc' make[3]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/doc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc' make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc' make[1]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/doc' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/tests' make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/tests' make[1]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3/tests' make[1]: Entering directory '/builddir/build/BUILD/adtool-1.3.3' make[2]: Entering directory '/builddir/build/BUILD/adtool-1.3.3' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3' make[1]: Leaving directory '/builddir/build/BUILD/adtool-1.3.3' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.3.3-2.el8 --unique-debug-suffix -1.3.3-2.el8.aarch64 --unique-debug-src-base adtool-1.3.3-2.el8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/adtool-1.3.3 extracting debug info from /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/usr/bin/adtool /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 99 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: adtool-1.3.3-2.el8.aarch64 Provides: adtool = 1.3.3-2.el8 adtool(aarch-64) = 1.3.3-2.el8 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) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libldap_r-2.4.so.2()(64bit) libpthread.so.0()(64bit) libresolv.so.2()(64bit) rtld(GNU_HASH) Processing files: adtool-debugsource-1.3.3-2.el8.aarch64 Provides: adtool-debugsource = 1.3.3-2.el8 adtool-debugsource(aarch-64) = 1.3.3-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: adtool-debuginfo-1.3.3-2.el8.aarch64 Provides: adtool-debuginfo = 1.3.3-2.el8 adtool-debuginfo(aarch-64) = 1.3.3-2.el8 debuginfo(build-id) = 66fc19217968872bada4ccfde689ea6c6525ea6c Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: adtool-debugsource(aarch-64) = 1.3.3-2.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64 Wrote: /builddir/build/RPMS/adtool-1.3.3-2.el8.aarch64.rpm Wrote: /builddir/build/RPMS/adtool-debugsource-1.3.3-2.el8.aarch64.rpm Wrote: /builddir/build/RPMS/adtool-debuginfo-1.3.3-2.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QiccKY + umask 022 + cd /builddir/build/BUILD + cd adtool-1.3.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/adtool-1.3.3-2.el8.aarch64 + exit 0 Child return code was: 0