Mock Version: 2.12
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-telethon.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1636071095.312260/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffa1ee27c0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hdhrlae6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hdhrlae6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6fb6c49ec5eb47159b3547e059b04c21', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1636071095.312260/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hdhrlae6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-telethon.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False
Building target platforms: aarch64
Building for target aarch64
setting SOURCE_DATE_EPOCH=1590710400
Wrote: /builddir/build/SRPMS/python-telethon-1.22.0-1.fc36.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-telethon.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1636071095.312260/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffa1ee27c0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hdhrlae6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hdhrlae6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c248ea6939f94c6ab14c40d605ebdf46', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1636071095.312260/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hdhrlae6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-telethon.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False
Building target platforms: aarch64
Building for target aarch64
setting SOURCE_DATE_EPOCH=1590710400
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c1Nf3X
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf Telethon-1.22.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/telethon-1.22.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Telethon-1.22.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.c3Ij6s
+ umask 022
+ cd /builddir/build/BUILD
+ cd Telethon-1.22.0
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '
+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s'
Generating TLObjects...
Generating RPCErrors...
running build
running build_py
creating build
creating build/lib
creating build/lib/telethon
copying telethon/version.py -> build/lib/telethon
copying telethon/utils.py -> build/lib/telethon
copying telethon/sync.py -> build/lib/telethon
copying telethon/statecache.py -> build/lib/telethon
copying telethon/requestiter.py -> build/lib/telethon
copying telethon/password.py -> build/lib/telethon
copying telethon/hints.py -> build/lib/telethon
copying telethon/helpers.py -> build/lib/telethon
copying telethon/entitycache.py -> build/lib/telethon
copying telethon/__init__.py -> build/lib/telethon
creating build/lib/telethon/tl
copying telethon/tl/alltlobjects.py -> build/lib/telethon/tl
copying telethon/tl/tlobject.py -> build/lib/telethon/tl
copying telethon/tl/__init__.py -> build/lib/telethon/tl
creating build/lib/telethon/sessions
copying telethon/sessions/string.py -> build/lib/telethon/sessions
copying telethon/sessions/sqlite.py -> build/lib/telethon/sessions
copying telethon/sessions/memory.py -> build/lib/telethon/sessions
copying telethon/sessions/abstract.py -> build/lib/telethon/sessions
copying telethon/sessions/__init__.py -> build/lib/telethon/sessions
creating build/lib/telethon/network
copying telethon/network/requeststate.py -> build/lib/telethon/network
copying telethon/network/mtprotostate.py -> build/lib/telethon/network
copying telethon/network/mtprotosender.py -> build/lib/telethon/network
copying telethon/network/mtprotoplainsender.py -> build/lib/telethon/network
copying telethon/network/authenticator.py -> build/lib/telethon/network
copying telethon/network/__init__.py -> build/lib/telethon/network
creating build/lib/telethon/extensions
copying telethon/extensions/messagepacker.py -> build/lib/telethon/extensions
copying telethon/extensions/markdown.py -> build/lib/telethon/extensions
copying telethon/extensions/html.py -> build/lib/telethon/extensions
copying telethon/extensions/binaryreader.py -> build/lib/telethon/extensions
copying telethon/extensions/__init__.py -> build/lib/telethon/extensions
creating build/lib/telethon/events
copying telethon/events/userupdate.py -> build/lib/telethon/events
copying telethon/events/raw.py -> build/lib/telethon/events
copying telethon/events/newmessage.py -> build/lib/telethon/events
copying telethon/events/messageread.py -> build/lib/telethon/events
copying telethon/events/messageedited.py -> build/lib/telethon/events
copying telethon/events/messagedeleted.py -> build/lib/telethon/events
copying telethon/events/inlinequery.py -> build/lib/telethon/events
copying telethon/events/common.py -> build/lib/telethon/events
copying telethon/events/chataction.py -> build/lib/telethon/events
copying telethon/events/callbackquery.py -> build/lib/telethon/events
copying telethon/events/album.py -> build/lib/telethon/events
copying telethon/events/__init__.py -> build/lib/telethon/events
creating build/lib/telethon/errors
copying telethon/errors/rpcerrorlist.py -> build/lib/telethon/errors
copying telethon/errors/rpcbaseerrors.py -> build/lib/telethon/errors
copying telethon/errors/common.py -> build/lib/telethon/errors
copying telethon/errors/__init__.py -> build/lib/telethon/errors
creating build/lib/telethon/crypto
copying telethon/crypto/rsa.py -> build/lib/telethon/crypto
copying telethon/crypto/libssl.py -> build/lib/telethon/crypto
copying telethon/crypto/factorization.py -> build/lib/telethon/crypto
copying telethon/crypto/cdndecrypter.py -> build/lib/telethon/crypto
copying telethon/crypto/authkey.py -> build/lib/telethon/crypto
copying telethon/crypto/aesctr.py -> build/lib/telethon/crypto
copying telethon/crypto/aes.py -> build/lib/telethon/crypto
copying telethon/crypto/__init__.py -> build/lib/telethon/crypto
creating build/lib/telethon/client
copying telethon/client/users.py -> build/lib/telethon/client
copying telethon/client/uploads.py -> build/lib/telethon/client
copying telethon/client/updates.py -> build/lib/telethon/client
copying telethon/client/telegramclient.py -> build/lib/telethon/client
copying telethon/client/telegrambaseclient.py -> build/lib/telethon/client
copying telethon/client/messages.py -> build/lib/telethon/client
copying telethon/client/messageparse.py -> build/lib/telethon/client
copying telethon/client/downloads.py -> build/lib/telethon/client
copying telethon/client/dialogs.py -> build/lib/telethon/client
copying telethon/client/chats.py -> build/lib/telethon/client
copying telethon/client/buttons.py -> build/lib/telethon/client
copying telethon/client/bots.py -> build/lib/telethon/client
copying telethon/client/auth.py -> build/lib/telethon/client
copying telethon/client/account.py -> build/lib/telethon/client
copying telethon/client/__init__.py -> build/lib/telethon/client
creating build/lib/telethon/tl/types
copying telethon/tl/types/stats.py -> build/lib/telethon/tl/types
copying telethon/tl/types/phone.py -> build/lib/telethon/tl/types
copying telethon/tl/types/payments.py -> build/lib/telethon/tl/types
copying telethon/tl/types/channels.py -> build/lib/telethon/tl/types
copying telethon/tl/types/account.py -> build/lib/telethon/tl/types
copying telethon/tl/types/upload.py -> build/lib/telethon/tl/types
copying telethon/tl/types/photos.py -> build/lib/telethon/tl/types
copying telethon/tl/types/updates.py -> build/lib/telethon/tl/types
copying telethon/tl/types/messages.py -> build/lib/telethon/tl/types
copying telethon/tl/types/contacts.py -> build/lib/telethon/tl/types
copying telethon/tl/types/auth.py -> build/lib/telethon/tl/types
copying telethon/tl/types/storage.py -> build/lib/telethon/tl/types
copying telethon/tl/types/help.py -> build/lib/telethon/tl/types
copying telethon/tl/types/__init__.py -> build/lib/telethon/tl/types
creating build/lib/telethon/tl/functions
copying telethon/tl/functions/stats.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/folders.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/langpack.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/phone.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/stickers.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/payments.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/bots.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/channels.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/help.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/upload.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/photos.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/updates.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/messages.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/contacts.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/users.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/account.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/auth.py -> build/lib/telethon/tl/functions
copying telethon/tl/functions/__init__.py -> build/lib/telethon/tl/functions
creating build/lib/telethon/tl/patched
copying telethon/tl/patched/__init__.py -> build/lib/telethon/tl/patched
creating build/lib/telethon/tl/custom
copying telethon/tl/custom/sendergetter.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/qrlogin.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/participantpermissions.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/messagebutton.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/message.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/inputsizedfile.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/inlineresults.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/inlineresult.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/inlinebuilder.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/forward.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/file.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/draft.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/dialog.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/conversation.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/chatgetter.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/button.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/adminlogevent.py -> build/lib/telethon/tl/custom
copying telethon/tl/custom/__init__.py -> build/lib/telethon/tl/custom
creating build/lib/telethon/tl/core
copying telethon/tl/core/tlmessage.py -> build/lib/telethon/tl/core
copying telethon/tl/core/rpcresult.py -> build/lib/telethon/tl/core
copying telethon/tl/core/messagecontainer.py -> build/lib/telethon/tl/core
copying telethon/tl/core/gzippacked.py -> build/lib/telethon/tl/core
copying telethon/tl/core/__init__.py -> build/lib/telethon/tl/core
creating build/lib/telethon/network/connection
copying telethon/network/connection/tcpobfuscated.py -> build/lib/telethon/network/connection
copying telethon/network/connection/tcpmtproxy.py -> build/lib/telethon/network/connection
copying telethon/network/connection/tcpintermediate.py -> build/lib/telethon/network/connection
copying telethon/network/connection/tcpfull.py -> build/lib/telethon/network/connection
copying telethon/network/connection/tcpabridged.py -> build/lib/telethon/network/connection
copying telethon/network/connection/http.py -> build/lib/telethon/network/connection
copying telethon/network/connection/connection.py -> build/lib/telethon/network/connection
copying telethon/network/connection/__init__.py -> build/lib/telethon/network/connection
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HD1SXp
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64
++ dirname /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64
+ cd Telethon-1.22.0
+ cat setup.py
#!/usr/bin/env python3
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
Extra supported commands are:
* gen, to generate the classes required for Telethon to run or docs
* pypi, to generate sdist, bdist_wheel, and push to PyPi
"""
import itertools
import json
import os
import re
import shutil
import sys
from pathlib import Path
from subprocess import run
from setuptools import find_packages, setup
# Needed since we're importing local files
sys.path.insert(0, os.path.dirname(__file__))
class TempWorkDir:
    """Switches the working directory to be the one on which this file lives,
       while within the 'with' block.
    """
    def __init__(self, new=None):
        self.original = None
        self.new = new or str(Path(__file__).parent.resolve())
    def __enter__(self):
        # os.chdir does not work with Path in Python 3.5.x
        self.original = str(Path('.').resolve())
        os.makedirs(self.new, exist_ok=True)
        os.chdir(self.new)
        return self
    def __exit__(self, *args):
        os.chdir(self.original)
GENERATOR_DIR = Path('telethon_generator')
LIBRARY_DIR = Path('telethon')
ERRORS_IN = GENERATOR_DIR / 'data/errors.csv'
ERRORS_OUT = LIBRARY_DIR / 'errors/rpcerrorlist.py'
METHODS_IN = GENERATOR_DIR / 'data/methods.csv'
# Which raw API methods are covered by *friendly* methods in the client?
FRIENDLY_IN = GENERATOR_DIR / 'data/friendly.csv'
TLOBJECT_IN_TLS = [Path(x) for x in GENERATOR_DIR.glob('data/*.tl')]
TLOBJECT_OUT = LIBRARY_DIR / 'tl'
IMPORT_DEPTH = 2
DOCS_IN_RES = GENERATOR_DIR / 'data/html'
DOCS_OUT = Path('docs')
def generate(which, action='gen'):
    from telethon_generator.parsers import\
        parse_errors, parse_methods, parse_tl, find_layer
    from telethon_generator.generators import\
        generate_errors, generate_tlobjects, generate_docs, clean_tlobjects
    layer = next(filter(None, map(find_layer, TLOBJECT_IN_TLS)))
    errors = list(parse_errors(ERRORS_IN))
    methods = list(parse_methods(METHODS_IN, FRIENDLY_IN, {e.str_code: e for e in errors}))
    tlobjects = list(itertools.chain(*(
        parse_tl(file, layer, methods) for file in TLOBJECT_IN_TLS)))
    if not which:
        which.extend(('tl', 'errors'))
    clean = action == 'clean'
    action = 'Cleaning' if clean else 'Generating'
    if 'all' in which:
        which.remove('all')
        for x in ('tl', 'errors', 'docs'):
            if x not in which:
                which.append(x)
    if 'tl' in which:
        which.remove('tl')
        print(action, 'TLObjects...')
        if clean:
            clean_tlobjects(TLOBJECT_OUT)
        else:
            generate_tlobjects(tlobjects, layer, IMPORT_DEPTH, TLOBJECT_OUT)
    if 'errors' in which:
        which.remove('errors')
        print(action, 'RPCErrors...')
        if clean:
            if ERRORS_OUT.is_file():
                ERRORS_OUT.unlink()
        else:
            with ERRORS_OUT.open('w') as file:
                generate_errors(errors, file)
    if 'docs' in which:
        which.remove('docs')
        print(action, 'documentation...')
        if clean:
            if DOCS_OUT.is_dir():
                shutil.rmtree(str(DOCS_OUT))
        else:
            in_path = DOCS_IN_RES.resolve()
            with TempWorkDir(DOCS_OUT):
                generate_docs(tlobjects, methods, layer, in_path)
    if 'json' in which:
        which.remove('json')
        print(action, 'JSON schema...')
        json_files = [x.with_suffix('.json') for x in TLOBJECT_IN_TLS]
        if clean:
            for file in json_files:
                if file.is_file():
                    file.unlink()
        else:
            def gen_json(fin, fout):
                meths = []
                constructors = []
                for tl in parse_tl(fin, layer):
                    if tl.is_function:
                        meths.append(tl.to_dict())
                    else:
                        constructors.append(tl.to_dict())
                what = {'constructors': constructors, 'methods': meths}
                with open(fout, 'w') as f:
                    json.dump(what, f, indent=2)
            for fs in zip(TLOBJECT_IN_TLS, json_files):
                gen_json(*fs)
    if which:
        print(
            'The following items were not understood:', which,
            '\n  Consider using only "tl", "errors" and/or "docs".'
            '\n  Using only "clean" will clean them. "all" to act on all.'
            '\n  For instance "gen tl errors".'
        )
def main(argv):
    if len(argv) >= 2 and argv[1] in ('gen', 'clean'):
        generate(argv[2:], argv[1])
    elif len(argv) >= 2 and argv[1] == 'pypi':
        # (Re)generate the code to make sure we don't push without it
        generate(['tl', 'errors'])
        # Try importing the telethon module to assert it has no errors
        try:
            import telethon
        except:
            print('Packaging for PyPi aborted, importing the module failed.')
            return
        remove_dirs = ['__pycache__', 'build', 'dist', 'Telethon.egg-info']
        for root, _dirs, _files in os.walk(LIBRARY_DIR, topdown=False):
            # setuptools is including __pycache__ for some reason (#1605)
            if root.endswith('/__pycache__'):
                remove_dirs.append(root)
        for x in remove_dirs:
            shutil.rmtree(x, ignore_errors=True)
        run('python3 setup.py sdist', shell=True)
        run('python3 setup.py bdist_wheel', shell=True)
        run('twine upload dist/*', shell=True)
        for x in ('build', 'dist', 'Telethon.egg-info'):
            shutil.rmtree(x, ignore_errors=True)
    else:
        # e.g. install from GitHub
        if GENERATOR_DIR.is_dir():
            generate(['tl', 'errors'])
        # Get the long description from the README file
        with open('README.rst', 'r', encoding='utf-8') as f:
            long_description = f.read()
        with open('telethon/version.py', 'r', encoding='utf-8') as f:
            version = re.search(r"^__version__\s*=\s*'(.*)'.*$",
                                f.read(), flags=re.MULTILINE).group(1)
        setup(
            name='Telethon',
            version=version,
            description="Full-featured Telegram client library for Python 3",
            long_description=long_description,
            url='https://github.com/LonamiWebs/Telethon',
            download_url='https://github.com/LonamiWebs/Telethon/releases',
            author='Lonami Exo',
            author_email='totufals@hotmail.com',
            license='MIT',
            # See https://stackoverflow.com/a/40300957/4759433
            # -> https://www.python.org/dev/peps/pep-0345/#requires-python
            # -> http://setuptools.readthedocs.io/en/latest/setuptools.html
            python_requires='>=3.5',
            # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
            classifiers=[
                #   3 - Alpha
                #   4 - Beta
                #   5 - Production/Stable
                'Development Status :: 5 - Production/Stable',
                'Intended Audience :: Developers',
                'Topic :: Communications :: Chat',
                'License :: OSI Approved :: MIT License',
                'Programming Language :: Python :: 3',
                'Programming Language :: Python :: 3.5',
                'Programming Language :: Python :: 3.6',
                'Programming Language :: Python :: 3.7',
                'Programming Language :: Python :: 3.8',
            ],
            keywords='telegram api chat client library messaging mtproto',
            packages=find_packages(exclude=[
                'telethon_*', 'tests*'
            ]),
            install_requires=['pyaes', 'rsa'],
            extras_require={
                'cryptg': ['cryptg']
            }
        )
if __name__ == '__main__':
    with TempWorkDir():
        main(sys.argv)
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '
+ /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64
Generating TLObjects...
Generating RPCErrors...
running install
running install_lib
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/account.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/auth.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/bots.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/buttons.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/chats.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/dialogs.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/downloads.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/messageparse.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/messages.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/telegrambaseclient.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/telegramclient.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/updates.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/uploads.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
copying build/lib/telethon/client/users.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto
copying build/lib/telethon/crypto/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto
copying build/lib/telethon/crypto/aes.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto
copying build/lib/telethon/crypto/aesctr.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto
copying build/lib/telethon/crypto/authkey.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto
copying build/lib/telethon/crypto/cdndecrypter.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto
copying build/lib/telethon/crypto/factorization.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto
copying build/lib/telethon/crypto/libssl.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto
copying build/lib/telethon/crypto/rsa.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/errors
copying build/lib/telethon/errors/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/errors
copying build/lib/telethon/errors/common.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/errors
copying build/lib/telethon/errors/rpcbaseerrors.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/errors
copying build/lib/telethon/errors/rpcerrorlist.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/errors
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/album.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/callbackquery.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/chataction.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/common.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/inlinequery.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/messagedeleted.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/messageedited.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/messageread.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/newmessage.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/raw.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
copying build/lib/telethon/events/userupdate.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/extensions
copying build/lib/telethon/extensions/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/extensions
copying build/lib/telethon/extensions/binaryreader.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/extensions
copying build/lib/telethon/extensions/html.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/extensions
copying build/lib/telethon/extensions/markdown.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/extensions
copying build/lib/telethon/extensions/messagepacker.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/extensions
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection
copying build/lib/telethon/network/connection/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection
copying build/lib/telethon/network/connection/connection.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection
copying build/lib/telethon/network/connection/http.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection
copying build/lib/telethon/network/connection/tcpabridged.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection
copying build/lib/telethon/network/connection/tcpfull.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection
copying build/lib/telethon/network/connection/tcpintermediate.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection
copying build/lib/telethon/network/connection/tcpmtproxy.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection
copying build/lib/telethon/network/connection/tcpobfuscated.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection
copying build/lib/telethon/network/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network
copying build/lib/telethon/network/authenticator.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network
copying build/lib/telethon/network/mtprotoplainsender.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network
copying build/lib/telethon/network/mtprotosender.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network
copying build/lib/telethon/network/mtprotostate.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network
copying build/lib/telethon/network/requeststate.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sessions
copying build/lib/telethon/sessions/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sessions
copying build/lib/telethon/sessions/abstract.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sessions
copying build/lib/telethon/sessions/memory.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sessions
copying build/lib/telethon/sessions/sqlite.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sessions
copying build/lib/telethon/sessions/string.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sessions
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/core
copying build/lib/telethon/tl/core/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/core
copying build/lib/telethon/tl/core/gzippacked.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/core
copying build/lib/telethon/tl/core/messagecontainer.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/core
copying build/lib/telethon/tl/core/rpcresult.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/core
copying build/lib/telethon/tl/core/tlmessage.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/core
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/adminlogevent.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/button.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/chatgetter.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/conversation.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/dialog.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/draft.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/file.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/forward.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/inlinebuilder.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/inlineresult.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/inlineresults.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/inputsizedfile.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/message.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/messagebutton.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/participantpermissions.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/qrlogin.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
copying build/lib/telethon/tl/custom/sendergetter.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/patched
copying build/lib/telethon/tl/patched/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/patched
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/auth.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/account.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/users.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/contacts.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/messages.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/updates.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/photos.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/upload.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/help.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/channels.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/bots.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/payments.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/stickers.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/phone.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/langpack.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/folders.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
copying build/lib/telethon/tl/functions/stats.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions
creating /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/help.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/storage.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/auth.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/contacts.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/messages.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/updates.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/photos.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/upload.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/account.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/channels.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/payments.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/phone.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/types/stats.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types
copying build/lib/telethon/tl/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl
copying build/lib/telethon/tl/tlobject.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl
copying build/lib/telethon/tl/alltlobjects.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl
copying build/lib/telethon/__init__.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon
copying build/lib/telethon/entitycache.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon
copying build/lib/telethon/helpers.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon
copying build/lib/telethon/hints.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon
copying build/lib/telethon/password.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon
copying build/lib/telethon/requestiter.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon
copying build/lib/telethon/statecache.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon
copying build/lib/telethon/sync.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon
copying build/lib/telethon/utils.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon
copying build/lib/telethon/version.py -> /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/account.py to account.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/auth.py to auth.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/bots.py to bots.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/buttons.py to buttons.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/chats.py to chats.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/dialogs.py to dialogs.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/downloads.py to downloads.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/messageparse.py to messageparse.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/messages.py to messages.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/telegrambaseclient.py to telegrambaseclient.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/telegramclient.py to telegramclient.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/updates.py to updates.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/uploads.py to uploads.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/client/users.py to users.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto/aes.py to aes.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto/aesctr.py to aesctr.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto/authkey.py to authkey.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto/cdndecrypter.py to cdndecrypter.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto/factorization.py to factorization.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto/libssl.py to libssl.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/crypto/rsa.py to rsa.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/errors/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/errors/common.py to common.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/errors/rpcbaseerrors.py to rpcbaseerrors.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/errors/rpcerrorlist.py to rpcerrorlist.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/album.py to album.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/callbackquery.py to callbackquery.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/chataction.py to chataction.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/common.py to common.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/inlinequery.py to inlinequery.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/messagedeleted.py to messagedeleted.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/messageedited.py to messageedited.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/messageread.py to messageread.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/newmessage.py to newmessage.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/raw.py to raw.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/events/userupdate.py to userupdate.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/extensions/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/extensions/binaryreader.py to binaryreader.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/extensions/html.py to html.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/extensions/markdown.py to markdown.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/extensions/messagepacker.py to messagepacker.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection/connection.py to connection.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection/http.py to http.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection/tcpabridged.py to tcpabridged.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection/tcpfull.py to tcpfull.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection/tcpintermediate.py to tcpintermediate.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection/tcpmtproxy.py to tcpmtproxy.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/connection/tcpobfuscated.py to tcpobfuscated.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/authenticator.py to authenticator.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/mtprotoplainsender.py to mtprotoplainsender.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/mtprotosender.py to mtprotosender.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/mtprotostate.py to mtprotostate.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/network/requeststate.py to requeststate.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sessions/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sessions/abstract.py to abstract.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sessions/memory.py to memory.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sessions/sqlite.py to sqlite.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sessions/string.py to string.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/core/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/core/gzippacked.py to gzippacked.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/core/messagecontainer.py to messagecontainer.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/core/rpcresult.py to rpcresult.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/core/tlmessage.py to tlmessage.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/adminlogevent.py to adminlogevent.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/button.py to button.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/chatgetter.py to chatgetter.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/conversation.py to conversation.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/dialog.py to dialog.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/draft.py to draft.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/file.py to file.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/forward.py to forward.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/inlinebuilder.py to inlinebuilder.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/inlineresult.py to inlineresult.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/inlineresults.py to inlineresults.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/inputsizedfile.py to inputsizedfile.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/message.py to message.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/messagebutton.py to messagebutton.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/participantpermissions.py to participantpermissions.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/qrlogin.py to qrlogin.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/custom/sendergetter.py to sendergetter.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/patched/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/auth.py to auth.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/account.py to account.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/users.py to users.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/contacts.py to contacts.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/messages.py to messages.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/updates.py to updates.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/photos.py to photos.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/upload.py to upload.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/help.py to help.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/channels.py to channels.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/bots.py to bots.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/payments.py to payments.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/stickers.py to stickers.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/phone.py to phone.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/langpack.py to langpack.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/folders.py to folders.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/functions/stats.py to stats.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/help.py to help.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/storage.py to storage.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/auth.py to auth.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/contacts.py to contacts.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/messages.py to messages.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/updates.py to updates.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/photos.py to photos.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/upload.py to upload.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/account.py to account.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/channels.py to channels.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/payments.py to payments.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/phone.py to phone.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/types/stats.py to stats.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/tlobject.py to tlobject.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/tl/alltlobjects.py to alltlobjects.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/__init__.py to __init__.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/entitycache.py to entitycache.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/helpers.py to helpers.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/hints.py to hints.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/password.py to password.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/requestiter.py to requestiter.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/statecache.py to statecache.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/sync.py to sync.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/utils.py to utils.cpython-310.pyc
byte-compiling /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/telethon/version.py to version.cpython-310.pyc
writing byte-compilation script '/tmp/tmpmgattu5o.py'
/usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmpmgattu5o.py
removing /tmp/tmpmgattu5o.py
running install_egg_info
running egg_info
creating Telethon.egg-info
writing Telethon.egg-info/PKG-INFO
writing dependency_links to Telethon.egg-info/dependency_links.txt
writing requirements to Telethon.egg-info/requires.txt
writing top-level names to Telethon.egg-info/top_level.txt
writing manifest file 'Telethon.egg-info/SOURCES.txt'
reading manifest file 'Telethon.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'Telethon.egg-info/SOURCES.txt'
Copying Telethon.egg-info to /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages/Telethon-1.22.0-py3.10.egg-info
running install_scripts
+ rm -rfv /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/bin/__pycache__
+ /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.22.0-1.fc36 --unique-debug-suffix -1.22.0-1.fc36.aarch64 --unique-debug-src-base python-telethon-1.22.0-1.fc36.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Telethon-1.22.0
find: 'debug': No such file or directory
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0
Bytecompiling .py files below /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10 using python3.10
+ /usr/lib/rpm/redhat/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zGNOwq
+ umask 022
+ cd /builddir/build/BUILD
+ cd Telethon-1.22.0
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '
+ PATH=/builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ PYTHONPATH=/builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/lib/python3.10/site-packages
+ PYTHONDONTWRITEBYTECODE=1
+ /usr/bin/pytest
============================= test session starts ==============================
platform linux -- Python 3.10.0, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
rootdir: /builddir/build/BUILD/Telethon-1.22.0
plugins: asyncio-0.14.0
collected 31 items
tests/readthedocs/quick_references/test_client_reference.py .            [  3%]
tests/telethon/test_helpers.py ....                                      [ 16%]
tests/telethon/test_pickle.py ....                                       [ 29%]
tests/telethon/test_utils.py ..                                          [ 35%]
tests/telethon/client/test_messages.py .                                 [ 38%]
tests/telethon/crypto/test_rsa.py ....                                   [ 51%]
tests/telethon/events/test_chataction.py ....                            [ 64%]
tests/telethon/extensions/test_html.py .....                             [ 80%]
tests/telethon/extensions/test_markdown.py .....                         [ 96%]
tests/telethon/tl/test_serialization.py .                                [100%]
============================== 31 passed in 1.73s ==============================
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: python3-telethon-1.22.0-1.fc36.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OUSo4B
+ umask 022
+ cd /builddir/build/BUILD
+ cd Telethon-1.22.0
+ DOCDIR=/builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/share/doc/python3-telethon
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/share/doc/python3-telethon
+ cp -pr README.rst /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/share/doc/python3-telethon
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Yd7S3o
+ umask 022
+ cd /builddir/build/BUILD
+ cd Telethon-1.22.0
+ LICENSEDIR=/builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/share/licenses/python3-telethon
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/share/licenses/python3-telethon
+ cp -pr LICENSE /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64/usr/share/licenses/python3-telethon
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: python-telethon = 1.22.0-1.fc36 python3-telethon = 1.22.0-1.fc36 python3.10-telethon = 1.22.0-1.fc36 python3.10dist(telethon) = 1.22 python3dist(telethon) = 1.22
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: python(abi) = 3.10 python3.10dist(pyaes) python3.10dist(rsa)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64
Wrote: /builddir/build/RPMS/python3-telethon-1.22.0-1.fc36.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3bhwd4
+ umask 022
+ cd /builddir/build/BUILD
+ cd Telethon-1.22.0
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/python-telethon-1.22.0-1.fc36.aarch64
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0