<86>Jul 25 08:12:09 userdel[2831550]: delete user 'rooter' <86>Jul 25 08:12:09 userdel[2831550]: removed group 'rooter' owned by 'rooter' <86>Jul 25 08:12:09 userdel[2831550]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 25 08:12:09 groupadd[2831560]: group added to /etc/group: name=rooter, GID=663 <86>Jul 25 08:12:09 groupadd[2831560]: group added to /etc/gshadow: name=rooter <86>Jul 25 08:12:09 groupadd[2831560]: new group: name=rooter, GID=663 <86>Jul 25 08:12:09 useradd[2831572]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash <86>Jul 25 08:12:09 userdel[2831583]: delete user 'builder' <86>Jul 25 08:12:09 userdel[2831583]: removed group 'builder' owned by 'builder' <86>Jul 25 08:12:09 userdel[2831583]: removed shadow group 'builder' owned by 'builder' <86>Jul 25 08:12:09 groupadd[2831598]: group added to /etc/group: name=builder, GID=664 <86>Jul 25 08:12:09 groupadd[2831598]: group added to /etc/gshadow: name=builder <86>Jul 25 08:12:09 groupadd[2831598]: new group: name=builder, GID=664 <86>Jul 25 08:12:09 useradd[2831615]: new user: name=builder, UID=664, GID=664, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/getmail-5.14-alt1.src.rpm: The use of such a license name is ambiguous: GPL <13>Jul 25 08:12:11 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jul 25 08:12:11 rpmi: libexpat-2.2.9-alt1 sisyphus+252464.200.2.1 1590958865 installed <13>Jul 25 08:12:11 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jul 25 08:12:11 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Jul 25 08:12:11 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 08:12:11 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 08:12:11 rpmi: ca-certificates-2020.06.29-alt1 sisyphus+254237.300.1.1 1593450881 installed <13>Jul 25 08:12:11 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jul 25 08:12:11 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jul 25 08:12:11 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Jul 25 08:12:11 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Jul 25 08:12:11 rpmi: python3-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Jul 25 08:12:12 rpmi: python3-base-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Jul 25 08:12:12 rpmi: libpython3-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Jul 25 08:12:12 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jul 25 08:12:12 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jul 25 08:12:15 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jul 25 08:12:15 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Jul 25 08:12:15 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jul 25 08:12:15 rpmi: libffi6-1:3.2.1-alt4 sisyphus+251953.300.2.1 1589891360 installed <13>Jul 25 08:12:15 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jul 25 08:12:15 groupadd[2859041]: group added to /etc/group: name=_keytab, GID=499 <86>Jul 25 08:12:15 groupadd[2859041]: group added to /etc/gshadow: name=_keytab <86>Jul 25 08:12:15 groupadd[2859041]: new group: name=_keytab, GID=499 <13>Jul 25 08:12:15 rpmi: libkrb5-1.18.2-alt2 sisyphus+254565.100.4.1 1594375666 installed <13>Jul 25 08:12:15 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>Jul 25 08:12:15 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jul 25 08:12:15 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 08:12:15 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 08:12:15 rpmi: python-modules-email-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 08:12:15 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 08:12:15 rpmi: python-modules-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 08:12:15 rpmi: python-modules-nis-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 08:12:15 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 08:12:15 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 08:12:15 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed <13>Jul 25 08:12:15 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+250345.100.4.1 1588665080 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/getmail-5.14-alt1.nosrc.rpm <13>Jul 25 08:12:17 rpmi: python3-module-pkg_resources-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed <13>Jul 25 08:12:17 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 25 08:12:17 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 25 08:12:17 rpmi: python3-dev-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Jul 25 08:12:17 rpmi: python3-module-setuptools-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed Installing getmail-5.14-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.21370 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf getmail-5.14 + echo 'Source #0 (getmail-5.14.tar.gz):' Source #0 (getmail-5.14.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/getmail-5.14.tar.gz + /bin/tar -xf - + cd getmail-5.14 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (port-on-python3.patch):' Patch #0 (port-on-python3.patch): + /usr/bin/patch -p2 patching file getmail patching file getmail-gmail-xoauth-tokens patching file getmail_fetch patching file getmail_maildir patching file getmail_mbox patching file getmailcore/_retrieverbases.py patching file getmailcore/baseclasses.py patching file getmailcore/compatibility.py patching file getmailcore/destinations.py patching file getmailcore/message.py patching file setup.cfg + 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 ./setup.py RefactoringTool: Refactored ./getmailcore/message.py RefactoringTool: Refactored ./getmailcore/destinations.py --- ./setup.py (original) +++ ./setup.py (refactored) @@ -50,11 +50,11 @@ ) if '--show-default-install-dirs' in args: - print 'Default installation directories:' - print ' scripts : %s' % distutils.sysconfig.get_config_var('BINDIR') - print ' Python modules : %s' % os.path.join(distutils.sysconfig.get_config_var('LIBP'), 'site-packages') - print ' documentation : %s' % GETMAILDOCDIR - print ' man(1) pages : %s' % GETMAILMANDIR + print('Default installation directories:') + print(' scripts : %s' % distutils.sysconfig.get_config_var('BINDIR')) + print(' Python modules : %s' % os.path.join(distutils.sysconfig.get_config_var('LIBP'), 'site-packages')) + print(' documentation : %s' % GETMAILDOCDIR) + print(' man(1) pages : %s' % GETMAILMANDIR) raise SystemExit() setup( --- ./getmailcore/message.py (original) +++ ./getmailcore/message.py (refactored) @@ -10,7 +10,7 @@ import sys import os import time -import cStringIO +import io import re import email from email.errors import MessageError @@ -19,10 +19,10 @@ from email.generator import Generator try: from email.header import Header -except ImportError, o: +except ImportError as o: try: from email.Header import Header - except ImportError, o: + except ImportError as o: # Python < 2.5 from email import Header @@ -111,19 +111,19 @@ if fromlines: try: self.__msg = parser.parsestr(os.linesep.join(fromlines)) - except MessageError, o: + except MessageError as o: self.__msg = corrupt_message(o, fromlines=fromlines) self.__raw = os.linesep.join(fromlines) elif fromstring: try: self.__msg = parser.parsestr(fromstring) - except MessageError, o: + except MessageError as o: self.__msg = corrupt_message(o, fromstring=fromstring) self.__raw = fromstring elif fromfile: try: self.__msg = parser.parse(fromfile) - except MessageError, o: + except MessageError as o: # Shouldn't happen self.__msg = corrupt_message(o, fromstring=fromfile.read()) # fromfile is only used by getmail_maildir, getmail_mbox, and @@ -182,7 +182,7 @@ receivedline = '' # From_ handled above, always tell the generator not to include it try: - tmpf = cStringIO.StringIO() + tmpf = io.StringIO() gen = Generator(tmpf, False, 0) gen.flatten(self.__msg, False) strmsg = tmpf.getvalue() @@ -191,7 +191,7 @@ strmsg = RE_FROMLINE.sub(r'>\1', strmsg) return (fromline + rpline + dtline + receivedline + os.linesep.join(strmsg.splitlines() + [''])) - except TypeError, o: + except TypeError as o: # email module chokes on some badly-misformatted messages, even # late during flatten(). Hope this is fixed in Python 2.4. if self.__raw is None: --- ./getmailcore/destinations.py (original) +++ ./getmailcore/destinations.py (refactored) @@ -74,7 +74,7 @@ ConfigurableBase.__init__(self, **args) try: self.initialize() - except KeyError, o: + except KeyError as o: raise getmailConfigurationError( 'missing required configuration parameter %s' % o ) @@ -120,7 +120,7 @@ self.dcount = 0 try: self.conf['filemode'] = int(self.conf['filemode'], 8) - except ValueError, o: + except ValueError as o: raise getmailConfigurationError('filemode %s not valid: %s' % (self.conf['filemode'], o)) @@ -155,7 +155,7 @@ stdout.flush() os.fsync(stdout.fileno()) os._exit(0) - except StandardError, o: + except Exception as o: RefactoringTool: No changes to ./getmailcore/compatibility.py RefactoringTool: Refactored ./getmailcore/baseclasses.py # Child process; any error must cause us to exit nonzero for parent # to detect it stderr.write('maildir delivery process failed (%s)' % o) @@ -296,7 +296,7 @@ try: os.utime(self.conf['path'], (status_old.st_atime, status_new.st_mtime)) - except OSError, o: + except OSError as o: # Not root or owner; readers will not be able to reliably # detect new mail. But you shouldn't be delivering to # other peoples' mboxes unless you're root, anyways. @@ -306,7 +306,7 @@ unlock_file(f, self.conf['locktype']) - except IOError, o: + except IOError as o: try: if not f.closed: # If the file was opened and we know how long it was, @@ -316,7 +316,7 @@ f.truncate(status_old.st_size) except KeyboardInterrupt: raise - except StandardError: + except Exception: pass raise getmailDeliveryError( 'failure writing message to mbox file "%s" (%s)' @@ -325,7 +325,7 @@ os._exit(0) - except StandardError, o: + except Exception as o: # Child process; any error must cause us to exit nonzero for parent # to detect it stderr.write('mbox delivery process failed (%s)' % o) @@ -512,7 +512,7 @@ ) os.execl(*args) - except StandardError, o: + except Exception as o: # Child process; any error must cause us to exit nonzero for parent # to detect it stderr.write('exec of qmail-local failed (%s)' % o) @@ -700,12 +700,12 @@ or '').encode('utf-8') for arg in self.conf['arguments']: arg = expand_user_vars(arg) - for (key, value) in msginfo.items(): + for (key, value) in list(msginfo.items()): arg = arg.replace('%%(%s)' % key, value) args.append(arg) self.log.debug('about to execl() with args %s\n' % str(args)) os.execl(*args) - except StandardError, o: + except Exception as o: # Child process; any error must cause us to exit nonzero for parent # to detect it stderr.write('exec of command %s failed (%s)' @@ -857,7 +857,7 @@ for item in dests: try: dest = self._get_destination(item) - except getmailConfigurationError, o: + except getmailConfigurationError as o: raise getmailConfigurationError('%s destination error %s' % (item, o)) self._destinations.append(dest) @@ -914,13 +914,13 @@ for (pattern, path) in _locals: try: dest = self._get_destination(path) - except getmailConfigurationError, o: + except getmailConfigurationError as o: raise getmailConfigurationError( 'pattern %s destination error %s' % (pattern, o) ) self.targets.append((re.compile(pattern, re.IGNORECASE), dest)) self._destinations.append(dest) - except re.error, o: + except re.error as o: raise getmailConfigurationError('invalid regular expression %s' % o) def _confstring(self): --- ./getmailcore/baseclasses.py (original) +++ ./getmailcore/baseclasses.py (refactored) @@ -76,7 +76,7 @@ val = eval_bool(val) else: val = self.dtype(eval(val)) - except (ValueError, SyntaxError, TypeError), o: + except (ValueError, SyntaxError, TypeError) as o: raise getmailConfRefactoringTool: Refactored ./getmailcore/_retrieverbases.py igurationError( '%s: configuration value (%s) not of required type %s (%s)' % (self.name, val, self.dtype, o) @@ -113,7 +113,7 @@ if type(tup) != tuple: raise ValueError('not a tuple') val = tup - except (ValueError, SyntaxError), o: + except (ValueError, SyntaxError) as o: raise getmailConfigurationError( '%s: incorrect format (%s)' % (self.name, o) ) @@ -142,13 +142,13 @@ item = str(item) try: vals.append(item.decode('ascii')) - except UnicodeError, o: + except UnicodeError as o: try: vals.append(item.decode('utf-8')) - except UnicodeError, o: + except UnicodeError as o: raise ValueError('not ascii or utf-8: %s' % item) val = vals - except (ValueError, SyntaxError), o: + except (ValueError, SyntaxError) as o: raise getmailConfigurationError( '%s: incorrect format (%s)' % (self.name, o) ) @@ -167,7 +167,7 @@ if type(tup) != tuple: raise ValueError('not a tuple') val = tup - except (ValueError, SyntaxError), o: + except (ValueError, SyntaxError) as o: raise getmailConfigurationError( '%s: incorrect format (%s)' % (self.name, o) ) @@ -260,7 +260,7 @@ # Reset atime and mtime try: os.utime(val, (status_old.st_atime, status_old.st_mtime)) - except OSError, o: + except OSError as o: # Not root or owner; readers will not be able to reliably # detect new mail. But you shouldn't be delivering to # other peoples' mboxes unless you're root, anyways. @@ -290,7 +290,7 @@ self.log.trace() self.conf = {} allowed_params = set([item.name for item in self._confitems]) - for (name, value) in args.items(): + for (name, value) in list(args.items()): if not name in allowed_params: self.log.warning('Warning: ignoring unknown parameter "%s" ' '(value: %s)\n' % (name, value)) @@ -312,7 +312,7 @@ # New class-based configuration item self.log.trace('checking %s\n' % item.name) self.conf[item.name] = item.validate(self.conf) - unknown_params = frozenset(self.conf.keys()).difference( + unknown_params = frozenset(list(self.conf.keys())).difference( frozenset([item.name for item in self._confitems]) ) for param in sorted(list(unknown_params), key=str.lower): @@ -324,7 +324,7 @@ def _confstring(self): self.log.trace() confstring = '' - names = self.conf.keys() + names = list(self.conf.keys()) names.sort() for name in names: if name.lower() == 'configparser': @@ -350,7 +350,7 @@ self.log.trace('handler called for signal %s' % sig) try: pid, r = os.wait() - except OSError, o: + except OSError as o: # No children on SIGCHLD. Can't happen? self.log.warning('handler called, but no children (%s)' % o) return --- ./getmailcore/_retrieverbases.py (original) +++ ./getmailcore/_retrieverbases.py (refactored) @@ -211,7 +211,7 @@ try: from email.header import decode_header -except ImportError, o: +except ImportError as o: # python < 2.5 from email.Header import decode_header @@ -300,12 +300,12 @@ try: self.conn = poplib.POP3(self.conf['server'], self.conf['port']) self.setup_received(self.conn.sock) - except poplib.error_proto, o: + except poplib.error_proto as o: raise getmailOperationError('POP error (%s)' % o) except socket.timeout: raise #raise getmailOperationError('timeout during connect') - except socket.gaierror, o: + except socket.gaierror as o: raise getmailOperationError( 'error resolving name %s during connect (%s)' % (self.conf['server'], o) @@ -340,7 +340,7 @@ try: self.sock = socket.socket(af, socktype, proto) self.sock.connect(sa) - except socket.error, msg: + except socket.error as msg: if self.sock: self.sock.close() self.sock = None @@ -465,12 +465,12 @@ % actual_hash ) - except poplib.error_proto, o: + except poplib.error_proto as o: raise getmailOperationError('POP error (%s)' % o) except socket.timeout: #raise getmailOperationError('timeout during connect') raise - except socket.gaierror, o: + except socket.gaierror as o: raise getmailOperationError( 'error resolving name %s during connect (%s)' % (self.conf['server'], o) @@ -534,14 +534,14 @@ self.conn = POP3SSL(self.conf['server'], self.conf['port']) self.setup_received(self.conn.rawsock) - except poplib.error_proto, o: + except poplib.error_proto as o: raise getmailOperationError('POP error (%s)' % o) except socket.timeout: #raise getmailOperationError('timeout during connect') raise - except socket.gaierror, o: + except socket.gaierror as o: raise getmailOperationError('socket error during connect (%s)' % o) - except socket.sslerror, o: + except socket.sslerror as o: raise getmailOperationError( 'socket sslerror during connect (%s)' % o ) @@ -560,12 +560,12 @@ try: self.conn = imaplib.IMAP4(self.conf['server'], self.conf['port']) self.setup_received(self.conn.sock) - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: raise getmailOperationError('IMAP error (%s)' % o) except socket.timeout: #raise getmailOperationError('timeout during connect') raise - except socket.gaierror, o: + except socket.gaierror as o: raise getmailOperationError('socket error during connect (%s)' % o) self.log.trace('IMAP connection %s established' % self.conn @@ -703,12 +703,12 @@ % actual_hash ) - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: raise getmailOperationError('IMAP error (%s)' % o) except socket.timeout: #raise getmailOperationError('timeout during connect') raise - except socket.gaierror, o: + except socket.gaierror as o: errcode = o[0] if errcode in (EAI_NONAME, EAI_NODATA): # No such DNS name @@ -724,7 +724,7 @@ else: raise getmailOperationError('socket error during connect (%s)' % o) - except socket.sslerror, o: + except socket.sslerror as o: raise getmailOperationError( 'socket sslerror during connect (%s)' % o ) @@ -862,7 +862,7 @@ def _oldmail_filename(self, mailbox): assert (mailbox is None - or (isinstance(mailbox, (str, unicode)) and mailbox)), ( + or (isinstance(mailbox, str) and mailbox)), ( 'bad mailbox %s (%s)' % (mailbox, type(mailbox)) ) filename = self.oldmail_filename @@ -937,8 +937,8 @@ oldmailfile = None wrote = 0 msgids = frozenset( - self.__delivered.keys() - ).union(frozenset(self.oldmail.keys())) + list(self.__delivered.keys()) + ).union(frozenset(list(self.oldmail.keys()))) try: oldmailfile = updatefile(filename) for msgid in msgids: @@ -950,7 +950,7 @@ oldmailfile.close() self.log.moreinfo('wrote %i uids for %s%s' % (wrote, logname, os.linesep)) - except IOError, o: + except IOError as o: self.log.error('failed writing oldmail file for %s (%s)' % (logname, o) + os.linesep) if oldmailfile: @@ -1110,15 +1110,15 @@ # but only if the timestamp for them are old (30 days for now). # This is because IMAP users can have one state file but multiple # IMAP folders in different configuration rc files. - for msgid in self.oldmail.keys(): + for msgid in list(self.oldmail.keys()): timestamp = self.oldmail[msgid] age = self.timestamp - timestamp - if not self.msgsizes.has_key(msgid) and age > VANISHED_AGE: + if msgid not in self.msgsizes and age > VANISHED_AGE: self.log.debug('removing vanished old message id %s' % msgid + os.linesep) del self.oldmail[msgid] - except poplib.error_proto, o: + except poplib.error_proto as o: raise getmailOperationError( 'POP error (%s) - if your server does not support the UIDL ' 'command, use BrokenUIDLPOP3Retriever instead' @@ -1141,7 +1141,7 @@ % (response, octets) + os.linesep) msg = Message(fromlines=lines+['']) return msg - except poplib.error_proto, o: + except poplib.error_proto as o: raise getmailRetrievalError( 'failed to retrieve msgid %s; server said %s' % (msgid, o) @@ -1195,12 +1195,12 @@ % sorted(self.msgnum_by_msgid.keys()) + os.linesep) self.log.debug('msgsizes: %s' % self.msgsizes + os.linesep) # Remove messages from state file that are no longer in mailbox - for msgid in self.oldmail.keys(): - if not self.msgsizes.has_key(msgid): + for msgid in list(self.oldmail.keys()): + if msgid not in self.msgsizes: self.log.debug('removing vanished message id %s' % msgid + os.linesep) del self.oldmail[msgid] - except poplib.error_proto, o: + except poplib.error_proto as o: raise getmailOperationError('POP error (%s)' % o) def abort(self): @@ -1211,7 +1211,7 @@ try: self.conn.rset() self.conn.quit() - except (poplib.error_proto, socket.error), o: + except (poplib.error_proto, socket.error) as o: pass self.conn = None @@ -1222,7 +1222,7 @@ return try: self.conn.quit() - except (poplib.error_proto, socket.error), o: + except (poplib.error_proto, socket.error) as o: raise getmailOperationError('POP error (%s)' % o) except AttributeError: pass @@ -1263,7 +1263,7 @@ raise ValueError(self.conf['envelope_recipient']) except IndexError: pass - except ValueError, o: + except ValueError as o: raise getmailConfigurationError( 'invalid envelope_recipient specification format (%s)' % o ) @@ -1282,7 +1282,7 @@ try: line = data[self.envrecipname][self.envrecipnum] - except (KeyError, IndexError), unused: + except (KeyError, IndexError) as unused: raise getmailConfigurationError( 'envelope_recipient specified header missing (%s)' % self.conf['envelope_recipient'] @@ -1358,7 +1358,7 @@ self.log.trace() try: result, resplist = getattr(self.conn, cmd)(*args) - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: if cmd == 'login': # Percolate up raise @@ -1383,7 +1383,7 @@ self.log.trace() try: result, resplist = self.conn.uid(cmd, *args) - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: if cmd == 'login': # Percolate up raise @@ -1418,7 +1418,7 @@ raise ValueError name = parts.pop(0).lower() r[name] = parts.pop(0) - except (ValueError, IndexError, AttributeError), o: + except (ValueError, IndexError, AttributeError) as o: raise getmailOperationError( 'IMAP error (failed to parse attr response line "%s": %s)' % (line, o) @@ -1447,7 +1447,7 @@ mailboxes.append(mailbox) #log.debug(u'%20s : delimiter %s, attributes: %s', # mailbox, g['delimiter'], ', '.join(attributes)) - except Exception, o: + except Exception as o: raise getmailOperationError('error decoding mailbox "%s"' % g['mailbox']) return mailboxes @@ -1503,9 +1503,9 @@ # use *last* EXISTS returned count = int(count[-1]) uidvalidity = self.conn.response('UIDVALIDITY')[1][0] - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: raise getmailOperationError('IMAP error (%s)' % o) - except (IndexError, ValueError), o: + except (IndexError, ValueError) as o: raise getmailOperationError( 'IMAP server failed to return correct SELECT response (%s)' % o @@ -1547,15 +1547,15 @@ # but only if the timestamp for them are old (30 days for now). # This is because IMAP users can have one state file but multiple # IMAP folders in different configuration rc files. - for msgid in self.oldmail.keys(): + for msgid in list(self.oldmail.keys()): timestamp = self.oldmail[msgid] age = self.timestamp - timestamp - if not self.msgsizes.has_key(msgid) and age > VANISHED_AGE: + if msgid not in self.msgsizes and age > VANISHED_AGE: self.log.debug('removing vanished old message id %s' % msgid + os.linesep) del self.oldmail[msgid] - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: raise getmailOperationError('IMAP error (%s)' % o) self.gotmsglist = True @@ -1578,7 +1578,7 @@ response = self._parse_imapuidcmdresponse( 'STORE', uid, 'FLAGS', '(\Deleted \Seen)' ) - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: raise getmailOperationError('IMAP error (%s)' % o) def _getmsgpartbyid(self, msgid, part): @@ -1590,7 +1590,7 @@ + os.linesep) try: response = self._parse_imapuidcmdresponse('FETCH', uid, part) - except (imaplib.IMAP4.error, getmailOperationError), o: + except (imaplib.IMAP4.error, getmailOperationError) as o: # server gave a negative/NO response, most likely. Bad server, # no doughnut. raise getmailRetrievalError( @@ -1614,13 +1614,13 @@ try: try: sbody = response[0][1] - except Exception, o: + except Exception as o: sbody = None if not sbody: self.log.error('bad message from server!') sbody = str(response) msg = Message(fromstring=sbody) - RefactoringTool: Refactored ./getmailcore/utilities.py except TypeError, o: + except TypeError as o: # response[0] is None instead of a message tuple raise getmailRetrievalError('failed to retrieve msgid %s' % msgid) @@ -1633,12 +1633,12 @@ # google extensions: apply labels, etc if 'X-GM-EXT-1' in self.conn.capabilities: metadata = self._getgmailmetadata(uid, msg) - for (header, value) in metadata.items(): + for (header, value) in list(metadata.items()): msg.add_header(header, value) return msg - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: raise getmailOperationError('IMAP error (%s)' % o) def _getgmailmetadata(self, uid, msg): @@ -1654,7 +1654,7 @@ # 'separated) UID 167669)'] response = self._parse_imapuidcmdresponse('FETCH', uid, '(X-GM-LABELS X-GM-THRID X-GM-MSGID)') - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: self.log.warning('Could not fetch google imap extensions: %s' % o) return {} @@ -1747,9 +1747,9 @@ else: self._parse_imapcmdresponse('login', self.conf['username'], self.conf['password']) - except imaplib.IMAP4.abort, o: + except imaplib.IMAP4.abort as o: raise getmailLoginRefusedError(o) - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: if str(o).startswith('[UNAVAILABLE]'): raise getmailLoginRefusedError(o) else: @@ -1794,7 +1794,7 @@ # Special value meaning all mailboxes in account self.mailboxes = tuple(self.list_mailboxes()) - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: raise getmailOperationError('IMAP error (%s)' % o) def abort(self): @@ -1804,7 +1804,7 @@ return try: self.quit() - except (imaplib.IMAP4.error, socket.error), o: + except (imaplib.IMAP4.error, socket.error) as o: pass self.conn = None @@ -1850,7 +1850,7 @@ try: aborted = None (readable, unused, unused) = select.select([sock], [], [], timeout) - except KeyboardInterrupt, o: + except KeyboardInterrupt as o: # Delay raising this until we've stopped IDLE mode aborted = o @@ -1866,7 +1866,7 @@ self.conn.untagged_responses = {} self.conn.send('DONE\r\n') self.conn._command_complete('IDLE', tag) - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: return False if aborted: @@ -1882,7 +1882,7 @@ if self.mailbox_selected is not False: self.close_mailbox() self.conn.logout() - except imaplib.IMAP4.error, o: + except imaplib.IMAP4.error as o: #raise getmailOperationError('IMAP error (%s)' % o) self.log.warning('IMAP error during logout (%s)' % o + os.linesep) RetrieverSkeleton.quit(self) @@ -1922,7 +1922,7 @@ raise ValueError(self.conf['envelope_recipient']) except IndexError: pass - except ValueError, o: + except ValueError as o: raise getmailConfigurationError( 'invalid envelope_recipient specification format (%s)' % o ) @@ -1942,7 +1942,7 @@ try: line = data[self.envrecipname][self.envrecipnum] - except (KeyError, IndexError), unused: + except (KeyError, IndexError) as unused: raise getmailConfigurationError( 'envelope_recipient specified header missing (%s)' % self.conf['envelope_recipient'] --- ./getmailcore/utilities.py (original) +++ ./getmailcore/utilities.py (refactored) @@ -43,13 +43,13 @@ import pwd import grp import getpass -import commands +import subprocess import sys import tempfile import errno try: import subprocess -except ImportError, o: +except ImportError as o: subprocess = None # hashlib only present in python2.5, ssl in python2.6; used together @@ -107,7 +107,7 @@ fcntl.flock(file, fcntl.LOCK_UN) ####################################### -def safe_open(path, mode, permissions=0600): +def safe_open(path, mode, permissions=0o600): '''Open a file path safely. ''' if os.name != 'posix': @@ -115,7 +115,7 @@ try: fd = os.open(path, os.O_RDWR | os.O_CREAT | os.O_EXCL, permissions) file = os.fdopen(fd, mode) - except OSError, o: + except OSError as o: raise getmailDeliveryError('failure opening %s (%s)' % (path, o)) return file @@ -141,7 +141,8 @@ os.readlink(filename)) try: f = safe_open(self.tmpname, 'wb') - except IOError, (code, msg): + except IOError as xxx_todo_changeme: + (code, msg) = xxx_todo_changeme.args raise IOError('%s, opening output file "%s"' % (msg, self.tmpname)) self.file = f self.write = f.write @@ -176,7 +177,8 @@ self.filename = filename try: self.file = open(expand_user_vars(self.filename), 'ab') - except IOError, (code, msg): + except IOError as xxx_todo_changeme1: + (code, msg) = xxx_todo_changeme1.args raise IOError('%s, opening file "%s"' % (msg, self.filename)) def __del__(self): @@ -208,7 +210,7 @@ '''Take a dictionary of parameters and return a string summary. ''' s = '' - keys = d.keys() + keys = list(d.keys()) keys.sort() for key in keys: if key in skipitems: @@ -258,7 +260,7 @@ return True ####################################### -def deliver_maildir(maildirpath, data, hostname, dcount=None, filemode=0600): +def deliver_maildir(maildirpath, data, hostname, dcount=None, filemode=0o600): '''Reliably deliver a mail message into a Maildir. Uses Dan Bernstein's documented rules for maildir delivery, and the updated naming convention for new files (modern delivery identifiers). See @@ -293,7 +295,7 @@ ['%02x' % ord(char) for char in open('/dev/urandom', 'rb').read(8)] ) - except StandardError: + except Exception: pass filename = '%(secs)s.%(unique)s.%(hostname)s' % info @@ -333,7 +335,7 @@ os.fsync(f.fileno()) f.close() - except IOError, o: + except IOError as o: signal.alarm(0) raise getmailDeliveryError('failure writing file %s (%s)' % (fname_tmp, o)) @@ -349,7 +351,7 @@ os.unlink(fname_tmp) except KeyboardInterrupt: raise - except StandardError: + except Exception: pass raise getmailDeliveryError('failure renaming "%s" to "%s"' % (fname_tmp, fname_new)) @@ -391,14 +393,14 @@ def gid_of_uid(uid): try: return pwd.getpwuid(uid).pw_gid - except KeyError, o: + except KeyError as o: raise getmailConfigurationError('no such specified uid (%s)' % o) ####################################### def uid_of_user(user): try: return pwd.getpwnam(user).pw_uid - except KeyError, o: + except KeyError as o: raise getmailConfigurationError('no such specified user (%s)' % o) ####################################### @@ -414,7 +416,7 @@ logger.debug('Getting GID for specified group %s\n' % _group) try: gid = grp.getgrnam(_group).gr_gid - except KeyError, o: + except KeyError as o: raise getmailConfigurationError('no such specified group (%s)' % o) if user: if logger: @@ -440,RefactoringTool: Refactored ./getmailcore/retrievers.py RefactoringTool: No changes to ./getmailcore/logging.py RefactoringTool: Refactored ./getmailcore/imap_utf7.py RefactoringTool: Refactored ./getmailcore/filters.py 7 +442,7 @@ if logger: logger.debug('Setting euid to %d\n' % uid) os.setreuid(uid, uid) - except OSError, o: + except OSError as o: raise getmailDeliveryError('change UID/GID to %s/%s failed (%s)' % (uid, gid, o)) @@ -455,13 +457,13 @@ try: (lang, encoding) = lang.split('.') return s.decode(encoding) - except (UnicodeError, ValueError), o: + except (UnicodeError, ValueError) as o: pass # that failed; try well-formed in various common encodings next for encoding in ('ascii', 'utf-8', 'latin-1', 'utf-16'): try: return s.decode(encoding) - except UnicodeError, o: + except UnicodeError as o: continue # all failed - force it return s.decode('utf-8', 'replace') @@ -640,7 +642,7 @@ cmd = "%s find-internet-password -g -a '%s' -s '%s' -r '%s'" % ( osx_keychain_binary, user, server, protocol ) - (status, output) = commands.getstatusoutput(cmd) + (status, output) = subprocess.getstatusoutput(cmd) if status != os.EX_OK or not output: logger.error('keychain command %s failed: %s %s' % (cmd, status, output)) @@ -721,14 +723,14 @@ args = list(args) # Programmer sanity checks - assert type(command) in (str, unicode), ( + assert type(command) in (str, str), ( 'command is %s (%s)' % (command, type(command)) ) assert type(args) == list, ( 'args is %s (%s)' % (args, type(args)) ) for arg in args: - assert type(arg) in (str, unicode), 'arg is %s (%s)' % (arg, type(arg)) + assert type(arg) in (str, str), 'arg is %s (%s)' % (arg, type(arg)) stdout = tempfile.TemporaryFile() stderr = tempfile.TemporaryFile() @@ -737,7 +739,7 @@ try: p = subprocess.Popen(cmd, stdout=stdout, stderr=stderr) - except OSError, o: + except OSError as o: if o.errno == errno.ENOENT: # no such file, command not found raise getmailConfigurationError('Program "%s" not found' % command) --- ./getmailcore/retrievers.py (original) +++ ./getmailcore/retrievers.py (refactored) @@ -157,7 +157,7 @@ self.msgid_by_msgnum[msgnum] = msgnum self.msgsizes[msgnum] = msgsize self.sorted_msgnum_msgid = sorted(self.msgid_by_msgnum.items()) - except poplib.error_proto, o: + except poplib.error_proto as o: raise getmailOperationError('POP error (%s)' % o) self.gotmsglist = True @@ -355,7 +355,7 @@ try: msgnum = self._getmsgnumbyid(msgid) resp, lines, octets = self.conn._longcmd('*ENV %i' % msgnum) - except poplib.error_proto, o: + except poplib.error_proto as o: raise getmailConfigurationError( 'server does not support *ENV (%s)' % o ) --- ./getmailcore/imap_utf7.py (original) +++ ./getmailcore/imap_utf7.py (refactored) @@ -82,7 +82,7 @@ # def modified_unbase64(s): b = binascii.a2b_base64(s.replace(',', '/') + '===') - return unicode(b, 'utf-16be') + return str(b, 'utf-16be') def decoder(s): r = [] --- ./getmailcore/filters.py (original) +++ ./getmailcore/filters.py (refactored) @@ -63,7 +63,7 @@ ConfigurableBase.__init__(self, **args) try: self.initialize() - except KeyError, o: + except KeyError as o: raise getmailConfigurationError( 'missing required configuration parameter %s' % o ) @@ -203,7 +203,7 @@ frozenset(self.exitcodes_drop) ): raise getmailConfigurationError('exitcode sets intersect') - except ValueError, o: + except ValueError as o: raise getmailConfigurationError('invalid exit code specified (%s)' RefactoringTool: Refactored ./getmailcore/exceptions.py RefactoringTool: Refactored ./getmailcore/constants.py RefactoringTool: Refactored ./getmailcore/_pop3ssl.py RefactoringTool: No changes to ./getmailcore/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./getmailcore/message.py RefactoringTool: ./getmailcore/destinations.py RefactoringTool: ./getmailcore/compatibility.py RefactoringTool: ./getmailcore/baseclasses.py RefactoringTool: ./getmailcore/_retrieverbases.py RefactoringTool: ./getmailcore/utilities.py RefactoringTool: ./getmailcore/retrievers.py RefactoringTool: ./getmailcore/logging.py RefactoringTool: ./getmailcore/imap_utf7.py RefactoringTool: ./getmailcore/filters.py RefactoringTool: ./getmailcore/exceptions.py RefactoringTool: ./getmailcore/constants.py RefactoringTool: ./getmailcore/_pop3ssl.py RefactoringTool: ./getmailcore/__init__.py % o) @@ -235,14 +235,14 @@ args = [self.conf['path'], self.conf['path']] for arg in self.conf['arguments']: arg = expand_user_vars(arg) - for (key, value) in msginfo.items(): + for (key, value) in list(msginfo.items()): arg = arg.replace('%%(%s)' % key, value) args.append(arg) # Can't log this; if --trace is on, it will be written to the # message passed to the filter. #self.log.debug('about to execl() with args %s\n' % str(args)) os.execl(*args) - except StandardError, o: + except Exception as o: # Child process; any error must cause us to exit nonzero for parent # to detect it self.log.critical('exec of filter %s failed (%s)' @@ -439,7 +439,7 @@ ',EXT="%(EXT)s"' % os.environ) self.log.debug('about to execl() with args %s\n' % str(args)) os.execl(*args) - except StandardError, o: + except Exception as o: # Child process; any error must cause us to exit nonzero for parent # to detect it self.log.critical('exec of filter %s failed (%s)' --- ./getmailcore/exceptions.py (original) +++ ./getmailcore/exceptions.py (refactored) @@ -17,7 +17,7 @@ ] # Base class for all getmail exceptions -class getmailError(StandardError): +class getmailError(Exception): '''Base class for all getmail exceptions.''' pass --- ./getmailcore/constants.py (original) +++ ./getmailcore/constants.py (refactored) @@ -1,7 +1,7 @@ #!/usr/bin/env python2.3 # Log levels -(TRACE, DEBUG, MOREINFO, INFO, WARNING, ERROR, CRITICAL) = range(1, 8) +(TRACE, DEBUG, MOREINFO, INFO, WARNING, ERROR, CRITICAL) = list(range(1, 8)) # Components of stack trace (indices to tuple) FILENAME = 0 --- ./getmailcore/_pop3ssl.py (original) +++ ./getmailcore/_pop3ssl.py (refactored) @@ -99,7 +99,7 @@ log.trace('end of loop\n') log.trace('returning line "%r"\n' % line) return line - except (socket.sslerror, socket.error), o: + except (socket.sslerror, socket.error) as o: raise getmailOperationError( 'socket/ssl error while reading from server (%s)' % o ) @@ -130,14 +130,14 @@ self.sock = sslsocket(self.rawsock, keyfile, certfile) else: self.sock = sslsocket(self.rawsock) - except socket.error, msg: + except socket.error as msg: if self.rawsock: self.rawsock.close() self.rawsock = None continue break if not self.sock: - raise socket.error, msg + raise socket.error(msg) self._debugging = 0 self.welcome = self._getresp() @@ -147,7 +147,7 @@ def _getline(self): line = self.sock.readline() if self._debugging > 1: - print '*get*', `line` + print('*get*', repr(line)) if not line: raise error_proto('-ERR EOF') octets = len(line) @@ -165,7 +165,7 @@ """ try: resp = self._shortcmd('QUIT') - except (error_proto, socket.error), val: + except (error_proto, socket.error) as val: resp = val self.sock.close() del self.sock + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.1039 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd getmail-5.14 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/getmailcore copying getmailcore/message.py -> build/lib/getmailcore copying getmailcore/destinations.py -> build/lib/getmailcore copying getmailcore/compatibility.py -> build/lib/getmailcore copying getmailcore/baseclasses.py -> build/lib/getmailcore copying getmailcore/_retrieverbases.py -> build/lib/getmailcore copying getmailcore/utilities.py -> build/lib/getmailcore copying getmailcore/retrievers.py -> build/lib/getmailcore copying getmailcore/logging.py -> build/lib/getmailcore copying getmailcore/imap_utf7.py -> build/lib/getmailcore copying getmailcore/filters.py -> build/lib/getmailcore copying getmailcore/exceptions.py -> build/lib/getmailcore copying getmailcore/constants.py -> build/lib/getmailcore copying getmailcore/_pop3ssl.py -> build/lib/getmailcore copying getmailcore/__init__.py -> build/lib/getmailcore running build_scripts creating build/scripts-3.8 copying and adjusting getmail -> build/scripts-3.8 copying and adjusting getmail_fetch -> build/scripts-3.8 copying and adjusting getmail_maildir -> build/scripts-3.8 copying and adjusting getmail_mbox -> build/scripts-3.8 copying and adjusting getmail-gmail-xoauth-tokens -> build/scripts-3.8 changing mode of build/scripts-3.8/getmail from 644 to 755 changing mode of build/scripts-3.8/getmail_fetch from 644 to 755 changing mode of build/scripts-3.8/getmail_maildir from 644 to 755 changing mode of build/scripts-3.8/getmail_mbox from 644 to 755 changing mode of build/scripts-3.8/getmail-gmail-xoauth-tokens from 644 to 755 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.1039 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/getmail-buildroot + : + /bin/rm -rf -- /usr/src/tmp/getmail-buildroot + cd getmail-5.14 + 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/getmail-buildroot --force --optimize=2 running install running install_lib creating /usr/src/tmp/getmail-buildroot creating /usr/src/tmp/getmail-buildroot/usr creating /usr/src/tmp/getmail-buildroot/usr/lib creating /usr/src/tmp/getmail-buildroot/usr/lib/python3 creating /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/__init__.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/_pop3ssl.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/constants.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/exceptions.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/filters.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/imap_utf7.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/logging.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/retrievers.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/utilities.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/_retrieverbases.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/baseclasses.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/compatibility.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/destinations.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore copying build/lib/getmailcore/message.py -> /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_pop3ssl.py to _pop3ssl.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/constants.py to constants.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/exceptions.py to exceptions.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/filters.py to filters.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/imap_utf7.py to imap_utf7.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/logging.py to logging.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/retrievers.py to retrievers.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py to utilities.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py to _retrieverbases.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/baseclasses.py to baseclasses.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/compatibility.py to compatibility.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/destinations.py to destinations.cpython-38.pyc byte-compiling /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/message.py to message.cpython-38.pyc writing byte-compilation script '/usr/src/tmp/tmpwncf4b89.py' /usr/bin/python3 /usr/src/tmp/tmpwncf4b89.py /usr/lib/python3/site-packages/getmailcore/utilities.py:588: SyntaxWarning: "is" with a literal. Did you mean "=="? removing /usr/src/tmp/tmpwncf4b89.py running install_scripts creating /usr/src/tmp/getmail-buildroot/usr/bin copying build/scripts-3.8/getmail-gmail-xoauth-tokens -> /usr/src/tmp/getmail-buildroot/usr/bin copying build/scripts-3.8/getmail_mbox -> /usr/src/tmp/getmail-buildroot/usr/bin copying build/scripts-3.8/getmail_maildir -> /usr/src/tmp/getmail-buildroot/usr/bin copying build/scripts-3.8/getmail_fetch -> /usr/src/tmp/getmail-buildroot/usr/bin copying build/scripts-3.8/getmail -> /usr/src/tmp/getmail-buildroot/usr/bin changing mode of /usr/src/tmp/getmail-buildroot/usr/bin/getmail-gmail-xoauth-tokens to 755 changing mode of /usr/src/tmp/getmail-buildroot/usr/bin/getmail_mbox to 755 changing mode of /usr/src/tmp/getmail-buildroot/usr/bin/getmail_maildir to 755 changing mode of /usr/src/tmp/getmail-buildroot/usr/bin/getmail_fetch to 755 changing mode of /usr/src/tmp/getmail-buildroot/usr/bin/getmail to 755 running install_data creating /usr/src/tmp/getmail-buildroot/usr/share creating /usr/src/tmp/getmail-buildroot/usr/share/doc creating /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying ./README -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying ./getmail.spec -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/BUGS -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/COPYING -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/CHANGELOG -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/TODO -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/THANKS -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/configuration.html -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/configuration.txt -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/documentation.html -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/documentation.txt -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/faq.html -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/faq.txt -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/getmaildocs.css -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/getmailrc-examples -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/troubleshooting.html -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 copying docs/troubleshooting.txt -> /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 creating /usr/src/tmp/getmail-buildroot/usr/share/man creating /usr/src/tmp/getmail-buildroot/usr/share/man/man1 copying docs/getmail.1 -> /usr/src/tmp/getmail-buildroot/usr/share/man/man1 copying docs/getmail_fetch.1 -> /usr/src/tmp/getmail-buildroot/usr/share/man/man1 copying docs/getmail_maildir.1 -> /usr/src/tmp/getmail-buildroot/usr/share/man/man1 copying docs/getmail_mbox.1 -> /usr/src/tmp/getmail-buildroot/usr/share/man/man1 running install_egg_info Writing /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmail-5.14-py3.8.egg-info /usr/lib/python3/site-packages/getmailcore/utilities.py:588: SyntaxWarning: "is" with a literal. Did you mean "=="? + pushd docs ~/RPM/BUILD/getmail-5.14/docs ~/RPM/BUILD/getmail-5.14 + mv CHANGELOG THANKS COPYING BUGS TODO ../ + popd ~/RPM/BUILD/getmail-5.14 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/getmail-buildroot (auto) Verifying and fixing files in /usr/src/tmp/getmail-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/getmail-buildroot/ (default) Compressing files in /usr/src/tmp/getmail-buildroot (auto) Adjusting library links in /usr/src/tmp/getmail-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/getmail-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/getmail-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/getmail-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/getmail-buildroot using /usr/bin/python3 /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py:588: SyntaxWarning: "is" with a literal. Did you mean "=="? if ssl_fingerprints is (): unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/__init__.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/_pop3ssl.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/_pop3ssl.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/_retrieverbases.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/_retrieverbases.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/baseclasses.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/baseclasses.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/compatibility.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/compatibility.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/destinations.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/destinations.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/exceptions.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/exceptions.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/filters.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/filters.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/imap_utf7.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/imap_utf7.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/logging.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/logging.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/message.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/message.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/retrievers.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/retrievers.cpython-38.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/utilities.cpython-38.opt-2.pyc unlink /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__pycache__/utilities.cpython-38.pyc compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__init__.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_pop3ssl.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/baseclasses.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/compatibility.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/constants.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/destinations.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/exceptions.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/filters.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/imap_utf7.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/logging.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/message.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/retrievers.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py Bytecompiling python3 modules with optimization in /usr/src/tmp/getmail-buildroot using /usr/bin/python3 -O /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py:588: SyntaxWarning: "is" with a literal. Did you mean "=="? if ssl_fingerprints is (): compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__init__.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_pop3ssl.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/baseclasses.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/compatibility.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/constants.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/destinations.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/exceptions.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/filters.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/imap_utf7.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/logging.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/message.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/retrievers.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/getmail-buildroot using /usr/bin/python3 -OO /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py:588: SyntaxWarning: "is" with a literal. Did you mean "=="? if ssl_fingerprints is (): compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__init__.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_pop3ssl.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/baseclasses.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/compatibility.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/constants.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/destinations.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/exceptions.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/filters.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/imap_utf7.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/logging.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/message.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/retrievers.py compile /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/getmailcore/__pycache__/retrievers.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/retrievers.cpython-38.pyc' './usr/lib/python3/site-packages/getmailcore/__pycache__/message.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/message.cpython-38.pyc' './usr/lib/python3/site-packages/getmailcore/__pycache__/logging.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/logging.cpython-38.pyc' './usr/lib/python3/site-packages/getmailcore/__pycache__/imap_utf7.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/imap_utf7.cpython-38.pyc' './usr/lib/python3/site-packages/getmailcore/__pycache__/filters.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/filters.cpython-38.pyc' './usr/lib/python3/site-packages/getmailcore/__pycache__/exceptions.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/exceptions.cpython-38.pyc' './usr/lib/python3/site-packages/getmailcore/__pycache__/destinations.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/destinations.cpython-38.pyc' './usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-38.pyc' './usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/getmailcore/__pycache__/baseclasses.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/baseclasses.cpython-38.pyc' './usr/lib/python3/site-packages/getmailcore/__pycache__/_pop3ssl.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/_pop3ssl.cpython-38.pyc' './usr/lib/python3/site-packages/getmailcore/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/getmailcore/__pycache__/__init__.cpython-38.pyc' Hardlinking identical .pyc and .pyo files Processing files: getmail-5.14-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.74241 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd getmail-5.14 + DOCDIR=/usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 + export DOCDIR + rm -rf /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 + /bin/mkdir -p /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 + cp -prL COPYING docs/ /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 + chmod -R go-w /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 + chmod -R a+rX /usr/src/tmp/getmail-buildroot/usr/share/doc/getmail-5.14 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VuZIIT 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.IZIy1U 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/getmail-buildroot/usr/bin/getmail: skipping sys python3.req: /usr/src/tmp/getmail-buildroot/usr/bin/getmail: skipping time python3.req: /usr/src/tmp/getmail-buildroot/usr/bin/getmail: skipping errno /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/bin/getmail: line=22 IGNORE (for REQ=slight and deep=8) module=gnomekeyring /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/bin/getmail: line=23 IGNORE (for REQ=slight and deep=8) module=glib /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/bin/getmail: line=54 IGNORE (for REQ=slight and deep=8) module=syslog /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/bin/getmail: line=59 IGNORE (for REQ=slight and deep=8) module=getmailcore /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/bin/getmail: line=61 IGNORE (for REQ=slight and deep=8) module=getmailcore.exceptions /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/bin/getmail: line=62 IGNORE (for REQ=slight and deep=8) module=getmailcore.utilities /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/bin/getmail: line=920 IGNORE (for REQ=slight and deep=12) module=traceback python3.req: /usr/src/tmp/getmail-buildroot/usr/bin/getmail-gmail-xoauth-tokens: skipping sys python3.req: /usr/src/tmp/getmail-buildroot/usr/bin/getmail-gmail-xoauth-tokens: skipping time python3.req: /usr/src/tmp/getmail-buildroot/usr/bin/getmail_fetch: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/bin/getmail_fetch: line=16 IGNORE (for REQ=slight and deep=8) module=getmailcore /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/bin/getmail_fetch: line=18 IGNORE (for REQ=slight and deep=8) module=getmailcore.exceptions /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/bin/getmail_fetch: line=228 IGNORE (for REQ=slight and deep=12) module=traceback python3.req: /usr/src/tmp/getmail-buildroot/usr/bin/getmail_maildir: skipping sys python3.req: /usr/src/tmp/getmail-buildroot/usr/bin/getmail_mbox: skipping sys python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__init__.py: skipping sys python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py: skipping sys python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py: line=52 IGNORE (for REQ=slight and deep=8) module=kerberos /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py: line=61 IGNORE (for REQ=slight and deep=8) module=ssl /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py: line=65 IGNORE (for REQ=slight and deep=8) module=hashlib /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py: line=213 IGNORE (for REQ=slight and deep=8) module=email.header /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py: line=216 IGNORE (for REQ=slight and deep=8) module=email.Header python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/baseclasses.py: skipping sys python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/baseclasses.py: skipping time python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/compatibility.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/compatibility.py: line=18 IGNORE (for REQ=slight and deep=8) module=sets python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/destinations.py: skipping pwd python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/logging.py: skipping sys python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/message.py: skipping sys python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/message.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/message.py: line=21 IGNORE (for REQ=slight and deep=8) module=email.header /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/message.py: line=24 IGNORE (for REQ=slight and deep=12) module=email.Header /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/message.py: line=27 IGNORE (for REQ=slight and deep=12) module=email python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py: skipping time python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py: skipping pwd python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py: skipping sys python3.req: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py: skipping errno /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py: line=51 IGNORE (for REQ=slight and deep=8) module=subprocess /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py: line=58 IGNORE (for REQ=slight and deep=8) module=ssl /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py: line=62 IGNORE (for REQ=slight and deep=8) module=hashlib /usr/lib/rpm/python3.req.py: /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py: line=68 IGNORE (for REQ=slight and deep=8) module=gnomekeyring shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/__init__.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_pop3ssl.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/_retrieverbases.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/baseclasses.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/compatibility.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/constants.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/destinations.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/exceptions.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/filters.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/logging.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/message.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/retrievers.py is not executable shebang.req.files: executable script /usr/src/tmp/getmail-buildroot/usr/lib/python3/site-packages/getmailcore/utilities.py is not executable Provides: python3(getmailcore), python3(getmailcore._pop3ssl), python3(getmailcore._retrieverbases), python3(getmailcore.baseclasses), python3(getmailcore.compatibility), python3(getmailcore.constants), python3(getmailcore.destinations), python3(getmailcore.exceptions), python3(getmailcore.filters), python3(getmailcore.imap_utf7), python3(getmailcore.logging), python3(getmailcore.message), python3(getmailcore.retrievers), python3(getmailcore.utilities) Requires: /usr/bin/python3, /usr/lib/python3/site-packages, python3(argparse) < 0, python3(binascii) < 0, python3(codecs) < 0, python3(configparser) < 0, python3(email) < 0, python3(email.errors) < 0, python3(email.generator) < 0, python3(email.parser) < 0, python3(email.utils) < 0, python3(fcntl) < 0, python3(getpass) < 0, python3(glob) < 0, python3(grp) < 0, python3(imaplib) < 0, python3(io) < 0, python3(json) < 0, python3(optparse) < 0, python3(os) < 0, python3(os.path) < 0, python3(poplib) < 0, python3(pprint) < 0, python3(re) < 0, python3(select) < 0, python3(signal) < 0, python3(socket) < 0, python3(stat) < 0, python3(subprocess) < 0, python3(tempfile) < 0, python3(traceback) < 0, python3(types) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0 Wrote: /usr/src/RPM/RPMS/noarch/getmail-5.14-alt1.noarch.rpm 13.45user 0.64system 0:15.28elapsed 92%CPU (0avgtext+0avgdata 38120maxresident)k 0inputs+0outputs (0major+184455minor)pagefaults 0swaps /.out/getmail-5.14-alt1.noarch.rpm: The use of such a license name is ambiguous: GPL 20.82user 4.22system 0:27.19elapsed 92%CPU (0avgtext+0avgdata 114816maxresident)k 0inputs+0outputs (0major+629763minor)pagefaults 0swaps --- getmail-5.14-alt1.noarch.rpm.repo 2020-01-28 09:23:40.000000000 +0000 +++ getmail-5.14-alt1.noarch.rpm.hasher 2020-07-25 08:12:34.247149084 +0000 @@ -5,3 +5,3 @@ /usr/bin/getmail_mbox 100755 -/usr/lib/python3/site-packages/getmail-5.14-py3.7.egg-info 100644 +/usr/lib/python3/site-packages/getmail-5.14-py3.8.egg-info 100644 /usr/lib/python3/site-packages/getmailcore 40755 @@ -9,44 +9,44 @@ /usr/lib/python3/site-packages/getmailcore/__pycache__ 40755 -/usr/lib/python3/site-packages/getmailcore/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/_pop3ssl.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/_pop3ssl.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/_pop3ssl.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/_retrieverbases.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/_retrieverbases.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/_retrieverbases.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/baseclasses.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/baseclasses.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/baseclasses.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/compatibility.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/compatibility.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/compatibility.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/destinations.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/destinations.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/destinations.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/exceptions.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/exceptions.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/exceptions.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/filters.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/filters.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/filters.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/imap_utf7.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/imap_utf7.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/imap_utf7.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/logging.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/logging.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/logging.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/message.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/message.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/message.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/retrievers.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/retrievers.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/retrievers.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/utilities.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/utilities.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/getmailcore/__pycache__/utilities.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/_pop3ssl.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/_pop3ssl.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/_pop3ssl.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/_retrieverbases.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/_retrieverbases.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/_retrieverbases.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/baseclasses.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/baseclasses.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/baseclasses.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/compatibility.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/compatibility.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/compatibility.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/constants.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/destinations.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/destinations.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/destinations.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/exceptions.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/exceptions.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/exceptions.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/filters.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/filters.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/filters.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/imap_utf7.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/imap_utf7.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/imap_utf7.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/logging.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/logging.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/logging.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/message.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/message.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/message.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/retrievers.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/retrievers.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/retrievers.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/utilities.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/utilities.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/getmailcore/__pycache__/utilities.cpython-38.pyc 100644 /usr/lib/python3/site-packages/getmailcore/_pop3ssl.py 100644