<86>May 17 12:42:18 userdel[488757]: delete user 'rooter' <86>May 17 12:42:18 userdel[488757]: removed group 'rooter' owned by 'rooter' <86>May 17 12:42:18 userdel[488757]: removed shadow group 'rooter' owned by 'rooter' <86>May 17 12:42:18 groupadd[488778]: group added to /etc/group: name=rooter, GID=591 <86>May 17 12:42:18 groupadd[488778]: group added to /etc/gshadow: name=rooter <86>May 17 12:42:18 groupadd[488778]: new group: name=rooter, GID=591 <86>May 17 12:42:18 useradd[488798]: new user: name=rooter, UID=591, GID=591, home=/root, shell=/bin/bash <86>May 17 12:42:18 userdel[488837]: delete user 'builder' <86>May 17 12:42:18 userdel[488837]: removed group 'builder' owned by 'builder' <86>May 17 12:42:18 userdel[488837]: removed shadow group 'builder' owned by 'builder' <86>May 17 12:42:18 groupadd[488859]: group added to /etc/group: name=builder, GID=592 <86>May 17 12:42:18 groupadd[488859]: group added to /etc/gshadow: name=builder <86>May 17 12:42:18 groupadd[488859]: new group: name=builder, GID=592 <86>May 17 12:42:18 useradd[488872]: new user: name=builder, UID=592, GID=592, home=/usr/src, shell=/bin/bash <13>May 17 12:42:22 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>May 17 12:42:22 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>May 17 12:42:22 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>May 17 12:42:22 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>May 17 12:42:22 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 17 12:42:22 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 17 12:42:22 rpmi: ca-certificates-2020.01.23-alt1 p9+245253.100.3.1 1580749631 installed <13>May 17 12:42:22 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>May 17 12:42:22 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>May 17 12:42:22 rpmi: libcrypto1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175266 installed <13>May 17 12:42:23 rpmi: libssl1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175266 installed <13>May 17 12:42:23 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>May 17 12:42:23 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>May 17 12:42:24 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>May 17 12:42:24 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>May 17 12:42:24 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>May 17 12:42:24 rpmi: rpm-macros-sphinx-1:1.6.5-alt8 p9+250806.100.2.1 1588178467 installed <13>May 17 12:42:31 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>May 17 12:42:31 rpmi: libopenblas-0.2.20-alt2 p9+229427.100.2.1 1558020066 installed <13>May 17 12:42:31 rpmi: libnumpy-py3-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555302306 installed <13>May 17 12:42:31 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 sisyphus+227529.1100.1.2 1555924423 installed <13>May 17 12:42:31 rpmi: libnumpy-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555302306 installed <13>May 17 12:42:32 rpmi: libquadmath0-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>May 17 12:42:32 rpmi: libgfortran5-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>May 17 12:42:32 rpmi: libquadmath8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>May 17 12:42:32 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed <13>May 17 12:42:32 rpmi: python3-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>May 17 12:42:32 rpmi: python3-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>May 17 12:42:32 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>May 17 12:42:32 rpmi: python3-module-py-1.8.0-alt2 sisyphus+228349.1400.4.1 1556631070 installed <13>May 17 12:42:32 rpmi: python3-module-pluggy-0.11.0-alt1 sisyphus+229116.100.1.1 1557316655 installed <13>May 17 12:42:32 rpmi: python3-module-more-itertools-7.0.0-alt3 sisyphus+226536.100.1.1 1554329928 installed <13>May 17 12:42:32 rpmi: python3-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>May 17 12:42:32 rpmi: python3-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>May 17 12:42:32 rpmi: python3-module-pytest-3.10.1-alt5 sisyphus+228366.2000.2.3 1556707871 installed <13>May 17 12:42:32 rpmi: python-module-iniconfig-1.0.0-alt1 sisyphus+227494.1100.1.3 1555839106 installed <13>May 17 12:42:32 rpmi: python-module-apipkg-1.5-alt1 1531926894 installed <13>May 17 12:42:32 rpmi: python-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>May 17 12:42:32 rpmi: python-sphinx-objects.inv-1:2.3.8.20190514-alt1 p9+229421.100.1.1 1557927689 installed <13>May 17 12:42:32 rpmi: libxapian-1.4.5-alt3 sisyphus+222778.100.1.1 1551144773 installed <13>May 17 12:42:32 rpmi: python-module-google-0.4.2-alt2.1 sisyphus+228356.1500.3.1 1556633057 installed <13>May 17 12:42:32 rpmi: libsqlite3-3.29.0-alt1 p9+237498.100.1.1 1568303696 installed <13>May 17 12:42:32 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>May 17 12:42:32 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388786 installed <13>May 17 12:42:33 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134903 installed <13>May 17 12:42:33 rpmi: python3-module-numpy-testing-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555302306 installed <13>May 17 12:42:33 rpmi: python3-module-numpy-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555302306 installed <13>May 17 12:42:33 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>May 17 12:42:33 rpmi: libgcrypt20-1.8.5-alt3 p9+239665.100.7.1 1586364779 installed <13>May 17 12:42:33 rpmi: libxslt-1.1.33-alt1 sisyphus+226936.100.1.1 1554820937 installed <13>May 17 12:42:33 rpmi: gcc-fortran-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>May 17 12:42:33 rpmi: libgfortran8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>May 17 12:42:34 rpmi: gcc8-fortran-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>May 17 12:42:34 rpmi: python-modules-curses-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:34 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>May 17 12:42:34 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>May 17 12:42:35 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>May 17 12:42:35 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>May 17 12:42:35 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>May 17 12:42:35 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>May 17 12:42:35 groupadd[500940]: group added to /etc/group: name=_keytab, GID=499 <86>May 17 12:42:35 groupadd[500940]: group added to /etc/gshadow: name=_keytab <86>May 17 12:42:35 groupadd[500940]: new group: name=_keytab, GID=499 <13>May 17 12:42:35 rpmi: libkrb5-1.17.1-alt1 p9+242852.100.2.1 1576572639 installed <13>May 17 12:42:35 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>May 17 12:42:35 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>May 17 12:42:35 rpmi: python-modules-compiler-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-modules-email-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-modules-unittest-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-modules-encodings-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-modules-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-modules-nis-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>May 17 12:42:35 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>May 17 12:42:35 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-modules-json-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-modules-xml-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-modules-logging-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:35 rpmi: python-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>May 17 12:42:35 rpmi: python-tools-2to3-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:36 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>May 17 12:42:36 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>May 17 12:42:36 rpmi: python-module-more-itertools-1:5.0.0-alt2 sisyphus+226536.200.1.1 1554329977 installed <13>May 17 12:42:36 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:36 rpmi: python-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:36 rpmi: python-strict-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867164 installed <13>May 17 12:42:36 rpmi: python-modules-distutils-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:36 rpmi: python-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>May 17 12:42:36 rpmi: python-module-html5lib-1:0.999999999-alt4.qa1 sisyphus+227493.600.1.3 1555835341 installed <13>May 17 12:42:36 rpmi: python-module-lxml-4.4.2-alt1 p9+244111.100.1.1 1578758819 installed <13>May 17 12:42:36 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>May 17 12:42:36 rpmi: python-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>May 17 12:42:36 rpmi: python-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>May 17 12:42:36 rpmi: python-module-cffi-1.12.3-alt1 sisyphus+229040.200.3.1 1557316452 installed <13>May 17 12:42:36 rpmi: python-module-asn1crypto-0.24.0-alt1 sisyphus+227473.1300.1.2 1555756512 installed <13>May 17 12:42:36 rpmi: python-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>May 17 12:42:36 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>May 17 12:42:37 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>May 17 12:42:37 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321388303 installed <13>May 17 12:42:37 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>May 17 12:42:37 rpmi: python-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>May 17 12:42:37 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 sisyphus+225625.12200.91.1 1555289337 installed <13>May 17 12:42:37 rpmi: python-module-jinja2-2.10-alt1 1521724576 installed <13>May 17 12:42:37 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus+225625.16100.91.1 1555292381 installed <13>May 17 12:42:37 rpmi: python-module-ipaddress-1.0.18-alt1.1 sisyphus+227494.1700.1.3 1555839523 installed <13>May 17 12:42:37 rpmi: python-module-cryptography-2.6.1-alt1 sisyphus+225625.24400.91.1 1555298600 installed <13>May 17 12:42:37 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>May 17 12:42:37 rpmi: python-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>May 17 12:42:37 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>May 17 12:42:37 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>May 17 12:42:37 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>May 17 12:42:37 rpmi: python-module-urllib3-2:1.24.3-alt1 sisyphus+228978.100.1.1 1557126149 installed <13>May 17 12:42:37 rpmi: python-module-requests-2.21.0-alt1 sisyphus+228370.100.2.2 1556711628 installed <13>May 17 12:42:37 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>May 17 12:42:37 rpmi: python-modules-sqlite3-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:38 rpmi: python-module-SQLAlchemy-1.2.15-alt1 sisyphus+225625.4500.91.1 1555284142 installed <13>May 17 12:42:38 rpmi: python-module-py-1.8.0-alt2 sisyphus+228349.1400.4.1 1556631070 installed <13>May 17 12:42:38 rpmi: python-module-funcsigs-1.0.2-alt2 sisyphus+228355.2600.2.1 1556560236 installed <13>May 17 12:42:38 rpmi: python-module-scandir-1.10.0-alt1 sisyphus+225192.100.1.2 1552968870 installed <13>May 17 12:42:38 rpmi: python-module-pathlib2-2.3.3-alt1 sisyphus+228364.300.4.1 1556886257 installed <13>May 17 12:42:38 rpmi: python-module-atomicwrites-1.3.0-alt1 sisyphus+227473.2000.1.3 1555763467 installed <13>May 17 12:42:38 rpmi: python-module-xapian-1.4.5-alt3 sisyphus+225625.23000.91.1 1555296582 installed <13>May 17 12:42:38 rpmi: python-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>May 17 12:42:38 rpmi: python-module-Pygments-2.2.0-alt2 1526455576 installed <13>May 17 12:42:38 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt5 p9+247680.340.15.1 1585331199 installed <13>May 17 12:42:38 rpmi: python-module-sphinx-1:1.6.5-alt8 p9+250806.100.2.1 1588178467 installed <13>May 17 12:42:38 rpmi: python-module-numpydoc-1:0.7.0-alt1 sisyphus+227506.500.1.2 1555852058 installed <13>May 17 12:42:38 rpmi: python-module-pluggy-0.11.0-alt1 sisyphus+229116.100.1.1 1557316655 installed <13>May 17 12:42:38 rpmi: python-module-pytest-3.10.1-alt5 sisyphus+228366.2000.2.3 1556707871 installed <13>May 17 12:42:38 rpmi: python-module-numpy-testing-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555302306 installed <13>May 17 12:42:39 rpmi: python-module-numpy-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555302306 installed <13>May 17 12:42:39 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>May 17 12:42:39 rpmi: python-dev-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 17 12:42:39 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>May 17 12:42:39 rpmi: scons-3.0.1-alt1 1518686948 installed <13>May 17 12:42:39 rpmi: libnumpy-devel-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555302306 installed <13>May 17 12:42:39 rpmi: libnumpy-py3-devel-1:1.15.4-alt1 sisyphus+225625.25600.91.1 1555302306 installed <13>May 17 12:42:39 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>May 17 12:42:39 rpmi: gcc-fortran-8-alt2 p9+246536.100.3.1 1582643803 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.3878 + 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.65646 + 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 -march=i586 -mtune=generic -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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-i686-2.7 creating build/src.linux-i686-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-i686-2.7/src/directmodule.c" Fortran 77 wrappers are saved to "build/src.linux-i686-2.7/src/direct-f2pywrappers.f" adding 'build/src.linux-i686-2.7/build/src.linux-i686-2.7/src/fortranobject.c' to sources. adding 'build/src.linux-i686-2.7/build/src.linux-i686-2.7/src' to include_dirs. creating build/src.linux-i686-2.7/build creating build/src.linux-i686-2.7/build/src.linux-i686-2.7 creating build/src.linux-i686-2.7/build/src.linux-i686-2.7/src copying /usr/lib/python2.7/site-packages/numpy/f2py/src/fortranobject.c -> build/src.linux-i686-2.7/build/src.linux-i686-2.7/src copying /usr/lib/python2.7/site-packages/numpy/f2py/src/fortranobject.h -> build/src.linux-i686-2.7/build/src.linux-i686-2.7/src adding 'build/src.linux-i686-2.7/src/direct-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_py creating build/lib.linux-i686-2.7 creating build/lib.linux-i686-2.7/DIRECT copying DIRECT/__init__.py -> build/lib.linux-i686-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: i586-alt-linux-gcc -pthread -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O3 -march=i586 -mtune=generic -fwrapv -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -fPIC creating build/temp.linux-i686-2.7/build creating build/temp.linux-i686-2.7/build/src.linux-i686-2.7 creating build/temp.linux-i686-2.7/build/src.linux-i686-2.7/src creating build/temp.linux-i686-2.7/build/src.linux-i686-2.7/build creating build/temp.linux-i686-2.7/build/src.linux-i686-2.7/build/src.linux-i686-2.7 creating build/temp.linux-i686-2.7/build/src.linux-i686-2.7/build/src.linux-i686-2.7/src compile options: '-g -Ibuild/src.linux-i686-2.7/build/src.linux-i686-2.7/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c' i586-alt-linux-gcc: build/src.linux-i686-2.7/src/directmodule.c In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from build/src.linux-i686-2.7/build/src.linux-i686-2.7/src/fortranobject.h:13, from build/src.linux-i686-2.7/src/directmodule.c:16: /usr/lib/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-i686-2.7/src/directmodule.c: In function 'cb_fcn_in_direct__user__routines': build/src.linux-i686-2.7/src/directmodule.c:456:7: warning: unused variable 'flag' [-Wunused-variable] int flag=(*flag_cb_capi); ^~~~ build/src.linux-i686-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-i686-2.7/src/directmodule.c:14: build/src.linux-i686-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-i686-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-i686-2.7/src/directmodule.c:162:12: warning: 'f2py_size' defined but not used [-Wunused-function] static int f2py_size(PyArrayObject* var, ...) ^~~~~~~~~ i586-alt-linux-gcc: build/src.linux-i686-2.7/build/src.linux-i686-2.7/src/fortranobject.c In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from build/src.linux-i686-2.7/build/src.linux-i686-2.7/src/fortranobject.h:13, from build/src.linux-i686-2.7/build/src.linux-i686-2.7/src/fortranobject.c:2: /usr/lib/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 " \ ^~~~~~~ compiling Fortran sources Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -O3 -funroll-loops Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -fPIC -DPIC -O3 -funroll-loops creating build/temp.linux-i686-2.7/src compile options: '-g -Ibuild/src.linux-i686-2.7/build/src.linux-i686-2.7/src -I/usr/lib/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-i686-2.7/src/direct-f2pywrappers.f /usr/bin/gfortran -Wall -g -Wall -g -shared -g build/temp.linux-i686-2.7/build/src.linux-i686-2.7/src/directmodule.o build/temp.linux-i686-2.7/build/src.linux-i686-2.7/build/src.linux-i686-2.7/src/fortranobject.o build/temp.linux-i686-2.7/src/DIRect.o build/temp.linux-i686-2.7/src/DIRserial.o build/temp.linux-i686-2.7/src/DIRsubrout.o build/temp.linux-i686-2.7/build/src.linux-i686-2.7/src/direct-f2pywrappers.o -L/usr/lib/gcc/i586-alt-linux/8 -L/usr/lib/gcc/i586-alt-linux/8 -L/usr/lib -lpython2.7 -lgfortran -o build/lib.linux-i686-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 -march=i586 -mtune=generic -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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-i686-3.7 creating build/src.linux-i686-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-i686-3.7/src/directmodule.c" Fortran 77 wrappers are saved to "build/src.linux-i686-3.7/src/direct-f2pywrappers.f" adding 'build/src.linux-i686-3.7/build/src.linux-i686-3.7/src/fortranobject.c' to sources. adding 'build/src.linux-i686-3.7/build/src.linux-i686-3.7/src' to include_dirs. creating build/src.linux-i686-3.7/build creating build/src.linux-i686-3.7/build/src.linux-i686-3.7 creating build/src.linux-i686-3.7/build/src.linux-i686-3.7/src copying /usr/lib/python3/site-packages/numpy/f2py/src/fortranobject.c -> build/src.linux-i686-3.7/build/src.linux-i686-3.7/src copying /usr/lib/python3/site-packages/numpy/f2py/src/fortranobject.h -> build/src.linux-i686-3.7/build/src.linux-i686-3.7/src adding 'build/src.linux-i686-3.7/src/direct-f2pywrappers.f' to sources. build_src: building npy-pkg config files running build_py creating build/lib.linux-i686-3.7 creating build/lib.linux-i686-3.7/DIRECT copying DIRECT/__init__.py -> build/lib.linux-i686-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: i586-alt-linux-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -pipe -frecord-gcc-switches -Wall -g -O3 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -fPIC creating build/temp.linux-i686-3.7/build creating build/temp.linux-i686-3.7/build/src.linux-i686-3.7 creating build/temp.linux-i686-3.7/build/src.linux-i686-3.7/src creating build/temp.linux-i686-3.7/build/src.linux-i686-3.7/build creating build/temp.linux-i686-3.7/build/src.linux-i686-3.7/build/src.linux-i686-3.7 creating build/temp.linux-i686-3.7/build/src.linux-i686-3.7/build/src.linux-i686-3.7/src compile options: '-g -Ibuild/src.linux-i686-3.7/build/src.linux-i686-3.7/src -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.7m -c' i586-alt-linux-gcc: build/src.linux-i686-3.7/src/directmodule.c i586-alt-linux-gcc: build/src.linux-i686-3.7/build/src.linux-i686-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-i686-3.7/build/src.linux-i686-3.7/src/fortranobject.h:13, from build/src.linux-i686-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-i686-3.7/src/directmodule.c: In function ‘cb_fcn_in_direct__user__routines’: build/src.linux-i686-3.7/src/directmodule.c:456:7: warning: unused variable ‘flag’ [-Wunused-variable] int flag=(*flag_cb_capi); ^~~~ build/src.linux-i686-3.7/src/directmodule.c:455:10: warning: unused variable ‘f’ [-Wunused-variable] double f=(*f_cb_capi); ^ At top level: build/src.linux-i686-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-i686-3.7/build/src.linux-i686-3.7/src/fortranobject.h:13, from build/src.linux-i686-3.7/build/src.linux-i686-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 " \ ^~~~~~~ build/src.linux-i686-3.7/build/src.linux-i686-3.7/src/fortranobject.c: In function ‘format_def’: build/src.linux-i686-3.7/build/src.linux-i686-3.7/src/fortranobject.c:138:18: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] if (size < sizeof(notalloc)) { ^ compiling Fortran sources Fortran f77 compiler: /usr/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -O3 -funroll-loops Fortran f90 compiler: /usr/bin/gfortran -Wall -g -fno-second-underscore -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -fPIC -DPIC -O3 -funroll-loops creating build/temp.linux-i686-3.7/src compile options: '-g -Ibuild/src.linux-i686-3.7/build/src.linux-i686-3.7/src -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.7m -c' gfortran:f77: src/DIRect.f gfortran:f77: build/src.linux-i686-3.7/src/direct-f2pywrappers.f gfortran:f77: src/DIRsubrout.f 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] 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-i686-3.7/build/src.linux-i686-3.7/src/directmodule.o build/temp.linux-i686-3.7/build/src.linux-i686-3.7/build/src.linux-i686-3.7/src/fortranobject.o build/temp.linux-i686-3.7/src/DIRect.o build/temp.linux-i686-3.7/src/DIRserial.o build/temp.linux-i686-3.7/src/DIRsubrout.o build/temp.linux-i686-3.7/build/src.linux-i686-3.7/src/direct-f2pywrappers.o -L/usr/lib/gcc/i586-alt-linux/8 -L/usr/lib/gcc/i586-alt-linux/8 -L/usr/lib -lpython3.7m -lgfortran -o build/lib.linux-i686-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.87215 + 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 -march=i586 -mtune=generic -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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/lib creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python2.7/site-packages/DIRECT copying build/lib.linux-i686-2.7/DIRECT/direct.so -> /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python2.7/site-packages/DIRECT copying build/lib.linux-i686-2.7/DIRECT/__init__.py -> /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python2.7/site-packages/DIRECT byte-compiling /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/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-i686-2.7/build/src.linux-i686-2.7/src/fortranobject.c' to sources. adding 'build/src.linux-i686-2.7/build/src.linux-i686-2.7/src' to include_dirs. adding 'build/src.linux-i686-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/lib/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 -march=i586 -mtune=generic -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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/lib/python3 creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python3/site-packages/DIRECT copying build/lib.linux-i686-3.7/DIRECT/direct.cpython-37m.so -> /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python3/site-packages/DIRECT copying build/lib.linux-i686-3.7/DIRECT/__init__.py -> /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python3/site-packages/DIRECT byte-compiling /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/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-i686-3.7/build/src.linux-i686-3.7/src/fortranobject.c' to sources. adding 'build/src.linux-i686-3.7/build/src.linux-i686-3.7/src' to include_dirs. adding 'build/src.linux-i686-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/lib/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/lib/python2.7/site-packages/DIRECT/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-DIRECT-buildroot (auto) mode of './usr/lib/python3/site-packages/DIRECT/direct.cpython-37m.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/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/lib: 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/lib/python2.7/site-packages/DIRECT/__init__.pyc compile /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/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/lib/python2.7/site-packages/DIRECT/__init__.py Bytecompiling python3 modules in /usr/src/tmp/python-module-DIRECT-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python3/site-packages/DIRECT/__pycache__/__init__.cpython-37.pyc compile /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/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/lib/python3/site-packages/DIRECT/__init__.py 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/lib/python3/site-packages/DIRECT/__init__.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/DIRECT/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/DIRECT/__pycache__/__init__.cpython-37.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/DIRECT/__init__.pyo' => './usr/lib/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.62475 + 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.d69uND 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.MFypIY find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/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/lib/python2.7/site-packages, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libgfortran.so.5 >= set:ok0gi6O6HkJvHdCyCOFQTFMQpOXo0, libgfortran.so.5(GFORTRAN_8), libpython2.7.so.1.0 >= set:oilglYPRuzG8ghJBy5LljqZlKlfQa9hM9KhgJXiFeNKMnjslph4J7ayXZzaS2R9XTWlmQDbtQQrKvevUyzhsITByA92Bzon0mWjes9xg0SfhHUxG4rWVmKgSZgSWwVu61Zibmb875ufTyLhLSK58fiDZ0kXbzL391v1, 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.EGwLIo 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.oATBbT 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.CCzFrw find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /usr/lib/python2.7/site-packages Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.eINn35 Processing files: python-module-DIRECT-docs-1.0.1-alt2.1.2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.44043 + 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.JT76wp 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.q6nF1F find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Processing files: python3-module-DIRECT-1.0.1-alt2.1.2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.11587 + 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.R9r6XM 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.Ar3UEF find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-DIRECT-buildroot/usr/lib/python3/site-packages/DIRECT/__init__.py: line=36 possible relative import from ., UNIMPLEMENTED Provides: python3(DIRECT), python3(DIRECT.direct) Requires: /usr/lib/python3/site-packages, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libgfortran.so.5 >= set:ok0gi6O6HkJvHdCyCOFQTFMQpOXo0, libgfortran.so.5(GFORTRAN_8), libpython3.7m.so.1.0 >= set:oi5wsXdGy0b6T65dcQbjZCRACvVmZ0JiOCju72B1dj7XXvUv7kMxS2TqybuZre325hZGlpCBKNWrZciASZrmehAR057zUoLb5FL8X2MivOxb942MZpEiVUM0WI2VOkDVPS7IR1ouZDNq1DgI0tZwiVEAsNMSn6v7OZtW3g0, python3(numpy) < 0, python3.7-ABI, 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.AbLEhh 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.wYvwuR find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Y4o05f find-requires: running scripts (debuginfo) Requires: python-module-DIRECT = 1.0.1-alt2.1.2.1, debug(libc.so.6), debug(libgfortran.so.5), debug(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.mGvqGu find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Yn8BID find-requires: running scripts (debuginfo) Requires: python3-module-DIRECT = 1.0.1-alt2.1.2.1, debug(libc.so.6), debug(libgfortran.so.5), debug(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/i586/python-module-DIRECT-1.0.1-alt2.1.2.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-DIRECT-pickles-1.0.1-alt2.1.2.1.i586.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/i586/python3-module-DIRECT-1.0.1-alt2.1.2.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-DIRECT-debuginfo-1.0.1-alt2.1.2.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-DIRECT-debuginfo-1.0.1-alt2.1.2.1.i586.rpm 43.13user 5.20system 1:06.49elapsed 72%CPU (0avgtext+0avgdata 39660maxresident)k 0inputs+0outputs (0major+709934minor)pagefaults 0swaps 64.67user 13.47system 1:39.74elapsed 78%CPU (0avgtext+0avgdata 117524maxresident)k 11112inputs+0outputs (0major+1279293minor)pagefaults 0swaps