Xpra: Ticket #2512: python3 setup.py sdist --formats=gztar does not include xxh3.h

I am working on build script for Slackware and I am using the trunk version for building. I prepare tarball for the script using the below command:

python3 setup.py sdist --formats=gztar

The tarball created is missing xxh3.h and the build fails.

gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -fPIC -fPIC -Ixpra/buffers -I/usr/include/python3.7m -c xpra/buffers/xxhash.c -o build/temp.linux-x86_64-3.7/xpra/buffers/xxhash.o -O3 -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wall -Werror -Wno-error=deprecated-declarations -fPIC -O2 -fPIC
xpra/buffers/xxhash.c:1105:10: fatal error: xxh3.h: No such file or directory
 1105 | #include "xxh3.h"
      |          ^~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1

I expected the xxh3.h to be included in the tarball as well.



Thu, 12 Dec 2019 10:51:43 GMT - Antoine Martin: status changed; resolution set

Thanks for the report!

This is fixed in r24715.

More found in #2513.


Thu, 12 Dec 2019 11:32:00 GMT - ozanty:

Thank you.


Sat, 23 Jan 2021 05:53:18 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2512