portmaster libgcrypt cannot build- C -o .libs/chacha20-riscv-v.o ./chacha20-riscv-v.c:26:10: fatal error: 'simd-common-riscv.h' file not found --- blake2.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../mpi -I../mpi -I/usr/local/include -O2 -pipe -march=rv64imafdc -mabi=lp64d -pthread -fstack-protector-strong -fno-strict-aliasing -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -MT blake2.lo -MD -MP -MF .deps/blake2.Tpo -c blake2.c -o blake2.o >/dev/null 2>&1 --- chacha20-riscv-v.lo --- 26 | #include "simd-common-riscv.h"
It appears that the distfile is missing this: --> cipher/simd-common-riscv.h I downloaded from: https://github.com/gpg/libgcrypt/blob/master/cipher/simd-common-riscv.h build is now successful.
Refer commit has into master https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=b100dd25eb6821d58851c2b802bfe9ef2f441228
Created attachment 260861 [details] Add missing file for riscv build A quick patch while waiting for the official one, hoping it will save time to someone. This patch is not to be committed!