==> Retrieving sources... -> Found PyYAML-5.4.1.tar.gz ==> Generating checksums for source files... ==> Making package: python2-yaml 5.4.1.1-2 (Wed 20 Nov 2024 06:58:07 PM UTC) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (2) New Version Net Change extra/libyaml 0.2.5-3 0.18 MiB athena/python2 2.7.18-8 70.24 MiB Total Installed Size: 70.42 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 libyaml... :: 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/cython2 0.29.37-1 11.04 MiB athena/python2-setuptools 2:44.1.1-2 3.81 MiB Total Installed Size: 14.85 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 cython2... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found PyYAML-5.4.1.tar.gz ==> Validating source files with sha512sums... PyYAML-5.4.1.tar.gz ... Passed ==> Extracting sources... -> Extracting PyYAML-5.4.1.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/yaml copying lib/yaml/events.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/cyaml.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/constructor.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/dumper.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/resolver.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/__init__.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/scanner.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/tokens.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/reader.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/serializer.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/loader.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/composer.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/error.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/representer.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/nodes.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/parser.py -> build/lib.linux-x86_64-2.7/yaml copying lib/yaml/emitter.py -> build/lib.linux-x86_64-2.7/yaml creating build/lib.linux-x86_64-2.7/_yaml copying lib/_yaml/__init__.py -> build/lib.linux-x86_64-2.7/_yaml running build_ext cythoning yaml/_yaml.pyx to yaml/_yaml.c /usr/lib/python2.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /src/packages/libs/python2/python2-yaml/src/PyYAML-5.4.1/yaml/_yaml.pxd tree = Parsing.p_module(s, pxd, full_module_name) building 'yaml._yaml' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/yaml 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-yaml/src=/usr/src/debug/python2-yaml -flto=auto -fPIC -I/usr/include/python2.7 -c yaml/_yaml.c -o build/temp.linux-x86_64-2.7/yaml/_yaml.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from yaml/_yaml.c:750: yaml/_yaml.h:6:9: warning: "PyUnicode_FromString" redefined 6 | #define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict") | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python2.7/Python.h:88, from yaml/_yaml.c:6: /usr/include/python2.7/unicodeobject.h:281:10: note: this is the location of the previous definition 281 | # define PyUnicode_FromString PyUnicodeUCS4_FromString | ^~~~~~~~~~~~~~~~~~~~ yaml/_yaml.c: In function ‘__pyx_pf_4yaml_5_yaml_get_version_string’: yaml/_yaml.c:2068:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2068 | __pyx_v_value = yaml_get_version_string(); | ^ yaml/_yaml.c: In function ‘__pyx_pf_4yaml_5_yaml_7CParser___init__’: yaml/_yaml.c:3598:52: error: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type [-Wincompatible-pointer-types] 3598 | yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_4yaml_5_yaml_input_handler, ((void *)__pyx_v_self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void *, char *, size_t, size_t *) {aka int (*)(void *, char *, long unsigned int, long unsigned int *)} In file included from yaml/_yaml.h:2: /usr/include/yaml.h:1374:30: note: expected ‘int (*)(void *, unsigned char *, size_t, size_t *)’ {aka ‘int (*)(void *, unsigned char *, long unsigned int, long unsigned int *)’} but argument is of type ‘int (*)(void *, char *, size_t, size_t *)’ {aka ‘int (*)(void *, char *, long unsigned int, long unsigned int *)’} 1374 | yaml_read_handler_t *handler, void *data); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ yaml/_yaml.c: In function ‘__pyx_pf_4yaml_5_yaml_8CEmitter___init__’: yaml/_yaml.c:15309:53: error: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type [-Wincompatible-pointer-types] 15309 | yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_4yaml_5_yaml_output_handler, ((void *)__pyx_v_self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void *, char *, size_t) {aka int (*)(void *, char *, long unsigned int)} /usr/include/yaml.h:1844:31: note: expected ‘int (*)(void *, unsigned char *, size_t)’ {aka ‘int (*)(void *, unsigned char *, long unsigned int)’} but argument is of type ‘int (*)(void *, char *, size_t)’ {aka ‘int (*)(void *, char *, long unsigned int)’} 1844 | yaml_write_handler_t *handler, void *data); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 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 cython2 0.29.37-1 -11.04 MiB libyaml 0.2.5-3 -0.18 MiB python2 2.7.18-8 -70.24 MiB python2-setuptools 2:44.1.1-2 -3.81 MiB Total Removed Size: 85.27 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing libyaml... removing cython2... removing python2-setuptools... removing python2... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...