<86>Jan 19 08:58:48 userdel[578557]: delete user 'rooter' <86>Jan 19 08:58:48 userdel[578557]: removed group 'rooter' owned by 'rooter' <86>Jan 19 08:58:48 userdel[578557]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 19 08:58:48 groupadd[578574]: group added to /etc/group: name=rooter, GID=693 <86>Jan 19 08:58:48 groupadd[578574]: group added to /etc/gshadow: name=rooter <86>Jan 19 08:58:48 groupadd[578574]: new group: name=rooter, GID=693 <86>Jan 19 08:58:48 useradd[578594]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>Jan 19 08:58:48 userdel[578625]: delete user 'builder' <86>Jan 19 08:58:48 userdel[578625]: removed group 'builder' owned by 'builder' <86>Jan 19 08:58:48 userdel[578625]: removed shadow group 'builder' owned by 'builder' <86>Jan 19 08:58:48 groupadd[578644]: group added to /etc/group: name=builder, GID=694 <86>Jan 19 08:58:48 groupadd[578644]: group added to /etc/gshadow: name=builder <86>Jan 19 08:58:48 groupadd[578644]: new group: name=builder, GID=694 <86>Jan 19 08:58:48 useradd[578664]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-dbfpy-2.3.0-alt2.src.rpm: license not found in '/usr/share/license' directory: Public /usr/src/in/srpm/python3-module-dbfpy-2.3.0-alt2.src.rpm: license not found in '/usr/share/license' directory: domain <13>Jan 19 08:58:50 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 19 08:58:50 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Jan 19 08:58:50 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jan 19 08:58:50 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Jan 19 08:58:50 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 19 08:58:50 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 19 08:58:50 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Jan 19 08:58:50 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jan 19 08:58:50 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jan 19 08:58:50 rpmi: libcrypto1.1-1.1.1i-alt2 sisyphus+264815.100.1.1 1610967332 installed <13>Jan 19 08:58:50 rpmi: libssl1.1-1.1.1i-alt2 sisyphus+264815.100.1.1 1610967332 installed <13>Jan 19 08:58:50 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Jan 19 08:58:51 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Jan 19 08:58:51 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Jan 19 08:58:51 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 19 08:58:51 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 19 08:58:53 rpmi: python-modules-compiler-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Jan 19 08:58:53 rpmi: python-modules-email-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Jan 19 08:58:53 rpmi: python-modules-unittest-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Jan 19 08:58:53 rpmi: python-modules-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Jan 19 08:58:53 rpmi: python-modules-encodings-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Jan 19 08:58:53 rpmi: python-modules-ctypes-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Jan 19 08:58:53 rpmi: python-modules-multiprocessing-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Jan 19 08:58:53 rpmi: python-modules-logging-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed <13>Jan 19 08:58:53 rpmi: python-tools-2to3-2.7.18-alt3 sisyphus+263690.140.6.1 1608730167 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-dbfpy-2.3.0-alt2.nosrc.rpm (w1.gzdio) <13>Jan 19 08:58:55 rpmi: python3-module-pkg_resources-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed <13>Jan 19 08:58:55 rpmi: libtinfo-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Jan 19 08:58:55 rpmi: libncurses-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Jan 19 08:58:55 rpmi: python3-dev-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Jan 19 08:58:55 rpmi: python3-module-setuptools-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed Installing python3-module-dbfpy-2.3.0-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.51023 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-dbfpy-2.3.0 + echo 'Source #0 (python3-module-dbfpy-2.3.0.tar):' Source #0 (python3-module-dbfpy-2.3.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-dbfpy-2.3.0.tar + cd python3-module-dbfpy-2.3.0 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i '/length = None/s/^/# /' dbfpy/fields.py + 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: No changes to ./setup.py RefactoringTool: Refactored ./dbfpy/fields.py RefactoringTool: Refactored ./dbfpy/utils.py RefactoringTool: Refactored ./dbfpy/record.py RefactoringTool: Refactored ./dbfpy/memo.py RefactoringTool: Refactored ./dbfpy/header.py --- ./dbfpy/fields.py (original) +++ ./dbfpy/fields.py (refactored) @@ -36,8 +36,8 @@ import struct import sys -from memo import MemoData -import utils +from .memo import MemoData +from . import utils ## abstract definitions @@ -474,7 +474,7 @@ ## register generic types -for (_name, _val) in globals().items(): +for (_name, _val) in list(globals().items()): if isinstance(_val, type) and issubclass(_val, DbfFieldDef) \ and (_name != "DbfFieldDef"): __all__.append(_name) --- ./dbfpy/utils.py (original) +++ ./dbfpy/utils.py (refactored) @@ -60,10 +60,10 @@ return date if isinstance(date, datetime.datetime): return date.date() - if isinstance(date, (int, long, float)): + if isinstance(date, (int, float)): # date is a timestamp return datetime.date.fromtimestamp(date) - if isinstance(date, basestring): + if isinstance(date, str): date = date.replace(" ", "0") if len(date) == 6: # yymmdd @@ -107,10 +107,10 @@ return value if isinstance(value, datetime.date): return datetime.datetime.fromordinal(value.toordinal()) - if isinstance(value, (int, long, float)): + if isinstance(value, (int, float)): # value is a timestamp return datetime.datetime.fromtimestamp(value) - if isinstance(value, basestring): + if isinstance(value, str): raise NotImplementedError("Strings aren't currently implemented") if hasattr(value, "__getitem__"): # a sequence (assuming date/time tuple) @@ -145,7 +145,7 @@ def __ne__(self, other): return not (other is self) - def __nonzero__(self): + def __bool__(self): return False def __int__(self): @@ -159,7 +159,7 @@ return "" def __unicode__(self): - return u"" + return "" def __repr__(self): return "" --- ./dbfpy/record.py (original) +++ ./dbfpy/record.py (refactored) @@ -16,9 +16,9 @@ __all__ = ["DbfRecord"] -from itertools import izip - -import utils + + +from . import utils class DbfRecord(object): """DBF record. @@ -220,7 +220,7 @@ """Return string packed record values.""" return "".join([" *"[self.deleted]] + [ _def.encodeValue(_dat) - for (_def, _dat) in izip(self.dbf.header.fields, self.fieldData) + for (_def, _dat) in zip(self.dbf.header.fields, self.fieldData) ]) def asList(self): @@ -241,11 +241,11 @@ real values stored in this object. """ - return dict([_i for _i in izip(self.dbf.fieldNames, self.fieldData)]) + return dict([_i for _i in zip(self.dbf.fieldNames, self.fieldData)]) def __getitem__(self, key): """Return value by field name or field index.""" - if isinstance(key, (long, int)): + if isinstance(key, int): # integer index of the field return self.fieldData[key] # assuming string field name @@ -253,7 +253,7 @@ def __setitem__(self, key, value): """Set field value by integer index of the field or string name.""" - if isinstance(key, (int, long)): + if isinstance(key, int): # integer index of the field return self.fieldData[key] # assuming string field name --- ./dbfpy/memo.py (original) +++ ./dbfpy/memo.py (refactored) @@ -67,7 +67,7 @@ """ self.is_fpt = fpt - if isinstance(f, basestring): + if isinstance(f, str): # a filename self.name = f if new: --- ./dbfpy/header.py (original) +++ ./dbfpy/header.py (refactored) @@ -20,13 +20,13 @@ __all__ = ["DbfHeader"] -import cStringIO +import io import datetime import struct import time -import fields -from utils import getDate +from . import fields +from .utils import getDate class DbfHeader(object): @@ -99,7 +99,7 @@ # @classmethod def fromString(cls, string): """Return header instance from the string object.""" - RefactoringTool: Refactored ./dbfpy/dbfnew.py RefactoringTool: Refactored ./dbfpy/dbf.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./dbfpy/fields.py RefactoringTool: ./dbfpy/utils.py RefactoringTool: ./dbfpy/record.py RefactoringTool: ./dbfpy/memo.py RefactoringTool: ./dbfpy/header.py RefactoringTool: ./dbfpy/dbfnew.py RefactoringTool: ./dbfpy/dbf.py return cls.fromStream(cStringIO.StringIO(str(string))) + return cls.fromStream(io.StringIO(str(string))) fromString = classmethod(fromString) # @classmethod @@ -297,7 +297,7 @@ def __getitem__(self, item): """Return a field definition by numeric index or name string""" - if isinstance(item, basestring): + if isinstance(item, str): _name = item.upper() for _field in self.fields: if _field.name == _name: --- ./dbfpy/dbfnew.py (original) +++ ./dbfpy/dbfnew.py (refactored) @@ -24,10 +24,10 @@ __all__ = ["dbf_new"] -from dbf import * -from fields import * -from header import * -from record import * +from .dbf import * +from .fields import * +from .header import * +from .record import * class _FieldDefinition(object): """Field definition. @@ -152,9 +152,9 @@ dbfn.add_field("date",'D',8) dbfn.write("tst.dbf") # test new dbf - print "*** created tst.dbf: ***" + print("*** created tst.dbf: ***") dbft = Dbf('tst.dbf', readOnly=0) - print repr(dbft) + print(repr(dbft)) # add a record rec=DbfRecord(dbft) rec['name']='something' @@ -169,13 +169,13 @@ rec.store() # show the records - print "*** inserted 2 records into tst.dbf: ***" - print repr(dbft) + print("*** inserted 2 records into tst.dbf: ***") + print(repr(dbft)) for i1 in range(len(dbft)): rec = dbft[i1] for fldName in dbft.fieldNames: - print '%s:\t %s'%(fldName, rec[fldName]) - print + print('%s:\t %s'%(fldName, rec[fldName])) + print() dbft.close() # vim: set et sts=4 sw=4 : --- ./dbfpy/dbf.py (original) +++ ./dbfpy/dbf.py (refactored) @@ -64,10 +64,10 @@ __all__ = ["Dbf"] -import header -import memo -import record -from utils import INVALID_VALUE +from . import header +from . import memo +from . import record +from .utils import INVALID_VALUE class Dbf(object): """DBF accessor. @@ -116,7 +116,7 @@ Default is generated from the DBF file name. """ - if isinstance(f, basestring): + if isinstance(f, str): # a filename self.name = f if new: @@ -186,7 +186,7 @@ Return value is numeric object maning valid index. """ - if not isinstance(index, (int, long)): + if not isinstance(index, int): raise TypeError("Index must be a numeric object") if index < 0: # index from the right side @@ -275,8 +275,8 @@ def demoRead(filename): _dbf = Dbf(filename, True) for _rec in _dbf: - print - print repr(_rec) + print() + print(repr(_rec)) _dbf.close() def demoCreate(filename): @@ -299,7 +299,7 @@ _rec["INITIALS"] = _i _rec["BIRTHDATE"] = _b _rec.store() - print repr(_dbf) + print(repr(_dbf)) _dbf.close() if (__name__=='__main__'): + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.53661 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-dbfpy-2.3.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/dbfpy copying dbfpy/fields.py -> build/lib/dbfpy copying dbfpy/utils.py -> build/lib/dbfpy copying dbfpy/record.py -> build/lib/dbfpy copying dbfpy/memo.py -> build/lib/dbfpy copying dbfpy/header.py -> build/lib/dbfpy copying dbfpy/dbfnew.py -> build/lib/dbfpy copying dbfpy/dbf.py -> build/lib/dbfpy copying dbfpy/__init__.py -> build/lib/dbfpy + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.53661 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-dbfpy-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-dbfpy-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-dbfpy-2.3.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-dbfpy-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-dbfpy-buildroot creating /usr/src/tmp/python3-module-dbfpy-buildroot/usr creating /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib creating /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy copying build/lib/dbfpy/__init__.py -> /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy copying build/lib/dbfpy/dbf.py -> /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy copying build/lib/dbfpy/dbfnew.py -> /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy copying build/lib/dbfpy/header.py -> /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy copying build/lib/dbfpy/memo.py -> /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy copying build/lib/dbfpy/record.py -> /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy copying build/lib/dbfpy/utils.py -> /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy copying build/lib/dbfpy/fields.py -> /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy byte-compiling /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbf.py to dbf.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbfnew.py to dbfnew.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/header.py to header.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/memo.py to memo.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/record.py to record.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/utils.py to utils.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/fields.py to fields.cpython-38.pyc running install_egg_info Writing /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy-2.3.0-py3.8.egg-info + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-dbfpy-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-dbfpy-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-dbfpy-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-dbfpy-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-dbfpy-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-dbfpy-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python3-module-dbfpy-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-dbfpy-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-dbfpy-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__pycache__/dbf.cpython-38.pyc unlink /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__pycache__/dbfnew.cpython-38.pyc unlink /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__pycache__/fields.cpython-38.pyc unlink /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__pycache__/header.cpython-38.pyc unlink /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__pycache__/memo.cpython-38.pyc unlink /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__pycache__/record.cpython-38.pyc unlink /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__pycache__/utils.cpython-38.pyc compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__init__.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbf.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbfnew.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/fields.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/header.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/memo.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/record.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/utils.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-dbfpy-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__init__.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbf.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbfnew.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/fields.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/header.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/memo.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/record.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/utils.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-dbfpy-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/__init__.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbf.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbfnew.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/fields.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/header.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/memo.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/record.py compile /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/utils.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/dbfpy/__pycache__/utils.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/dbfpy/__pycache__/utils.cpython-38.pyc' './usr/lib/python3/site-packages/dbfpy/__pycache__/record.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/dbfpy/__pycache__/record.cpython-38.pyc' './usr/lib/python3/site-packages/dbfpy/__pycache__/memo.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/dbfpy/__pycache__/memo.cpython-38.pyc' './usr/lib/python3/site-packages/dbfpy/__pycache__/header.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/dbfpy/__pycache__/header.cpython-38.pyc' './usr/lib/python3/site-packages/dbfpy/__pycache__/dbfnew.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/dbfpy/__pycache__/dbfnew.cpython-38.pyc' './usr/lib/python3/site-packages/dbfpy/__pycache__/dbf.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/dbfpy/__pycache__/dbf.cpython-38.pyc' './usr/lib/python3/site-packages/dbfpy/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/dbfpy/__pycache__/__init__.cpython-38.pyc' './usr/lib/python3/site-packages/dbfpy/__pycache__/__init__.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/dbfpy/__pycache__/__init__.cpython-38.opt-1.pyc' Hardlinking identical .pyc and .pyo files Processing files: python3-module-dbfpy-2.3.0-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.49976 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-dbfpy-2.3.0 + DOCDIR=/usr/src/tmp/python3-module-dbfpy-buildroot/usr/share/doc/python3-module-dbfpy-2.3.0 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-dbfpy-buildroot/usr/share/doc/python3-module-dbfpy-2.3.0 + /bin/mkdir -p /usr/src/tmp/python3-module-dbfpy-buildroot/usr/share/doc/python3-module-dbfpy-2.3.0 + cp -prL README CHANGES /usr/src/tmp/python3-module-dbfpy-buildroot/usr/share/doc/python3-module-dbfpy-2.3.0 + chmod -R go-w /usr/src/tmp/python3-module-dbfpy-buildroot/usr/share/doc/python3-module-dbfpy-2.3.0 + chmod -R a+rX /usr/src/tmp/python3-module-dbfpy-buildroot/usr/share/doc/python3-module-dbfpy-2.3.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.s507gf 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.bajL4f 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/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbf.py: line=67 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbf.py: line=68 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbf.py: line=69 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbf.py: line=70 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbf.py: line=306 IGNORE (for REQ=slight and deep=8) module=sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbfnew.py: line=27 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbfnew.py: line=28 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbfnew.py: line=29 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbfnew.py: line=30 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/fields.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/fields.py: line=39 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/fields.py: line=40 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/header.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/header.py: line=28 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/header.py: line=29 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/record.py: line=21 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/utils.py: skipping time shebang.req.files: executable script /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbf.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-dbfpy-buildroot/usr/lib/python3/site-packages/dbfpy/dbfnew.py is not executable Provides: python3(dbfpy), python3(dbfpy.dbf), python3(dbfpy.dbfnew), python3(dbfpy.fields), python3(dbfpy.header), python3(dbfpy.memo), python3(dbfpy.record), python3(dbfpy.utils) Requires: /usr/lib/python3/site-packages, python3(datetime) < 0, python3(io) < 0, python3(os) < 0, python3(struct) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-dbfpy-2.3.0-alt2.noarch.rpm (w2.lzdio) 4.94user 0.44system 0:06.97elapsed 77%CPU (0avgtext+0avgdata 17184maxresident)k 0inputs+0outputs (0major+128505minor)pagefaults 0swaps /.out/python3-module-dbfpy-2.3.0-alt2.noarch.rpm: license not found in '/usr/share/license' directory: Public /.out/python3-module-dbfpy-2.3.0-alt2.noarch.rpm: license not found in '/usr/share/license' directory: domain 11.51user 3.57system 0:16.50elapsed 91%CPU (0avgtext+0avgdata 109380maxresident)k 0inputs+0outputs (0major+567031minor)pagefaults 0swaps --- python3-module-dbfpy-2.3.0-alt2.noarch.rpm.repo 2020-01-16 07:20:16.000000000 +0000 +++ python3-module-dbfpy-2.3.0-alt2.noarch.rpm.hasher 2021-01-19 08:59:03.534985603 +0000 @@ -1,29 +1,29 @@ /usr/lib/python3/site-packages/dbfpy 40755 -/usr/lib/python3/site-packages/dbfpy-2.3.0-py3.7.egg-info 100644 +/usr/lib/python3/site-packages/dbfpy-2.3.0-py3.8.egg-info 100644 /usr/lib/python3/site-packages/dbfpy/__init__.py 100644 /usr/lib/python3/site-packages/dbfpy/__pycache__ 40755 -/usr/lib/python3/site-packages/dbfpy/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/dbf.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/dbf.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/dbf.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/dbfnew.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/dbfnew.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/dbfnew.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/fields.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/fields.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/fields.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/header.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/header.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/header.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/memo.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/memo.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/memo.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/record.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/record.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/record.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/utils.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/utils.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/dbfpy/__pycache__/utils.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/dbf.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/dbf.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/dbf.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/dbfnew.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/dbfnew.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/dbfnew.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/fields.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/fields.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/fields.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/header.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/header.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/header.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/memo.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/memo.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/memo.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/record.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/record.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/record.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/utils.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/utils.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/dbfpy/__pycache__/utils.cpython-38.pyc 100644 /usr/lib/python3/site-packages/dbfpy/dbf.py 100644