<86>Dec 14 11:04:12 userdel[30528]: delete user 'rooter' <86>Dec 14 11:04:12 userdel[30528]: removed group 'rooter' owned by 'rooter' <86>Dec 14 11:04:12 userdel[30528]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 14 11:04:12 groupadd[30536]: group added to /etc/group: name=rooter, GID=579 <86>Dec 14 11:04:12 groupadd[30536]: group added to /etc/gshadow: name=rooter <86>Dec 14 11:04:12 groupadd[30536]: new group: name=rooter, GID=579 <86>Dec 14 11:04:13 useradd[30540]: new user: name=rooter, UID=579, GID=579, home=/root, shell=/bin/bash <86>Dec 14 11:04:13 userdel[30547]: delete user 'builder' <86>Dec 14 11:04:13 userdel[30547]: removed group 'builder' owned by 'builder' <86>Dec 14 11:04:13 userdel[30547]: removed shadow group 'builder' owned by 'builder' <86>Dec 14 11:04:13 groupadd[30553]: group added to /etc/group: name=builder, GID=580 <86>Dec 14 11:04:13 groupadd[30553]: group added to /etc/gshadow: name=builder <86>Dec 14 11:04:13 groupadd[30553]: new group: name=builder, GID=580 <86>Dec 14 11:04:13 useradd[30557]: new user: name=builder, UID=580, GID=580, home=/usr/src, shell=/bin/bash <13>Dec 14 11:04:16 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Dec 14 11:04:16 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Dec 14 11:04:16 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Dec 14 11:04:16 rpmi: libtasn1-4.15.0-alt1 sisyphus+241940.100.1.1 1574959866 installed <13>Dec 14 11:04:16 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 14 11:04:16 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 14 11:04:16 rpmi: ca-certificates-2019.10.28-alt1 sisyphus+239875.300.1.1 1572267834 installed <13>Dec 14 11:04:16 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 14 11:04:16 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Dec 14 11:04:16 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Dec 14 11:04:16 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Dec 14 11:04:16 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Dec 14 11:04:16 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Dec 14 11:04:17 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Dec 14 11:04:17 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 14 11:04:17 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 14 11:04:17 rpmi: rpm-macros-sphinx-1:1.6.5-alt7 sisyphus+238085.300.2.1 1569317039 installed <13>Dec 14 11:04:23 rpmi: python-base-2.7.17-alt3 sisyphus+240580.60.5.1 1573516905 installed <13>Dec 14 11:04:23 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Dec 14 11:04:24 rpmi: libopenblas-0.2.20-alt2 sisyphus+229410.100.1.1 1557920019 installed <13>Dec 14 11:04:24 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 sisyphus+227529.1100.1.2 1555924423 installed <13>Dec 14 11:04:24 rpmi: libquadmath0-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Dec 14 11:04:24 rpmi: libgfortran5-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Dec 14 11:04:24 rpmi: libquadmath9-devel-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Dec 14 11:04:24 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed <13>Dec 14 11:04:24 rpmi: python-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Dec 14 11:04:24 rpmi: python-module-apipkg-1.5-alt1 1531926894 installed <13>Dec 14 11:04:24 rpmi: python-module-wcwidth-0.1.7-alt2.1 sisyphus+227536.2000.1.2 1555963469 installed <13>Dec 14 11:04:24 rpmi: python3-module-six-1.13.0-alt1 sisyphus+240546.100.2.1 1573542703 installed <13>Dec 14 11:04:24 rpmi: python3-module-pyparsing-2.4.2-alt1 sisyphus+236061.100.3.1 1565853577 installed <13>Dec 14 11:04:24 rpmi: python3-module-packaging-19.0-alt2 sisyphus+235493.3500.8.1 1565461874 installed <13>Dec 14 11:04:24 rpmi: python3-module-wcwidth-0.1.7-alt2.1 sisyphus+227536.2000.1.2 1555963469 installed <13>Dec 14 11:04:24 rpmi: python3-module-more-itertools-7.0.0-alt3 sisyphus+226536.100.1.1 1554329928 installed <13>Dec 14 11:04:24 rpmi: python3-module-iniconfig-1.0.0-alt2 sisyphus+235493.2400.6.1 1565442448 installed <13>Dec 14 11:04:24 rpmi: python3-module-zipp-0.5.0-alt1 sisyphus+229321.100.1.1 1557825329 installed <13>Dec 14 11:04:24 rpmi: python3-module-importlib_metadata-0.23-alt1 sisyphus+238234.100.1.1 1569569713 installed <13>Dec 14 11:04:24 rpmi: python3-module-pluggy-0.13.0-alt1 sisyphus+239299.100.1.1 1571209480 installed <13>Dec 14 11:04:24 rpmi: python3-module-attrs-19.3.0-alt1 sisyphus+240796.100.1.1 1573741715 installed <13>Dec 14 11:04:24 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>Dec 14 11:04:24 rpmi: python3-module-py-1.8.0-alt5 sisyphus+242058.200.5.1 1575792989 installed <13>Dec 14 11:04:24 rpmi: python3-module-pytest-5.3.1-alt1 sisyphus+242058.100.5.1 1575792884 installed <13>Dec 14 11:04:24 rpmi: python-module-iniconfig-1.0.0-alt2 sisyphus+235493.2400.6.1 1565442448 installed <13>Dec 14 11:04:24 rpmi: libnumpy-py3-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568392195 installed <13>Dec 14 11:04:24 rpmi: python-sphinx-objects.inv-1:2.3.9.20191201-alt1 sisyphus+242309.100.1.1 1575585420 installed <13>Dec 14 11:04:24 rpmi: libxapian-1.4.5-alt3 sisyphus+222778.100.1.1 1551144773 installed <13>Dec 14 11:04:24 rpmi: python-module-google-0.4.2-alt2.1 sisyphus+228356.1500.3.1 1556633057 installed <13>Dec 14 11:04:24 rpmi: libsqlite3-3.30.1-alt3 sisyphus+242073.100.1.1 1575236094 installed <13>Dec 14 11:04:24 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Dec 14 11:04:24 rpmi: libnumpy-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568392195 installed <13>Dec 14 11:04:24 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388786 installed <13>Dec 14 11:04:25 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134903 installed <13>Dec 14 11:04:25 rpmi: python3-module-numpy-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568392195 installed <13>Dec 14 11:04:25 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Dec 14 11:04:25 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Dec 14 11:04:25 rpmi: libxslt-1.1.34-alt1 sisyphus+240826.100.1.1 1573801860 installed <13>Dec 14 11:04:25 rpmi: gcc-fortran-common-1.4.24-alt2 sisyphus+240563.100.1.1 1573475389 installed <13>Dec 14 11:04:25 rpmi: libgfortran9-devel-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Dec 14 11:04:27 rpmi: gcc9-fortran-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Dec 14 11:04:27 rpmi: python-modules-curses-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:27 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Dec 14 11:04:27 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Dec 14 11:04:27 rpmi: python3-dev-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Dec 14 11:04:27 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Dec 14 11:04:27 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Dec 14 11:04:27 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Dec 14 11:04:27 groupadd[8725]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 14 11:04:27 groupadd[8725]: group added to /etc/gshadow: name=_keytab <86>Dec 14 11:04:27 groupadd[8725]: new group: name=_keytab, GID=499 <13>Dec 14 11:04:27 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Dec 14 11:04:27 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Dec 14 11:04:27 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Dec 14 11:04:27 rpmi: python-modules-compiler-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:27 rpmi: python-modules-email-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:27 rpmi: python-modules-unittest-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:27 rpmi: python-modules-encodings-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:27 rpmi: python-modules-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:27 rpmi: python-modules-nis-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:27 rpmi: python-module-six-1.13.0-alt1 sisyphus+240546.100.2.1 1573542703 installed <13>Dec 14 11:04:27 rpmi: python-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Dec 14 11:04:27 rpmi: python-modules-json-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:28 rpmi: python-modules-xml-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:28 rpmi: python-modules-ctypes-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:28 rpmi: python-modules-multiprocessing-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:28 rpmi: python-modules-logging-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:28 rpmi: python-modules-hotshot-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:28 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Dec 14 11:04:28 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Dec 14 11:04:28 rpmi: python-module-configparser-3.7.4-alt2 sisyphus+225584.100.1.1 1553412635 installed <13>Dec 14 11:04:28 rpmi: python-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Dec 14 11:04:28 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Dec 14 11:04:28 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Dec 14 11:04:28 rpmi: python-module-more-itertools-1:5.0.0-alt2 sisyphus+226536.200.1.1 1554329977 installed <13>Dec 14 11:04:28 rpmi: python-modules-bsddb-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:28 rpmi: python-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:28 rpmi: python-strict-2.7.17-alt3 sisyphus+240580.200.5.1 1573517270 installed <13>Dec 14 11:04:28 rpmi: python-modules-distutils-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:28 rpmi: python-module-numpy-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568392195 installed <13>Dec 14 11:04:28 rpmi: python-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Dec 14 11:04:28 rpmi: python-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed <13>Dec 14 11:04:29 rpmi: python-module-lxml-4.4.1-alt1 sisyphus+236738.100.2.3 1567016394 installed <13>Dec 14 11:04:29 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Dec 14 11:04:29 rpmi: python-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Dec 14 11:04:29 rpmi: python-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>Dec 14 11:04:29 rpmi: python-module-cffi-1.13.2-alt1 sisyphus+240882.100.2.1 1573892898 installed <13>Dec 14 11:04:29 rpmi: python-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Dec 14 11:04:29 rpmi: python-module-pytz-1:2019.3-alt1 sisyphus+242012.100.2.1 1575623104 installed <13>Dec 14 11:04:30 rpmi: python-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Dec 14 11:04:30 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321388303 installed <13>Dec 14 11:04:30 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Dec 14 11:04:30 rpmi: python-module-attrs-19.3.0-alt1 sisyphus+240796.100.1.1 1573741715 installed <13>Dec 14 11:04:30 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 sisyphus+225625.12200.91.1 1555289337 installed <13>Dec 14 11:04:30 rpmi: python-module-jinja2-2.10.3-alt1 sisyphus+241982.100.1.1 1575023523 installed <13>Dec 14 11:04:30 rpmi: python-module-simplejson-3.15.0-alt3.qa1 sisyphus+233013.100.1.1 1561323449 installed <13>Dec 14 11:04:30 rpmi: python-module-ipaddress-1.0.18-alt1.1 sisyphus+227494.1700.1.3 1555839523 installed <13>Dec 14 11:04:30 rpmi: python-module-cryptography-2.8-alt1 sisyphus+239390.100.1.2 1571349426 installed <13>Dec 14 11:04:30 rpmi: python-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed <13>Dec 14 11:04:30 rpmi: python-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Dec 14 11:04:30 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Dec 14 11:04:30 rpmi: python-module-urllib3-2:1.25.6-alt1 sisyphus+238720.100.2.1 1570349439 installed <13>Dec 14 11:04:30 rpmi: python-module-requests-2.22.0-alt1 sisyphus+238756.100.1.1 1570338316 installed <13>Dec 14 11:04:30 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Dec 14 11:04:30 rpmi: python-modules-sqlite3-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:30 rpmi: python-module-SQLAlchemy-1.3.8-alt1 sisyphus+237031.100.1.1 1567432479 installed <13>Dec 14 11:04:30 rpmi: python-module-atomicwrites-1.3.0-alt2 sisyphus+235493.500.3.1 1565370463 installed <13>Dec 14 11:04:30 rpmi: python-module-contextlib2-0.5.5-alt2 sisyphus+228269.100.1.1 1556366540 installed <13>Dec 14 11:04:30 rpmi: python-module-funcsigs-1.0.2-alt2 sisyphus+228355.2600.2.1 1556560236 installed <13>Dec 14 11:04:30 rpmi: python-module-scandir-1.10.0-alt1 sisyphus+225192.100.1.2 1552968870 installed <13>Dec 14 11:04:30 rpmi: python-module-pathlib2-2.3.3-alt1 sisyphus+228364.300.4.1 1556886257 installed <13>Dec 14 11:04:30 rpmi: python-module-zipp-0.5.0-alt1 sisyphus+229321.100.1.1 1557825329 installed <13>Dec 14 11:04:30 rpmi: python-module-importlib_metadata-0.23-alt1 sisyphus+238234.100.1.1 1569569713 installed <13>Dec 14 11:04:30 rpmi: python-module-pluggy-0.13.0-alt1 sisyphus+239299.100.1.1 1571209480 installed <13>Dec 14 11:04:30 rpmi: python-module-py-1.8.0-alt5 sisyphus+242058.200.5.1 1575792989 installed <13>Dec 14 11:04:30 rpmi: python-module-pyparsing-2.4.2-alt1 sisyphus+236061.100.3.1 1565853577 installed <13>Dec 14 11:04:30 rpmi: python-module-packaging-19.0-alt2 sisyphus+235493.3500.8.1 1565461874 installed <13>Dec 14 11:04:30 rpmi: python-module-pytest-4.6.6-alt1 sisyphus+240871.100.2.2 1573876190 installed <13>Dec 14 11:04:30 rpmi: python-module-xapian-1.4.5-alt4 sisyphus+237555.100.1.1 1568564584 installed <13>Dec 14 11:04:30 rpmi: python-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Dec 14 11:04:31 rpmi: python-module-Pygments-2.4.2-alt1 sisyphus+233443.20.3.1 1561904164 installed <13>Dec 14 11:04:31 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt5 sisyphus+238085.40.2.1 1569316750 installed <13>Dec 14 11:04:31 rpmi: python-module-sphinx-1:1.6.5-alt7 sisyphus+238085.300.2.1 1569317039 installed <13>Dec 14 11:04:31 rpmi: python-module-numpydoc-1:0.7.0-alt1 sisyphus+227506.500.1.2 1555852058 installed <13>Dec 14 11:04:31 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Dec 14 11:04:31 rpmi: python-dev-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:31 rpmi: libnumpy-devel-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568392195 installed <13>Dec 14 11:04:31 rpmi: python-module-numpy-testing-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568392195 installed <13>Dec 14 11:04:31 rpmi: libnumpy-py3-devel-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568392195 installed <13>Dec 14 11:04:31 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Dec 14 11:04:31 rpmi: gcc-fortran-9-alt1 sisyphus+239632.300.3.1 1571788297 installed <13>Dec 14 11:04:31 rpmi: python3-module-numpy-testing-1:1.15.4-alt3 sisyphus+237451.600.2.1 1568392195 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 <13>Dec 14 11:04:36 rpmi: python-tools-2to3-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Dec 14 11:04:36 rpmi: python-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed 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.55097 + 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.49717 + 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 -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O3 -march=i586 -mtune=generic -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] 15 | #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] 456 | int flag=(*flag_cb_capi); | ^~~~ build/src.linux-i686-2.7/src/directmodule.c:455:10: warning: unused variable 'f' [-Wunused-variable] 455 | double f=(*f_cb_capi); | ^ At top level: build/src.linux-i686-2.7/src/directmodule.c:162:12: warning: 'f2py_size' defined but not used [-Wunused-function] 162 | 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] 15 | #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: 511 | 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: 11 | SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, | 1 Warning: Unused dummy argument 'arrayi' at (1) [-Wunused-dummy-argument] src/DIRserial.f:11:42: 11 | SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, | 1 Warning: Unused dummy argument 'delta' at (1) [-Wunused-dummy-argument] src/DIRserial.f:12:22: 12 | + 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: 12 | + 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: 11 | SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, | 1 Warning: Unused dummy argument 'length' at (1) [-Wunused-dummy-argument] src/DIRserial.f:12:30: 12 | + 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: 13 | + minpos,u,n,maxfunc,maxdeep,oops,fmax, | 1 Warning: Unused dummy argument 'maxdeep' at (1) [-Wunused-dummy-argument] src/DIRserial.f:13:48: 13 | + minpos,u,n,maxfunc,maxdeep,oops,fmax, | 1 Warning: Unused dummy argument 'oops' at (1) [-Wunused-dummy-argument] src/DIRserial.f:11:49: 11 | SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, | 1 Warning: Unused dummy argument 'sample' at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:45: 128 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument 'cdata' at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:30: 128 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument 'ddata' at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:15: 128 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument 'iidata' at (1) [-Wunused-dummy-argument] src/DIRserial.f:127:34: 127 | 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: 98 | 30 CONTINUE | 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:791:7: 791 | + ArrayI,sample,List2,w,maxI,f,maxfunc,maxdeep,n) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:975:49: 975 | CALL DIRInsert(pos,pos3,point,f,maxfunc) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:397:4: 397 | 1000 format(20f18.8) | 1 Warning: Label 1000 at (1) defined but not used [-Wunused-label] src/DIRsubrout.f:1385:5: 1385 | 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: 791 | + 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: 838 | + 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: 838 | + 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: 838 | + 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: 838 | + 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: 840 | + maxfunc,maxdeep,oops) | 1 Warning: Unused dummy argument 'maxdeep' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:68: 838 | + 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: 839 | + u,n, | 1 Warning: Unused dummy argument 'u' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:54: 838 | + 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: 306 | 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: 951 | 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: 1221 | 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: 1221 | 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: 1221 | 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: 1222 | + l,u,file2,maxfunc,maxdeep,n,maxor,length) | 1 Warning: Unused dummy argument 'file2' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1221:38: 1221 | 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: 1256 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument 'cdata' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1256:42: 1256 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument 'ddata' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1256:27: 1256 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument 'iidata' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1253:48: 1253 | + algmethod, maxfunc, maxdeep, | 1 Warning: Unused dummy argument 'maxdeep' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1252:44: 1252 | 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: 1414 | + fglobal, numfunc, Ierror) | 1 Warning: Unused dummy argument 'ierror' at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:155:0: 155 | 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/9 -L/usr/lib/gcc/i586-alt-linux/9 -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] 15 | #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] 456 | int flag=(*flag_cb_capi); | ^~~~ build/src.linux-i686-3.7/src/directmodule.c:455:10: warning: unused variable ‘f’ [-Wunused-variable] 455 | 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] 162 | 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] 15 | #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] 138 | 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: src/DIRserial.f gfortran:f77: build/src.linux-i686-3.7/src/direct-f2pywrappers.f gfortran:f77: src/DIRsubrout.f src/DIRserial.f:11:36: 11 | SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, | 1 Warning: Unused dummy argument ‘arrayi’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:11:42: 11 | SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, | 1 Warning: Unused dummy argument ‘delta’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:12:22: 12 | + 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: 12 | + 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: 11 | SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, | 1 Warning: Unused dummy argument ‘length’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:12:30: 12 | + 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: 13 | + minpos,u,n,maxfunc,maxdeep,oops,fmax, | 1 Warning: Unused dummy argument ‘maxdeep’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:13:48: 13 | + minpos,u,n,maxfunc,maxdeep,oops,fmax, | 1 Warning: Unused dummy argument ‘oops’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:11:49: 11 | SUBROUTINE DIRSamplef(c,ArrayI,delta,sample,new,length, | 1 Warning: Unused dummy argument ‘sample’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:45: 128 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument ‘cdata’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:30: 128 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument ‘ddata’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:128:15: 128 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument ‘iidata’ at (1) [-Wunused-dummy-argument] src/DIRserial.f:127:34: 127 | SUBROUTINE DIRInitSpecific(x,n, | 1 Warning: Unused dummy argument ‘x’ at (1) [-Wunused-dummy-argument] src/DIRect.f:511:26: 511 | 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: 98 | 30 CONTINUE | 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:791:7: 791 | + ArrayI,sample,List2,w,maxI,f,maxfunc,maxdeep,n) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:975:49: 975 | CALL DIRInsert(pos,pos3,point,f,maxfunc) | 1 Warning: Nonconforming tab character at (1) [-Wtabs] src/DIRsubrout.f:397:4: 397 | 1000 format(20f18.8) | 1 Warning: Label 1000 at (1) defined but not used [-Wunused-label] src/DIRsubrout.f:1385:5: 1385 | 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: 791 | + 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: 838 | + 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: 838 | + 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: 838 | + 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: 838 | + 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: 840 | + maxfunc,maxdeep,oops) | 1 Warning: Unused dummy argument ‘maxdeep’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:68: 838 | + 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: 839 | + u,n, | 1 Warning: Unused dummy argument ‘u’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:838:54: 838 | + 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: 306 | 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: 951 | 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: 1221 | 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: 1221 | 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: 1221 | 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: 1222 | + l,u,file2,maxfunc,maxdeep,n,maxor,length) | 1 Warning: Unused dummy argument ‘file2’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1221:38: 1221 | 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: 1256 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument ‘cdata’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1256:42: 1256 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument ‘ddata’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1256:27: 1256 | + iidata, iisize, ddata, idsize, cdata, icsize) | 1 Warning: Unused dummy argument ‘iidata’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1253:48: 1253 | + algmethod, maxfunc, maxdeep, | 1 Warning: Unused dummy argument ‘maxdeep’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:1252:44: 1252 | 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: 1414 | + fglobal, numfunc, Ierror) | 1 Warning: Unused dummy argument ‘ierror’ at (1) [-Wunused-dummy-argument] src/DIRsubrout.f:155:0: 155 | 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/9 -L/usr/lib/gcc/i586-alt-linux/9 -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.927 + 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.90222 + 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.OVRYkY 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.TFN7fZ 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/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.5Le3S1 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.V6ilC1 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.p3HT20 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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.eDoom1 Processing files: python-module-DIRECT-docs-1.0.1-alt2.1.2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.53917 + 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.PV7lLY 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.Sz77x0 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.40928 + 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.umnmvZ 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.IDhIA0 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/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.yDsm8X 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.M1c1T0 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AcU48Y 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.zyOcQ0 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.drAZt0 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 41.39user 4.63system 1:02.08elapsed 74%CPU (0avgtext+0avgdata 39712maxresident)k 0inputs+0outputs (0major+684673minor)pagefaults 0swaps 62.97user 13.82system 1:33.71elapsed 81%CPU (0avgtext+0avgdata 109632maxresident)k 0inputs+0outputs (0major+1326572minor)pagefaults 0swaps