<86>Dec 21 07:31:46 userdel[3412330]: delete user 'rooter' <86>Dec 21 07:31:46 userdel[3412330]: removed group 'rooter' owned by 'rooter' <86>Dec 21 07:31:46 userdel[3412330]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 21 07:31:46 groupadd[3412363]: group added to /etc/group: name=rooter, GID=1829 <86>Dec 21 07:31:46 groupadd[3412363]: group added to /etc/gshadow: name=rooter <86>Dec 21 07:31:46 groupadd[3412363]: new group: name=rooter, GID=1829 <86>Dec 21 07:31:46 useradd[3412393]: new user: name=rooter, UID=1829, GID=1829, home=/root, shell=/bin/bash, from=none <86>Dec 21 07:31:46 userdel[3412422]: delete user 'builder' <86>Dec 21 07:31:46 userdel[3412422]: removed group 'builder' owned by 'builder' <86>Dec 21 07:31:46 userdel[3412422]: removed shadow group 'builder' owned by 'builder' <86>Dec 21 07:31:46 groupadd[3412444]: group added to /etc/group: name=builder, GID=1830 <86>Dec 21 07:31:46 groupadd[3412444]: group added to /etc/gshadow: name=builder <86>Dec 21 07:31:46 groupadd[3412444]: new group: name=builder, GID=1830 <86>Dec 21 07:31:46 useradd[3412470]: new user: name=builder, UID=1830, GID=1830, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/webgrind-1.9.3-alt1.src.rpm: license not found in '/usr/share/license' directory: License <13>Dec 21 07:31:49 rpmi: rpm-macros-webserver-common-1.4-alt1 sisyphus+277015.100.1.2 1625347616 installed <13>Dec 21 07:31:49 rpmi: rpm-macros-apache2-3.14-alt1 sisyphus+322310.100.1.1 1685636944 installed <13>Dec 21 07:31:49 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Dec 21 07:31:49 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Dec 21 07:31:49 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Dec 21 07:31:49 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Dec 21 07:31:49 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 21 07:31:49 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Dec 21 07:31:49 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 21 07:31:49 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 21 07:31:49 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 21 07:31:49 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 21 07:31:49 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 21 07:31:50 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 21 07:31:50 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 21 07:31:50 rpmi: python3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 21 07:31:50 rpmi: python3-base-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 21 07:31:50 rpmi: python3-module-py3dephell-0.3.1-alt1 sisyphus+365261.200.1.1 1734463433 installed <13>Dec 21 07:31:50 rpmi: tests-for-installed-python3-pkgs-0.1.26-alt2 sisyphus+365350.100.1.1 1734517486 installed <13>Dec 21 07:31:50 rpmi: rpm-build-python3-0.1.26-alt2 sisyphus+365350.100.1.1 1734517486 installed <13>Dec 21 07:31:50 rpmi: rpm-build-apache2-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254423 installed <13>Dec 21 07:31:52 rpmi: libreadline7-7.0.3-alt5 sisyphus+328858.200.1.1 1694010663 installed <13>Dec 21 07:31:52 rpmi: libpython-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Dec 21 07:31:52 rpmi: python2-base-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Dec 21 07:31:52 rpmi: python-modules-encodings-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Dec 21 07:31:52 rpmi: python-modules-compiler-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Dec 21 07:31:52 rpmi: python-modules-email-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Dec 21 07:31:52 rpmi: python-modules-unittest-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Dec 21 07:31:52 rpmi: python-modules-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Dec 21 07:31:52 rpmi: python-modules-ctypes-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Dec 21 07:31:52 rpmi: python-modules-multiprocessing-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Dec 21 07:31:52 rpmi: python-modules-logging-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Dec 21 07:31:52 rpmi: python-tools-2to3-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/webgrind-1.9.3-alt1.nosrc.rpm (w1.gzdio) Installing webgrind-1.9.3-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.43683 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf webgrind-1.9.3 + echo 'Source #0 (webgrind-1.9.3.tar):' Source #0 (webgrind-1.9.3.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/webgrind-1.9.3.tar + cd webgrind-1.9.3 + /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 --- ./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()) @@ -54,7 +54,7 @@ # Model -MULTIPLICATION_SIGN = unichr(0xd7) +MULTIPLICATION_SIGN = chr(0xd7) def times(x): @@ -339,7 +339,7 @@ for n in visited: f = self.functions[n] newCalls = {} - for c in f.calls.keys(): + for c in list(f.calls.keys()): if c in visited: newCalls[c] = f.calls[c] f.calls = newCalls @@ -348,8 +348,8 @@ def prune_leaf(self, leafs, depth=-1): 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() @@ -368,7 +368,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 @@ -376,8 +376,8 @@ self.functions = pathFunctions def getFunctionIds(self, funcName): - function_names = {v.name: k for (k, v) in self.functions.items()} - return [function_names[name] for name in fnmatch.filter(function_names.keys(), funcName)] + function_names = {v.name: k for (k, v) in list(self.functions.items())} + return [function_names[name] for name in fnmatch.filter(list(function_names.keys()), funcName)] def getFunctionId(self, funcName): for f in self.functions: @@ -928,7 +928,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: @@ -996,7 +996,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 = [] @@ -1036,7 +1036,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 @@ -2711,7 +2711,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 @@ -3010,7 +3010,7 @@ MAX_FUNCTION_NAME = 4096 RefactoringTool: Files that were modified: RefactoringTool: ./library/gprof2dot.py if len(function_name) >= MAX_FUNCTION_NAME: sys.stderr.write('warning: truncating function name with %u chars (%s)\n' % (len(function_name), function_name[:32] + '...')) - function_name = function_name[:MAX_FUNCTION_NAME - 1] + unichr(0x2026) + function_name = function_name[:MAX_FUNCTION_NAME - 1] + chr(0x2026) if self.wrap: function_name = self.wrap_function_name(function_name) @@ -3113,7 +3113,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.44371 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd webgrind-1.9.3 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.44371 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd webgrind-1.9.3 + mkdir -p /usr/src/tmp/webgrind-buildroot/var/www/webapps + cp -a . /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind + rm -v /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/.gitattributes /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/.github/workflows/docker-image.yml removed '/usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/.gitattributes' removed '/usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/.github/workflows/docker-image.yml' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/webgrind-buildroot (auto) removed './var/www/webapps/webgrind/.gitignore' removed './var/www/webapps/webgrind/bin/.gitignore' find: 'usr': No such file or directory Verifying and fixing files in /usr/src/tmp/webgrind-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) 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) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/webgrind-buildroot 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 Processing files: webgrind-1.9.3-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.65560 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd webgrind-1.9.3 + DOCDIR=/usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.9.3 + export DOCDIR + rm -rf /usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.9.3 + /bin/mkdir -p /usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.9.3 + cp -prL README.md /usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.9.3 + chmod -R go-w /usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.9.3 + chmod -R a+rX /usr/src/tmp/webgrind-buildroot/usr/share/doc/webgrind-1.9.3 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UqhBmL find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) python.prov.files: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py: python33 script text executable (SKIP) python3.prov.files: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py: python33 script text executable (SKIP) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6r1SgM find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python.req.files: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py: python33 script text executable (SKIP) python3.req.files: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py: python33 script text executable (SKIP) shebang.req.files: executable script /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/library/gprof2dot.py is not executable shell.req: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/package.sh: git indexed by: /usr/bin/git -> git-core, /usr/games/git -> fakegit shell.req: /usr/src/tmp/webgrind-buildroot/var/www/webapps/webgrind/package.sh: git -> /usr/bin/git -> git-core (via contents_index_bin) find-requires: FINDPACKAGE-COMMANDS: git mkdir rm zip Requires: graphviz, /bin/sh, coreutils, git-core, zip Wrote: /usr/src/RPM/RPMS/noarch/webgrind-1.9.3-alt1.noarch.rpm (w2.lzdio) 2.76user 0.82system 0:05.14elapsed 69%CPU (0avgtext+0avgdata 29696maxresident)k 0inputs+0outputs (0major+136913minor)pagefaults 0swaps /.out/webgrind-1.9.3-alt1.noarch.rpm: license not found in '/usr/share/license' directory: License 3.85user 3.23system 0:17.50elapsed 40%CPU (0avgtext+0avgdata 129688maxresident)k 0inputs+0outputs (0major+298334minor)pagefaults 0swaps