Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mod_markdown.spec'], chrootPath='/var/lib/mock/882832-epel-7-x86_64-1555121022.849699/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.37bgqgof:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2b7268203a75483fb167347ab9f60d7e', '-D', '/var/lib/mock/882832-epel-7-x86_64-1555121022.849699/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.37bgqgof:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mod_markdown.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': 'en_US.UTF-8'} and shell False BUILDSTDERR: cat: /usr/include/httpd/.mmn: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mod_markdown-1.0.3-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mod_markdown.spec'], chrootPath='/var/lib/mock/882832-epel-7-x86_64-1555121022.849699/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.37bgqgof:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '979116e39cef4176b0fbc66bd2aa7ad4', '-D', '/var/lib/mock/882832-epel-7-x86_64-1555121022.849699/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.37bgqgof:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mod_markdown.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VIuON4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apache-mod-markdown-master + /usr/bin/gzip -dc /builddir/build/SOURCES/apache-mod_markdown-1.0.3-git20180730.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd apache-mod-markdown-master + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cp -f /builddir/build/SOURCES/mod_markdown.c . + /usr/bin/cp -f /builddir/build/SOURCES/mod_markdown.h . + /usr/bin/cp -f /builddir/build/SOURCES/README.md . + /usr/bin/cp -f /builddir/build/SOURCES/markdown.conf . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9Tv4GX + umask 022 + cd /builddir/build/BUILD + cd apache-mod-markdown-master + sed -i 's|1.0.2|1.0.3|' configure.ac + autoreconf -vfi BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force -I m4 BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: running: /usr/bin/autoheader --force BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing BUILDSTDERR: configure.ac:10: installing './config.guess' BUILDSTDERR: configure.ac:10: installing './config.sub' BUILDSTDERR: configure.ac:5: installing './install-sh' BUILDSTDERR: configure.ac:5: installing './missing' BUILDSTDERR: autoreconf: Leaving directory `.' + 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/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/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ 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)' BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ 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 --with-apxs=/usr/bin/apxs --with-discount=/usr checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf 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 fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) 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 checking whether C compiler accepts -Wall... yes checking for apxs tool... APXS found! checking for discount directory... DISCOUNT found! checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -i 's|/usr/lib$|/usr/lib64|g' Makefile + make -j2 /usr/bin/apxs -c -I/usr/include -L/usr/lib -lmarkdown mod_markdown.c BUILDSTDERR: /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/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -c -o mod_markdown.lo mod_markdown.c && touch mod_markdown.slo BUILDSTDERR: mod_markdown.c: In function 'markdown_doc_contents': BUILDSTDERR: mod_markdown.c:472:13: warning: unused variable 'exists' [-Wunused-variable] BUILDSTDERR: int rc, exists; BUILDSTDERR: ^ BUILDSTDERR: In file included from mod_markdown.c:145:0: BUILDSTDERR: mod_markdown.c: At top level: BUILDSTDERR: mod_markdown.h:12:14: warning: 'markdown_config' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static void *markdown_config(apr_pool_t * p, char *dummy); BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now -o mod_markdown.la -L/usr/lib -lmarkdown -rpath /usr/lib64/httpd/modules -module -avoid-version mod_markdown.lo make all-am make[1]: Entering directory `/builddir/build/BUILD/apache-mod-markdown-master' make[1]: Leaving directory `/builddir/build/BUILD/apache-mod-markdown-master' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5iXq7v + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64 + cd apache-mod-markdown-master + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/lib64/httpd/modules + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/etc/httpd/conf.modules.d + /usr/lib64/httpd/build/instdso.sh SH_LIBTOOL=/usr/lib64/apr-1/build/libtool mod_markdown.la /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/lib64/httpd/modules /usr/lib64/apr-1/build/libtool --mode=install install mod_markdown.la /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/lib64/httpd/modules/ libtool: install: install .libs/mod_markdown.so /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/lib64/httpd/modules/mod_markdown.so libtool: install: install .libs/mod_markdown.lai /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/lib64/httpd/modules/mod_markdown.la libtool: install: install .libs/mod_markdown.a /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/lib64/httpd/modules/mod_markdown.a libtool: install: chmod 644 /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/lib64/httpd/modules/mod_markdown.a libtool: install: ranlib /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/lib64/httpd/modules/mod_markdown.a BUILDSTDERR: libtool: install: warning: remember to run `libtool --finish /usr/lib64/httpd/modules' + install -D -p -m 644 /builddir/build/SOURCES/09-markdown.conf /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/etc/httpd/conf.modules.d/09-markdown.conf + install -D -p -m 644 /builddir/build/SOURCES/markdown.conf /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/etc/httpd/conf.d/markdown.conf + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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: mod_markdown-1.0.3-2.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.x85vS4 + umask 022 + cd /builddir/build/BUILD + cd apache-mod-markdown-master + DOCDIR=/builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/share/doc/mod_markdown-1.0.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/share/doc/mod_markdown-1.0.3 + cp -pr AUTHORS /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/share/doc/mod_markdown-1.0.3 + cp -pr COPYING /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/share/doc/mod_markdown-1.0.3 + cp -pr ChangeLog /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/share/doc/mod_markdown-1.0.3 + cp -pr INSTALL /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/share/doc/mod_markdown-1.0.3 + cp -pr README.md /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64/usr/share/doc/mod_markdown-1.0.3 + exit 0 Provides: config(mod_markdown) = 1.0.3-2.el7 mod_markdown = 1.0.3-2.el7 mod_markdown(x86-64) = 1.0.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.4)(64bit) libmarkdown.so.2()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64 Wrote: /builddir/build/RPMS/mod_markdown-1.0.3-2.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JSpd2c + umask 022 + cd /builddir/build/BUILD + cd apache-mod-markdown-master + /usr/bin/rm -rf /builddir/build/BUILDROOT/mod_markdown-1.0.3-2.el7.x86_64 + exit 0 Child return code was: 0