Hi All,

A riscv header file was forgotten in the libgrypt-1.11.1 tarball so it can't be 
built for riscv64.

A patch has been added in the repo to fix the problem so the missing file is in 
the repo but not in any tarball yet. It will be in the next released version.

I can get a copy of the required header file from the and add it in to the 
tarball so that it should then be able to build. That is what I am planning to 
do unless anyone thinks it is the wrong thing to do and we should wait for the 
next released tarball.

Regards,

Adolf.


-------- Forwarded Message --------
Subject: [FAILED] Nightly Build of next (6351c81) for riscv64 on 
riscv64-01.haj.ipfire.org
Date: Mon, 26 May 2025 17:45:55 +0000
From: IPFire Nightly Builder <[email protected]>
To: Nightly Builds List <[email protected]>

https://nightly.ipfire.org/next/2025-05-25%2011%3A58%3A05%20%2B0000-6351c817/riscv64

commit 6351c81763fa3c4b198a1751b0b6cbea6e6d1e25
Author: Adolf Belka <[email protected]>
Date:   Fri May 23 18:03:44 2025 +0200

    screen: Update to version 5.0.1
- This v2 version is with the correct tarball, without the binary object files.
    - Update from version 5.0.0 to 5.0.1
    - Update of rootfile
    - 5 CVE fixes included in this version
    - Changelog
        5.0.1
            Security fix
                CVE-2025-46805: do NOT send signals with root privileges
                CVE-2025-46804: avoid file existence test information leaks
                CVE-2025-46803: apply safe PTY default mode of 0620
                CVE-2025-46802: prevent temporary 0666 mode on PTYs in attacher
                CVE-2025-23395: reintroduce lf_secreopen() for logfile
                buffer overflow due bad strncpy()
                uninitialized variables warnings
                typos
                combining char handling that could lead to a segfault
Signed-off-by: Adolf Belka <[email protected]>
    Signed-off-by: Michael Tremer <[email protected]>

https://git.ipfire.org/?p=ipfire-2.x.git;a=shortlog;h=6351c81763fa3c4b198a1751b0b6cbea6e6d1e25

Packaged toolchain compilation
Building IPFire
stage2                                                                  [       
24 ][ DONE ]
linux (6.12.23) HEADERS=1                                               [     
8:19 ][ DONE ]
man-pages (6.14)                                                        [     
3:41 ][ DONE ]
glibc (2.41)                                                            [    
40:25 ][ DONE ]
tzdata (2025b)                                                          [     
1:15 ][ DONE ]
cleanup-toolchain                                                       [       
 2 ][ DONE ]
zlib-ng (2.2.4)                                                         [     
1:59 ][ DONE ]
gcc (15.1.0) PASS=A                                                     [     
4:36 ][ DONE ]
zstd (1.5.7)                                                            [       
48 ][ DONE ]
autoconf (2.72)                                                         [       
28 ][ DONE ]
autoconf-archive (2024.10.16)                                           [       
38 ][ DONE ]
automake (1.17)                                                         [       
56 ][ DONE ]
help2man (1.49.3)                                                       [       
22 ][ DONE ]
libtool (2.5.4)                                                         [     
3:04 ][ DONE ]
binutils (2.44)                                                         [    
15:49 ][ DONE ]
gmp (6.3.0)                                                             [     
9:23 ][ DONE ]
mpfr (4.2.2)                                                            [     
4:59 ][ DONE ]
libmpc (1.3.1)                                                          [     
2:18 ][ DONE ]
pkg-config (0.29.2)                                                     [    
10:29 ][ DONE ]
libxcrypt (4.4.38)                                                      [     
3:56 ][ DONE ]
file (5.45)                                                             [     
3:33 ][ DONE ]
gcc (15.1.0)                                                            [  
1:13:23 ][ DONE ]
attr (2.5.2)                                                            [     
2:08 ][ DONE ]
acl (2.3.2)                                                             [     
3:15 ][ DONE ]
sed (4.9)                                                               [    
11:29 ][ DONE ]
berkeley (5.3.28)                                                       [    
10:11 ][ DONE ]
coreutils (9.7)                                                         [    
29:56 ][ DONE ]
iana-etc (20250505)                                                     [       
 3 ][ DONE ]
m4 (1.4.20)                                                             [    
17:50 ][ DONE ]
bison (3.8.2)                                                           [    
16:12 ][ DONE ]
ncurses (6.5)                                                           [    
11:45 ][ DONE ]
perl (5.36.0)                                                           [    
39:50 ][ DONE ]
readline (8.2)                                                          [     
3:23 ][ DONE ]
bzip2 (1.0.8)                                                           [       
22 ][ DONE ]
xz (5.8.1)                                                              [     
5:17 ][ DONE ]
lzip (1.24.1)                                                           [       
 6 ][ DONE ]
pcre (8.45)                                                             [     
2:54 ][ DONE ]
pcre2 (10.45)                                                           [     
2:35 ][ DONE ]
gettext (0.25)                                                          [  
1:33:55 ][ DONE ]
bash (5.2)                                                              [    
12:13 ][ DONE ]
diffutils (3.12)                                                        [    
15:23 ][ DONE ]
ed (1.20.2)                                                             [       
 7 ][ DONE ]
findutils (4.10.0)                                                      [    
19:48 ][ DONE ]
flex (2.6.4)                                                            [     
3:36 ][ DONE ]
gawk (5.3.2)                                                            [     
7:31 ][ DONE ]
go (1.20.4)                                                             [       
 0 ][ SKIP ]
grep (3.12)                                                             [    
14:07 ][ DONE ]
groff (1.23.0)                                                          [    
14:00 ][ DONE ]
gperf (3.1)                                                             [     
1:28 ][ DONE ]
gzip (1.14)                                                             [     
9:17 ][ DONE ]
hostname (3.20)                                                         [       
 6 ][ DONE ]
whois (5.6.1)                                                           [       
19 ][ DONE ]
kbd (2.7.1)                                                             [     
5:27 ][ DONE ]
less (678)                                                              [     
2:53 ][ DONE ]
procps (4.0.5)                                                          [     
6:35 ][ DONE ]
make (4.4.1)                                                            [     
5:23 ][ DONE ]
libpipeline (1.5.8)                                                     [    
10:18 ][ DONE ]
man (2.13.1)                                                            [    
27:18 ][ DONE ]
net-tools (2.10)                                                        [       
58 ][ DONE ]
patch (2.8)                                                             [    
10:19 ][ DONE ]
psmisc (23.7)                                                           [     
3:13 ][ DONE ]
shadow (4.17.4)                                                         [     
4:47 ][ DONE ]
sysklogd (1.5.1)                                                        [       
 6 ][ DONE ]
sysvinit (3.11)                                                         [       
26 ][ DONE ]
tar (1.35)                                                              [    
18:24 ][ DONE ]
texinfo (7.1.1)                                                         [    
14:36 ][ DONE ]
util-linux (2.41)                                                       [    
12:08 ][ DONE ]
vim (9.1.1153)                                                          [     
7:14 ][ DONE ]
e2fsprogs (1.47.2)                                                      [     
6:46 ][ DONE ]
jq (1.7.1)                                                              [     
4:43 ][ DONE ]
configroot                                                              [       
26 ][ DONE ]
initscripts                                                             [       
31 ][ DONE ]
backup                                                                  [       
 4 ][ DONE ]
rust (1.83.0)                                                           [     
2:44 ][ DONE ]
openssl (3.5.0)                                                         [    
50:19 ][ DONE ]
popt (1.19)                                                             [     
2:05 ][ DONE ]
libedit (20250104-3.1)                                                  [     
3:04 ][ DONE ]
expat (2.7.1)                                                           [     
2:31 ][ DONE ]
libffi (3.4.8)                                                          [     
2:30 ][ DONE ]
gdbm (1.25)                                                             [     
5:00 ][ DONE ]
sqlite (3490200)                                                        [    
10:14 ][ DONE ]
python3 (3.10.8)                                                        [    
23:10 ][ DONE ]
python3-setuptools (67.5.1)                                             [     
1:02 ][ DONE ]
ninja (1.12.1)                                                          [       
52 ][ DONE ]
meson (1.8.0)                                                           [       
39 ][ DONE ]
pam (1.7.0)                                                             [     
2:33 ][ DONE ]
libcap (2.76)                                                           [     
1:08 ][ DONE ]
libcap-ng (0.8.5)                                                       [     
1:46 ][ DONE ]
libpcap (1.10.5)                                                        [     
2:46 ][ DONE ]
ppp (2.5.2)                                                             [     
4:33 ][ DONE ]
pptp (1.10.0)                                                           [       
 6 ][ DONE ]
unzip (60)                                                              [     
1:18 ][ DONE ]
which (2.23)                                                            [     
1:27 ][ DONE ]
bc (1.08.1)                                                             [     
1:56 ][ DONE ]
cpio (2.15)                                                             [    
14:36 ][ DONE ]
libaio (0.3.113)                                                        [       
 7 ][ DONE ]
freetype (2.13.3)                                                       [     
2:09 ][ DONE ]
libmnl (1.0.5)                                                          [     
1:43 ][ DONE ]
libnfnetlink (1.0.2)                                                    [     
1:23 ][ DONE ]
libnetfilter_queue (1.0.5)                                              [     
1:32 ][ DONE ]
libnetfilter_conntrack (1.1.0)                                          [     
1:44 ][ DONE ]
libnetfilter_cthelper (1.0.1)                                           [     
1:25 ][ DONE ]
libnetfilter_cttimeout (1.0.1)                                          [     
1:22 ][ DONE ]
iptables (1.8.11)                                                       [     
2:28 ][ DONE ]
iproute2 (6.14.0)                                                       [     
1:04 ][ DONE ]
screen (5.0.1)                                                          [     
2:07 ][ DONE ]
elfutils (0.192)                                                        [     
5:19 ][ DONE ]
libconfig (1.8)                                                         [     
4:29 ][ DONE ]
curl (8.13.0)                                                           [    
11:16 ][ DONE ]
libarchive (3.8.0)                                                      [    
12:30 ][ DONE ]
cmake (4.0.2)                                                           [    
19:07 ][ DONE ]
json-c (0.18)                                                           [     
3:50 ][ DONE ]
tcl (8.6.14)                                                            [    
15:51 ][ DONE ]
python3-MarkupSafe (2.1.3)                                              [       
14 ][ DONE ]
python3-Jinja2 (3.1.2)                                                  [       
17 ][ DONE ]
kmod (34.2)                                                             [     
1:14 ][ DONE ]
udev (254)                                                              [     
6:04 ][ DONE ]
libusb (1.0.28)                                                         [     
2:10 ][ DONE ]
mdadm (4.4)                                                             [       
26 ][ DONE ]
dracut (056)                                                            [       
44 ][ DONE ]
lvm2 (2.03.32)                                                          [     
5:41 ][ DONE ]
multipath-tools (0.8.9)                                                 [       
17 ][ DONE ]
glib (2.83.0)                                                           [     
9:22 ][ DONE ]
libgudev (238)                                                          [       
37 ][ DONE ]
libgpg-error (1.54)                                                     [     
4:36 ][ DONE ]
libgcrypt (1.11.1)                                                      [     
5:25 ][ FAIL ]

    mv -f .deps/crc.Tpo .deps/crc.Plo
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../mpi 
-I../mpi -O2 -g0 -pipe -Wall -fexceptions -fPIC -Wp,-U_FORTIFY_SOURCE 
-Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong 
-fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks 
-Wall -MT cipher-gcm-riscv-zbb-zbc.lo -MD -MP -MF 
.deps/cipher-gcm-riscv-zbb-zbc.Tpo -c cipher-gcm-riscv-zbb-zbc.c  -fPIC -DPIC 
-o .libs/cipher-gcm-riscv-zbb-zbc.o
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../mpi 
-I../mpi -O2 -g0 -pipe -Wall -fexceptions -fPIC -Wp,-U_FORTIFY_SOURCE 
-Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong 
-fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks 
-Wall -MT scrypt.lo -MD -MP -MF .deps/scrypt.Tpo -c scrypt.c  -fPIC -DPIC -o 
.libs/scrypt.o
    make[3]: *** [Makefile:1724: chacha20-riscv-v.lo] Error 1
    make[3]: *** Waiting for unfinished jobs....
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../mpi 
-I../mpi -O2 -g0 -pipe -Wall -fexceptions -fPIC -Wp,-U_FORTIFY_SOURCE 
-Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong 
-fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks 
-Wall -MT gost28147.lo -MD -MP -MF .deps/gost28147.Tpo -c gost28147.c  -fPIC 
-DPIC -o .libs/gost28147.o
    mv -f .deps/rmd160.Tpo .deps/rmd160.Plo
    mv -f .deps/sha256.Tpo .deps/sha256.Plo
    mv -f .deps/md5.Tpo .deps/md5.Plo
    mv -f .deps/sha512.Tpo .deps/sha512.Plo
    mv -f .deps/keccak.Tpo .deps/keccak.Plo
    mv -f .deps/sha1.Tpo .deps/sha1.Plo
    mv -f .deps/blake2.Tpo .deps/blake2.Plo
    mv -f .deps/sm3.Tpo .deps/sm3.Plo
    mv -f .deps/whirlpool.Tpo .deps/whirlpool.Plo
    mv -f .deps/cipher-gcm-riscv-zbb-zbc.Tpo .deps/cipher-gcm-riscv-zbb-zbc.Plo
    mv -f .deps/scrypt.Tpo .deps/scrypt.Plo
    mv -f .deps/gost28147.Tpo .deps/gost28147.Plo
    rijndael-vp-riscv.c:58:10: fatal error: simd-common-riscv.h: No such file 
or directory
    58 | #include "simd-common-riscv.h"
    |          ^~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[3]: *** [Makefile:1730: rijndael-vp-riscv.lo] Error 1
    make[3]: Leaving directory '/usr/src/libgcrypt-1.11.1/cipher'
    make[2]: *** [Makefile:500: all-recursive] Error 1
    make[2]: Leaving directory '/usr/src/libgcrypt-1.11.1'
    make[1]: *** [Makefile:432: all] Error 2
    make[1]: Leaving directory '/usr/src/libgcrypt-1.11.1'
    make: *** [libgcrypt:75: /usr/src/log/libgcrypt-1.11.1] Error 2
    make: Leaving directory '/usr/src/lfs'

ERROR: Building libgcrypt                                               [ FAIL ]
    Check /build/nightly/next/log_riscv64/_build.ipfire.log for errors if 
applicable[ FAIL ]


Reply via email to