GNU bug report logs - #63864
cryptsetup-static-2.3.7 can't find gcrypt

Previous Next

Package: guix;

Reported by: Faré <fahree <at> gmail.com>

Date: Sat, 3 Jun 2023 00:48:01 UTC

Severity: normal

To reply to this bug, email your comments to 63864 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#63864; Package guix. (Sat, 03 Jun 2023 00:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Faré <fahree <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 03 Jun 2023 00:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Faré <fahree <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: cryptsetup-static-2.3.7 can't find gcrypt
Date: Fri, 2 Jun 2023 20:47:22 -0400
[Message part 1 (text/plain, inline)]
I'm trying to cross-compile Guix for my pinephone pro (arm64) from a
x86-64 laptop, as per https://git.sr.ht/~abcdw/guix-pinephonepro, but
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
otherwise in https://git.sr.ht/~abcdw/guix-pinephonepro modulo trying
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
[channels-lock.scm (text/x-scheme, attachment)]
[i98zzmbak9wlcc1cn8clw4why6ck7z-cryptsetup-static-2.3.7.drv.gz (application/gzip, attachment)]

This bug report was last modified 1 year and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.