-
Notifications
You must be signed in to change notification settings - Fork 72
Description
The Error lies as follow:
running build_ext
building 'gimmemotifs.c_metrics' extension
creating build/temp.macosx-10.9-x86_64-cpython-310/gimmemotifs
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/hismajasty/anaconda3/envs/gimmemotifs_env/include -fPIC -O2 -isystem /Users/hismajasty/anaconda3/envs/gimmemotifs_env/include -I/usr/local/opt/llvm/include -I/Users/hismajasty/anaconda3/envs/gimmemotifs_env/include/python3.10 -c gimmemotifs/c_metrics.c -o build/temp.macosx-10.9-x86_64-cpython-310/gimmemotifs/c_metrics.o
gimmemotifs/c_metrics.c:315:34: error: parameter 'pos' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
315 | int get_truncate_len(len1, len2, pos) {
| ^
gimmemotifs/c_metrics.c:315:28: error: parameter 'len2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
315 | int get_truncate_len(len1, len2, pos) {
| ^
gimmemotifs/c_metrics.c:315:22: error: parameter 'len1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
315 | int get_truncate_len(len1, len2, pos) {
| ^
gimmemotifs/c_metrics.c:315:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
315 | int get_truncate_len(len1, len2, pos) {
| ^
gimmemotifs/c_metrics.c:563:6: warning: unused variable 'c' [-Wunused-variable]
563 | int c;
| ^
gimmemotifs/c_metrics.c:564:9: warning: unused variable 'pwm_min' [-Wunused-variable]
564 | double pwm_min = -50;
| ^~~~~~~
gimmemotifs/c_metrics.c:901:15: error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion]
901 | {NULL, NULL, NULL, 0, NULL}
| ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/sys/_types/_null.h:49:15: note: expanded from macro 'NULL'
49 | #define NULL __DARWIN_NULL
| ^~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/sys/_types.h:64:23: note: expanded from macro '__DARWIN_NULL'
64 | #define __DARWIN_NULL ((void *)0)
| ^~~~~~~~~~~
gimmemotifs/c_metrics.c:901:24: warning: excess elements in struct initializer [-Wexcess-initializers]
901 | {NULL, NULL, NULL, 0, NULL}
| ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/sys/_types/_null.h:49:15: note: expanded from macro 'NULL'
49 | #define NULL __DARWIN_NULL
| ^~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/sys/_types.h:64:23: note: expanded from macro '__DARWIN_NULL'
64 | #define __DARWIN_NULL ((void *)0)
| ^~~~~~~~~~~
4 warnings and 4 errors generated.
error: command '/usr/local/Cellar/llvm/19.1.7_1/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for gimmemotifs
Running setup.py clean for gimmemotifs
Failed to build gimmemotifs
ERROR: Failed to build installable wheels for some pyproject.toml based projects (gimmemotifs)
And I really don't know how to deal with it.
I have gimmemotifs installed by mamba.