==> Retrieving sources... -> Found M2Crypto-0.38.0.tar.gz ==> Generating checksums for source files... ==> Making package: python2-m2crypto 0.38.0-1 (Wed 20 Nov 2024 06:07:15 PM UTC) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (2) New Version Net Change athena/python2 2.7.18-8 70.24 MiB athena/python2-typing 3.10.0.0-2 0.28 MiB Total Installed Size: 70.52 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python2... Optional dependencies for python2 tk: for IDLE python2-setuptools python2-pip installing python2-typing... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (2) New Version Net Change athena/python2-setuptools 2:44.1.1-2 3.81 MiB extra/swig 4.2.1-3 4.85 MiB Total Installed Size: 8.66 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python2-setuptools... installing swig... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found M2Crypto-0.38.0.tar.gz ==> Validating source files with sha512sums... M2Crypto-0.38.0.tar.gz ... Passed ==> Extracting sources... -> Extracting M2Crypto-0.38.0.tar.gz with bsdtar ==> Starting build()... running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/RC4.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/six.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/BN.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/BIO.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/httpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/DH.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/callback.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/EVP.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/DSA.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/Err.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/threading.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/SMIME.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/ftpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/m2crypto.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/EC.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/m2.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/X509.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/util.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/Engine.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/ASN1.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/m2urllib.py -> build/lib.linux-x86_64-2.7/M2Crypto copying src/M2Crypto/Rand.py -> build/lib.linux-x86_64-2.7/M2Crypto creating build/lib.linux-x86_64-2.7/M2Crypto/SSL copying src/M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying src/M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying src/M2Crypto/SSL/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying src/M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying src/M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying src/M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying src/M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying src/M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying src/M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying src/M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying src/M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL running egg_info writing requirements to src/M2Crypto.egg-info/requires.txt writing src/M2Crypto.egg-info/PKG-INFO writing top-level names to src/M2Crypto.egg-info/top_level.txt writing dependency_links to src/M2Crypto.egg-info/dependency_links.txt reading manifest file 'src/M2Crypto.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'SWIG/*.i' warning: no files found matching 'SWIG/*.h' warning: no files found matching 'SWIG/*.def' warning: no files found matching 'SWIG/_m2crypto_wrap.c' warning: no files found matching 'M2Crypto/m2crypto.py' writing manifest file 'src/M2Crypto.egg-info/SOURCES.txt' running build_ext building 'M2Crypto._m2crypto' extension swigging src/SWIG/_m2crypto.i to src/SWIG/_m2crypto_wrap.c swig -python -I/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include-fixed -I/usr/include -D__x86_64__ -I/usr/include/python2.7 -I/usr/include/openssl -includeall -modern -builtin -outdir /src/packages/libs/python2/python2-m2crypto/src/M2Crypto-0.38.0/src/M2Crypto -o src/SWIG/_m2crypto_wrap.c src/SWIG/_m2crypto.i Deprecated command line option: -modern. Ignored, this option is now always on. /usr/include/features.h:449: Warning 202: Could not evaluate expression 'defined __cplusplus ? __cplusplus >= 201402L : defined __USE_ISOC11' /usr/include/features.h:449: Warning 202: Syntax error: expected operator /usr/include/features.h:467: Warning 202: Could not evaluate expression '(defined __USE_GNU \ && (defined __cplusplus \ ? (__cplusplus < 201103L && !defined __GXX_EXPERIMENTAL_CXX0X__) \ : (!defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L)))' /usr/include/features.h:467: Warning 202: Syntax error: expected operator /usr/include/sys/cdefs.h:688: Warning 202: Could not evaluate expression '(!defined _Noreturn \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ && !(__GNUC_PREREQ (4,7) \ || (3 < __clang_major__ + (5 <= __clang_minor__))))' /usr/include/sys/cdefs.h:688: Warning 202: Syntax error: expected operator /usr/include/sys/cdefs.h:718: Warning 202: Could not evaluate expression '(!defined _Static_assert && !defined __cplusplus \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ && (!(__GNUC_PREREQ (4, 6) || __clang_major__ >= 4) \ || defined __STRICT_ANSI__))' /usr/include/sys/cdefs.h:718: Warning 202: Syntax error: expected operator /usr/include/sys/cdefs.h:393: Warning 305: Bad constant value (ignored). creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/src creating build/temp.linux-x86_64-2.7/src/SWIG gcc -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/packages/pentesting/python2/src=/usr/src/debug/python2 -flto=auto -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/packages/pentesting/python2/src=/usr/src/debug/python2 -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/libs/python2/python2-m2crypto/src=/usr/src/debug/python2-m2crypto -flto=auto -fPIC -I/usr/include/python2.7 -I/src/packages/libs/python2/python2-m2crypto/src/M2Crypto-0.38.0/src/SWIG -c src/SWIG/_m2crypto_wrap.c -o build/temp.linux-x86_64-2.7/src/SWIG/_m2crypto_wrap.o -Wno-deprecated-declarations -DTHREADING : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition src/SWIG/_m2crypto_wrap.c:5279:9: warning: "PyUnicode_FromString" redefined 5279 | #define PyUnicode_FromString(x) PyString_FromString(x) | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python2.7/Python.h:88, from src/SWIG/_m2crypto_wrap.c:200: /usr/include/python2.7/unicodeobject.h:281:10: note: this is the location of the previous definition 281 | # define PyUnicode_FromString PyUnicodeUCS4_FromString | ^~~~~~~~~~~~~~~~~~~~ src/SWIG/_m2crypto_wrap.c:5280:9: warning: "PyUnicode_Format" redefined 5280 | #define PyUnicode_Format(x, y) PyString_Format(x, y) | ^~~~~~~~~~~~~~~~ /usr/include/python2.7/unicodeobject.h:275:10: note: this is the location of the previous definition 275 | # define PyUnicode_Format PyUnicodeUCS4_Format | ^~~~~~~~~~~~~~~~ src/SWIG/_m2crypto_wrap.c: In function ‘_wrap_fd_set___fds_bits_set’: src/SWIG/_m2crypto_wrap.c:11763:88: error: ‘fd_set’ has no member named ‘__fds_bits’; did you mean ‘fds_bits’? 11763 | for (; ii < (size_t)1024/(8*(int) sizeof(__fd_mask)); ++ii) *(__fd_mask *)&arg1->__fds_bits[ii] = *((__fd_mask *)arg2 + ii); | ^~~~~~~~~~ | fds_bits src/SWIG/_m2crypto_wrap.c: In function ‘_wrap_fd_set___fds_bits_get’: src/SWIG/_m2crypto_wrap.c:11788:48: error: ‘fd_set’ has no member named ‘__fds_bits’; did you mean ‘fds_bits’? 11788 | result = (__fd_mask *)(__fd_mask *) ((arg1)->__fds_bits); | ^~~~~~~~~~ | fds_bits error: command 'gcc' failed with exit status 1 ==> ERROR: A failure occurred in build(). Aborting... ==> Removing installed dependencies... checking dependencies... Package (4) Old Version Net Change python2 2.7.18-8 -70.24 MiB python2-setuptools 2:44.1.1-2 -3.81 MiB python2-typing 3.10.0.0-2 -0.28 MiB swig 4.2.1-3 -4.85 MiB Total Removed Size: 79.18 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing swig... removing python2-typing... removing python2-setuptools... removing python2... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...