Mock Version: 2.6
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/adtool.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1603501627.860679/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fa88e4ea790>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0xb886y3:/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.0xb886y3:/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', '98c7c438996c473eb78775becdfcb4a8', '-D', '/var/lib/mock/epel-7-x86_64-1603501627.860679/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0xb886y3:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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 <tucklesepk@gmail.com> - 1.3.3-2
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/adtool-1.3.3-2.el7.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/adtool.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1603501627.860679/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fa88e4ea790>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0xb886y3:/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.0xb886y3:/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', 'fda0f51b4c9f48e9920a90111b8407f4', '-D', '/var/lib/mock/epel-7-x86_64-1603501627.860679/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0xb886y3:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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 <tucklesepk@gmail.com> - 1.3.3-2
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uPdJZC
+ 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 -xf -
+ 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.230rnb
+ umask 022
+ cd /builddir/build/BUILD
+ cd adtool-1.3.3
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 == 1 ']'
+ '[' x86_64 == ppc64le ']'
++ find . -name config.guess -o -name config.sub
+ for i in '$(find . -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 . -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'
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 x86_64-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... x86_64-redhat-linux-gnu
checking host system type... x86_64-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 x86_64-redhat-linux-gnu-g++... no
checking for x86_64-redhat-linux-gnu-c++... no
checking for x86_64-redhat-linux-gnu-gpp... no
checking for x86_64-redhat-linux-gnu-aCC... no
checking for x86_64-redhat-linux-gnu-CC... no
checking for x86_64-redhat-linux-gnu-cxx... no
checking for x86_64-redhat-linux-gnu-cc++... no
checking for x86_64-redhat-linux-gnu-cl.exe... no
checking for x86_64-redhat-linux-gnu-FCC... no
checking for x86_64-redhat-linux-gnu-KCC... no
checking for x86_64-redhat-linux-gnu-RCC... no
checking for x86_64-redhat-linux-gnu-xlC_r... no
checking for x86_64-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 x86_64-redhat-linux-gnu-g77... no
checking for x86_64-redhat-linux-gnu-xlf... no
checking for x86_64-redhat-linux-gnu-f77... no
checking for x86_64-redhat-linux-gnu-frt... no
checking for x86_64-redhat-linux-gnu-pgf77... no
checking for x86_64-redhat-linux-gnu-cf77... no
checking for x86_64-redhat-linux-gnu-fort77... no
checking for x86_64-redhat-linux-gnu-fl32... no
checking for x86_64-redhat-linux-gnu-af77... no
checking for x86_64-redhat-linux-gnu-xlf90... no
checking for x86_64-redhat-linux-gnu-f90... no
checking for x86_64-redhat-linux-gnu-pgf90... no
checking for x86_64-redhat-linux-gnu-pghpf... no
checking for x86_64-redhat-linux-gnu-epcf90... no
checking for x86_64-redhat-linux-gnu-gfortran... no
checking for x86_64-redhat-linux-gnu-g95... no
checking for x86_64-redhat-linux-gnu-xlf95... no
checking for x86_64-redhat-linux-gnu-f95... no
checking for x86_64-redhat-linux-gnu-fort... no
checking for x86_64-redhat-linux-gnu-ifort... no
checking for x86_64-redhat-linux-gnu-ifc... no
checking for x86_64-redhat-linux-gnu-efc... no
checking for x86_64-redhat-linux-gnu-pgf95... no
checking for x86_64-redhat-linux-gnu-lf95... no
checking for x86_64-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 x86_64-redhat-linux-gnu-ar... no
checking for ar... ar
checking for x86_64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for x86_64-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 -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
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 -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
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 -j2
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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic -c `test -f 'active_directory.c' || echo './'`active_directory.c
active_directory.c: In function 'ad_login':
active_directory.c:140:2: warning: implicit declaration of function 'ldap_simple_bind_s' [-Wimplicit-function-declaration]
  bindresult=ldap_simple_bind_s(ds, binddn, bindpw);
  ^
active_directory.c:144:3: warning: implicit declaration of function 'ldap_perror' [-Wimplicit-function-declaration]
   ldap_perror(ds, "bind: ");
   ^
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' [-Wimplicit-function-declaration]
  ldap_value_free(exp_dn);
  ^
active_directory.c: In function 'ad_create_user':
active_directory.c:252:2: warning: implicit declaration of function 'ldap_add_s' [-Wimplicit-function-declaration]
  result=ldap_add_s(ds, dn, attrs);
  ^
active_directory.c: In function 'ad_object_delete':
active_directory.c:327:2: warning: implicit declaration of function 'ldap_delete_s' [-Wimplicit-function-declaration]
  result=ldap_delete_s(ds, dn);
  ^
active_directory.c: In function 'ad_setpass':
active_directory.c:373:2: warning: implicit declaration of function 'ldap_modify_s' [-Wimplicit-function-declaration]
  result = ldap_modify_s(ds, dn, attrs);
  ^
active_directory.c: In function 'ad_search':
active_directory.c:408:2: warning: implicit declaration of function 'ldap_search_s' [-Wimplicit-function-declaration]
  result=ldap_search_s(ds, search_base, LDAP_SCOPE_SUBTREE, filter, attrs, 1, &res);
  ^
active_directory.c: In function 'ad_get_attribute':
active_directory.c:649:2: warning: implicit declaration of function 'ldap_get_values' [-Wimplicit-function-declaration]
  values=ldap_get_values(ds, entry, attribute);
  ^
active_directory.c:649:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  values=ldap_get_values(ds, entry, attribute);
        ^
active_directory.c: In function 'ad_rename_user':
active_directory.c:690:2: warning: implicit declaration of function 'ldap_modrdn2_s' [-Wimplicit-function-declaration]
  result=ldap_modrdn2_s(ds, dn, new_rdn, 1);
  ^
In file included from /usr/include/string.h:638:0,
                 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:11:
/usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
   ^
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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic -c `test -f 'adtool.c' || echo './'`adtool.c
adtool.c: In function 'attributeaddbinary':
adtool.c:453:14: 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic  -Wl,-z,relro -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wl,-z -Wl,relro -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.mowzjU
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64
++ dirname /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64
+ cd adtool-1.3.3
+ rm -rf /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64
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.el7.x86_64/usr/bin
mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64
mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/usr
mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/usr/bin
  /bin/sh ../../libtool --mode=install /usr/bin/install -c adtool /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/usr/bin/adtool
/usr/bin/install -c adtool /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/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.el7.x86_64/etc/adtool
mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/etc
mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/etc/adtool
 /usr/bin/install -c -m 644 adtool.cfg.dist /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/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.el7.x86_64/usr/share/man/man1
mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/usr/share
mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/usr/share/man
mkdir /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/usr/share/man/man1
 /usr/bin/install -c -m 644 ./adtool.1 /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/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 --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/adtool-1.3.3
extracting debug info from /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64/usr/bin/adtool
dwz: Too few files for multifile optimization
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
99 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: adtool-1.3.3-2.el7.x86_64
Provides: adtool = 1.3.3-2.el7 adtool(x86-64) = 1.3.3-2.el7
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.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(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-debuginfo-1.3.3-2.el7.x86_64
Provides: adtool-debuginfo = 1.3.3-2.el7 adtool-debuginfo(x86-64) = 1.3.3-2.el7
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64
Wrote: /builddir/build/RPMS/adtool-1.3.3-2.el7.x86_64.rpm
Wrote: /builddir/build/RPMS/adtool-debuginfo-1.3.3-2.el7.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mkVeR7
+ umask 022
+ cd /builddir/build/BUILD
+ cd adtool-1.3.3
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/adtool-1.3.3-2.el7.x86_64
+ exit 0
Child return code was: 0