Bug#869249: haskell-argon2 FTBFS: error: 'ARGON2_FLAG_CLEAR_MEMORY' undeclared

Adrian Bunk bunk at debian.org
Fri Jul 21 23:33:28 UTC 2017


Source: haskell-argon2
Version: 1.2.0-3
Severity: serious
Tags: buster sid

Some recent change in unstable makes haskell-argon2 FTBFS:

https://tests.reproducible-builds.org/debian/history/haskell-argon2.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/haskell-argon2.html

...
Building argon2-1.2.0...
Preprocessing library argon2-1.2.0...
In file included from dist-ghc/build/Crypto/Argon2/FFI_hsc_make.c:1:0:
FFI.hsc: In function 'main':
FFI.hsc:93:16: error: 'ARGON2_FLAG_CLEAR_MEMORY' undeclared (first use in this function)
/usr/lib/ghc/template-hsc.h:35:10: note: in definition of macro 'hsc_const'
     if ((x) < 0)                                      \
          ^
FFI.hsc:93:16: note: each undeclared identifier is reported only once for each function it appears in
/usr/lib/ghc/template-hsc.h:35:10: note: in definition of macro 'hsc_const'
     if ((x) < 0)                                      \
          ^
compiling dist-ghc/build/Crypto/Argon2/FFI_hsc_make.c failed (exit code 1)
command was: /usr/bin/gcc -c dist-ghc/build/Crypto/Argon2/FFI_hsc_make.c -o dist-ghc/build/Crypto/Argon2/FFI_hsc_make.o -fno-stack-protector -fno-stack-protector -D__GLASGOW_HASKELL__=800 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -I/usr/lib/ghc/bytestring-0.10.8.1/include -I/usr/lib/ghc/base-4.9.1.0/include -I/usr/lib/ghc/integer-gmp-1.0.0.1/include -I/usr/lib/ghc/include -I/usr/lib/ghc/include/
/usr/share/cdbs/1/class/hlibrary.mk:147: recipe for target 'build-ghc-stamp' failed
make: *** [build-ghc-stamp] Error 1



More information about the Pkg-haskell-maintainers mailing list