Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building FreeBSD port archivers/py-lzma fails with error #78

Open
opsec opened this issue Feb 26, 2023 · 0 comments
Open

Building FreeBSD port archivers/py-lzma fails with error #78

opsec opened this issue Feb 26, 2023 · 0 comments

Comments

@opsec
Copy link

opsec commented Feb 26, 2023

This is the error:

cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPY_SSIZE_T_CLEAN=1 -DWITH_COMPAT=1 -DPYLZMA_VERSION=0.5.0 -D_7ZIP_ST=1 -Isrc/sdk/C -I/usr/local/include/python3.9 -c src/pylzma/pylzma_aes.c -o build/temp.freebsd-14.0-CURRENT-amd64-cpython-39/src/pylzma/pylzma_aes.o src/pylzma/pylzma_aes.c:158:5: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'void *' [-Wint-conversion] NULL, /* printfunc tp_print; */ ^~~~ /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ 1 error generated.

A patch can be found here:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269833

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant