Closed eburimu closed 5 years ago
I haven't tried this, but usually you just need to get gpg-error-config in your path. You can do this by adding the following line to libksba:
nativeBuildInputs = [ libgpgerror.dev ];
Hello @matthewbauer ,
I first get the following.
9912 checking for gpg-error-config... /nix/store/xd6kz4ixgzklh6v11f5ma2pz39w3lcqf-libgpg-error-1.32-dev/bin/gpg-error-config
9913 checking for GPG Error - version >= 1.8... yes (1.32)
9914 configure: WARNING:
9915 ***
9916 *** The config script /nix/store/xd6kz4ixgzklh6v11f5ma2pz39w3lcqf-libgpg-error-1.32-dev/bin/gpg-error-config was
9917 *** built for x86_64-pc-linux-gnu and thus may not match the
9918 *** used host armv6l-unknown-linux-gnueabihf.
9919 *** You may want to use the configure option --with-gpg-error-prefix
9920 *** to specify a matching config script or use $SYSROOT.
9921 ***
Then it gets funnier:)
9984 Making all in src
9985 make[2]: Entering directory '/build/libksba-1.3.5/src'
9986 cc -I. -DBUILD_GENTOOLS -o asn1-gentables \
9987 ./asn1-gentables.c \
9988 `test -f 'asn1-parse.c' || echo './'`asn1-parse.c \
9989 ./asn1-func.c \
9990 ./gen-help.c
9991 /nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash: cc: command not found
9992 make[2]: *** [Makefile:1058: asn1-gentables] Error 127
9993 make[2]: Leaving directory '/build/libksba-1.3.5/src'
9994 make[1]: *** [Makefile:452: all-recursive] Error 1
9995 make[1]: Leaving directory '/build/libksba-1.3.5'
9996 make: *** [Makefile:383: all] Error 2
Huh I encountered this today as well. I believe I have a fix, will create a PR.
Issue description
Steps to reproduce