Mock Version: 1.1.41 Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/mod_python.spec'], False, '/var/lib/mock/centos7-rutgers-staging-build-5095-7841/root/', None, 86400, True, False, 488, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/mod_python.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} cat: /usr/include/httpd/.mmn: No such file or directory sh: /usr/bin/python: No such file or directory warning: bogus date in %changelog: Tue Aug 28 2002 Gary Benson 3.0.0-9 warning: Could not canonicalize hostname: opus3 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mod_python-3.5.0-1.ru7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/mod_python.spec'], False, '/var/lib/mock/centos7-rutgers-staging-build-5095-7841/root/', None, 86400, True, False, 488, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/mod_python.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tLWUeR warning: bogus date in %changelog: Tue Aug 28 2002 Gary Benson 3.0.0-9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mod_python-3.5.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/mod_python-3.5.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_python-3.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for file in CREDITS NEWS + iconv -f ISO-8859-1 -t UTF-8 -o CREDITS.new CREDITS + touch -r CREDITS CREDITS.new + mv CREDITS.new CREDITS + for file in CREDITS NEWS + iconv -f ISO-8859-1 -t UTF-8 -o NEWS.new NEWS + touch -r NEWS NEWS.new + mv NEWS.new NEWS + 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 ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-koji-linux-gnu --host=x86_64-koji-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-koji-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 ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for main in -lm... yes checking for an ANSI C-conforming const... yes checking your blood pressure... a bit high, but we can proceed configure: checking whether apxs is available... checking Apache version... 2.4.6 checking for Apache libexec directory... /usr/lib64/httpd/modules checking for Apache include directory... -I/usr/include/httpd checking for --with-python... no checking for python... /usr/bin/python checking Python version... 2.7 checking for --with-mutex-dir... no Using MUTEX_DIR /tmp checking for --with-max-locks... no Using 8 MAX_LOCKS. checking for --with-flex... no checking for flex... /usr/bin/flex found /usr/bin/flex, we'll use this. Use --with-flex to specify another. checking flex version... 2.5.37. Good configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating Doc/Makefile config.status: creating src/include/mod_python.h config.status: creating test/Makefile config.status: creating dist/setup.py config.status: creating dist/Makefile config.status: creating scripts/Makefile config.status: creating scripts/mod_python configure: WARNING: unrecognized options: --disable-dependency-tracking Patch #0 (mod_python_centos7.patch): + echo 'Patch #0 (mod_python_centos7.patch):' + /usr/bin/cat /builddir/build/SOURCES/mod_python_centos7.patch + /usr/bin/patch -p1 --fuzz=0 patching file dist/version.sh patching file src/Makefile Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.H0yfBj + exit 0 + umask 022 + cd /builddir/build/BUILD + cd mod_python-3.5.0 + make -j2 APXS_CFLAGS=-Wc,-fno-strict-aliasing make[1]: Entering directory `/builddir/build/BUILD/mod_python-3.5.0/src' /bin/sh: git: command not found /bin/sh: line 4: include/mod_python.h: Permission denied Building mod_python.so. /usr/bin/apxs -I/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c mod_python.c _apachemodule.c requestobject.c tableobject.c util.c serverobject.c connobject.c filterobject.c hlist.c hlistobject.c finfoobject.c version.c include/_apachemodule.h include/filterobject.h include/hlist.h include/mod_python.h include/psp_flex.h include/psp_parser.h include/requestobject.h include/tableobject.h include/connobject.h include/finfoobject.h include/hlistobject.h include/mp_version.h include/_pspmodule.h include/psp_string.h include/serverobject.h include/util.h -L/usr/lib64 -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o mod_python.lo mod_python.c && touch mod_python.slo In file included from /builddir/build/BUILD/mod_python-3.5.0/src/include/mod_python.h:60:0, from mod_python.c:28: mod_python.c: In function 'init_mutexes': mod_python.c:505:37: warning: the address of 'fname' will always evaluate as 'true' [-Waddress] n, locks, (!fname) ? "" : fname); ^ /usr/include/httpd/http_log.h:367:65: note: in definition of macro 'ap_log_error__' ap_log_error_(file, line, mi, level, status, sr__, __VA_ARGS__); \ ^ mod_python.c:503:13: note: in expansion of macro 'ap_log_error' ap_log_error(APLOG_MARK, APLOG_ERR, rc, s, ^ mod_python.c: In function 'reinit_mutexes': mod_python.c:581:27: warning: the address of 'fname' will always evaluate as 'true' [-Waddress] (!fname) ? "" : fname); ^ /usr/include/httpd/http_log.h:367:65: note: in definition of macro 'ap_log_error__' ap_log_error_(file, line, mi, level, status, sr__, __VA_ARGS__); \ ^ mod_python.c:579:13: note: in expansion of macro 'ap_log_error' ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, s, ^ mod_python.c: In function 'handle_python': mod_python.c:1925:17: warning: unused variable 'tmp_buck' [-Wunused-variable] apr_bucket *tmp_buck; ^ mod_python.c: At top level: mod_python.c:2586:21: warning: 'python_finalize' defined but not used [-Wunused-function] static apr_status_t python_finalize(void *data) ^ /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o _apachemodule.lo _apachemodule.c && touch _apachemodule.slo _apachemodule.c: In function '_global_trylock': _apachemodule.c:564:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_INCREF(Py_True); ^ _apachemodule.c:572:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_INCREF(Py_False); ^ _apachemodule.c: In function 'exists_config_define': _apachemodule.c:752:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_INCREF(Py_True); ^ _apachemodule.c:756:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_INCREF(Py_False); ^ /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o requestobject.lo requestobject.c && touch requestobject.slo requestobject.c: In function 'req_build_wsgi_env': requestobject.c:224:12: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ requestobject.c:224:9: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ requestobject.c:221:18: warning: unused variable 'e' [-Wunused-variable] apr_table_t *e = r->subprocess_env; ^ /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o tableobject.lo tableobject.c && touch tableobject.slo tableobject.c: In function 'table_setdefault': tableobject.c:808:9: warning: unused variable 'len' [-Wunused-variable] int len; ^ tableobject.c: In function 'table_contains': tableobject.c:1101:9: warning: unused variable 'rc' [-Wunused-variable] int rc; ^ /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o util.lo util.c && touch util.slo /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o serverobject.lo serverobject.c && touch serverobject.slo /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o connobject.lo connobject.c && touch connobject.slo connobject.c: In function 'conn_write': connobject.c:238:15: warning: unused variable 's' [-Wunused-variable] PyObject *s; ^ connobject.c: In function 'conn_getattr': connobject.c:327:15: warning: unused variable 'res' [-Wunused-variable] PyObject *res; ^ /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o filterobject.lo filterobject.c && touch filterobject.slo filterobject.c: In function 'filter_write': filterobject.c:320:15: warning: unused variable 's' [-Wunused-variable] PyObject *s; ^ filterobject.c: In function 'filter_getattr': filterobject.c:494:15: warning: unused variable 'res' [-Wunused-variable] PyObject *res; ^ /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o hlist.lo hlist.c && touch hlist.slo /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o hlistobject.lo hlistobject.c && touch hlistobject.slo hlistobject.c: In function 'hlist_getattr': hlistobject.c:94:15: warning: unused variable 'res' [-Wunused-variable] PyObject *res; ^ /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o finfoobject.lo finfoobject.c && touch finfoobject.slo /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/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -D_GNU_SOURCE -DNDEBUG -D_GNU_SOURCE -c -o version.lo version.c && touch version.slo /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -Wl,-z,relro,-z,now -o mod_python.la -rpath /usr/lib64/httpd/modules -module -avoid-version version.lo finfoobject.lo hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo include/_apachemodule.h include/filterobject.h include/hlist.h include/mod_python.h include/psp_flex.h include/psp_parser.h include/requestobject.h include/tableobject.h include/connobject.h include/finfoobject.h include/hlistobject.h include/mp_version.h include/_pspmodule.h include/psp_string.h include/serverobject.h include/util.h -L/usr/lib64 -L/usr/lib64/python2.7/config -lpython2.7 -lpthread -ldl -lutil make[1]: Leaving directory `/builddir/build/BUILD/mod_python-3.5.0/src' make[1]: Entering directory `/builddir/build/BUILD/mod_python-3.5.0/dist' ln -s ../lib/python/mod_python mod_python ln -s ../src src make[2]: Entering directory `/builddir/build/BUILD/mod_python-3.5.0/src' make[2]: `psp_parser.c' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/mod_python-3.5.0/src' /usr/bin/python setup.py build running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/apache.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/wsgi.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/psp.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/python22.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/cgihandler.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/version.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/testhandler.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/Cookie.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/__init__.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/Session.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/publisher.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/httpdconf.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/util.py -> build/lib.linux-x86_64-2.7/mod_python copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/cache.py -> build/lib.linux-x86_64-2.7/mod_python running build_ext building 'mod_python._psp' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/builddir creating build/temp.linux-x86_64-2.7/builddir/build creating build/temp.linux-x86_64-2.7/builddir/build/BUILD creating build/temp.linux-x86_64-2.7/builddir/build/BUILD/mod_python-3.5.0 creating build/temp.linux-x86_64-2.7/builddir/build/BUILD/mod_python-3.5.0/src gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -c /builddir/build/BUILD/mod_python-3.5.0/src/psp_string.c -o build/temp.linux-x86_64-2.7/builddir/build/BUILD/mod_python-3.5.0/src/psp_string.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -c /builddir/build/BUILD/mod_python-3.5.0/src/psp_parser.c -o build/temp.linux-x86_64-2.7/builddir/build/BUILD/mod_python-3.5.0/src/psp_parser.o In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from /builddir/build/BUILD/mod_python-3.5.0/src/include/psp_parser.h:30, from psp_parser.l:29: /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default] #define _XOPEN_SOURCE 600 ^ In file included from /usr/include/stdio.h:27:0, from psp_parser.c:20: /usr/include/features.h:170:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 ^ psp_parser.c:1440:17: warning: 'yyunput' defined but not used [-Wunused-function] psp_parser.c:1482:16: warning: 'input' defined but not used [-Wunused-function] gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/builddir/build/BUILD/mod_python-3.5.0/src/include -I/usr/include/python2.7 -c /builddir/build/BUILD/mod_python-3.5.0/src/_pspmodule.c -o build/temp.linux-x86_64-2.7/builddir/build/BUILD/mod_python-3.5.0/src/_pspmodule.o In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from /builddir/build/BUILD/mod_python-3.5.0/src/include/psp_parser.h:30, from /builddir/build/BUILD/mod_python-3.5.0/src/_pspmodule.c:26: /usr/include/python2.7/pyconfig-64.h:1204:0: warning: "_XOPEN_SOURCE" redefined [enabled by default] #define _XOPEN_SOURCE 600 ^ In file included from /usr/include/stdio.h:27:0, from include/psp_flex.h:24, from /builddir/build/BUILD/mod_python-3.5.0/src/_pspmodule.c:25: /usr/include/features.h:170:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 ^ /builddir/build/BUILD/mod_python-3.5.0/src/_pspmodule.c: In function '_psp_module_parsestring': /builddir/build/BUILD/mod_python-3.5.0/src/_pspmodule.c:137:21: warning: variable 'bs' set but not used [-Wunused-but-set-variable] YY_BUFFER_STATE bs; ^ /builddir/build/BUILD/mod_python-3.5.0/src/_pspmodule.c: At top level: /builddir/build/BUILD/mod_python-3.5.0/src/_pspmodule.c:32:12: warning: 'yy_init_globals' defined but not used [-Wunused-function] static int yy_init_globals (yyscan_t yyscanner ) {return 0;}; ^ gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/builddir/build/BUILD/mod_python-3.5.0/src/psp_string.o build/temp.linux-x86_64-2.7/builddir/build/BUILD/mod_python-3.5.0/src/psp_parser.o build/temp.linux-x86_64-2.7/builddir/build/BUILD/mod_python-3.5.0/src/_pspmodule.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/mod_python/_psp.so make[1]: Leaving directory `/builddir/build/BUILD/mod_python-3.5.0/dist' Now run sudo make install (or, if you only want to perform a partial install, you can use make install_dso and make install_py_lib) Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aQPKSo + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64 ++ dirname /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64 + cd mod_python-3.5.0 + mkdir -p /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/httpd/modules + mkdir -p /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/bin + make install DESTDIR=/builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64 make install_dso make[1]: Entering directory `/builddir/build/BUILD/mod_python-3.5.0' make[2]: Entering directory `/builddir/build/BUILD/mod_python-3.5.0/src' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/mod_python-3.5.0/src' make[2]: Entering directory `/builddir/build/BUILD/mod_python-3.5.0/dist' make[2]: `build' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/mod_python-3.5.0/dist' Now run sudo make install (or, if you only want to perform a partial install, you can use make install_dso and make install_py_lib) Performing DSO installation. /usr/bin/install -c -d /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/httpd/modules /usr/bin/install -c src/mod_python.so /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/httpd/modules make[1]: Leaving directory `/builddir/build/BUILD/mod_python-3.5.0' make install_py_lib make[1]: Entering directory `/builddir/build/BUILD/mod_python-3.5.0' cd dist && make install_py_lib make[2]: Entering directory `/builddir/build/BUILD/mod_python-3.5.0/dist' make[3]: Entering directory `/builddir/build/BUILD/mod_python-3.5.0/src' make[3]: `psp_parser.c' is up to date. make[3]: Leaving directory `/builddir/build/BUILD/mod_python-3.5.0/src' if test -z "/builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64" ; then \ /usr/bin/python setup.py install --optimize 2 --force ; \ else \ /usr/bin/python setup.py install --optimize 2 --force --root /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64 ; \ fi running install running build running build_py copying /builddir/build/BUILD/mod_python-3.5.0/lib/python/mod_python/version.py -> build/lib.linux-x86_64-2.7/mod_python running build_ext running install_lib creating /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/apache.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/wsgi.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/psp.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/python22.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/cgihandler.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/version.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/testhandler.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/_psp.so -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/Cookie.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/__init__.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/Session.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/publisher.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/httpdconf.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/util.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python copying build/lib.linux-x86_64-2.7/mod_python/cache.py -> /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/apache.py to apache.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/wsgi.py to wsgi.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/psp.py to psp.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/python22.py to python22.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/cgihandler.py to cgihandler.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/version.py to version.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/testhandler.py to testhandler.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/Cookie.py to Cookie.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/Session.py to Session.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/publisher.py to publisher.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/httpdconf.py to httpdconf.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/cache.py to cache.pyc writing byte-compilation script '/tmp/tmpyhE0Zg.py' /usr/bin/python -OO /tmp/tmpyhE0Zg.py removing /tmp/tmpyhE0Zg.py running install_egg_info Writing /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python-3.5.0_-py2.7.egg-info make[2]: Leaving directory `/builddir/build/BUILD/mod_python-3.5.0/dist' make[1]: Leaving directory `/builddir/build/BUILD/mod_python-3.5.0' cd scripts && make install make[1]: Entering directory `/builddir/build/BUILD/mod_python-3.5.0/scripts' /usr/bin/install -c -m 0755 mod_python /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/bin/mod_python make[1]: Leaving directory `/builddir/build/BUILD/mod_python-3.5.0/scripts' + mkdir -p /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/etc/httpd/conf.d + install -p -m 644 /builddir/build/SOURCES/python.conf /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/etc/httpd/conf.d/ + mkdir -p /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/var/www/manual/mod/mod_python + cp -a doc-html/_sources doc-html/_static doc-html/about.html doc-html/changes.html doc-html/commandline.html doc-html/contents.html doc-html/copyright.html doc-html/directives.html doc-html/genindex-A.html doc-html/genindex-B.html doc-html/genindex-C.html doc-html/genindex-D.html doc-html/genindex-E.html doc-html/genindex-F.html doc-html/genindex-G.html doc-html/genindex-H.html doc-html/genindex-I.html doc-html/genindex-K.html doc-html/genindex-L.html doc-html/genindex-M.html doc-html/genindex-N.html doc-html/genindex-O.html doc-html/genindex-P.html doc-html/genindex-Q.html doc-html/genindex-R.html doc-html/genindex-S.html doc-html/genindex-Symbols.html doc-html/genindex-T.html doc-html/genindex-U.html doc-html/genindex-V.html doc-html/genindex-W.html doc-html/genindex-_.html doc-html/genindex-all.html doc-html/genindex.html doc-html/handlers.html doc-html/index.html doc-html/installation.html doc-html/introduction.html doc-html/license.html doc-html/objects.inv doc-html/py-modindex.html doc-html/pythonapi.html doc-html/search.html doc-html/searchindex.js doc-html/ssi.html doc-html/tutorial.html /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/var/www/manual/mod/mod_python/ + /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_python-3.5.0 extracting debug info from /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/httpd/modules/mod_python.so extracting debug info from /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7/site-packages/mod_python/_psp.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. cpio: mod_python-3.5.0/dist/include/psp_flex.h: Cannot stat: No such file or directory cpio: mod_python-3.5.0/dist/psp_parser.c: Cannot stat: No such file or directory cpio: mod_python-3.5.0/dist/psp_parser.l: Cannot stat: No such file or directory 664 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 Bytecompiling .py files below /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: mod_python-3.5.0-1.ru7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DbJtfz + umask 022 + cd /builddir/build/BUILD + cd mod_python-3.5.0 + DOCDIR=/builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/share/doc/mod_python-3.5.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/share/doc/mod_python-3.5.0 + cp -pr README.md /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/share/doc/mod_python-3.5.0 + cp -pr NEWS /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/share/doc/mod_python-3.5.0 + cp -pr CREDITS /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/share/doc/mod_python-3.5.0 + cp -pr LICENSE /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/share/doc/mod_python-3.5.0 + cp -pr NOTICE /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64/usr/share/doc/mod_python-3.5.0 + exit 0 Provides: config(mod_python) = 3.5.0-1.ru7 mod_python = 3.5.0-1.ru7 mod_python(x86-64) = 3.5.0-1.ru7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(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) libdl.so.2()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython2.7.so.1.0()(64bit) libutil.so.1()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: mod_python-debuginfo-3.5.0-1.ru7.x86_64 Provides: mod_python-debuginfo = 3.5.0-1.ru7 mod_python-debuginfo(x86-64) = 3.5.0-1.ru7 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/mod_python-3.5.0-1.ru7.x86_64 Wrote: /builddir/build/RPMS/mod_python-3.5.0-1.ru7.x86_64.rpm Wrote: /builddir/build/RPMS/mod_python-debuginfo-3.5.0-1.ru7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KnQxRn + umask 022 + cd /builddir/build/BUILD + cd mod_python-3.5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mod_python-3.5.0-1.ru7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->