Cannot build package. Seems to be a recent issue... Something related to pam-python-1.0.8-3:
gcc -fno-strict-aliasing -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=/home/juliohor/.cache/paru/clone/python2/src=/usr/src/debug/python2 -flto=auto -std=c17 -DNDEBUG -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=/home/juliohor/.cache/paru/clone/python2/src=/usr/src/debug/python2 -flto=auto -std=c17 -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=/home/juliohor/.cache/paru/clone/pam-python/src=/usr/src/debug/pam-python -flto=auto -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Werror -I/usr/local/lib/ -fPIC -g -DLIBPYTHON_SO="libpython2.7.so.1.0" -I/usr/include/python2.7 -c pam_python.c -o build/temp.linux-x86_64-2.7/pam_python.o
pam_python.c: In function ‘alloc_module_path’:
pam_python.c:404:12: error: implicit declaration of function ‘strdup’; did you mean ‘strcmp’? [-Wimplicit-function-declaration]
404 | return strdup(result);
| ^~~~~~
| strcmp
pam_python.c:404:12: error: returning ‘int’ from a function with return type ‘char *’ makes pointer from integer without a cast [-Wint-conversion]
404 | return strdup(result);
| ^~~~~~~~~~~~~~
pam_python.c:413:10: error: returning ‘int’ from a function with return type ‘char *’ makes pointer from integer without a cast [-Wint-conversion]
413 | return strdup(MODULE_NAME);
| ^~~~~~~~~~~~~~~~~~~
pam_python.c: In function ‘syslog_path_vmessage’:
pam_python.c:503:3: error: implicit declaration of function ‘vsyslog’; did you mean ‘syslog’? [-Wimplicit-function-declaration]
503 | vsyslog(LOG_AUTHPRIV|LOG_ERR, message, ap);
| ^~~~~~~
| syslog
pam_python.c: In function ‘PamHandle_set_item’:
pam_python.c:888:11: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
888 | value = strdup(value);
| ^
pam_python.c: In function ‘PamHandle_set_XAUTHDATA’:
pam_python.c:1638:19: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1638 | xauth_data.name = strdup(name_str);
| ^
pam_python.c:1657:19: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1657 | xauth_data.data = strdup(data_str);
| ^
pam_python.c: In function ‘load_user_module’:
pam_python.c:2279:22: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
2279 | user_module_name = strdup(module_path);
| ^
pam_python.c:2281:22: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
2281 | user_module_name = strdup(user_module_name + 1);
| ^
error: command 'gcc' failed with exit status 1
make[1]: *** [Makefile:11: pam_python.so] Error 1
make[1]: Saindo do diretório '/home/juliohor/.cache/paru/clone/pam-python/src/pam-python-1.0.8/src'
make: *** [Makefile:6: lib] Error 2
==> ERRO: Uma falha ocorreu em build().
Abortando...
erro: falha ao compilar 'pam-python-1.0.8-3':
erro: não foi possível compilar howdy-2.6.1-2, dependências não satisfeitas: pam-python
erro: os pacotes pam-python-1.0.8-3 howdy-2.6.1-2 falharam na compilação
Pinned Comments
Raymo111 commented on 2024-07-12 05:45 (UTC) (edited on 2024-07-12 05:46 (UTC) by Raymo111)
For anyone getting "RuntimeError: Unsupported image type, must be 8bit gray or RGB image",
downgrade python-numpy
to 1.26.4-2 and all will be okay... for now. See https://github.com/boltgolt/howdy/issues/937 for further discussion.