cryptsetup-static-2.3.7 can't find gcrypt

  • Open
  • quality assurance status badge
Details
One participant
  • Faré
Owner
unassigned
Submitted by
Faré
Severity
normal
F
F
Faré wrote on 3 Jun 2023 02:47
(address . bug-guix@gnu.org)
CAN7nBXfhxCXZcbS=gu2JL5Yn8QUJoazyuT8Oe6=1GOo-w-CnGQ@mail.gmail.com
I'm trying to cross-compile Guix for my pinephone pro (arm64) from a
when I try to add support for encrypted filesystems, guix fails to
build cryptsetup-static-2.3.7, with the following error in its
configure script:

checking for linux/if_alg.h... yes
checking for libgcrypt-config... no
checking for LIBGCRYPT - version >= 1.6.1... no
checking for libgcrypt-config... (cached) no
checking for LIBGCRYPT - version >= 1.1.42... no
configure: error: You need the gcrypt library.
error: in phase 'configure': uncaught exception:
%exception #<&invoke-error program:
"/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash"
arguments: ("./configure" "CC_FOR_BUILD=gcc"
"CONFIG_SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash"
"SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash"
"--prefix=/gnu/store/kr328jpy3f1m5a0b382qy0hinr7mbmh5-cryptsetup-static-2.3.7"
"--enable-fast-install" "--build=x86_64-unknown-linux-gnu"
"--host=aarch64-linux-gnu" "--disable-shared"
"--enable-static-cryptsetup" "--disable-veritysetup"
"--disable-cryptsetup-reencrypt" "--disable-integritysetup"
"--with-crypto_backend=gcrypt" "--disable-blkid" "LIBS=-ludev -pthread
-lm") exit-status: 1 term-signal: #f stop-signal: #f>
phase `configure' failed after 3.8 seconds

I'll attach the channels-lock.scm and the full error log. The code is
to add cryptsetup support via a mapped-device of (type
luks-device-mapping).

—?ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
“The individual has always had to struggle to keep from being overwhelmed by
the tribe. To be your own man is a hard business. If you try it, you’ll be
lonely often, and sometimes frightened. But no price is too high to pay for
the privilege of owning yourself.” — Rudyard Kipling
(use-modules (guix channels)) (list (channel (name 'non-guix) (url "https://gitlab.com/nonguix/nonguix") (branch "master") (commit "dd7519aa20948e42469eccc3c7c99c1633420a07") (introduction (make-channel-introduction "897c1a470da759236cc11798f4e0a5f7d4d59fbc" (openpgp-fingerprint "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))) (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "c11b92a8aae6fe7fad0da8257ec28f5009c37b35") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))) (channel (name 'rde) (url "https://git.sr.ht/~abcdw/rde") (branch "master") (commit "fecba430db289e327c79d6fca52a2811c6de0481") (introduction (make-channel-introduction "257cebd587b66e4d865b3537a9a88cccd7107c95" (openpgp-fingerprint "2841 9AC6 5038 7440 C7E9 2FFA 2208 D209 58C1 DEB0")))))
?