<86>Mar 28 08:47:03 userdel[499419]: delete user 'rooter' <86>Mar 28 08:47:03 userdel[499419]: removed group 'rooter' owned by 'rooter' <86>Mar 28 08:47:03 userdel[499419]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 28 08:47:03 groupadd[499425]: group added to /etc/group: name=rooter, GID=531 <86>Mar 28 08:47:03 groupadd[499425]: group added to /etc/gshadow: name=rooter <86>Mar 28 08:47:03 groupadd[499425]: new group: name=rooter, GID=531 <86>Mar 28 08:47:03 useradd[499436]: new user: name=rooter, UID=531, GID=531, home=/root, shell=/bin/bash <86>Mar 28 08:47:03 userdel[499452]: delete user 'builder' <86>Mar 28 08:47:03 userdel[499452]: removed group 'builder' owned by 'builder' <86>Mar 28 08:47:03 userdel[499452]: removed shadow group 'builder' owned by 'builder' <86>Mar 28 08:47:03 groupadd[499460]: group added to /etc/group: name=builder, GID=532 <86>Mar 28 08:47:03 groupadd[499460]: group added to /etc/gshadow: name=builder <86>Mar 28 08:47:03 groupadd[499460]: new group: name=builder, GID=532 <86>Mar 28 08:47:03 useradd[499465]: new user: name=builder, UID=532, GID=532, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/webgrind-1.5.0-alt2.src.rpm: license not found in '/usr/share/license' directory: License <13>Mar 28 08:47:09 rpmi: rpm-macros-webserver-common-1.4-alt1 1286880471 installed <13>Mar 28 08:47:09 rpmi: rpm-macros-apache2-3.12-alt2 1461182133 installed <13>Mar 28 08:47:09 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Mar 28 08:47:09 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Mar 28 08:47:09 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 28 08:47:09 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Mar 28 08:47:09 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 28 08:47:09 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 28 08:47:09 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Mar 28 08:47:09 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 28 08:47:09 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 28 08:47:09 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Mar 28 08:47:09 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Mar 28 08:47:09 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Mar 28 08:47:10 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Mar 28 08:47:10 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Mar 28 08:47:10 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Mar 28 08:47:10 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Mar 28 08:47:10 rpmi: rpm-build-apache2-1:2.4.41-alt2 sisyphus+248034.100.1.1 1584534971 installed <13>Mar 28 08:47:14 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Mar 28 08:47:14 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Mar 28 08:47:14 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Mar 28 08:47:14 groupadd[514002]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 28 08:47:14 groupadd[514002]: group added to /etc/gshadow: name=_keytab <86>Mar 28 08:47:14 groupadd[514002]: new group: name=_keytab, GID=499 <13>Mar 28 08:47:15 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Mar 28 08:47:15 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Mar 28 08:47:15 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Mar 28 08:47:15 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 28 08:47:15 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 28 08:47:15 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 28 08:47:15 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 28 08:47:15 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 28 08:47:15 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 28 08:47:15 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 28 08:47:15 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 28 08:47:15 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 28 08:47:15 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/webgrind-1.5.0-alt2.nosrc.rpm Installing webgrind-1.5.0-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.71661 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf webgrind-1.5.0 + echo 'Source #0 (webgrind-1.5.0.tar):' Source #0 (webgrind-1.5.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/webgrind-1.5.0.tar + cd webgrind-1.5.0 + /bin/chmod -c -Rf u+rwX,go-w . + 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 ./library/gprof2dot.py RefactoringTool: Files that were modified: RefactoringTool: ./library/gprof2dot.py --- ./library/gprof2dot.py (original) +++ ./library/gprof2dot.py (refactored) @@ -36,17 +36,17 @@ # Python 2.x/3.x compatibility if sys.version_info[0] >= 3: PYTHON_3 = True - def compat_iteritems(x): return x.items() # No iteritems() in Python 3 - def compat_itervalues(x): return x.values() # No itervalues() in Python 3 + def compat_iteritems(x): return list(x.items()) # No iteritems() in Python 3 + def compat_itervalues(x): return list(x.values()) # No itervalues() in Python 3 def compat_keys(x): return list(x.keys()) # keys() is a generator in Python 3 - basestring = str # No class basestring in Python 3 - unichr = chr # No unichr in Python 3 + str = str # No class basestring in Python 3 + chr = chr # No unichr in Python 3 xrange = range # No xrange in Python 3 else: PYTHON_3 = False - def compat_iteritems(x): return x.iteritems() - def compat_itervalues(x): return x.itervalues() - def compat_keys(x): return x.keys() + def compat_iteritems(x): return iter(x.items()) + def compat_itervalues(x): return iter(x.values()) + def compat_keys(x): return list(x.keys()) try: @@ -61,7 +61,7 @@ # Model -MULTIPLICATION_SIGN = unichr(0xd7) +MULTIPLICATION_SIGN = chr(0xd7) def times(x): @@ -333,7 +333,7 @@ node = frontier.pop() visited.add(node) f = self.functions[node] - newNodes = f.calls.keys() + newNodes = list(f.calls.keys()) frontier = frontier.union(set(newNodes) - visited) subtreeFunctions = {} for n in visited: @@ -342,8 +342,8 @@ def prune_leaf(self, leaf): edgesUp = collections.defaultdict(set) - for f in self.functions.keys(): - for n in self.functions[f].calls.keys(): + for f in list(self.functions.keys()): + for n in list(self.functions[f].calls.keys()): edgesUp[n].add(f) # build the tree up visited = set() @@ -359,7 +359,7 @@ for n in path: f = self.functions[n] newCalls = {} - for c in f.calls.keys(): + for c in list(f.calls.keys()): if c in path: newCalls[c] = f.calls[c] f.calls = newCalls @@ -834,7 +834,7 @@ return self.__eof -XML_ELEMENT_START, XML_ELEMENT_END, XML_CHARACTER_DATA, XML_EOF = range(4) +XML_ELEMENT_START, XML_ELEMENT_END, XML_CHARACTER_DATA, XML_EOF = list(range(4)) class XmlToken: @@ -902,7 +902,7 @@ self.tokens.append(token) self.character_data = '' - def next(self): + def __next__(self): size = 16*1024 while self.index >= len(self.tokens) and not self.final: self.tokens = [] @@ -942,7 +942,7 @@ self.consume() def consume(self): - self.token = self.tokenizer.next() + self.token = next(self.tokenizer) def match_element_start(self, name): return self.token.type == XML_ELEMENT_START and self.token.name_or_data == name @@ -2603,7 +2603,7 @@ caller = self.get_function(fn) call = Call(callee.id) if isinstance(value, tuple): - for i in xrange(0, len(value), 4): + for i in range(0, len(value), 4): nc, cc, tt, ct = value[i:i+4] if CALLS in call: call[CALLS] += cc @@ -2993,7 +2993,7 @@ def id(self, id): if isinstance(id, (int, float)): s = str(id) - elif isinstance(id, basestring): + elif isinstance(id, str): if id.isalnum() and not id.startswith('0x'): s = id else: ++ find ./ -name '*.py' + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' ./library/gprof2dot.py + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.40668 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd webgrind-1.5.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.40668 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/webgrind-buildroot + : + /bin/rm -rf -- /usr/src/tmp/webgrind-buildroot + cd webgrind-1.5.0 + mkdir -p /usr/src/tmp/webgrind-buildroot/var/www/webapps + cp -a . /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/webgrind-buildroot (auto) removed './var/www/webapps/webgrind/bin/.gitignore' removed './var/www/webapps/webgrind/.gitignore' Verifying and fixing files in /usr/src/tmp/webgrind-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/webgrind-buildroot/ (default) Compressing files in /usr/src/tmp/webgrind-buildroot (auto) Verifying ELF objects in /usr/src/tmp/webgrind-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/webgrind-buildroot using /usr/bin/python2.7 Can't list '/usr/src/tmp/webgrind-buildroot/usr/lib' Bytecompiling python modules with optimization in /usr/src/tmp/webgrind-buildroot using /usr/bin/python2.7 -O Can't list '/usr/src/tmp/webgrind-buildroot/usr/lib' Bytecompiling python3 modules in /usr/src/tmp/webgrind-buildroot using /usr/bin/python3 Can't list '/usr/src/tmp/webgrind-buildroot/usr/lib/python3/site-packages' Bytecompiling python3 modules with optimization in /usr/src/tmp/webgrind-buildroot using /usr/bin/python3 -O Can't list '/usr/src/tmp/webgrind-buildroot/usr/lib/python3/site-packages' Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/webgrind-buildroot using /usr/bin/python3 -OO Can't list '/usr/src/tmp/webgrind-buildroot/usr/lib/python3/site-packages' Hardlinking identical .pyc and .opt-?.pyc files Hardlinking identical .pyc and .pyo files Processing files: webgrind-1.5.0-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.40465 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd webgrind-1.5.0 + DOCDIR=/usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.5.0 + export DOCDIR + rm -rf /usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.5.0 + /bin/mkdir -p /usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.5.0 + cp -prL README.md /usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.5.0 + chmod -R go-w /usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.5.0 + chmod -R a+rX /usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.5.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MhbVru 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.M7LMcs find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py: line=54 IGNORE (for REQ=slight and deep=8) module=debug /usr/lib/rpm/python3.req.py: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py: line=2356 IGNORE (for REQ=slight and deep=11) module=csv /usr/lib/rpm/python3.req.py: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py: line=2464 IGNORE (for REQ=slight and deep=11) module=zipfile /usr/lib/rpm/python3.req.py: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py: line=2561 IGNORE (for REQ=slight and deep=11) module=pstats /usr/lib/rpm/python3.req.py: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py: line=2568 IGNORE (for REQ=slight and deep=15) module=hotshot.stats shebang.req.files: executable script /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py is not executable find-requires: FINDPACKAGE-COMMANDS: git mkdir rm zip Requires: graphviz, /bin/sh, coreutils, git-core, python3(collections) < 0, python3(json) < 0, python3(locale) < 0, python3(math) < 0, python3(optparse) < 0, python3(os.path) < 0, python3(re) < 0, python3(textwrap) < 0, python3(xml.parsers.expat) < 0, zip Wrote: /usr/src/RPM/RPMS/noarch/webgrind-1.5.0-alt2.noarch.rpm 13.34user 0.97system 0:20.13elapsed 71%CPU (0avgtext+0avgdata 30556maxresident)k 0inputs+0outputs (0major+131988minor)pagefaults 0swaps /.out/webgrind-1.5.0-alt2.noarch.rpm: license not found in '/usr/share/license' directory: License 24.27user 7.77system 0:40.67elapsed 78%CPU (0avgtext+0avgdata 108996maxresident)k 128inputs+0outputs (0major+516961minor)pagefaults 0swaps