Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mod_auth_kerb.spec'], chrootPath='/var/lib/mock/sclo7-httpd24-rh-el7-build-37025-50767/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mod_auth_kerb.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/httpd24-mod_auth_kerb-5.4-33.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mod_auth_kerb.spec'], chrootPath='/var/lib/mock/sclo7-httpd24-rh-el7-build-37025-50767/root'shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mod_auth_kerb.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fVTan4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mod_auth_kerb-5.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/mod_auth_kerb-5.4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_auth_kerb-5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (mod_auth_kerb-5.4-rcopshack.patch): + echo 'Patch #1 (mod_auth_kerb-5.4-rcopshack.patch):' + /usr/bin/cat /builddir/build/SOURCES/mod_auth_kerb-5.4-rcopshack.patch + /usr/bin/patch -p1 -b --suffix .rcopshack --fuzz=0 patching file src/mod_auth_kerb.c Patch #2 (mod_auth_kerb-5.4-fixes.patch): + echo 'Patch #2 (mod_auth_kerb-5.4-fixes.patch):' + /usr/bin/cat /builddir/build/SOURCES/mod_auth_kerb-5.4-fixes.patch + /usr/bin/patch -p1 -b --suffix .fixes --fuzz=0 patching file src/mod_auth_kerb.c Hunk #1 succeeded at 649 (offset -28 lines). Hunk #2 succeeded at 1228 (offset -53 lines). Hunk #3 succeeded at 1255 (offset -53 lines). Hunk #4 succeeded at 1672 (offset -53 lines). Patch #3 (mod_auth_kerb-5.4-s4u2proxy.patch): + echo 'Patch #3 (mod_auth_kerb-5.4-s4u2proxy.patch):' + /usr/bin/cat /builddir/build/SOURCES/mod_auth_kerb-5.4-s4u2proxy.patch + /usr/bin/patch -p1 -b --suffix .s4u2proxy --fuzz=0 patching file README patching file src/mod_auth_kerb.c Patch #4 (mod_auth_kerb-5.4-httpd24.patch): + echo 'Patch #4 (mod_auth_kerb-5.4-httpd24.patch):' + /usr/bin/cat /builddir/build/SOURCES/mod_auth_kerb-5.4-httpd24.patch + /usr/bin/patch -p1 -b --suffix .httpd24 --fuzz=0 patching file src/mod_auth_kerb.c Patch #5 (mod_auth_kerb-5.4-delegation.patch): + echo 'Patch #5 (mod_auth_kerb-5.4-delegation.patch):' + /usr/bin/cat /builddir/build/SOURCES/mod_auth_kerb-5.4-delegation.patch + /usr/bin/patch -p1 -b --suffix .delegation --fuzz=0 patching file src/mod_auth_kerb.c Hunk #1 succeeded at 219 (offset 10 lines). Hunk #2 succeeded at 892 (offset 16 lines). Hunk #3 succeeded at 922 (offset 16 lines). Hunk #4 succeeded at 1883 (offset 16 lines). Hunk #5 succeeded at 2023 (offset 16 lines). Hunk #6 succeeded at 2035 (offset 16 lines). Patch #6 (mod_auth_kerb-5.4-cachedir.patch): + echo 'Patch #6 (mod_auth_kerb-5.4-cachedir.patch):' + /usr/bin/cat /builddir/build/SOURCES/mod_auth_kerb-5.4-cachedir.patch + /usr/bin/patch -p1 -b --suffix .cachedir --fuzz=0 patching file src/mod_auth_kerb.c Hunk #1 succeeded at 892 (offset 1 line). Patch #7 (mod_auth_kerb-5.4-longuser.patch): + echo 'Patch #7 (mod_auth_kerb-5.4-longuser.patch):' + /usr/bin/cat /builddir/build/SOURCES/mod_auth_kerb-5.4-longuser.patch + /usr/bin/patch -p1 -b --suffix .longuser --fuzz=0 patching file src/mod_auth_kerb.c Hunk #2 succeeded at 1832 (offset 16 lines). Patch #8 (mod_auth_kerb-5.4-handle-continue.patch): + echo 'Patch #8 (mod_auth_kerb-5.4-handle-continue.patch):' + /usr/bin/cat /builddir/build/SOURCES/mod_auth_kerb-5.4-handle-continue.patch + /usr/bin/patch -p1 -b --suffix .handlecontinue --fuzz=0 patching file src/mod_auth_kerb.c Hunk #1 succeeded at 1761 (offset 17 lines). Hunk #2 succeeded at 1768 (offset 17 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.imF3QV + umask 022 + cd /builddir/build/BUILD + cd mod_auth_kerb-5.4 + export APXS=/opt/rh/httpd24/root/usr/bin/apxs + APXS=/opt/rh/httpd24/root/usr/bin/apxs + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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 -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 -m64 -mtune=generic -I/opt/rh/httpd24/root/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 -m64 -mtune=generic -I/opt/rh/httpd24/root/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/httpd24/root/usr --exec-prefix=/opt/rh/httpd24/root/usr --bindir=/opt/rh/httpd24/root/usr/bin --sbindir=/opt/rh/httpd24/root/usr/sbin --sysconfdir=/opt/rh/httpd24/root/etc --datadir=/opt/rh/httpd24/root/usr/share --includedir=/opt/rh/httpd24/root/usr/include --libdir=/opt/rh/httpd24/root/usr/lib64 --libexecdir=/opt/rh/httpd24/root/usr/libexec --localstatedir=/opt/rh/httpd24/root/var --sharedstatedir=/opt/rh/httpd24/root/var/lib --mandir=/opt/rh/httpd24/root/usr/share/man --infodir=/opt/rh/httpd24/root/usr/share/info --without-krb4 --with-krb5=/usr configure: WARNING: unrecognized options: --disable-dependency-tracking 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 whether make sets $(MAKE)... yes checking for main in -lresolv... 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 limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking gssapi.h usability... yes checking gssapi.h presence... yes checking for gssapi.h... yes checking for krb5_init_context in -lkrb5... yes checking for krb5_cc_new_unique in -lkrb5... yes checking whether we are using Heimdal... no checking whether the GSSAPI libraries support SPNEGO... yes checking for apxs... /opt/rh/httpd24/root/usr/bin/apxs configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j16 ./apxs.sh "-I. -Ispnegokrb5 -I/usr/include " "-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv" "" "/opt/rh/httpd24/root/usr/bin/apxs" "-c" "src/mod_auth_kerb.c" /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/opt/rh/httpd24/root/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I. -Ispnegokrb5 -I/usr/include -c -o src/mod_auth_kerb.lo src/mod_auth_kerb.c && touch src/mod_auth_kerb.slo src/mod_auth_kerb.c: In function 'authenticate_user_gss': src/mod_auth_kerb.c:1649:16: warning: variable 'spnego_oid' set but not used [-Wunused-but-set-variable] gss_OID_desc spnego_oid; ^ src/mod_auth_kerb.c: In function 'set_kerb_auth_headers': src/mod_auth_kerb.c:1904:8: warning: variable 'set_basic' set but not used [-Wunused-but-set-variable] int set_basic = 0; ^ src/mod_auth_kerb.c: In function 'kerb_authenticate_user': src/mod_auth_kerb.c:1947:15: warning: variable 'last_return' set but not used [-Wunused-but-set-variable] static int last_return = HTTP_UNAUTHORIZED; ^ src/mod_auth_kerb.c: In function 'have_rcache_type': src/mod_auth_kerb.c:2066:4: warning: implicit declaration of function 'krb5_rc_resolve_full' [-Wimplicit-function-declaration] ret = krb5_rc_resolve_full(context, &id, "none:"); ^ src/mod_auth_kerb.c:2070:7: warning: implicit declaration of function 'krb5_rc_destroy' [-Wimplicit-function-declaration] krb5_rc_destroy(context, id); ^ /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now -o src/mod_auth_kerb.la -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -rpath /opt/rh/httpd24/root/usr/lib64/httpd/modules -module -avoid-version src/mod_auth_kerb.lo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JjRebT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64 + cd mod_auth_kerb-5.4 + rm -rf /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64 + install -Dm 755 src/.libs/mod_auth_kerb.so /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64/opt/rh/httpd24/root/usr/lib64/httpd/modules/mod_auth_kerb.so + sed -n '/^LoadModule/p' /builddir/build/SOURCES/auth_kerb.conf + sed '/LoadModule/d;/Location /,/Location>/s,^#,,' /builddir/build/SOURCES/auth_kerb.conf + install -Dp -m 0644 10-auth_kerb.conf /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64/opt/rh/httpd24/root/etc/httpd/conf.modules.d/10-auth_kerb.conf + mkdir -p /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64//opt/rh/httpd24/root/var/run/httpd/krbcache + cp -p /builddir/build/SOURCES/LICENSE.ASL . + /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/mod_auth_kerb-5.4 extracting debug info from /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64/opt/rh/httpd24/root/usr/lib64/httpd/modules/mod_auth_kerb.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 135 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/httpd24/root + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python 1 /opt/rh/httpd24/root + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: httpd24-mod_auth_kerb-5.4-33.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cFRK4Q + umask 022 + cd /builddir/build/BUILD + cd mod_auth_kerb-5.4 + DOCDIR=/builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64/opt/rh/httpd24/root/usr/share/doc/httpd24-mod_auth_kerb-5.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64/opt/rh/httpd24/root/usr/share/doc/httpd24-mod_auth_kerb-5.4 + cp -pr README /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64/opt/rh/httpd24/root/usr/share/doc/httpd24-mod_auth_kerb-5.4 + cp -pr LICENSE /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64/opt/rh/httpd24/root/usr/share/doc/httpd24-mod_auth_kerb-5.4 + cp -pr LICENSE.ASL /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64/opt/rh/httpd24/root/usr/share/doc/httpd24-mod_auth_kerb-5.4 + cp -pr example.conf /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64/opt/rh/httpd24/root/usr/share/doc/httpd24-mod_auth_kerb-5.4 + exit 0 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/opt/rh/httpd24/root/usr/lib64/httpd/modules/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ warning: Ignoring invalid regex ^%{_scl_prefix}/.*$|%{_root_sysconfdir}/rpm/macros.httpd24-config$ Provides: httpd24-mod_auth_kerb = 5.4-33.el7 httpd24-mod_auth_kerb(x86-64) = 5.4-33.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(pre): httpd24-httpd Requires: libcom_err.so.2()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libk5crypto.so.3()(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) libresolv.so.2()(64bit) rtld(GNU_HASH) Processing files: httpd24-mod_auth_kerb-debuginfo-5.4-33.el7.x86_64 Provides: scl-package(httpd24) httpd24-mod_auth_kerb-debuginfo = 5.4-33.el7 httpd24-mod_auth_kerb-debuginfo(x86-64) = 5.4-33.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/httpd24-mod_auth_kerb-5.4-33.el7.x86_64 Wrote: /builddir/build/RPMS/httpd24-mod_auth_kerb-5.4-33.el7.x86_64.rpm Wrote: /builddir/build/RPMS/httpd24-mod_auth_kerb-debuginfo-5.4-33.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.br3cWO + umask 022 + cd /builddir/build/BUILD + cd mod_auth_kerb-5.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/httpd24-mod_auth_kerb-5.4-33.el7.x86_64 + exit 0 Child return code was: 0