Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing setuptools-build-hook Using setuptoolsBuildPhase Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Running phase: unpackPhase unpacking source archive /nix/store/57qiv9bfxhknrq0bpbbd6ps01q744lh0-sabyenc-3.3.6.tar.gz source root is sabyenc-3.3.6 setting SOURCE_DATE_EPOCH to timestamp 1561198828 of file "sabyenc-3.3.6/setup.cfg" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing setuptoolsBuildPhase setup.py build flags: '' running bdist_wheel running build running build_ext building 'sabyenc' extension creating build/temp.linux-x86_64-cpython-313/src gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -I/nix/store/cy9r24swns95mwf56n8krzy5jlcmn1qp-libxcrypt-4.4.38/include -fPIC -I/nix/store/1rp7i946hi7fa2wwx2f66w9jsqjh4n08-python3-3.13.2/include/python3.13 -c src/sabyenc.c -o build/temp.linux-x86_64-cpython-313/src/sabyenc.o src/sabyenc.c: In function ‘decode_buffer_usenet’: src/sabyenc.c:140:16: error: implicit declaration of function ‘PyString_AsString’ [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 140 | cur_char = PyString_AsString(PyList_GetItem(Py_input_list, 0)); | ^~~~~~~~~~~~~~~~~ src/sabyenc.c:140:14: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 140 | cur_char = PyString_AsString(PyList_GetItem(Py_input_list, 0)); | ^ src/sabyenc.c:219:26: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 219 | cur_char = PyString_AsString(PyList_GetItem(Py_input_list, list_index)); | ^ src/sabyenc.c:239:36: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 239 | crc_holder = PyString_AsString(PyList_GetItem(Py_input_list, list_index+1)); | ^ src/sabyenc.c: In function ‘find_text_in_pylist’: src/sabyenc.c:377:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 377 | next_string = PyString_AsString(PyList_GetItem(Py_input_list, *cur_index)); | ^ src/sabyenc.c: In function ‘extract_int_from_pylist’: src/sabyenc.c:450:21: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 450 | item_holder = PyString_AsString(PyList_GetItem(Py_input_list, *cur_index)); | ^ src/sabyenc.c: In function ‘extract_filename_from_pylist’: src/sabyenc.c:508:42: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 508 | *start_loc = end_loc = PyString_AsString(PyList_GetItem(Py_input_list, *cur_index)); | ^ src/sabyenc.c: In function ‘decode_usenet_chunks’: src/sabyenc.c:568:40: error: implicit declaration of function ‘PyString_Size’; did you mean ‘PyMapping_Size’? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 568 | num_bytes_reserved += (int)PyString_Size(PyList_GetItem(Py_input_list, lp)); | ^~~~~~~~~~~~~ | PyMapping_Size src/sabyenc.c:602:24: error: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 602 | Py_output_buffer = PyString_FromStringAndSize((char *)output_buffer, output_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | PyBytes_FromStringAndSize src/sabyenc.c:602:22: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 602 | Py_output_buffer = PyString_FromStringAndSize((char *)output_buffer, output_len); | ^ src/sabyenc.c: In function ‘initsabyenc’: src/sabyenc.c:622:14: error: implicit declaration of function ‘Py_InitModule3’ [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 622 | module = Py_InitModule3("sabyenc", funcs, "Raw yenc operations"); | ^~~~~~~~~~~~~~ src/sabyenc.c:622:12: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 622 | module = Py_InitModule3("sabyenc", funcs, "Raw yenc operations"); | ^ src/sabyenc.c: At top level: src/sabyenc.c:100:13: warning: ‘crc_update’ defined but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-function-Wunused-function8;;] 100 | static void crc_update(Crc32 *crc, uInt c) { | ^~~~~~~~~~ error: command '/nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/gcc' failed with exit code 1