Package Details: python-whirlpool 1.0.0-1

Git Clone URL: https://aur.archlinux.org/python-whirlpool.git (read-only, click to copy)
Package Base: python-whirlpool
Description: Python wrapper extension for C Whirlpool digest reference implementation
Upstream URL: https://github.com/oohlaf/python-whirlpool
Licenses: Unlicense
Submitter: bet4it
Maintainer: bet4it
Last Packager: bet4it
Votes: 0
Popularity: 0.000000
First Submitted: 2020-12-18 11:44 (UTC)
Last Updated: 2020-12-18 11:44 (UTC)

Latest Comments

Absobel commented on 2023-10-14 17:00 (UTC)

This is broken :

gcc -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/python -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/python -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/python -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 -Ilib -I/usr/include/python3.11 -c whirlpool/pywhirlpool.c -o build/temp.linux-x86_64-cpython-311/whirlpool/pywhirlpool.o
whirlpool/pywhirlpool.c: In function ‘moduleinit’:
whirlpool/pywhirlpool.c:411:29: error: lvalue required as left operand of assignment
  411 |     Py_TYPE(&Whirlpooltype) = &PyType_Type;
      |                             ^
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-whirlpool-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python-whirlpool - exit status 4

To be fair I had the same error trying to build it myself so my guess is that it's not the fault of the pkgbuild, but well