<86>May 16 04:28:07 userdel[113107]: delete user 'rooter' <86>May 16 04:28:07 groupadd[113122]: group added to /etc/group: name=rooter, GID=615 <86>May 16 04:28:07 groupadd[113122]: group added to /etc/gshadow: name=rooter <86>May 16 04:28:07 groupadd[113122]: new group: name=rooter, GID=615 <86>May 16 04:28:07 useradd[113136]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash <86>May 16 04:28:07 userdel[113159]: delete user 'builder' <86>May 16 04:28:07 userdel[113159]: removed group 'builder' owned by 'builder' <86>May 16 04:28:07 userdel[113159]: removed shadow group 'builder' owned by 'builder' <86>May 16 04:28:07 groupadd[113165]: group added to /etc/group: name=builder, GID=616 <86>May 16 04:28:07 groupadd[113165]: group added to /etc/gshadow: name=builder <86>May 16 04:28:07 groupadd[113165]: new group: name=builder, GID=616 <86>May 16 04:28:07 useradd[113176]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash <13>May 16 04:28:09 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>May 16 04:28:09 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>May 16 04:28:09 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>May 16 04:28:09 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>May 16 04:28:09 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 16 04:28:09 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 16 04:28:10 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>May 16 04:28:10 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>May 16 04:28:10 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>May 16 04:28:10 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>May 16 04:28:10 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667802 installed <13>May 16 04:28:10 rpmi: python3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>May 16 04:28:10 rpmi: libpython3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>May 16 04:28:10 rpmi: python3-base-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>May 16 04:28:10 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>May 16 04:28:10 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>May 16 04:28:10 rpmi: rpm-macros-sphinx-1:1.6.5-alt4 sisyphus+228232.100.1.1 1556298645 installed <13>May 16 04:28:14 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>May 16 04:28:15 rpmi: libopenblas-0.2.20-alt2 sisyphus+229410.100.1.1 1557920443 installed <13>May 16 04:28:15 rpmi: libnumpy-py3-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555303051 installed <13>May 16 04:28:15 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 sisyphus+227529.1100.1.2 1555924423 installed <13>May 16 04:28:15 rpmi: libnumpy-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555303051 installed <13>May 16 04:28:15 rpmi: libquadmath0-8.3.1-alt3 sisyphus+228100.100.1.1 1556142139 installed <13>May 16 04:28:15 rpmi: libgfortran5-8.3.1-alt3 sisyphus+228100.100.1.1 1556142139 installed <13>May 16 04:28:15 rpmi: libquadmath8-devel-8.3.1-alt3 sisyphus+228100.100.1.1 1556142139 installed <13>May 16 04:28:15 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed <13>May 16 04:28:15 rpmi: python3-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>May 16 04:28:15 rpmi: python3-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>May 16 04:28:15 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>May 16 04:28:15 rpmi: python3-module-py-1.8.0-alt2 sisyphus+228349.1400.4.1 1556631070 installed <13>May 16 04:28:15 rpmi: python3-module-pluggy-0.11.0-alt1 sisyphus+229116.100.1.1 1557316655 installed <13>May 16 04:28:15 rpmi: python3-module-more-itertools-7.0.0-alt3 sisyphus+226536.100.1.1 1554329928 installed <13>May 16 04:28:15 rpmi: python3-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>May 16 04:28:15 rpmi: python3-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>May 16 04:28:15 rpmi: python3-module-pytest-3.10.1-alt5 sisyphus+228366.2000.2.3 1556707871 installed <13>May 16 04:28:15 rpmi: python-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>May 16 04:28:15 rpmi: python-module-apipkg-1.5-alt1 1531926894 installed <13>May 16 04:28:15 rpmi: python-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>May 16 04:28:15 rpmi: python-sphinx-objects.inv-1:2.3.8.20190514-alt1 sisyphus+229380.100.1.1 1557877575 installed <13>May 16 04:28:15 rpmi: libxapian-1.4.5-alt3 sisyphus+222778.100.1.1 1551144769 installed <13>May 16 04:28:15 rpmi: python-module-google-0.4.2-alt2.1 sisyphus+228356.1500.3.1 1556633038 installed <13>May 16 04:28:15 rpmi: libsqlite3-3.27.2-alt1 sisyphus+225506.100.1.1 1553253511 installed <13>May 16 04:28:15 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>May 16 04:28:15 rpmi: libxslt-1.1.33-alt1 sisyphus+226936.100.1.1 1554820927 installed <13>May 16 04:28:15 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388758 installed <13>May 16 04:28:15 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134909 installed <13>May 16 04:28:15 rpmi: python3-module-numpy-testing-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555303051 installed <13>May 16 04:28:15 rpmi: python3-module-numpy-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555303051 installed <13>May 16 04:28:15 rpmi: gcc-fortran-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>May 16 04:28:15 rpmi: libgfortran8-devel-8.3.1-alt3 sisyphus+228100.100.1.1 1556142139 installed <13>May 16 04:28:16 rpmi: gcc8-fortran-8.3.1-alt3 sisyphus+228100.100.1.1 1556142139 installed <13>May 16 04:28:16 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:16 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>May 16 04:28:16 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>May 16 04:28:16 rpmi: python3-dev-3.7.3-alt1 sisyphus+225625.574.90.1 1555274084 installed <13>May 16 04:28:16 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>May 16 04:28:16 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>May 16 04:28:16 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>May 16 04:28:16 groupadd[130201]: group added to /etc/group: name=_keytab, GID=499 <86>May 16 04:28:16 groupadd[130201]: group added to /etc/gshadow: name=_keytab <86>May 16 04:28:16 groupadd[130201]: new group: name=_keytab, GID=499 <13>May 16 04:28:16 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746443 installed <13>May 16 04:28:16 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>May 16 04:28:16 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>May 16 04:28:17 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>May 16 04:28:17 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>May 16 04:28:17 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>May 16 04:28:17 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>May 16 04:28:17 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>May 16 04:28:17 rpmi: python-module-more-itertools-1:5.0.0-alt2 sisyphus+226536.200.1.1 1554329977 installed <13>May 16 04:28:17 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-strict-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:17 rpmi: python-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>May 16 04:28:17 rpmi: python-module-html5lib-1:0.999999999-alt4.qa1 sisyphus+227493.600.1.3 1555835341 installed <13>May 16 04:28:17 rpmi: python-module-lxml-4.3.3-alt1.1 sisyphus+225625.33200.91.1 1555315088 installed <13>May 16 04:28:18 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>May 16 04:28:18 rpmi: python-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>May 16 04:28:18 rpmi: python-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>May 16 04:28:18 rpmi: python-module-cffi-1.12.3-alt1 sisyphus+229040.200.3.1 1557316502 installed <13>May 16 04:28:18 rpmi: python-module-asn1crypto-0.24.0-alt1 sisyphus+227473.1300.1.2 1555756512 installed <13>May 16 04:28:18 rpmi: python-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>May 16 04:28:18 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>May 16 04:28:18 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>May 16 04:28:18 rpmi: python-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>May 16 04:28:18 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>May 16 04:28:18 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>May 16 04:28:18 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 sisyphus+225625.12200.91.1 1555290677 installed <13>May 16 04:28:18 rpmi: python-module-jinja2-2.10-alt1 1521724576 installed <13>May 16 04:28:18 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus+225625.16100.91.1 1555293606 installed <13>May 16 04:28:18 rpmi: python-module-ipaddress-1.0.18-alt1.1 sisyphus+227494.1700.1.3 1555839523 installed <13>May 16 04:28:18 rpmi: python-module-cryptography-2.6.1-alt1 sisyphus+225625.24400.91.1 1555299604 installed <13>May 16 04:28:19 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>May 16 04:28:19 rpmi: python-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>May 16 04:28:19 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>May 16 04:28:19 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>May 16 04:28:19 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>May 16 04:28:19 rpmi: python-module-urllib3-2:1.24.3-alt1 sisyphus+228978.100.1.1 1557126149 installed <13>May 16 04:28:19 rpmi: python-module-requests-2.21.0-alt1 sisyphus+228370.100.2.2 1556711628 installed <13>May 16 04:28:19 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>May 16 04:28:19 rpmi: python-modules-sqlite3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:19 rpmi: python-module-SQLAlchemy-1.2.15-alt1 sisyphus+225625.4500.91.1 1555285684 installed <13>May 16 04:28:19 rpmi: python-module-py-1.8.0-alt2 sisyphus+228349.1400.4.1 1556631070 installed <13>May 16 04:28:19 rpmi: python-module-funcsigs-1.0.2-alt2 sisyphus+228355.2600.2.1 1556560236 installed <13>May 16 04:28:19 rpmi: python-module-scandir-1.10.0-alt1 sisyphus+225192.100.1.2 1552968852 installed <13>May 16 04:28:19 rpmi: python-module-pathlib2-2.3.3-alt1 sisyphus+228364.300.4.1 1556886257 installed <13>May 16 04:28:19 rpmi: python-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>May 16 04:28:19 rpmi: python-module-xapian-1.4.5-alt3 sisyphus+225625.23000.91.1 1555297606 installed <13>May 16 04:28:19 rpmi: python-module-pluggy-0.11.0-alt1 sisyphus+229116.100.1.1 1557316655 installed <13>May 16 04:28:19 rpmi: python-module-pytest-3.10.1-alt5 sisyphus+228366.2000.2.3 1556707871 installed <13>May 16 04:28:19 rpmi: python-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>May 16 04:28:19 rpmi: python-module-Pygments-2.2.0-alt2 1526455576 installed <13>May 16 04:28:19 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt3.qa1 sisyphus+227529.1200.1.2 1555924506 installed <13>May 16 04:28:19 rpmi: python-module-sphinx-1:1.6.5-alt4 sisyphus+228232.100.1.1 1556298645 installed <13>May 16 04:28:19 rpmi: python-module-numpydoc-1:0.7.0-alt1 sisyphus+227506.500.1.2 1555852058 installed <13>May 16 04:28:19 rpmi: python-module-numpy-testing-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555303051 installed <13>May 16 04:28:20 rpmi: python-module-numpy-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555303051 installed <13>May 16 04:28:20 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>May 16 04:28:20 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>May 16 04:28:20 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>May 16 04:28:20 rpmi: scons-3.0.1-alt1 1518686948 installed <13>May 16 04:28:20 rpmi: libnumpy-devel-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555303051 installed <13>May 16 04:28:20 rpmi: libnumpy-py3-devel-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555303051 installed <13>May 16 04:28:20 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>May 16 04:28:20 rpmi: gcc-fortran-8-alt1 sisyphus+222164.100.1.1 1550685957 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-DIRECT-1.0.1-alt2.1.2.1.nosrc.rpm Installing python-module-DIRECT-1.0.1-alt2.1.2.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.55764 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-DIRECT-1.0.1 + echo 'Source #0 (python-module-DIRECT-1.0.1.tar):' Source #0 (python-module-DIRECT-1.0.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-DIRECT-1.0.1.tar + cd python-module-DIRECT-1.0.1 + /bin/chmod -c -Rf u+rwX,go-w . + rm -rf ../python3 + cp -a . ../python3 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-DIRECT-1.0.1 + find ./ -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./test/test_direct.py RefactoringTool: Refactored ./test/SH.py RefactoringTool: Refactored ./test/C6.py RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./doc/source/sphinxext/numpydoc.py RefactoringTool: No changes to ./doc/source/sphinxext/ipython_console_highlighting.py RefactoringTool: Refactored ./doc/source/sphinxext/inheritance_diagram.py --- ./test/test_direct.py (original) +++ ./test/test_direct.py (refactored) @@ -19,8 +19,8 @@ u ) - print 'Optimal point:', x - print 'Optimal value:', fmin - print 'Exit status:', ierror + print('Optimal point:', x) + print('Optimal value:', fmin) + print('Exit status:', ierror) --- ./test/SH.py (original) +++ ./test/SH.py (refactored) @@ -3,7 +3,7 @@ Solve the 2D Shubert function. """ -from __future__ import division + from DIRECT import solve import numpy as np from mpl_toolkits.mplot3d import axes3d @@ -32,9 +32,9 @@ u ) - print 'Optimal point:', x - print 'Optimal value:', fmin - print 'Exit status:', ierror + print('Optimal point:', x) + print('Optimal value:', fmin) + print('Exit status:', ierror) # # Plot the results. --- ./test/C6.py (original) +++ ./test/C6.py (refactored) @@ -3,7 +3,7 @@ Solve the six-hump camelback function. """ -from __future__ import division + from DIRECT import solve import numpy as np from mpl_toolkits.mplot3d import axes3d @@ -32,9 +32,9 @@ u ) - print 'Optimal point:', x - print 'Optimal value:', fmin - print 'Exit status:', ierror + print('Optimal point:', x) + print('Optimal value:', fmin) + print('Exit status:', ierror) # # Plot the results. --- ./doc/source/sphinxext/numpydoc.py (original) +++ ./doc/source/sphinxext/numpydoc.py (refactored) @@ -49,7 +49,7 @@ try: references.append(int(l[len('.. ['):l.index(']')])) except ValueError: - print "WARNING: invalid reference in %s docstring" % name + print("WARNING: invalid reference in %s docstring" % name) # Start renaming from the biggest number, otherwise we may # overwrite references. @@ -104,7 +104,7 @@ if sphinx.ext.autodoc.format_signature is our_format_signature: return - print "[numpydoc] Monkeypatching sphinx.ext.autodoc ..." + print("[numpydoc] Monkeypatching sphinx.ext.autodoc ...") _original_format_signature = sphinx.ext.autodoc.format_signature sphinx.ext.autodoc.format_signature = our_format_signature --- ./doc/source/sphinxext/inheritance_diagram.py (original) +++ ./doc/source/sphinxext/inheritance_diagram.py (refactored) @@ -119,7 +119,7 @@ return [todoc] elif inspect.ismodule(todoc): classes = [] - for cls in todoc.__dict__.values(): + for cls in list(todoc.__dict__.values()): if inspect.isclass(cls) and cls.__module__ == todoc.__name__: classes.append(cls) return classes @@ -150,7 +150,7 @@ for cls in classes: recurse(cls) - return all_classes.keys() + return list(all_classes.keys()) def class_name(self, cls, parts=0): """ @@ -192,9 +192,9 @@ } def _format_node_options(self, options): - return ','.join(["%s=%s" % x for x in options.items()]) + return ','.join(["%s=%s" % x for x in list(options.items())]) def _format_graph_options(self, options): - return ''.join(["%s=%s;\n" % x for x in options.items()]) + return ''.join(["%s=%s;\n" % x for x in list(options.items())]) def generate_dot(self, fd, name, parts=0, urls={}, graph_options={}, node_options={}, @@ -224,7 +224,7 @@ fd.write(self._format_graph_options(g_options)) for cls in self.all_classes: - if not self.show_builtins and cls in __builtins__.values(): + if not self.show_builtins and cls in list(__builtins__.values()): continue name = self.class_name(cls, parts) @@ -239,7 +239,7 @@ # Write the edges for base in cls.__bases__: - if not self.show_builtins and base in __builtins__.values(): + if not self.show_builtins anRefactoringTool: Refactored ./doc/source/sphinxext/docscrape_sphinx.py RefactoringTool: Refactored ./doc/source/sphinxext/docscrape.py RefactoringTool: Refactored ./doc/source/sphinxext/apigen.py RefactoringTool: Refactored ./doc/source/conf.py d base in list(__builtins__.values()): continue base_name = self.class_name(base, parts) @@ -380,7 +380,7 @@ def visitor(self, node): try: content = inner_func(self, node) - except DotException, e: + except DotException as e: # Insert the exception as a warning in the document warning = self.document.reporter.warning(str(e), line=node.line) warning.parent = node --- ./doc/source/sphinxext/docscrape_sphinx.py (original) +++ ./doc/source/sphinxext/docscrape_sphinx.py (refactored) @@ -73,7 +73,7 @@ return out out += ['.. index:: %s' % idx.get('default','')] - for section, references in idx.iteritems(): + for section, references in idx.items(): if section == 'default': continue elif section == 'refguide': --- ./doc/source/sphinxext/docscrape.py (original) +++ ./doc/source/sphinxext/docscrape.py (refactored) @@ -6,7 +6,7 @@ import textwrap import re import pydoc -from StringIO import StringIO +from io import StringIO from warnings import warn 4 class Reader(object): @@ -113,7 +113,7 @@ return self._parsed_data[key] def __setitem__(self,key,val): - if not self._parsed_data.has_key(key): + if key not in self._parsed_data: warn("Unknown section %s" % key) else: self._parsed_data[key] = val @@ -369,7 +369,7 @@ idx = self['index'] out = [] out += ['.. index:: %s' % idx.get('default','')] - for section, references in idx.iteritems(): + for section, references in idx.items(): if section == 'default': continue out += [' :%s: %s' % (section, ', '.join(references))] @@ -413,10 +413,10 @@ doc = inspect.getdoc(func) or '' try: NumpyDocString.__init__(self, doc) - except ValueError, e: - print '*'*78 - print "ERROR: '%s' while parsing `%s`" % (e, self._f) - print '*'*78 + except ValueError as e: + print('*'*78) + print("ERROR: '%s' while parsing `%s`" % (e, self._f)) + print('*'*78) #print "Docstring follows:" #print doclines #print '='*78 @@ -429,7 +429,7 @@ argspec = inspect.formatargspec(*argspec) argspec = argspec.replace('*','\*') signature = '%s%s' % (func_name, argspec) - except TypeError, e: + except TypeError as e: signature = '%s()' % func_name self['Signature'] = signature @@ -451,8 +451,8 @@ 'meth': 'method'} if self._role: - if not roles.has_key(self._role): - print "Warning: invalid role %s" % self._role + if self._role not in roles: + print("Warning: invalid role %s" % self._role) out += '.. %s:: %s\n \n\n' % (roles.get(self._role,''), func_name) --- ./doc/source/sphinxext/apigen.py (original) +++ ./doc/source/sphinxext/apigen.py (refactored) @@ -206,7 +206,7 @@ # get the names of all classes and functions functions, classes = self._parse_module(uri) if not len(functions) and not len(classes): - print 'WARNING: Empty -',uri # dbg + print('WARNING: Empty -',uri) # dbg return '' # Make a shorter version of the uri that omits the package name for --- ./doc/source/conf.py (original) +++ ./doc/source/conf.py (refactored) @@ -41,8 +41,8 @@ master_doc = 'index' # General information about the project. -project = u'pydirect' -copyright = u'2012, Amit Aides' +project = 'pydirect' +copyright = '2012, Amit Aides' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -184,8 +184,8 @@ # Grouping the documRefactoringTool: Refactored ./doc/make_doc_images.py RefactoringTool: No changes to ./DIRECT/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./test/test_direct.py RefactoringTool: ./test/SH.py RefactoringTool: ./test/C6.py RefactoringTool: ./setup.py RefactoringTool: ./doc/source/sphinxext/numpydoc.py RefactoringTool: ./doc/source/sphinxext/ipython_console_highlighting.py RefactoringTool: ./doc/source/sphinxext/inheritance_diagram.py RefactoringTool: ./doc/source/sphinxext/docscrape_sphinx.py RefactoringTool: ./doc/source/sphinxext/docscrape.py RefactoringTool: ./doc/source/sphinxext/apigen.py RefactoringTool: ./doc/source/conf.py RefactoringTool: ./doc/make_doc_images.py RefactoringTool: ./DIRECT/__init__.py ent tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'pydirect.tex', u'pydirect Documentation', - u'Amit Aides', 'manual'), + ('index', 'pydirect.tex', 'pydirect Documentation', + 'Amit Aides', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -198,7 +198,7 @@ # Additional stuff for the LaTeX preamble. latex_preamble = """ -\usepackage{amsmath}\usepackage{amsfonts}\usepackage{bm}\usepackage{morefloats} +\\usepackage{amsmath}\\usepackage{amsfonts}\\usepackage{bm}\\usepackage{morefloats} """ # If true, show page references after internal links. @@ -219,8 +219,8 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'pydirect', u'pydirect Documentation', - [u'Amit Aides'], 1) + ('index', 'pydirect', 'pydirect Documentation', + ['Amit Aides'], 1) ] # If true, show URL addresses after external links. @@ -233,8 +233,8 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'pydirect', u'pydirect Documentation', - u'Amit Aides', 'pydirect', 'One line description of project.', + ('index', 'pydirect', 'pydirect Documentation', + 'Amit Aides', 'pydirect', 'One line description of project.', 'Miscellaneous'), ] --- ./doc/make_doc_images.py (original) +++ ./doc/make_doc_images.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import division + from DIRECT import solve import numpy as np from mpl_toolkits.mplot3d import axes3d + install -pm644 /usr/share/python-sphinx/objects.inv doc/ + '[' -e doc/conf.py ']' + cp -u /usr/lib/python2.7/site-packages/sphinx/conf.py.template doc/conf.py + ln -s ../objects.inv doc/source/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.41984 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-DIRECT-1.0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export FFLAGS + /usr/bin/python2.7 setup.py build --debug running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building extension "DIRECT.direct" sources creating build creating build/src.linux-x86_64-2.7 creating build/src.linux-x86_64-2.7/src f2py options: [] f2py: src/direct.pyf Reading fortran codes... Reading file 'src/direct.pyf' (format:free) Post-processing... Block: direct__user__routines Block: direct_user_interface Block: fcn Block: direct Block: direct In: src/direct.pyf:direct:unknown_interface:direct get_useparameters: no module direct__user__routines info used by direct Post-processing (stage 2)... Building modules... Constructing call-back function "cb_fcn_in_direct__user__routines" def fcn(x,iidata,ddata,cdata,[n,iisize,idsize,icsize]): return f,flag Building module "direct"... Constructing wrapper function "direct"... x,fmin,ierror = direct(fcn,eps,maxf,maxt,l,u,algmethod,logfilename,fglobal,fglper,volper,sigmaper,iidata,ddata,cdata,[n,iisize,idsize,icsize,fcn_extra_args]) Constructing COMMON block support for "directcontrol"... jones Wrote C/API module "direct" to file "build/src.linux-x86_64-2.7/src/directmodule.c" Fortran 77 wrappers are saved to "build/src.linux-x86_64-2.7/src/direct-f2pywrappers.f" adding 'build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/fortranobject.c' to sources. adding 'build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src' to include_dirs. creating build/src.linux-x86_64-2.7/build creating build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7 creating build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src copying /usr/lib64/python2.7/site-packages/numpy/f2py/src/fortranobject.c -> build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src copying /usr/lib64/python2.7/site-packages/numpy/f2py/src/fortranobject.h -> build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src adding 'build/src.linux-x86_64-2.7/src/direct-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_py creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/DIRECT copying DIRECT/__init__.py -> build/lib.linux-x86_64-2.7/DIRECT running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']' customize Gnu95FCompiler Found executable /usr/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building 'DIRECT.direct' extension compiling C sources C compiler: x86_64-alt-linux-gcc -pthread -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O3 -fwrapv -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fPIC creating build/temp.linux-x86_64-2.7/build creating build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src creating build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/build creating build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src compile options: '-g -Ibuild/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c' x86_64-alt-linux-gcc: build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/fortranobject.c In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/fortranobject.h:13, from build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/fortranobject.c:2: /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ x86_64-alt-linux-gcc: build/src.linux-x86_64-2.7/src/directmodule.c In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/fortranobject.h:13, from build/src.linux-x86_64-2.7/src/directmodule.c:16: /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ build/src.linux-x86_64-2.7/src/directmodule.c: In function 'cb_fcn_in_direct__user__routines': build/src.linux-x86_64-2.7/src/directmodule.c:456:7: warning: unused variable 'flag' [-Wunused-variable] int flag=(*flag_cb_capi); ^~~~ build/src.linux-x86_64-2.7/src/directmodule.c:455:10: warning: unused variable 'f' [-Wunused-variable] double f=(*f_cb_capi); ^ In file included from /usr/include/python2.7/Python.h:83, from build/src.linux-x86_64-2.7/src/directmodule.c:14: build/src.linux-x86_64-2.7/src/directmodule.c: In function 'initdirect': /usr/include/python2.7/object.h:115:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) ~^~~~~~~~~~~~~~~~ build/src.linux-x86_64-2.7/src/directmodule.c:1055:3: note: in expansion of macro 'Py_TYPE' Py_TYPE(&PyFortran_Type) = &PyType_Type; ^~~~~~~ At top level: build/src.linux-x86_64-2.7/src/directmodule.c:162:12: warning: 'f2py_size' defined but not used [-Wunused-function] static int f2py_size(PyArrayObject* var, ...) ^~~~~~~~~ compiling Fortran sources Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -O3 -funroll-loops Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -O3 -funroll-loops Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -O3 -funroll-loops creating build/temp.linux-x86_64-2.7/src compile options: '-g -Ibuild/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c' gfortran:f77: src/DIRect.f src/DIRect.f:511:26: actdeep = f(help,1) 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] gfortran:f77: src/DIRserial.f src/DIRserial.f:11:36: SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, 1 Warning: Unused dummy argument 'arrayi' at (1) [-Wunused-dummy-argument] src/DIRserial.f:11:42: SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, 1 Warning: Unused dummy argument 'delta' at (1) [-Wunused-dummy-argument] src/DIRserial.f:12:22: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin, 1 Warning: Unused dummy argument 'dwrit' at (1) [-Wunused-dummy-argument] src/DIRserial.f:12:37: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin, 1 Warning: Unused dummy argument 'free' at (1) [-Wunused-dummy-argument] src/DIRserial.f:11:60: SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, 1 Warning: Unused dummy argument 'length' at (1) [-Wunused-dummy-argument] src/DIRserial.f:12:30: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin, 1 Warning: Unused dummy argument 'logfile' at (1) [-Wunused-dummy-argument] src/DIRserial.f:13:43: + minpos,u,n,maxfunc,maxdeep,oops,fmax, 1 Warning: Unused dummy argument 'maxdeep' at (1) [-Wunused-dummy-argument] src/DIRserial.f:13:48: + minpos,u,n,maxfunc,maxdeep,oops,fmax, 1 Warning: Unused dummy argument 'oops' at (1) [-Wunused-dummy-argument] src/DIRserial.f:11:49: SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, 1 Warning: Unused dummy argument 'sample' at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:45: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument 'cdata' at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:30: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument 'ddata' at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:15: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument 'iidata' at (1) [-Wunused-dummy-argument] src/DIRserial.f:127:34: SUBROUTINE DIRInitSpecific(x,n, 1 Warning: Unused dummy argument 'x' at (1) [-Wunused-dummy-argument] gfortran:f77: src/DIRsubrout.f f951: Warning: Nonconforming tab character in column 5 of line 170 [-Wtabs] f951: Warning: Nonconforming tab character in column 5 of line 200 [-Wtabs] f951: Warning: Nonconforming tab character in column 3 of line 610 [-Wtabs] src/DIRsubrout.f:98:18: 30 CONTINUE 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:791:7: + ArrayI,sample,List2,w,maxI,f,maxfunc,maxdeep,n) 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:975:49: CALL DIRInsert(pos,pos3,point,f,maxfunc) 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:397:4: 1000 format(20f18.8) 1 Warning: Label 1000 at (1) defined but not used [-Wunused-label] src/DIRsubrout.f:1385:5: 10005 FORMAT("WARNING : The maximum number of iterations (",I5, 1 Warning: Label 10005 at (1) defined but not used [-Wunused-label] src/DIRsubrout.f:791:54: + ArrayI,sample,List2,w,maxI,f,maxfunc,maxdeep,n) 1 Warning: Unused dummy argument 'maxdeep' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:32: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument 'f' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:52: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument 'fcn' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:61: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument 'fmin' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:56: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument 'l' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:840:32: + maxfunc,maxdeep,oops) 1 Warning: Unused dummy argument 'maxdeep' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:68: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument 'minpos' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:839:18: + u,n, 1 Warning: Unused dummy argument 'u' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:54: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument 'x' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:306:43: SUBROUTINE DIRreplaceInf(free,freeold,f,c,thirds,length,anchor, 1 Warning: Unused dummy argument 'freeold' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:951:68: SUBROUTINE DIRInsert3(pos1,pos2,pos3,deep,anchor,point,free, 1 Warning: Unused dummy argument 'free' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1221:64: SUBROUTINE DIRWriteHistBox(point,f,thirds,c,anchor,actdeep,file, 1 Warning: Unused dummy argument 'actdeep' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1221:56: SUBROUTINE DIRWriteHistBox(point,f,thirds,c,anchor,actdeep,file, 1 Warning: Unused dummy argument 'anchor' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1221:69: SUBROUTINE DIRWriteHistBox(point,f,thirds,c,anchor,actdeep,file, 1 Warning: Unused dummy argument 'file' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1222:30: + l,u,file2,maxfunc,maxdeep,n,maxor,length) 1 Warning: Unused dummy argument 'file2' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1221:38: SUBROUTINE DIRWriteHistBox(point,f,thirds,c,anchor,actdeep,file, 1 Warning: Unused dummy argument 'point' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1256:57: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument 'cdata' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1256:42: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument 'ddata' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1256:27: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument 'iidata' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1253:48: + algmethod, maxfunc, maxdeep, 1 Warning: Unused dummy argument 'maxdeep' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1252:44: SUBROUTINE DIRheader(logfile,version,x,n,eps,maxf,maxT,l,u, 1 Warning: Unused dummy argument 'x' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1414:45: + fglobal, numfunc, Ierror) 1 Warning: Unused dummy argument 'ierror' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:155:0: S(maxpos,2) = novaluedeep Warning: 'novaluedeep' may be used uninitialized in this function [-Wmaybe-uninitialized] gfortran:f77: build/src.linux-x86_64-2.7/src/direct-f2pywrappers.f /usr/bin/gfortran -Wall -g -Wall -g -shared -g build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/directmodule.o build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/fortranobject.o build/temp.linux-x86_64-2.7/src/DIRect.o build/temp.linux-x86_64-2.7/src/DIRserial.o build/temp.linux-x86_64-2.7/src/DIRsubrout.o build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/direct-f2pywrappers.o -L/usr/lib64/gcc/x86_64-alt-linux/8 -L/usr/lib64/gcc/x86_64-alt-linux/8 -L/usr/lib64 -lpython2.7 -lgfortran -o build/lib.linux-x86_64-2.7/DIRECT/direct.so + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-DIRECT-1.0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building extension "DIRECT.direct" sources creating build creating build/src.linux-x86_64-3.7 creating build/src.linux-x86_64-3.7/src f2py options: [] f2py: src/direct.pyf Reading fortran codes... Reading file 'src/direct.pyf' (format:free) Post-processing... Block: direct__user__routines Block: direct_user_interface Block: fcn Block: direct Block: direct In: src/direct.pyf:direct:unknown_interface:direct get_useparameters: no module direct__user__routines info used by direct Post-processing (stage 2)... Building modules... Constructing call-back function "cb_fcn_in_direct__user__routines" def fcn(x,iidata,ddata,cdata,[n,iisize,idsize,icsize]): return f,flag Building module "direct"... Constructing wrapper function "direct"... x,fmin,ierror = direct(fcn,eps,maxf,maxt,l,u,algmethod,logfilename,fglobal,fglper,volper,sigmaper,iidata,ddata,cdata,[n,iisize,idsize,icsize,fcn_extra_args]) Constructing COMMON block support for "directcontrol"... jones Wrote C/API module "direct" to file "build/src.linux-x86_64-3.7/src/directmodule.c" Fortran 77 wrappers are saved to "build/src.linux-x86_64-3.7/src/direct-f2pywrappers.f" adding 'build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src/fortranobject.c' to sources. adding 'build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src' to include_dirs. creating build/src.linux-x86_64-3.7/build creating build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7 creating build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src copying /usr/lib64/python3/site-packages/numpy/f2py/src/fortranobject.c -> build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src copying /usr/lib64/python3/site-packages/numpy/f2py/src/fortranobject.h -> build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src adding 'build/src.linux-x86_64-3.7/src/direct-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_py creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/DIRECT copying DIRECT/__init__.py -> build/lib.linux-x86_64-3.7/DIRECT running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']' customize Gnu95FCompiler Found executable /usr/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building 'DIRECT.direct' extension compiling C sources C compiler: x86_64-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fPIC creating build/temp.linux-x86_64-3.7/build creating build/temp.linux-x86_64-3.7/build/src.linux-x86_64-3.7 creating build/temp.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src creating build/temp.linux-x86_64-3.7/build/src.linux-x86_64-3.7/build creating build/temp.linux-x86_64-3.7/build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7 creating build/temp.linux-x86_64-3.7/build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src compile options: '-g -Ibuild/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src -I/usr/lib64/python3/site-packages/numpy/core/include -I/usr/include/python3.7m -c' x86_64-alt-linux-gcc: build/src.linux-x86_64-3.7/src/directmodule.c x86_64-alt-linux-gcc: build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src/fortranobject.c In file included from /usr/include/numpy/ndarraytypes.h:1821, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src/fortranobject.h:13, from build/src.linux-x86_64-3.7/src/directmodule.c:16: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ build/src.linux-x86_64-3.7/src/directmodule.c: In function ‘cb_fcn_in_direct__user__routines’: build/src.linux-x86_64-3.7/src/directmodule.c:456:7: warning: unused variable ‘flag’ [-Wunused-variable] int flag=(*flag_cb_capi); ^~~~ build/src.linux-x86_64-3.7/src/directmodule.c:455:10: warning: unused variable ‘f’ [-Wunused-variable] double f=(*f_cb_capi); ^ At top level: build/src.linux-x86_64-3.7/src/directmodule.c:162:12: warning: ‘f2py_size’ defined but not used [-Wunused-function] static int f2py_size(PyArrayObject* var, ...) ^~~~~~~~~ In file included from /usr/include/numpy/ndarraytypes.h:1821, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src/fortranobject.h:13, from build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src/fortranobject.c:2: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ compiling Fortran sources Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -O3 -funroll-loops Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -O3 -funroll-loops Fortran fix compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -O3 -funroll-loops creating build/temp.linux-x86_64-3.7/src compile options: '-g -Ibuild/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src -I/usr/lib64/python3/site-packages/numpy/core/include -I/usr/include/python3.7m -c' gfortran:f77: src/DIRect.f gfortran:f77: src/DIRserial.f gfortran:f77: src/DIRsubrout.f gfortran:f77: build/src.linux-x86_64-3.7/src/direct-f2pywrappers.f src/DIRserial.f:11:36: SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, 1 Warning: Unused dummy argument ‘arrayi’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:11:42: SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, 1 Warning: Unused dummy argument ‘delta’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:12:22: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin, 1 Warning: Unused dummy argument ‘dwrit’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:12:37: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin, 1 Warning: Unused dummy argument ‘free’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:11:60: SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, 1 Warning: Unused dummy argument ‘length’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:12:30: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin, 1 Warning: Unused dummy argument ‘logfile’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:13:43: + minpos,u,n,maxfunc,maxdeep,oops,fmax, 1 Warning: Unused dummy argument ‘maxdeep’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:13:48: + minpos,u,n,maxfunc,maxdeep,oops,fmax, 1 Warning: Unused dummy argument ‘oops’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:11:49: SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, 1 Warning: Unused dummy argument ‘sample’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:45: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument ‘cdata’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:30: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument ‘ddata’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:15: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument ‘iidata’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:127:34: SUBROUTINE DIRInitSpecific(x,n, 1 Warning: Unused dummy argument ‘x’ at (1) [-Wunused-dummy-argument] src/DIRect.f:511:26: actdeep = f(help,1) 1 Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] f951: Warning: Nonconforming tab character in column 5 of line 170 [-Wtabs] f951: Warning: Nonconforming tab character in column 5 of line 200 [-Wtabs] f951: Warning: Nonconforming tab character in column 3 of line 610 [-Wtabs] src/DIRsubrout.f:98:18: 30 CONTINUE 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:791:7: + ArrayI,sample,List2,w,maxI,f,maxfunc,maxdeep,n) 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:975:49: CALL DIRInsert(pos,pos3,point,f,maxfunc) 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:397:4: 1000 format(20f18.8) 1 Warning: Label 1000 at (1) defined but not used [-Wunused-label] src/DIRsubrout.f:1385:5: 10005 FORMAT("WARNING : The maximum number of iterations (",I5, 1 Warning: Label 10005 at (1) defined but not used [-Wunused-label] src/DIRsubrout.f:791:54: + ArrayI,sample,List2,w,maxI,f,maxfunc,maxdeep,n) 1 Warning: Unused dummy argument ‘maxdeep’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:32: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument ‘f’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:52: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument ‘fcn’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:61: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument ‘fmin’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:56: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument ‘l’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:840:32: + maxfunc,maxdeep,oops) 1 Warning: Unused dummy argument ‘maxdeep’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:68: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument ‘minpos’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:839:18: + u,n, 1 Warning: Unused dummy argument ‘u’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:54: + dwrit,logfile,f,free,maxI,point,fcn,x,l,fmin,minpos, 1 Warning: Unused dummy argument ‘x’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:306:43: SUBROUTINE DIRreplaceInf(free,freeold,f,c,thirds,length,anchor, 1 Warning: Unused dummy argument ‘freeold’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:951:68: SUBROUTINE DIRInsert3(pos1,pos2,pos3,deep,anchor,point,free, 1 Warning: Unused dummy argument ‘free’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1221:64: SUBROUTINE DIRWriteHistBox(point,f,thirds,c,anchor,actdeep,file, 1 Warning: Unused dummy argument ‘actdeep’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1221:56: SUBROUTINE DIRWriteHistBox(point,f,thirds,c,anchor,actdeep,file, 1 Warning: Unused dummy argument ‘anchor’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1221:69: SUBROUTINE DIRWriteHistBox(point,f,thirds,c,anchor,actdeep,file, 1 Warning: Unused dummy argument ‘file’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1222:30: + l,u,file2,maxfunc,maxdeep,n,maxor,length) 1 Warning: Unused dummy argument ‘file2’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1221:38: SUBROUTINE DIRWriteHistBox(point,f,thirds,c,anchor,actdeep,file, 1 Warning: Unused dummy argument ‘point’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1256:57: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument ‘cdata’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1256:42: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument ‘ddata’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1256:27: + iidata, iisize, ddata, idsize, cdata, icsize) 1 Warning: Unused dummy argument ‘iidata’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1253:48: + algmethod, maxfunc, maxdeep, 1 Warning: Unused dummy argument ‘maxdeep’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1252:44: SUBROUTINE DIRheader(logfile,version,x,n,eps,maxf,maxT,l,u, 1 Warning: Unused dummy argument ‘x’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1414:45: + fglobal, numfunc, Ierror) 1 Warning: Unused dummy argument ‘ierror’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:155:0: S(maxpos,2) = novaluedeep Warning: ‘novaluedeep’ may be used uninitialized in this function [-Wmaybe-uninitialized] /usr/bin/gfortran -Wall -g -Wall -g -shared -g build/temp.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src/directmodule.o build/temp.linux-x86_64-3.7/build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src/fortranobject.o build/temp.linux-x86_64-3.7/src/DIRect.o build/temp.linux-x86_64-3.7/src/DIRserial.o build/temp.linux-x86_64-3.7/src/DIRsubrout.o build/temp.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src/direct-f2pywrappers.o -L/usr/lib64/gcc/x86_64-alt-linux/8 -L/usr/lib64/gcc/x86_64-alt-linux/8 -L/usr/lib64 -lpython3.7m -lgfortran -o build/lib.linux-x86_64-3.7/DIRECT/direct.cpython-37m.so + popd ~/RPM/BUILD/python-module-DIRECT-1.0.1 + make -C doc pickle make: Entering directory '/usr/src/RPM/BUILD/python-module-DIRECT-1.0.1/doc' sphinx-build -b pickle -d build/doctrees source build/pickle Running Sphinx v1.6.5 making output directory... Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead. loading pickled environment... not yet created building [mo]: targets for 0 po files that are out of date building [pickle]: targets for 4 source files that are out of date updating environment: 4 added, 0 changed, 0 removed reading sources... [ 25%] index /usr/lib/python2.7/site-packages/sphinx/environment/__init__.py:686: RemovedInSphinx17Warning: html_use_smartypants option is deprecated. Smart quotes are on by default; if you want to disable or customize them, use the smart_quotes option in docutils.conf. RemovedInSphinx17Warning) reading sources... [ 50%] install reading sources... [ 75%] reference reading sources... [100%] tutorial /usr/src/RPM/BUILD/python-module-DIRECT-1.0.1/doc/source/index.rst:12: WARNING: autodoc: failed to import module u'DIRECT.__init__'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named DIRECT.__init__ /usr/src/RPM/BUILD/python-module-DIRECT-1.0.1/doc/source/reference.rst:10: WARNING: autodoc: failed to import function u'solve' from module u'DIRECT'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named DIRECT looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 25%] index writing output... [ 50%] install writing output... [ 75%] reference writing output... [100%] tutorial WARNING: LaTeX command 'latex' cannot be run (needed for math display), check the pngmath_latex setting generating indices... genindex writing additional pages... search opensearch copying images... [100%] ../images/six_hump.png copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-DIRECT-1.0.1/doc/source/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 5 warnings. Build finished; now you can process the pickle files. make: Leaving directory '/usr/src/RPM/BUILD/python-module-DIRECT-1.0.1/doc' + make -C doc html make: Entering directory '/usr/src/RPM/BUILD/python-module-DIRECT-1.0.1/doc' sphinx-build -b html -d build/doctrees source build/html Running Sphinx v1.6.5 making output directory... Generating grammar tables from /usr/lib/python2.7/site-packages/sphinx/pycode/Grammar-py2.txt WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead. loading pickled environment... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 4 source files that are out of date updating environment: 0 added, 2 changed, 0 removed reading sources... [ 50%] index reading sources... [100%] reference /usr/src/RPM/BUILD/python-module-DIRECT-1.0.1/doc/source/index.rst:12: WARNING: autodoc: failed to import module u'DIRECT.__init__'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named DIRECT.__init__ /usr/src/RPM/BUILD/python-module-DIRECT-1.0.1/doc/source/reference.rst:10: WARNING: autodoc: failed to import function u'solve' from module u'DIRECT'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named DIRECT looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 25%] index writing output... [ 50%] install writing output... [ 75%] reference writing output... [100%] tutorial WARNING: LaTeX command 'latex' cannot be run (needed for math display), check the pngmath_latex setting generating indices... genindex writing additional pages... search opensearch copying images... [100%] ../images/six_hump.png copying static files... WARNING: html_static_path entry u'/usr/src/RPM/BUILD/python-module-DIRECT-1.0.1/doc/source/_static' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 5 warnings. Build finished. The HTML pages are in build/html. make: Leaving directory '/usr/src/RPM/BUILD/python-module-DIRECT-1.0.1/doc' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.22557 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-DIRECT-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-DIRECT-buildroot + cd python-module-DIRECT-1.0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export FFLAGS + /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-DIRECT-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-DIRECT-buildroot creating /usr/src/tmp/python-module-DIRECT-buildroot/usr creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64 creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7 creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7/site-packages creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7/site-packages/DIRECT copying build/lib.linux-x86_64-2.7/DIRECT/direct.so -> /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7/site-packages/DIRECT copying build/lib.linux-x86_64-2.7/DIRECT/__init__.py -> /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7/site-packages/DIRECT byte-compiling /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7/site-packages/DIRECT/__init__.py to __init__.pyc running install_egg_info running egg_info running build_src build_src building extension "DIRECT.direct" sources f2py options: [] adding 'build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/fortranobject.c' to sources. adding 'build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src' to include_dirs. adding 'build/src.linux-x86_64-2.7/src/direct-f2pywrappers.f' to sources. build_src: building npy-pkg config files writing DIRECT.egg-info/PKG-INFO writing top-level names to DIRECT.egg-info/top_level.txt writing dependency_links to DIRECT.egg-info/dependency_links.txt reading manifest file 'DIRECT.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'DIRECT.egg-info/SOURCES.txt' Copying DIRECT.egg-info to /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7/site-packages/DIRECT-1.0.1-py2.7.egg-info running install_scripts running install_clib customize UnixCCompiler + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-DIRECT-1.0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-DIRECT-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3 creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3/site-packages creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3/site-packages/DIRECT copying build/lib.linux-x86_64-3.7/DIRECT/direct.cpython-37m.so -> /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3/site-packages/DIRECT copying build/lib.linux-x86_64-3.7/DIRECT/__init__.py -> /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3/site-packages/DIRECT byte-compiling /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3/site-packages/DIRECT/__init__.py to __init__.cpython-37.pyc running install_egg_info running egg_info running build_src build_src building extension "DIRECT.direct" sources f2py options: [] adding 'build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src/fortranobject.c' to sources. adding 'build/src.linux-x86_64-3.7/build/src.linux-x86_64-3.7/src' to include_dirs. adding 'build/src.linux-x86_64-3.7/src/direct-f2pywrappers.f' to sources. build_src: building npy-pkg config files writing DIRECT.egg-info/PKG-INFO writing dependency_links to DIRECT.egg-info/dependency_links.txt writing top-level names to DIRECT.egg-info/top_level.txt reading manifest file 'DIRECT.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'DIRECT.egg-info/SOURCES.txt' Copying DIRECT.egg-info to /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3/site-packages/DIRECT-1.0.1-py3.7.egg-info running install_scripts running install_clib customize UnixCCompiler + popd ~/RPM/BUILD/python-module-DIRECT-1.0.1 + cp -fR doc/build/pickle /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7/site-packages/DIRECT/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-DIRECT-buildroot (auto) mode of './usr/lib64/python3/site-packages/DIRECT/direct.cpython-37m.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/python2.7/site-packages/DIRECT/direct.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/python-module-DIRECT-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-DIRECT-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-DIRECT-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-DIRECT-buildroot ./usr/lib64: Verifying ELF objects in /usr/src/tmp/python-module-DIRECT-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-DIRECT-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7/site-packages/DIRECT/__init__.pyc compile /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7/site-packages/DIRECT/__init__.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-DIRECT-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7/site-packages/DIRECT/__init__.py Bytecompiling python3 modules in /usr/src/tmp/python-module-DIRECT-buildroot using /usr/bin/python3 Can't list '/usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python3/site-packages' unlink /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3/site-packages/DIRECT/__pycache__/__init__.cpython-37.pyc compile /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3/site-packages/DIRECT/__init__.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-DIRECT-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3/site-packages/DIRECT/__init__.py Can't list '/usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python3/site-packages' Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-DIRECT-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3/site-packages/DIRECT/__init__.py Can't list '/usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python3/site-packages' Hardlinking identical .pyc and .opt-?.pyc files './usr/lib64/python3/site-packages/DIRECT/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib64/python3/site-packages/DIRECT/__pycache__/__init__.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib64/python2.7/site-packages/DIRECT/__init__.pyo' => './usr/lib64/python2.7/site-packages/DIRECT/__init__.pyc' Processing files: python-module-DIRECT-1.0.1-alt2.1.2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.26402 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-DIRECT-1.0.1 + DOCDIR=/usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-1.0.1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-1.0.1 + /bin/mkdir -p /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-1.0.1 + cp -prL AUTHORS /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-1.0.1 + chmod -R go-w /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-1.0.1 + chmod -R a+rX /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-1.0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wxs45c find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4vDF5C find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python2.7/site-packages/DIRECT/__init__.py: line=36 possible relative import from ., UNIMPLEMENTED Provides: python2.7-module-DIRECT = 1.0.1-alt2.1.2.1, python2.7(DIRECT), python2.7(DIRECT.direct) Requires: python = 2.7, /usr/lib64/python2.7/site-packages, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgfortran.so.5()(64bit) >= set:ok0gi6O6HkJvHdCyCOFQTFMQpOXo0, libgfortran.so.5(GFORTRAN_8)(64bit), libpython2.7.so.1.0()(64bit) >= set:oilglYPRuzG8ghJBy5LljqZlKlfQa9hM9KhgJXiFeNKMnjslph4J7ayXZzaS2R9XTWlmQDbtQQrKvevUyzhsITByA92Bzon0mWjes9xg0SfhHUxG4rWVmKgSZgSWwVu61Zibmb875ufTPXPCMJ58fiDZ0kXbzL391v1, python2.7(numpy), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AHZAH6 Creating python-module-DIRECT-debuginfo package Processing files: python-module-DIRECT-pickles-1.0.1-alt2.1.2.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mndJID find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SY4E6d find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Requires: /usr/lib64/python2.7/site-packages Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EYWgSR Processing files: python-module-DIRECT-docs-1.0.1-alt2.1.2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.27504 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-DIRECT-1.0.1 + DOCDIR=/usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-docs-1.0.1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-docs-1.0.1 + /bin/mkdir -p /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-docs-1.0.1 + cp -prL doc/build/html/_images doc/build/html/_sources doc/build/html/_static doc/build/html/genindex.html doc/build/html/index.html doc/build/html/install.html doc/build/html/objects.inv doc/build/html/reference.html doc/build/html/search.html doc/build/html/searchindex.js doc/build/html/tutorial.html /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-docs-1.0.1 + chmod -R go-w /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-docs-1.0.1 + chmod -R a+rX /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python-module-DIRECT-docs-1.0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OKVFWz find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ijQAml find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Processing files: python3-module-DIRECT-1.0.1-alt2.1.2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.48395 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-DIRECT-1.0.1 + DOCDIR=/usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python3-module-DIRECT-1.0.1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python3-module-DIRECT-1.0.1 + /bin/mkdir -p /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python3-module-DIRECT-1.0.1 + cp -prL AUTHORS /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python3-module-DIRECT-1.0.1 + chmod -R go-w /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python3-module-DIRECT-1.0.1 + chmod -R a+rX /usr/src/tmp/python-module-DIRECT-buildroot/usr/share/doc/python3-module-DIRECT-1.0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AVtjYa find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6srDW3 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib64/python3/site-packages/DIRECT/__init__.py: line=36 possible relative import from ., UNIMPLEMENTED Provides: python3(DIRECT), python3(DIRECT.direct) Requires: /usr/lib64/python3/site-packages, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgfortran.so.5()(64bit) >= set:ok0gi6O6HkJvHdCyCOFQTFMQpOXo0, libgfortran.so.5(GFORTRAN_8)(64bit), libpython3.7m.so.1.0()(64bit) >= set:oi5wsXdGy0b6T65dcQbjZCRACvVmZ0JiOCju72B1dj7XXvUv7kMxS2TqybuZre325hZGlpCBKNWrZciASZrmehAR057zUoLb5FL8X2MivOxb942MZpEiVUM0WI2VOkDVPS7IR1ouZDNq1DgI0tZwiVEAsNMSn6v7OZtW3g0, python3(numpy) < 0, python3.7-ABI(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ySFri0 Creating python3-module-DIRECT-debuginfo package Processing files: python-module-DIRECT-debuginfo-1.0.1-alt2.1.2.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QufRZZ find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.U3qDm3 find-requires: running scripts (debuginfo) Requires: python-module-DIRECT = 1.0.1-alt2.1.2.1, debug64(libc.so.6), debug64(libgfortran.so.5), debug64(libpython2.7.so.1.0) Processing files: python3-module-DIRECT-debuginfo-1.0.1-alt2.1.2.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OxUj59 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GKfd9j find-requires: running scripts (debuginfo) Requires: python3-module-DIRECT = 1.0.1-alt2.1.2.1, debug64(libc.so.6), debug64(libgfortran.so.5), debug64(libpython3.7m.so.1.0) Adding to python-module-DIRECT-debuginfo a strict dependency on python-module-DIRECT Adding to python3-module-DIRECT-debuginfo a strict dependency on python3-module-DIRECT Wrote: /usr/src/RPM/RPMS/x86_64/python-module-DIRECT-1.0.1-alt2.1.2.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python-module-DIRECT-pickles-1.0.1-alt2.1.2.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-DIRECT-docs-1.0.1-alt2.1.2.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-DIRECT-1.0.1-alt2.1.2.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python-module-DIRECT-debuginfo-1.0.1-alt2.1.2.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/python3-module-DIRECT-debuginfo-1.0.1-alt2.1.2.1.x86_64.rpm 17.56user 1.98system 0:34.33elapsed 56%CPU (0avgtext+0avgdata 53792maxresident)k 0inputs+0outputs (0major+872637minor)pagefaults 0swaps 30.79user 5.41system 0:54.52elapsed 66%CPU (0avgtext+0avgdata 113848maxresident)k 0inputs+0outputs (0major+1469889minor)pagefaults 0swaps