<86>Sep 8 09:44:28 userdel[1765899]: delete user 'rooter' <86>Sep 8 09:44:28 userdel[1765899]: removed group 'rooter' owned by 'rooter' <86>Sep 8 09:44:28 userdel[1765899]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 8 09:44:28 groupadd[1765922]: group added to /etc/group: name=rooter, GID=669 <86>Sep 8 09:44:28 groupadd[1765922]: group added to /etc/gshadow: name=rooter <86>Sep 8 09:44:28 groupadd[1765922]: new group: name=rooter, GID=669 <86>Sep 8 09:44:28 useradd[1765942]: new user: name=rooter, UID=669, GID=669, home=/root, shell=/bin/bash <86>Sep 8 09:44:28 userdel[1765967]: delete user 'builder' <86>Sep 8 09:44:28 userdel[1765967]: removed group 'builder' owned by 'builder' <86>Sep 8 09:44:28 userdel[1765967]: removed shadow group 'builder' owned by 'builder' <86>Sep 8 09:44:28 groupadd[1765986]: group added to /etc/group: name=builder, GID=670 <86>Sep 8 09:44:28 groupadd[1765986]: group added to /etc/gshadow: name=builder <86>Sep 8 09:44:28 groupadd[1765986]: new group: name=builder, GID=670 <86>Sep 8 09:44:28 useradd[1766003]: new user: name=builder, UID=670, GID=670, home=/usr/src, shell=/bin/bash <13>Sep 8 09:44:29 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Sep 8 09:44:29 rpmi: libexpat-2.2.9-alt1 sisyphus+252464.200.2.1 1590958865 installed <13>Sep 8 09:44:29 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Sep 8 09:44:29 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Sep 8 09:44:29 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 8 09:44:29 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 8 09:44:29 rpmi: ca-certificates-2020.06.29-alt1 sisyphus+254237.300.1.1 1593450881 installed <13>Sep 8 09:44:29 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 8 09:44:29 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Sep 8 09:44:29 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Sep 8 09:44:30 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Sep 8 09:44:30 rpmi: python3-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Sep 8 09:44:30 rpmi: python3-base-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Sep 8 09:44:30 rpmi: libpython3-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Sep 8 09:44:30 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Sep 8 09:44:30 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Sep 8 09:44:32 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Sep 8 09:44:32 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Sep 8 09:44:32 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed <13>Sep 8 09:44:32 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Sep 8 09:44:32 groupadd[1772287]: group added to /etc/group: name=_keytab, GID=499 <86>Sep 8 09:44:32 groupadd[1772287]: group added to /etc/gshadow: name=_keytab <86>Sep 8 09:44:32 groupadd[1772287]: new group: name=_keytab, GID=499 <13>Sep 8 09:44:32 rpmi: libkrb5-1.18.2-alt2 sisyphus+254565.100.4.1 1594375666 installed <13>Sep 8 09:44:32 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>Sep 8 09:44:32 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Sep 8 09:44:32 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:44:32 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:44:32 rpmi: python-modules-email-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:44:32 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:44:33 rpmi: python-modules-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:44:33 rpmi: python-modules-nis-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:44:33 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:44:33 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:44:33 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:44:33 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 8 09:44:33 rpmi: python3-module-mechanize-0.4.3-alt1 sisyphus+238805.100.2.1 1570463659 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-libgmail-0.1.11-alt2.nosrc.rpm Installing python3-module-libgmail-0.1.11-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.24835 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libgmail-0.1.11 + echo 'Source #0 (libgmail-0.1.11.tar.gz):' Source #0 (libgmail-0.1.11.tar.gz): + /bin/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/libgmail-0.1.11.tar.gz + cd libgmail-0.1.11 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (fix-import.patch):' Patch #0 (fix-import.patch): + /usr/bin/patch -p2 patching file libgmail.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: Refactored ./libgmail.py --- ./libgmail.py (original) +++ ./libgmail.py (refactored) @@ -29,12 +29,12 @@ import os,pprint import re -import urllib -import urllib2 +import urllib.request, urllib.parse, urllib.error +import urllib.request, urllib.error, urllib.parse import mimetypes import types import mechanize as ClientCookie -from cPickle import load, dump +from pickle import load, dump from email.mime.base import MIMEBase from email.mime.text import MIMEText @@ -93,10 +93,10 @@ result = [] try: - exec data in {'__builtins__': None}, {'D': lambda x: result.append(x)} - except SyntaxError,info: - print info - raise GmailError, 'Failed to parse data returned from gmail.' + exec(data, {'__builtins__': None}, {'D': lambda x: result.append(x)}) + except SyntaxError as info: + print(info) + raise GmailError('Failed to parse data returned from gmail.') items = result itemsDict = {} @@ -107,19 +107,19 @@ parsedValue = item[1:] except Exception: parsedValue = [''] - if itemsDict.has_key(name): + if name in itemsDict: # This handles the case where a name key is used more than # once (e.g. mail items, mail body etc) and automatically # places the values into list. # TODO: Check this actually works properly, it's early... :-) - if len(parsedValue) and type(parsedValue[0]) is types.ListType: + if len(parsedValue) and type(parsedValue[0]) is list: for item in parsedValue: itemsDict[name].append(item) else: itemsDict[name].append(parsedValue) else: - if len(parsedValue) and type(parsedValue[0]) is types.ListType: + if len(parsedValue) and type(parsedValue[0]) is list: itemsDict[name] = [] for item in parsedValue: itemsDict[name].append(item) @@ -162,7 +162,7 @@ def _buildURL(**kwargs): """ """ - return "%s%s" % (URL_GMAIL, urllib.urlencode(kwargs)) + return "%s%s" % (URL_GMAIL, urllib.parse.urlencode(kwargs)) @@ -171,7 +171,7 @@ """ mimeMsg = MIMEMultipart("form-data") - for name, value in params.iteritems(): + for name, value in params.items(): mimeItem = MIMEText(value) mimeItem.add_header("Content-Disposition", "form-data", name=name) @@ -286,14 +286,14 @@ """ # TODO: Throw exception if we were instantiated with state? if self.domain: - data = urllib.urlencode({'continue': URL_GMAIL, + data = urllib.parse.urlencode({'continue': URL_GMAIL, 'at' : 'null', 'service' : 'mail', 'Email': self.name, 'Passwd': self._pw, }) else: - data = urllib.urlencode({'continue': URL_GMAIL, + data = urllib.parse.urlencode({'continue': URL_GMAIL, 'Email': self.name, 'Passwd': self._pw, }) @@ -313,7 +313,7 @@ # TODO: Catch more failure exceptions here...? try: link = re.search(RE_PAGE_REDIRECT, pageData).group(1) - redirectURL = urllib2.unquote(link) + redirectURL = urllib.parse.unquote(link) redirectURL = redirectURL.replace('\\x26', '&') except AttributeError: @@ -336,7 +336,7 @@ raise "Cannot find urlopener" # ClientCookieify it, if it hasn't been already - if not isinstance(urlOrRequest, urllib2.Request): + if not isinstance(urlOrRequest, urllib.request.Request): req = ClientCookie.Request(urlOrRequest) else: req = urlOrRequest @@ -346,8 +346,8 @@ try: resp = self.opener.open(req) - except urllib2.HTTPError,info: - print info + except urllib.error.HTTPError as info: + print(info) return None pageData = resp.read() @@ -412,7 +412,7 @@ break else: for th in threads: - if not type(th[0]) is types.ListType: + if not type(th[0]) is list: th = [th] threadsInfo.append(th) # TODO: Check if the total or per-page values have changed? @@ -596,7 +596,7 @@ contentTypeHeader, data = msgStr.split("\n\n", 1) contentTypeHeader = contentTypeHeader.split(":", 1) data = data.replace("\n", "\r\n") - for k,v in origPayloads.iteritems(): + for k,v in origPayloads.items(): data = data.replace(FMT_MARKER % k, v) #### @@ -614,7 +614,7 @@ result = GmailMessageStub(id = resultInfo[SM_NEWTHREADID], _account = self) else: - raise GmailSendError, resultInfo[SM_MSG] + raise GmailSendError(resultInfo[SM_MSG]) return result @@ -684,7 +684,7 @@ #data.update(extraData) req = ClientCookie.Request(_buildURL(**params), - data = urllib.urlencode(data)) + data = urllib.parse.urlencode(data)) return req @@ -697,7 +697,7 @@ # Note: Label name cache is updated by this call as well. (Handy!) items = self._parsePage(req) - print items + print(items) return (items[D_ACTION_RESULT][0][AR_SUCCESS] == 1) @@ -832,7 +832,7 @@ moreInfo = myContact.getMoreInfo() ctsn_num = -1 if moreInfo != {}: - for ctsf,ctsf_data in moreInfo.items(): + for ctsf,ctsf_data in list(moreInfo.items()): ctsn_num += 1 # data section header, WORK, HOME,... sectionenum ='ctsn_%02d' % ctsn_num @@ -852,13 +852,13 @@ subsectionenum = 'ctsf_%02d_%02d_%s' % (ctsn_num, ctsf_num, info[0]) # ie. ctsf_00_01_p myDataList.append( (subsectionenum, info[1]) ) - myData = urllib.urlencode(myDataList) + myData = urllib.parse.urlencode(myDataList) request = ClientCookie.Request(myURL, data = myData) pageData = self._retrievePage(request) if pageData.find("The contact was successfully added") == -1: - print pageData + print(pageData) if pageData.find("already has the email address") > 0: raise Exception("Someone with same email already exists in Gmail.") elif pageData.find("https://www.google.com/accounts/ServiceLogin"): @@ -911,10 +911,10 @@ # TODO: Perhaps signal this in some nice way # to the end user? - print "Unable to delete." - print "Has someone else been modifying the contacts list while we have?" - print "Old version of person:",gmailContact - print "New version of person:",newVersionOfPersonToDelete + print("Unable to delete.") + print("Has someone else been modifying the contacts list while we have?") + print("Old version of person:",gmailContact) + print("New version of person:",newVersionOfPersonToDelete) return False ## Don't remove this. contact stas @@ -1189,7 +1189,7 @@ """ #print "\nthreadsInfo\n",threadsInfo try: - if not type(threadsInfo[0]) is types.ListType: + if not type(threadsInfo[0]) is list: threadsInfo = [threadsInfo] except IndexError: # print "No messages found" @@ -1325,7 +1325,7 @@ # (Without another page request.) self._length = int(re.search("\((\d+?)\)\Z", self._authors).group(1)) - except AttributeError,info: + except AttributeError as info: # If there's no message count then the thread only has one message. self._length = 1 @@ -1400,7 +1400,7 @@ continue else: # TODO: Handle special case of only 1 message in thread better? - if type(msgsInfo[0]) != types.ListType: + if type(msgsInfo[0]) != list: msgsInfo = [msgsInfo] for msg in msgsInfo: result += [GmailMessage(thread, msg, isDraft = isDraft)] @@ -1565,41 +1565,41 @@ try: name = sys.argv[1] except IndexError: - name = raw_input("Gmail account name: ") + name = input("Gmail account name: ") pw = getpass("Password: ") - domain = raw_input("Domain? [leave blank for Gmail]: ") + domain = input("Domain? [leave blank for Gmail]: ") ga = GmailAccount(name, pw, domain=domain) - print "\nPlease wait, logging in..." + print("\nPlease wait, logging in...") try: ga.login() - except GmailLoginFailure,e: - print "\nLogin failed. (%s)" % e.message + except GmailLoginFailure as e: + print("\nLogin failed. (%s)" % e.message) else: - print "Login successful.\n" + print("Login successful.\n") # TODO: Use properties instead? quotaInfo = ga.getQuotaInfo() quotaMbUsed = quotaInfo[QU_SPACEUSED] quotaMbTotal = quotaInfo[QU_QUOTA] quotaPercent = quotaInfo[QU_PERCENT] - print "%s of %s used. (%s)\n" % (quotaMbUsed, quotaMbTotal, quotaPercent) + print("%s of %s used. (%s)\n" % (quotaMbUsed, quotaMbTotal, quotaPercent)) searches = STANDARD_FOLDERS + ga.getLabelNames() name = None while 1: try: - print "Select folder or label to list: (Ctrl-C to exit)" + print("Select folder or label to list: (Ctrl-C to exit)") for optionId, optionName in enumerate(searches): - print " %d. %s" % (optionId, optionName) + print(" %d. %s" % (optionId, optionName)) while not name: try: - name = searches[int(raw_input("Choice: "))] - except ValueError,info: - print info + name = searches[int(input("Choice: "))] + except ValueError as info: + print(info) name = None if name in STANDARD_FOLDERS: result = ga.getMessagesByFolder(name, True) @@ -1607,24 +1607,24 @@ result = ga.getMessagesByLabel(name, True) if not len(result): - print "No threads found in `%s`." % name + print("No threads found in `%s`." % name) break name = None tot = len(result) i = 0 for thread in result: - print "%s messages in thread" % len(thread) - print thread.id, len(thread), thread.subject + print("%s messages in thread" % len(thread)) + print(thread.id, len(thread), thread.subject) for msg in thread: - print "\n ", msg.id, msg.number, msg.author,msg.subject + print("\n ", msg.id, msg.number, msg.author,msg.subject) # Just as an example of other usefull things #print " ", msg.cc, msg.bcc,msg.sender i += 1 - print - print "number of threads:",tot - print "number of messages:",i + print() + prRefactoringTool: No changes to ./setup.py RefactoringTool: No changes to ./lgconstants.py RefactoringTool: Refactored ./gmail_transport.py RefactoringTool: Files that were modified: RefactoringTool: ./libgmail.py RefactoringTool: ./setup.py RefactoringTool: ./lgconstants.py RefactoringTool: ./gmail_transport.py RefactoringTool: Warnings/messages while refactoring: RefactoringTool: ### In file ./libgmail.py ### RefactoringTool: Line 336: could not convert: raise "Cannot find urlopener" RefactoringTool: Python 3 does not support string exceptions int("number of threads:",tot) + print("number of messages:",i) except KeyboardInterrupt: break - print "\n\nDone." + print("\n\nDone.") --- ./gmail_transport.py (original) +++ ./gmail_transport.py (refactored) @@ -12,8 +12,8 @@ # tested with python 2.4 import mechanize as ClientCookie -import urllib -import httplib +import urllib.request, urllib.parse, urllib.error +import http.client import socket import base64 @@ -30,8 +30,8 @@ proxy_username = proxy_password = None - urltype, r_type = urllib.splittype(proxy) - proxy, XXX = urllib.splithost(r_type) + urltype, r_type = urllib.parse.splittype(proxy) + proxy, XXX = urllib.parse.splithost(r_type) if '@' in proxy: proxy_username, proxy = proxy.split('@', 1) if ':' in proxy_username: @@ -41,38 +41,38 @@ -class ProxyHTTPConnection(httplib.HTTPConnection): +class ProxyHTTPConnection(http.client.HTTPConnection): _ports = {'http' : 80, 'https' : 443} def request(self, method, url, body=None, headers={}): #request is called before connect, so can interpret url and get #real host/port to be used to make CONNECT request to proxy - proto, rest = urllib.splittype(url) + proto, rest = urllib.parse.splittype(url) if proto is None: - raise ValueError, "unknown URL type: %s" % url + raise ValueError("unknown URL type: %s" % url) - host, rest = urllib.splithost(rest) # get host - host, port = urllib.splitport(host) #try to get port + host, rest = urllib.parse.splithost(rest) # get host + host, port = urllib.parse.splitport(host) #try to get port #if port is not defined try to get from proto if port is None: try: port = self._ports[proto] except KeyError: - raise ValueError, "unknown protocol for: %s" % url + raise ValueError("unknown protocol for: %s" % url) self._real_host = host self._real_port = port - httplib.HTTPConnection.request(self, method, url, body, headers) + http.client.HTTPConnection.request(self, method, url, body, headers) def connect(self): - httplib.HTTPConnection.connect(self) + http.client.HTTPConnection.connect(self) self.send("CONNECT %s:%d HTTP/1.0\r\n" % (self._real_host, self._real_port)) if self.proxy_user is not None and self.proxy_passwd is not None: - cred = base64.encodestring("%s:%s" % (urllib.unquote(self.proxy_user), urllib.unquote(self.proxy_passwd))).strip() + cred = base64.encodestring("%s:%s" % (urllib.parse.unquote(self.proxy_user), urllib.parse.unquote(self.proxy_passwd))).strip() self.send("Proxy-authorization: Basic %s\r\n" % cred) self.send("User-Agent: Mozilla/5.0 (Compatible; libgmail-python)\r\n\r\n") @@ -82,7 +82,7 @@ if code != 200: #proxy returned and error, abort connection, and raise exception self.close() - raise socket.error, "Proxy connection failed: %d %s" % (code, message.strip()) + raise socket.error("Proxy connection failed: %d %s" % (code, message.strip())) #eat up header block from proxy.... while True: @@ -113,7 +113,7 @@ ProxyHTTPConnection.connect(self) #make the sock ssl-aware ssl = socket.ssl(self.sock, self.key_file, self.cert_file) - self.sock = httplib.FakeSocket(self.sock, ssl) + self.sock = http.client.FakeSocket(self.sock, ssl) class ConnectHTTPHandler(ClientCookie.HTTPHandler): + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.57062 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libgmail-0.1.11 + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib copying libgmail.py -> build/lib copying lgconstants.py -> build/lib copying gmail_transport.py -> build/lib + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.57062 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-libgmail-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-libgmail-buildroot + cd libgmail-0.1.11 + /usr/bin/python3 setup.py install --skip-build --root /usr/src/tmp/python3-module-libgmail-buildroot --optimize=2 running install running install_lib creating /usr/src/tmp/python3-module-libgmail-buildroot creating /usr/src/tmp/python3-module-libgmail-buildroot/usr creating /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib creating /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages copying build/lib/gmail_transport.py -> /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages copying build/lib/lgconstants.py -> /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages copying build/lib/libgmail.py -> /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/gmail_transport.py to gmail_transport.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/lgconstants.py to lgconstants.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py to libgmail.cpython-38.pyc writing byte-compilation script '/usr/src/tmp/tmpcain8uye.py' /usr/bin/python3 /usr/src/tmp/tmpcain8uye.py removing /usr/src/tmp/tmpcain8uye.py running install_egg_info Writing /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail-0.1.11-py3.8.egg-info + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-libgmail-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-libgmail-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-libgmail-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-libgmail-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-libgmail-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-libgmail-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-libgmail-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-libgmail-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-libgmail-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-38.opt-2.pyc unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-38.pyc unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-38.opt-2.pyc unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-38.pyc unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-38.opt-2.pyc unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-38.pyc compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/gmail_transport.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/lgconstants.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-libgmail-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/gmail_transport.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/lgconstants.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-libgmail-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/gmail_transport.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/lgconstants.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/__pycache__/libgmail.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/libgmail.cpython-38.pyc' './usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-38.pyc' './usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-38.pyc' './usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-38.opt-1.pyc' Hardlinking identical .pyc and .pyo files Processing files: python3-module-libgmail-0.1.11-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dfaOJZ 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.OpOepX 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-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py: line=262 IGNORE (for REQ=slight and deep=19) module=gmail_transport /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py: line=1562 IGNORE (for REQ=slight and deep=8) module=sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py: line=1563 IGNORE (for REQ=slight and deep=8) module=getpass shebang.req.files: executable script /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/gmail_transport.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py is not executable Provides: python3(gmail_transport), python3(lgconstants), python3(libgmail) Requires: python3-module-mechanize, /usr/lib/python3/site-packages, python3(base64) < 0, python3(email.mime.base) < 0, python3(email.mime.multipart) < 0, python3(email.mime.text) < 0, python3(http.client) < 0, python3(mechanize) < 0, python3(mimetypes) < 0, python3(os) < 0, python3(pickle) < 0, python3(pprint) < 0, python3(re) < 0, python3(socket) < 0, python3(types) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-libgmail-0.1.11-alt2.noarch.rpm 5.16user 0.33system 0:06.95elapsed 79%CPU (0avgtext+0avgdata 20540maxresident)k 0inputs+0outputs (0major+117923minor)pagefaults 0swaps 11.26user 3.31system 0:15.94elapsed 91%CPU (0avgtext+0avgdata 110376maxresident)k 0inputs+0outputs (0major+502011minor)pagefaults 0swaps --- python3-module-libgmail-0.1.11-alt2.noarch.rpm.repo 2020-01-09 12:58:14.000000000 +0000 +++ python3-module-libgmail-0.1.11-alt2.noarch.rpm.hasher 2020-09-08 09:44:42.164906701 +0000 @@ -1,14 +1,14 @@ /usr/lib/python3/site-packages/__pycache__ 40755 -/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-38.pyc 100644 /usr/lib/python3/site-packages/gmail_transport.py 100644 /usr/lib/python3/site-packages/lgconstants.py 100644 -/usr/lib/python3/site-packages/libgmail-0.1.11-py3.7.egg-info 100644 +/usr/lib/python3/site-packages/libgmail-0.1.11-py3.8.egg-info 100644 /usr/lib/python3/site-packages/libgmail.py 100644