<86>Jul 6 08:18:51 userdel[945881]: delete user 'rooter' <86>Jul 6 08:18:51 userdel[945881]: removed group 'rooter' owned by 'rooter' <86>Jul 6 08:18:51 userdel[945881]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 6 08:18:51 groupadd[945895]: group added to /etc/group: name=rooter, GID=597 <86>Jul 6 08:18:51 groupadd[945895]: group added to /etc/gshadow: name=rooter <86>Jul 6 08:18:51 groupadd[945895]: new group: name=rooter, GID=597 <86>Jul 6 08:18:51 useradd[945902]: new user: name=rooter, UID=597, GID=597, home=/root, shell=/bin/bash <86>Jul 6 08:18:51 userdel[945912]: delete user 'builder' <86>Jul 6 08:18:51 userdel[945912]: removed group 'builder' owned by 'builder' <86>Jul 6 08:18:51 userdel[945912]: removed shadow group 'builder' owned by 'builder' <86>Jul 6 08:18:51 groupadd[945917]: group added to /etc/group: name=builder, GID=598 <86>Jul 6 08:18:51 groupadd[945917]: group added to /etc/gshadow: name=builder <86>Jul 6 08:18:51 groupadd[945917]: new group: name=builder, GID=598 <86>Jul 6 08:18:51 useradd[945921]: new user: name=builder, UID=598, GID=598, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-mozprocess-0.8-alt1.src.rpm: license not found in '/usr/share/license' directory: MPLv2.0 <13>Jul 6 08:18:53 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jul 6 08:18:53 rpmi: libexpat-2.2.9-alt1 sisyphus+252464.200.2.1 1590958865 installed <13>Jul 6 08:18:53 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jul 6 08:18:53 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Jul 6 08:18:53 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 6 08:18:53 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 6 08:18:53 rpmi: ca-certificates-2020.06.29-alt1 sisyphus+254237.300.1.1 1593450881 installed <13>Jul 6 08:18:53 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jul 6 08:18:53 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jul 6 08:18:53 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Jul 6 08:18:53 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Jul 6 08:18:53 rpmi: python3-3.8.3-alt1 sisyphus+251775.300.4.1 1592726546 installed <13>Jul 6 08:18:54 rpmi: python3-base-3.8.3-alt1 sisyphus+251775.300.4.1 1592726546 installed <13>Jul 6 08:18:54 rpmi: libpython3-3.8.3-alt1 sisyphus+251775.300.4.1 1592726546 installed <13>Jul 6 08:18:54 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jul 6 08:18:54 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jul 6 08:18:57 rpmi: python3-module-pkg_resources-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed <13>Jul 6 08:18:57 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jul 6 08:18:57 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jul 6 08:18:57 rpmi: libffi6-1:3.2.1-alt4 sisyphus+251953.300.2.1 1589891360 installed <13>Jul 6 08:18:57 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jul 6 08:18:57 groupadd[957408]: group added to /etc/group: name=_keytab, GID=499 <86>Jul 6 08:18:57 groupadd[957408]: group added to /etc/gshadow: name=_keytab <86>Jul 6 08:18:57 groupadd[957408]: new group: name=_keytab, GID=499 <13>Jul 6 08:18:57 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Jul 6 08:18:57 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>Jul 6 08:18:57 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jul 6 08:18:57 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 6 08:18:57 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 6 08:18:57 rpmi: python-modules-email-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 6 08:18:57 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 6 08:18:57 rpmi: python-modules-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 6 08:18:57 rpmi: python-modules-nis-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 6 08:18:57 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 6 08:18:57 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 6 08:18:57 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 6 08:18:57 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 6 08:18:57 rpmi: python3-module-mozinfo-1.2.1-alt2 sisyphus+247903.200.1.1 1584353252 installed <13>Jul 6 08:18:57 rpmi: python3-module-six-1.14.0-alt1 sisyphus+251567.100.1.1 1589268039 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-mozprocess-0.8-alt1.nosrc.rpm <13>Jul 6 08:19:00 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 6 08:19:00 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 6 08:19:00 rpmi: python3-dev-3.8.3-alt1 sisyphus+251775.300.4.1 1592726546 installed <13>Jul 6 08:19:00 rpmi: python3-module-setuptools-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed Installing python3-module-mozprocess-0.8-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.32595 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-mozprocess-0.8 + echo 'Source #0 (python3-module-mozprocess-0.8.tar):' Source #0 (python3-module-mozprocess-0.8.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-mozprocess-0.8.tar + cd python3-module-mozprocess-0.8 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i 's|file(|open(|' setup.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: No changes to ./tests/mozprocess2.py RefactoringTool: No changes to ./tests/mozprocess1.py RefactoringTool: No changes to ./mozprocess/wpk.py RefactoringTool: Refactored ./mozprocess/winprocess.py RefactoringTool: Refactored ./mozprocess/qijo.py RefactoringTool: Refactored ./mozprocess/processhandler.py --- ./mozprocess/winprocess.py (original) +++ ./mozprocess/winprocess.py (refactored) @@ -36,7 +36,7 @@ from ctypes import c_void_p, POINTER, sizeof, Structure, Union, windll, WinError, WINFUNCTYPE, c_ulong from ctypes.wintypes import BOOL, BYTE, DWORD, HANDLE, LPCWSTR, LPWSTR, UINT, WORD, ULONG -from qijo import QueryInformationJobObject +from .qijo import QueryInformationJobObject LPVOID = c_void_p LPBYTE = POINTER(BYTE) @@ -140,7 +140,7 @@ self._as_parameter_ = None else: values = ["%s=%s" % (key, value) - for (key, value) in dict.iteritems()] + for (key, value) in dict.items()] values.append("") self._as_parameter_ = LPCWSTR("\0".join(values)) @@ -426,32 +426,32 @@ ### testing functions def parent(): - print 'Starting parent' + print('Starting parent') currentProc = GetCurrentProcess() if IsProcessInJob(currentProc): - print >> sys.stderr, "You should not be in a job object to test" + print("You should not be in a job object to test", file=sys.stderr) sys.exit(1) assert CanCreateJobObject() - print 'File: %s' % __file__ + print('File: %s' % __file__) command = [sys.executable, __file__, '-child'] - print 'Running command: %s' % command + print('Running command: %s' % command) process = Popen(command) process.kill() code = process.returncode - print 'Child code: %s' % code + print('Child code: %s' % code) assert code == 127 def child(): - print 'Starting child' + print('Starting child') currentProc = GetCurrentProcess() injob = IsProcessInJob(currentProc) - print "Is in a job?: %s" % injob + print("Is in a job?: %s" % injob) can_create = CanCreateJobObject() - print 'Can create job?: %s' % can_create + print('Can create job?: %s' % can_create) process = Popen('c:\\windows\\notepad.exe') assert process._job jobinfo = QueryInformationJobObject(process._job, 'JobObjectExtendedLimitInformation') - print 'Job info: %s' % jobinfo + print('Job info: %s' % jobinfo) limitflags = jobinfo['BasicLimitInformation']['LimitFlags'] - print 'LimitFlags: %s' % limitflags + print('LimitFlags: %s' % limitflags) process.kill() --- ./mozprocess/qijo.py (original) +++ ./mozprocess/qijo.py (refactored) @@ -77,7 +77,7 @@ 9: JOBOBJECT_EXTENDED_LIMIT_INFORMATION } def __init__(self, _class): - if isinstance(_class, basestring): + if isinstance(_class, str): assert _class in self.mapping, 'Class should be one of %s; you gave %s' % (self.mapping, _class) _class = self.mapping[_class] assert _class in self.structures, 'Class should be one of %s; you gave %s' % (self.structures, _class) --- ./mozprocess/processhandler.py (original) +++ ./mozprocess/processhandler.py (refactored) @@ -12,7 +12,7 @@ import threading import time import traceback -from Queue import Queue +from queue import Queue from datetime import datetime, timedelta __all__ = ['ProcessHandlerMixin', 'ProcessHandler'] @@ -22,8 +22,8 @@ if mozinfo.isWin: import ctypes, ctypes.wintypes, msvcrt from ctypes import sizeof, addressof, c_ulong, byref, POINTER, WinError, c_longlong - import winprocess - from qijo import JobObjectAssociateCompletionPortInformation,\ + from . import winprocess + from .qijo import JobObjectAssociateCompletionPortInformation,\ JOBOBJECT_ASSOCIATE_COMPLETION_PORT, JobObjectExtendedLimitInformation,\ JOBOBJECT_BASIC_LIMIT_INFORMATION, JOBOBJECT_EXTENDED_LIMIT_INFORMATION, IO_COUNTERS @@ -74,17 +74,17 @@ preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags) - except OSError, e: - print >> sys.stderr, args + except OSError as e: + print(args, file=sys.stderr) raise - def __del__(self, _maxint=sys.maxint): + def __del__(self, _maxint=sys.maxsize): if mozinfo.isWin: if self._handle: if hasattr(self, '_internal_poll'): self._internal_poll(_deadstate=_maxint) else: - self.poll(_deadstate=sys.maxint) + self.poll(_deadstate=sys.maxsize) if self._handle or self._job or self._io_port: self._cleanup() else: @@ -112,10 +112,10 @@ if not self._ignore_children: try: os.killpg(self.pid, signal.SIGKILL) - except BaseException, e: + except BaseException as e: if getattr(e, "errno", None) != 3: # Error 3 is "no such process", which is ok - print >> sys.stdout, "Could not kill process, could not find pid: %s, assuming it's already dead" % self.pid + print("Could not kill process, could not find pid: %s, assuming it's already dead" % self.pid, file=sys.stdout) else: os.kill(self.pid, signal.SIGKILL) if self.returncode is None: @@ -145,7 +145,7 @@ p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite): - if not isinstance(args, basestring): + if not isinstance(args, str): args = subprocess.list2cmdline(args) # Always or in the create new process group @@ -172,7 +172,7 @@ if not canCreateJob and not self._ignore_children: # We can't create job objects AND the user wanted us to # Warn the user about this. - print >> sys.stderr, "ProcessManager UNABLE to use job objects to manage child processes" + print("ProcessManager UNABLE to use job objects to manage child processes", file=sys.stderr) # set process creation flags creationflags |= winprocess.CREATE_SUSPENDED @@ -182,7 +182,7 @@ else: # Since we've warned, we just log info here to inform you # of the consequence of setting ignore_children = True - print "ProcessManager NOT managing child processes" + print("ProcessManager NOT managing child processes") # create the process hp, ht, pid, tid = winprocess.CreateProcess( @@ -254,10 +254,10 @@ # Spin up our thread for managing the IO Completion Port self._procmgrthread = threading.Thread(target = self._procmgr) except: - print >> sys.stderr, """Exception trying to use job objects; -falling back to not using job objects for managing child processes""" + print("""Exception trying to use job objects; +falling back to not using job objects for managing child processes""", file=sys.stderr) tb = traceback.format_exc() - print >> sys.stderr, tb + print(tb, file=sys.stderr) # Ensure no dangling handles left behind self._cleanup_job_io_port() else: @@ -289,7 +289,7 @@ countdowntokill = 0 if MOZPROCESS_DEBUG: - print "DBG::MOZPROC Self.pid value is: %s" % self.pid + print("DBG::MOZPROC Self.pid value is: %s" % self.pid) while True: msgid = c_ulong(0) @@ -311,9 +311,9 @@ # don't want to mistake that situation for the situation of an unexpected # parent abort (which is what we're looking for here). if diff.seconds > self.MAX_IOCOMPLETION_PORT_NOTIFICATION_DELAY: - print >> sys.stderr, "Parent process %s exited with children alive:" % self.pid - print >> sys.stderr, "PIDS: %s" % ', '.join([str(i) for i in self._spawned_procs]) - print >> sys.stderr, "Attempting to kill them..." + print("Parent process %s exited with children alive:" % self.pid, file=sys.stderr) + print("PIDS: %s" % ', '.join([str(i) for i in self._spawned_procs]), file=sys.stderr) + print("Attempting to kill them...", file=sys.stderr) self.kill() self._process_events.put({self.pid: 'FINISHED'}) @@ -322,19 +322,19 @@ errcode = winprocess.GetLastError() if errcode == winprocess.ERROR_ABANDONED_WAIT_0: # Then something has killed the port, break the loop - print >> sys.stderr, "IO Completion Port unexpectedly closed" + print("IO Completion Port unexpectedly closed", file=sys.stderr) break elif errcode == winprocess.WAIT_TIMEOUT: # Timeouts are expected, just keep on polling continue else: - print >> sys.stderr, "Error Code %s trying to query IO Completion Port, exiting" % errcode + print("Error Code %s trying to query IO Completion Port, exiting" % errcode, file=sys.stderr) raise WinError(errcode) break if compkey.value == winprocess.COMPKEY_TERMINATE.value: if MOZPROCESS_DEBUG: - print "DBG::MOZPROC compkeyterminate detected" + print("DBG::MOZPROC compkeyterminate detected") # Then we're done break @@ -344,7 +344,7 @@ # No processes left, time to shut down # Signal anyone waiting on us that it is safe to shut down if MOZPROCESS_DEBUG: - print "DBG::MOZPROC job object msg active processes zero" + print("DBG::MOZPROC job object msg active processes zero") self._process_events.put({self.pid: 'FINISHED'}) break elif msgid.value == winprocess.JOB_OBJECT_MSG_NEW_PROCESS: @@ -354,10 +354,10 @@ if pid.value != self.pid: self._spawned_procs[pid.value] = 1 if MOZPROCESS_DEBUG: - print "DBG::MOZPROC new process detected with pid value: %s" % pid.value + print("DBG::MOZPROC new process detected with pid value: %s" % pid.value) elif msgid.value == winprocess.JOB_OBJECT_MSG_EXIT_PROCESS: if MOZPROCESS_DEBUG: - print "DBG::MOZPROC process id %s exited normally" % pid.value + print("DBG::MOZPROC process id %s exited normally" % pid.value) # One process exited normally if pid.value == self.pid and len(self._spawned_procs) > 0: # Parent process dying, start countdown timer @@ -368,7 +368,7 @@ elif msgid.value == winprocess.JOB_OBJECT_MSG_ABNORMAL_EXIT_PROCESS: # One process existed abnormally if MOZPROCESS_DEBUG: - print "DBG::MOZPROC process id %s existed abnormally" % piRefactoringTool: Refactored ./mozprocess/pid.py d.value + print("DBG::MOZPROC process id %s existed abnormally" % pid.value) if pid.value == self.pid and len(self._spawned_procs) > 0: # Parent process dying, start countdown timer countdowntokill = datetime.now() @@ -378,7 +378,7 @@ else: # We don't care about anything else if MOZPROCESS_DEBUG: - print "DBG::MOZPROC We got a message %s" % msgid.value + print("DBG::MOZPROC We got a message %s" % msgid.value) pass def _wait(self): @@ -428,7 +428,7 @@ # is call waitforsingleobject and hope for the best if MOZPROCESS_DEBUG and not self._ignore_children: - print "DBG::MOZPROC NOT USING JOB OBJECTS!!!" + print("DBG::MOZPROC NOT USING JOB OBJECTS!!!") # First, make sure we have not already ended if self.returncode != winprocess.STILL_ACTIVE: self._cleanup() @@ -440,11 +440,11 @@ if rc == winprocess.WAIT_TIMEOUT: # The process isn't dead, so kill it - print "Timed out waiting for process to close, attempting TerminateProcess" + print("Timed out waiting for process to close, attempting TerminateProcess") self.kill() elif rc == winprocess.WAIT_OBJECT_0: # We caught WAIT_OBJECT_0, which indicates all is well - print "Single process terminated successfully" + print("Single process terminated successfully") self.returncode = winprocess.GetExitCodeProcess(self._handle) else: # An error occured we should probably throw @@ -505,11 +505,11 @@ try: # os.waitpid returns a (pid, status) tuple return os.waitpid(self.pid, 0)[1] - except OSError, e: + except OSError as e: if getattr(e, "errno", None) != 10: # Error 10 is "no child process", which could indicate normal # close - print >> sys.stderr, "Encountered error waiting for pid to close: %s" % e + print("Encountered error waiting for pid to close: %s" % e, file=sys.stderr) raise return 0 @@ -523,7 +523,7 @@ else: # An unrecognized platform, we will call the base class for everything - print >> sys.stderr, "Unrecognized platform, process groups may not be managed properly" + print("Unrecognized platform, process groups may not be managed properly", file=sys.stderr) def _wait(self): self.returncode = subprocess.Popen.wait(self) @@ -731,8 +731,8 @@ # TODO Remove this method when consumers have been fixed def waitForFinish(self, timeout=None): - print >> sys.stderr, "MOZPROCESS WARNING: ProcessHandler.waitForFinish() is deprecated, " \ - "use ProcessHandler.wait() instead" + print("MOZPROCESS WARNING: ProcessHandler.waitForFinish() is deprecated, " \ + "use ProcessHandler.wait() instead", file=sys.stderr) return self.wait(timeout=timeout) @@ -786,7 +786,7 @@ ### these should be callables that take the output line def print_output(line): - print line + print(line) class StoreOutput(object): """accumulate stdout""" --- ./mozprocess/pid.py (original) +++ ./mozprocess/pid.py (refactored) @@ -35,7 +35,7 @@ header = line.split() continue sRefactoringTool: Refactored ./mozprocess/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./tests/mozprocess2.py RefactoringTool: ./tests/mozprocess1.py RefactoringTool: ./mozprocess/wpk.py RefactoringTool: ./mozprocess/winprocess.py RefactoringTool: ./mozprocess/qijo.py RefactoringTool: ./mozprocess/processhandler.py RefactoringTool: ./mozprocess/pid.py RefactoringTool: ./mozprocess/__init__.py plit = line.split(None, len(header)-1) - process_dict = dict(zip(header, split)) + process_dict = dict(list(zip(header, split))) retval.append(process_dict) return retval @@ -69,7 +69,7 @@ if mozinfo.isWin: # use the windows-specific implementation - import wpk + from . import wpk return wpk.get_pids(name) else: return [pid for pid,_ in running_processes(name)] @@ -79,4 +79,4 @@ for i in sys.argv[1:]: pids.update(get_pids(i)) for i in sorted(pids): - print i + print(i) --- ./mozprocess/__init__.py (original) +++ ./mozprocess/__init__.py (refactored) @@ -2,4 +2,4 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. -from processhandler import * +from .processhandler import * + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.15566 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-mozprocess-0.8 + 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 --debug running build running build_py creating build creating build/lib creating build/lib/mozprocess copying mozprocess/wpk.py -> build/lib/mozprocess copying mozprocess/winprocess.py -> build/lib/mozprocess copying mozprocess/qijo.py -> build/lib/mozprocess copying mozprocess/processhandler.py -> build/lib/mozprocess copying mozprocess/pid.py -> build/lib/mozprocess copying mozprocess/__init__.py -> build/lib/mozprocess running egg_info writing mozprocess.egg-info/PKG-INFO writing dependency_links to mozprocess.egg-info/dependency_links.txt writing entry points to mozprocess.egg-info/entry_points.txt writing requirements to mozprocess.egg-info/requires.txt writing top-level names to mozprocess.egg-info/top_level.txt reading manifest file 'mozprocess.egg-info/SOURCES.txt' writing manifest file 'mozprocess.egg-info/SOURCES.txt' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.59513 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-mozprocess-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-mozprocess-buildroot + cd python3-module-mozprocess-0.8 + 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-mozprocess-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-mozprocess-buildroot creating /usr/src/tmp/python3-module-mozprocess-buildroot/usr creating /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib creating /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess copying build/lib/mozprocess/__init__.py -> /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess copying build/lib/mozprocess/pid.py -> /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess copying build/lib/mozprocess/processhandler.py -> /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess copying build/lib/mozprocess/qijo.py -> /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess copying build/lib/mozprocess/winprocess.py -> /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess copying build/lib/mozprocess/wpk.py -> /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess byte-compiling /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/pid.py to pid.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py to processhandler.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/qijo.py to qijo.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/winprocess.py to winprocess.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/wpk.py to wpk.cpython-38.pyc running install_egg_info running egg_info writing mozprocess.egg-info/PKG-INFO writing dependency_links to mozprocess.egg-info/dependency_links.txt writing entry points to mozprocess.egg-info/entry_points.txt writing requirements to mozprocess.egg-info/requires.txt writing top-level names to mozprocess.egg-info/top_level.txt reading manifest file 'mozprocess.egg-info/SOURCES.txt' writing manifest file 'mozprocess.egg-info/SOURCES.txt' Copying mozprocess.egg-info to /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess-0.8-py3.8.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-mozprocess-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-mozprocess-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-mozprocess-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-mozprocess-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-mozprocess-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-mozprocess-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-mozprocess-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-mozprocess-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-mozprocess-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/__pycache__/pid.cpython-38.pyc unlink /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/__pycache__/processhandler.cpython-38.pyc unlink /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/__pycache__/qijo.cpython-38.pyc unlink /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/__pycache__/winprocess.cpython-38.pyc unlink /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/__pycache__/wpk.cpython-38.pyc compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/__init__.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/pid.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/qijo.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/winprocess.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/wpk.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-mozprocess-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/__init__.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/pid.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/qijo.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/winprocess.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/wpk.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-mozprocess-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/__init__.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/pid.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/qijo.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/winprocess.py compile /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/wpk.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/mozprocess/__pycache__/wpk.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mozprocess/__pycache__/wpk.cpython-38.pyc' './usr/lib/python3/site-packages/mozprocess/__pycache__/wpk.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mozprocess/__pycache__/wpk.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mozprocess/__pycache__/qijo.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mozprocess/__pycache__/qijo.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mozprocess/__pycache__/processhandler.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mozprocess/__pycache__/processhandler.cpython-38.pyc' './usr/lib/python3/site-packages/mozprocess/__pycache__/pid.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mozprocess/__pycache__/pid.cpython-38.pyc' './usr/lib/python3/site-packages/mozprocess/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mozprocess/__pycache__/__init__.cpython-38.pyc' './usr/lib/python3/site-packages/mozprocess/__pycache__/__init__.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mozprocess/__pycache__/__init__.cpython-38.opt-1.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.33579 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-mozprocess-0.8 + exit 0 Processing files: python3-module-mozprocess-0.8-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.8333 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-mozprocess-0.8 + DOCDIR=/usr/src/tmp/python3-module-mozprocess-buildroot/usr/share/doc/python3-module-mozprocess-0.8 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-mozprocess-buildroot/usr/share/doc/python3-module-mozprocess-0.8 + /bin/mkdir -p /usr/src/tmp/python3-module-mozprocess-buildroot/usr/share/doc/python3-module-mozprocess-0.8 + cp -prL PKG-INFO /usr/src/tmp/python3-module-mozprocess-buildroot/usr/share/doc/python3-module-mozprocess-0.8 + chmod -R go-w /usr/src/tmp/python3-module-mozprocess-buildroot/usr/share/doc/python3-module-mozprocess-0.8 + chmod -R a+rX /usr/src/tmp/python3-module-mozprocess-buildroot/usr/share/doc/python3-module-mozprocess-0.8 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TMDs76 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.V3jX16 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-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/__init__.py: line=5 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/pid.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/pid.py: line=72 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py: skipping sys python3.req: /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py: line=23 IGNORE (for REQ=slight and deep=8) module=ctypes /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py: line=23 IGNORE (for REQ=slight and deep=8) module=ctypes.wintypes /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py: line=23 IGNORE (for REQ=slight and deep=8) module=msvcrt /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py: line=24 IGNORE (for REQ=slight and deep=8) module=ctypes /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py: line=25 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/processhandler.py: line=26 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/winprocess.py: line=39 possible relative import from ., UNIMPLEMENTED shebang.req.files: executable script /usr/src/tmp/python3-module-mozprocess-buildroot/usr/lib/python3/site-packages/mozprocess/pid.py is not executable Provides: python3(mozprocess), python3(mozprocess.pid), python3(mozprocess.processhandler), python3(mozprocess.qijo), python3(mozprocess.winprocess), python3(mozprocess.wpk) Requires: /usr/lib/python3/site-packages, python3(ctypes) < 0, python3(ctypes.wintypes) < 0, python3(datetime) < 0, python3(logging) < 0, python3(mozinfo) < 0, python3(os) < 0, python3(queue) < 0, python3(select) < 0, python3(shlex) < 0, python3(signal) < 0, python3(subprocess) < 0, python3(threading) < 0, python3(traceback) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-mozprocess-0.8-alt1.noarch.rpm 14.76user 1.18system 0:16.44elapsed 96%CPU (0avgtext+0avgdata 19088maxresident)k 0inputs+0outputs (0major+143007minor)pagefaults 0swaps /.out/python3-module-mozprocess-0.8-alt1.noarch.rpm: license not found in '/usr/share/license' directory: MPLv2.0 23.63user 7.07system 0:31.14elapsed 98%CPU (0avgtext+0avgdata 110272maxresident)k 0inputs+0outputs (0major+586269minor)pagefaults 0swaps --- python3-module-mozprocess-0.8-alt1.noarch.rpm.repo 2020-01-22 06:55:21.000000000 +0000 +++ python3-module-mozprocess-0.8-alt1.noarch.rpm.hasher 2020-07-06 08:19:19.656710090 +0000 @@ -1,30 +1,30 @@ /usr/lib/python3/site-packages/mozprocess 40755 -/usr/lib/python3/site-packages/mozprocess-0.8-py3.7.egg-info 40755 -/usr/lib/python3/site-packages/mozprocess-0.8-py3.7.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/mozprocess-0.8-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/mozprocess-0.8-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/mozprocess-0.8-py3.7.egg-info/entry_points.txt 100644 -/usr/lib/python3/site-packages/mozprocess-0.8-py3.7.egg-info/not-zip-safe 100644 -/usr/lib/python3/site-packages/mozprocess-0.8-py3.7.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/mozprocess-0.8-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/mozprocess-0.8-py3.8.egg-info 40755 +/usr/lib/python3/site-packages/mozprocess-0.8-py3.8.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/mozprocess-0.8-py3.8.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/mozprocess-0.8-py3.8.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/mozprocess-0.8-py3.8.egg-info/entry_points.txt 100644 +/usr/lib/python3/site-packages/mozprocess-0.8-py3.8.egg-info/not-zip-safe 100644 +/usr/lib/python3/site-packages/mozprocess-0.8-py3.8.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/mozprocess-0.8-py3.8.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/mozprocess/__init__.py 100644 /usr/lib/python3/site-packages/mozprocess/__pycache__ 40755 -/usr/lib/python3/site-packages/mozprocess/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/pid.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/pid.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/pid.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/processhandler.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/processhandler.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/processhandler.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/qijo.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/qijo.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/qijo.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/winprocess.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/winprocess.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/winprocess.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/wpk.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/wpk.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mozprocess/__pycache__/wpk.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/pid.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/pid.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/pid.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/processhandler.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/processhandler.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/processhandler.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/qijo.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/qijo.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/qijo.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/winprocess.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/winprocess.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/winprocess.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/wpk.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/wpk.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mozprocess/__pycache__/wpk.cpython-38.pyc 100644 /usr/lib/python3/site-packages/mozprocess/pid.py 100644