Package Details: python-xeddsa-git r75.5b6b93b-2

Git Clone URL: https://aur.archlinux.org/python-xeddsa-git.git (read-only, click to copy)
Package Base: python-xeddsa-git
Description: A python implementation of the XEdDSA signature scheme
Upstream URL: https://github.com/Syndace/python-xeddsa
Licenses: MIT
Conflicts: python-xeddsa
Provides: python-xeddsa
Submitter: Ppjet6
Maintainer: Ppjet6
Last Packager: Ppjet6
Votes: 0
Popularity: 0.000000
First Submitted: 2018-05-11 15:57 (UTC)
Last Updated: 2021-07-16 21:14 (UTC)

Required by (7)

Sources (1)

Latest Comments

funderscore commented on 2023-12-09 17:28 (UTC) (edited on 2023-12-09 17:30 (UTC) by funderscore)

Chouhartem: I can also reproduce. Seems like a dependency is missing (libxeddsa?).

Chouhartem commented on 2022-11-21 09:54 (UTC) (edited on 2022-11-21 09:55 (UTC) by Chouhartem)

Hello,

Trying to compile poezio-omemo-git leads me to install this package which build fails with:

building '_libxeddsa' extension
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -c build/temp.linux-x86_64-cpython-310/_libxeddsa.c -o build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_libxeddsa.o
In file included from build/temp.linux-x86_64-cpython-310/_libxeddsa.c:569:
/[directory]/python-xeddsa-git/src/python-xeddsa/libxeddsa/xeddsa.h:8:75: warning: type defaults to ‘int’ in declaration of ‘bool’ [-Wimplicit-int]
    8 | extern void curve25519_pub_to_ed25519_pub(uint8_t*, const uint8_t*, const bool);
      |                                                                           ^~~~
/[directory]/python-xeddsa-git/src/python-xeddsa/libxeddsa/xeddsa.h:15:61: warning: type defaults to ‘int’ in declaration of ‘bool’ [-Wimplicit-int]
   15 | extern void priv_force_sign(uint8_t*, const uint8_t*, const bool);
      |                                                             ^~~~
gcc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/_libxeddsa.o -L/usr/lib -lxeddsa -lsodium -o build/lib.linux-x86_64-cpython-310/_libxeddsa.abi3.so
/usr/bin/ld: cannot find -lxeddsa: No such file or directory
collect2: error: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build().
    Aborting...

Ppjet6 commented on 2018-09-23 18:34 (UTC)

Fixed in 4f146b5c2a12, upstream changed the build system. Thanks!

jnanar commented on 2018-09-23 18:12 (UTC) (edited on 2018-09-23 18:15 (UTC) by jnanar)

It still fails for another reason:

From /[directory]/python-xeddsa
   d0f7eef..6206921  master      -> origin/master
 * [new tag]         v0.4.4-beta -> v0.4.4-beta
 * [new tag]         v0.4.3-beta -> v0.4.3-beta
Switched to a new branch 'makepkg'
==> Starting prepare()...
sed: can't read Makefile: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

Ppjet6 commented on 2018-09-23 13:23 (UTC) (edited on 2018-09-23 13:23 (UTC) by Ppjet6)

I just pushed 0a5c17a49887. It builds here now, can you try again?

jnanar commented on 2018-09-23 11:58 (UTC)

install: cannot stat 'ref10/bin/crypto_scalarmult.so': No such file or directory install: cannot stat 'ref10/bin/crypto_sign.so': No such file or directory

Do you know how to fix this error message ? It fails with the python2 and python3 version.

Thanks

Ppjet6 commented on 2018-07-08 10:20 (UTC)

Should be fixed now, thanks for the report!

goffi commented on 2018-07-08 09:51 (UTC)

Hello,

the build is failling, here are the logs:

==> Making package: python-xeddsa-git r17.8334136-1 (Sun Jul 8 11:50:01 2018) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning python-xeddsa git repo... Cloning into bare repository '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/python-xeddsa'... remote: Counting objects: 274, done. remote: Compressing objects: 100% (74/74), done. remote: Total 274 (delta 14), reused 95 (delta 14), pack-reused 175 Receiving objects: 100% (274/274), 118.23 KiB | 846.00 KiB/s, done. Resolving deltas: 100% (75/75), done. ==> Validating source files with sha256sums... python-xeddsa ... Skipped ==> Extracting sources... -> Creating working copy of python-xeddsa git repo... Cloning into 'python-xeddsa'... done. ==> Starting prepare()... ==> Starting pkgver()... ==> Updated version: python-xeddsa-git r19.4872d92-1 ==> Starting build()... mkdir -p bin make -C crypto_scalarmult crypto_scalarmult.so make[1]: Entering directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_scalarmult' mkdir -p bin /usr/bin/gcc -Wall -Werror -g -I../include -c -fpic -x c .c /usr/bin/gcc -Wall -Werror -g -shared -Wl,--no-undefined -o bin/crypto_scalarmult.so .o make[1]: Leaving directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_scalarmult' cp crypto_scalarmult/bin/crypto_scalarmult.so bin/ make -C crypto_core crypto_core.a make[1]: Entering directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_core' mkdir -p bin /usr/bin/gcc -Wall -Werror -g -c -fpic -x c .c ar rcs bin/crypto_core.a .o make[1]: Leaving directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_core' cp crypto_core/bin/crypto_core.a bin/ make -C crypto_hash crypto_hash.a make[1]: Entering directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_hash' mkdir -p bin /usr/bin/gcc -Wall -Werror -g -I../crypto_hashblocks -c -fpic -x c .c ar rcs bin/crypto_hash.a .o make[1]: Leaving directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_hash' cp crypto_hash/bin/crypto_hash.a bin/ make -C crypto_hashblocks crypto_hashblocks.a make[1]: Entering directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_hashblocks' mkdir -p bin /usr/bin/gcc -Wall -Werror -g -c -fpic -x c .c ar rcs bin/crypto_hashblocks.a .o make[1]: Leaving directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_hashblocks' cp crypto_hashblocks/bin/crypto_hashblocks.a bin/ make -C crypto_rng crypto_rng.a make[1]: Entering directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_rng' mkdir -p bin /usr/bin/gcc -Wall -Werror -g -I../crypto_stream -c -fpic -x c .c ar rcs bin/crypto_rng.a .o make[1]: Leaving directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_rng' cp crypto_rng/bin/crypto_rng.a bin/ make -C crypto_stream crypto_stream.a make[1]: Entering directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_stream' mkdir -p bin /usr/bin/gcc -Wall -Werror -g -I../crypto_core -c -fpic -x c .c ar rcs bin/crypto_stream.a .o make[1]: Leaving directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_stream' cp crypto_stream/bin/crypto_stream.a bin/ make -C crypto_verify crypto_verify.a make[1]: Entering directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_verify' mkdir -p bin /usr/bin/gcc -Wall -Werror -g -c -fpic -x c .c ar rcs bin/crypto_verify.a .o make[1]: Leaving directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_verify' cp crypto_verify/bin/crypto_verify.a bin/ make -C fastrandombytes fastrandombytes.a make[1]: Entering directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/fastrandombytes' mkdir -p bin /usr/bin/gcc -Wall -Werror -g -I../kernelrandombytes -I../crypto_rng -c -fpic -x c fastrandombytes.c ar rcs bin/fastrandombytes.a fastrandombytes.o make[1]: Leaving directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/fastrandombytes' cp fastrandombytes/bin/fastrandombytes.a bin/ make -C kernelrandombytes kernelrandombytes.a make[1]: Entering directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/kernelrandombytes' mkdir -p bin (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c getentropy.c && mv getentropy.o kernelrandombytes.o) || \ (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c getentropy2.c && mv getentropy2.o kernelrandombytes.o) || \ (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c getrandom.c && mv getrandom.o kernelrandombytes.o) || \ (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c getrandom2.c && mv getrandom2.o kernelrandombytes.o) || \ (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c getrandom3.c && mv getrandom3.o kernelrandombytes.o) || \ (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c urandom.c && mv urandom.o kernelrandombytes.o) ar rcs bin/kernelrandombytes.a kernelrandombytes.o make[1]: Leaving directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/kernelrandombytes' make -C kernelrandombytes test make[1]: Entering directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/kernelrandombytes' mkdir -p bin (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c getentropy.c && mv getentropy.o kernelrandombytes.o) || \ (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c getentropy2.c && mv getentropy2.o kernelrandombytes.o) || \ (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c getrandom.c && mv getrandom.o kernelrandombytes.o) || \ (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c getrandom2.c && mv getrandom2.o kernelrandombytes.o) || \ (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c getrandom3.c && mv getrandom3.o kernelrandombytes.o) || \ (/usr/bin/gcc -Wall -Werror -g -c -fpic -x c urandom.c && mv urandom.o kernelrandombytes.o) ar rcs bin/kernelrandombytes.a kernelrandombytes.o /usr/bin/gcc -Wall -Werror -g -x c test.c -o bin/test -Lbin -l:kernelrandombytes.a bin/test make[1]: Leaving directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/kernelrandombytes' cp kernelrandombytes/bin/kernelrandombytes.a bin/ make -C crypto_sign crypto_sign.so make[1]: Entering directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_sign' mkdir -p bin /usr/bin/gcc -Wall -Werror -g -I../include -I../crypto_hash -c -fpic -x c .c /usr/bin/gcc -Wall -Werror -g -shared -Wl,--no-undefined -o bin/crypto_sign.so .o -L../bin -l:crypto_hash.a -l:crypto_hashblocks.a -l:crypto_verify.a -l:fastrandombytes.a -l:kernelrandombytes.a -l:crypto_rng.a -l:crypto_stream.a -l:crypto_core.a make[1]: Leaving directory '/tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/src/python-xeddsa/ref10/crypto_sign' cp crypto_sign/bin/crypto_sign.so bin/ ==> Entering fakeroot environment... ==> Starting package()... running install running build running build_py creating build creating build/lib creating build/lib/xeddsa copying xeddsa/xeddsa.py -> build/lib/xeddsa copying xeddsa/init.py -> build/lib/xeddsa creating build/lib/xeddsa/implementations copying xeddsa/implementations/xeddsa25519.py -> build/lib/xeddsa/implementations copying xeddsa/implementations/ref10.py -> build/lib/xeddsa/implementations copying xeddsa/implementations/init.py -> build/lib/xeddsa/implementations running install_lib creating /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr creating /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib creating /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6 creating /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages creating /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa creating /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa/implementations copying build/lib/xeddsa/implementations/init.py -> /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa/implementations copying build/lib/xeddsa/implementations/ref10.py -> /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa/implementations copying build/lib/xeddsa/implementations/xeddsa25519.py -> /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa/implementations copying build/lib/xeddsa/init.py -> /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa copying build/lib/xeddsa/xeddsa.py -> /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa byte-compiling /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa/implementations/init.py to init.cpython-36.pyc byte-compiling /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa/implementations/ref10.py to ref10.cpython-36.pyc byte-compiling /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa/implementations/xeddsa25519.py to xeddsa25519.cpython-36.pyc byte-compiling /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa/init.py to init.cpython-36.pyc byte-compiling /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/xeddsa/xeddsa.py to xeddsa.cpython-36.pyc writing byte-compilation script '/tmp/tmppd86ug6d.py' /sbin/python3 /tmp/tmppd86ug6d.py removing /tmp/tmppd86ug6d.py running install_egg_info Writing /tmp/yaourt-tmp-goffi/aur-python-xeddsa-git/pkg/python-xeddsa-git/usr/lib/python3.6/site-packages/XEdDSA-0.1.1-py3.6.egg-info install: cannot stat 'ref10/bin/libref10.so': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... ==> ERROR: Makepkg was unable to build python-xeddsa-git.

thanks