<86>May 29 09:56:01 userdel[995038]: delete user 'rooter' <86>May 29 09:56:01 userdel[995038]: removed group 'rooter' owned by 'rooter' <86>May 29 09:56:01 userdel[995038]: removed shadow group 'rooter' owned by 'rooter' <86>May 29 09:56:01 groupadd[995047]: group added to /etc/group: name=rooter, GID=699 <86>May 29 09:56:01 groupadd[995047]: group added to /etc/gshadow: name=rooter <86>May 29 09:56:01 groupadd[995047]: new group: name=rooter, GID=699 <86>May 29 09:56:01 useradd[995058]: new user: name=rooter, UID=699, GID=699, home=/root, shell=/bin/bash <86>May 29 09:56:01 userdel[995084]: delete user 'builder' <86>May 29 09:56:01 userdel[995084]: removed group 'builder' owned by 'builder' <86>May 29 09:56:01 userdel[995084]: removed shadow group 'builder' owned by 'builder' <86>May 29 09:56:01 groupadd[995108]: group added to /etc/group: name=builder, GID=700 <86>May 29 09:56:01 groupadd[995108]: group added to /etc/gshadow: name=builder <86>May 29 09:56:01 groupadd[995108]: new group: name=builder, GID=700 <86>May 29 09:56:01 useradd[995122]: new user: name=builder, UID=700, GID=700, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-recaptcha-client-2.0.1-alt2.src.rpm: bad symbols in the license tag: / <13>May 29 09:56:03 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>May 29 09:56:03 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>May 29 09:56:03 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 29 09:56:03 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>May 29 09:56:03 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 29 09:56:03 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>May 29 09:56:03 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 29 09:56:03 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 29 09:56:03 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 29 09:56:03 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 29 09:56:03 rpmi: python3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 29 09:56:04 rpmi: python3-base-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 29 09:56:04 rpmi: libpython3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 29 09:56:04 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>May 29 09:56:04 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>May 29 09:56:07 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 29 09:56:07 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 29 09:56:07 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 29 09:56:07 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 29 09:56:07 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 29 09:56:07 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 29 09:56:07 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 29 09:56:07 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 29 09:56:07 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 29 09:56:07 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 29 09:56:07 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-recaptcha-client-2.0.1-alt2.nosrc.rpm (w1.gzdio) <13>May 29 09:56:09 rpmi: python3-module-pkg_resources-1:57.0.0-alt1 sisyphus+272429.100.1.1 1621886170 installed <13>May 29 09:56:09 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>May 29 09:56:09 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>May 29 09:56:09 rpmi: python3-dev-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 29 09:56:09 rpmi: python3-module-setuptools-1:57.0.0-alt1 sisyphus+272429.100.1.1 1621886170 installed Installing python3-module-recaptcha-client-2.0.1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.44430 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-recaptcha-client-2.0.1 + echo 'Source #0 (python3-module-recaptcha-client-2.0.1.tar):' Source #0 (python3-module-recaptcha-client-2.0.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-recaptcha-client-2.0.1.tar + cd python3-module-recaptcha-client-2.0.1 + /bin/chmod -c -Rf u+rwX,go-w . + find . -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ./setup.py RefactoringTool: No changes to ./recaptcha/client/mailhide.py RefactoringTool: Refactored ./recaptcha/client/captcha.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./recaptcha/client/mailhide.py RefactoringTool: ./recaptcha/client/captcha.py --- ./recaptcha/client/captcha.py (original) +++ ./recaptcha/client/captcha.py (refactored) @@ -1,4 +1,4 @@ -import urllib2, urllib +import urllib.request, urllib.error, urllib.parse, urllib.request, urllib.parse, urllib.error import simplejson as json API_SSL_SERVER="https://www.google.com/recaptcha/api" @@ -54,7 +54,7 @@ } def encode_if_necessary(s): - if isinstance(s, unicode): + if isinstance(s, str): return s.encode('utf-8') return s @@ -75,14 +75,14 @@ len (recaptcha_response_field) and len (recaptcha_challenge_field)): return RecaptchaResponse (is_valid = False, error_code = 'incorrect-captcha-sol') - params = urllib.urlencode ({ + params = urllib.parse.urlencode ({ 'privatekey': encode_if_necessary(private_key), 'remoteip' : encode_if_necessary(remoteip), 'challenge': encode_if_necessary(recaptcha_challenge_field), 'response' : encode_if_necessary(recaptcha_response_field), }) - request = urllib2.Request ( + request = urllib.request.Request ( url = "https://%s/recaptcha/api/verify" % VERIFY_SERVER, data = params, headers = { @@ -91,7 +91,7 @@ } ) - httpresp = urllib2.urlopen (request) + httpresp = urllib.request.urlopen (request) return_values = httpresp.read ().splitlines (); httpresp.close(); @@ -114,9 +114,9 @@ remoteip -- the user's ip address """ - request = urllib2.Request ( + request = urllib.request.Request ( url = "%s/siteverify" % API_SSL_SERVER, - data = urllib.urlencode( { + data = urllib.parse.urlencode( { 'secret': private_key, 'response': recaptcha_response_field, 'remoteip': remoteip } ), @@ -125,7 +125,7 @@ "User-agent": "reCAPTCHA Python" } ) try: - response = urllib2.urlopen(request) + response = urllib.request.urlopen(request) response_data = json.loads(response.read().decode("utf-8")) if response_data['success'] == True: @@ -138,5 +138,5 @@ return RecaptchaResponse(is_valid=False, error_code = ','.join(error)) - except Exception, e: + except Exception as e: return RecaptchaResponse( is_valid=False, error_code = 'request-failure: %s' % e) + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.37921 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-recaptcha-client-2.0.1 + 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/recaptcha copying recaptcha/__init__.py -> build/lib/recaptcha creating build/lib/recaptcha/client copying recaptcha/client/mailhide.py -> build/lib/recaptcha/client copying recaptcha/client/captcha.py -> build/lib/recaptcha/client copying recaptcha/client/__init__.py -> build/lib/recaptcha/client + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.36199 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-recaptcha-client-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-recaptcha-client-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-recaptcha-client-2.0.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-recaptcha-client-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-recaptcha-client-buildroot creating /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr creating /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib creating /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha creating /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client copying build/lib/recaptcha/client/__init__.py -> /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client copying build/lib/recaptcha/client/captcha.py -> /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client copying build/lib/recaptcha/client/mailhide.py -> /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client copying build/lib/recaptcha/__init__.py -> /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha byte-compiling /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/captcha.py to captcha.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/mailhide.py to mailhide.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/__init__.py to __init__.cpython-39.pyc running install_egg_info running egg_info creating recaptcha_client.egg-info writing recaptcha_client.egg-info/PKG-INFO writing dependency_links to recaptcha_client.egg-info/dependency_links.txt writing requirements to recaptcha_client.egg-info/requires.txt writing top-level names to recaptcha_client.egg-info/top_level.txt writing manifest file 'recaptcha_client.egg-info/SOURCES.txt' reading manifest file 'recaptcha_client.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'recaptcha_client.egg-info/SOURCES.txt' Copying recaptcha_client.egg-info to /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha_client-2.0.1-py3.9.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-recaptcha-client-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-recaptcha-client-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-recaptcha-client-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-recaptcha-client-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-recaptcha-client-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-recaptcha-client-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python3 modules in /usr/src/tmp/python3-module-recaptcha-client-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/__pycache__/__init__.cpython-39.pyc unlink /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/__pycache__/__init__.cpython-39.pyc unlink /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/__pycache__/captcha.cpython-39.pyc unlink /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/__pycache__/mailhide.cpython-39.pyc compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/__init__.py compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/captcha.py compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/mailhide.py compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/__init__.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-recaptcha-client-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/__init__.py compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/captcha.py compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/mailhide.py compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/__init__.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-recaptcha-client-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/__init__.py compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/captcha.py compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/mailhide.py compile /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/__init__.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/recaptcha/__pycache__/__init__.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/recaptcha/__pycache__/__init__.cpython-39.pyc' './usr/lib/python3/site-packages/recaptcha/__pycache__/__init__.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/recaptcha/__pycache__/__init__.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/recaptcha/client/__pycache__/__init__.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/recaptcha/client/__pycache__/__init__.cpython-39.pyc' './usr/lib/python3/site-packages/recaptcha/client/__pycache__/__init__.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/recaptcha/client/__pycache__/__init__.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/recaptcha/client/__pycache__/captcha.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/recaptcha/client/__pycache__/captcha.cpython-39.pyc' './usr/lib/python3/site-packages/recaptcha/client/__pycache__/mailhide.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/recaptcha/client/__pycache__/mailhide.cpython-39.pyc' Processing files: python3-module-recaptcha-client-2.0.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.X1IOUS 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.thVbmU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-recaptcha-client-buildroot/usr/lib/python3/site-packages/recaptcha/client/mailhide.py: line=5 IGNORE (for REQ=slight and deep=8) module=Crypto.Cipher Provides: python3(recaptcha), python3(recaptcha.client), python3(recaptcha.client.captcha), python3(recaptcha.client.mailhide) Requires: python3(Crypto) < 0, /usr/lib/python3/site-packages, python3(base64) < 0, python3(cgi) < 0, python3(simplejson) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-recaptcha-client-2.0.1-alt2.noarch.rpm (w2.lzdio) 3.99user 0.41system 0:05.91elapsed 74%CPU (0avgtext+0avgdata 19432maxresident)k 0inputs+0outputs (0major+122624minor)pagefaults 0swaps /.out/python3-module-recaptcha-client-2.0.1-alt2.noarch.rpm: bad symbols in the license tag: / 10.69user 3.52system 0:16.92elapsed 83%CPU (0avgtext+0avgdata 107608maxresident)k 0inputs+0outputs (0major+560503minor)pagefaults 0swaps