Closed mykaul closed 2 years ago
Seems the error is because we still use a F34 chroot. I am bumping that to F36, but sooner or later, 32 bits is going to be deprecated.
So it fix the issue, but show a new one: https://build.gluster.org/job/gh_32-bit-build-smoke/3252/console
I am testing Fedora 35, if it go, I push for F35, and people have 6 month to get the build fixed on F36 :)
I am testing Fedora 35, if it go, I push for F35, and people have 6 month to get the build fixed on F36 :)
I build on F36 all the time. What's not working?
Some openssl stuff:
common-utils.c: In function 'glusterfs_compute_sha256':
15:12:08 common-utils.c:4169:5: error: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
15:12:08 4169 | SHA256_Init(&sha256);
15:12:08 | ^~~~~~~~~~~
15:12:08 In file included from ./glusterfs/glusterfs.h:27,
15:12:08 from ./glusterfs/mem-pool.h:18,
15:12:08 from glusterfs/common-utils.h:49,
15:12:08 from common-utils.c:43:
15:12:08 /usr/include/openssl/sha.h:73:27: note: declared here
15:12:08 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
15:12:08 | ^~~~~~~~~~~
15:12:08 common-utils.c:4170:5: error: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
15:12:08 4170 | SHA256_Update(&sha256, (const unsigned char *)(content), size);
15:12:08 | ^~~~~~~~~~~~~
15:12:08 /usr/include/openssl/sha.h:74:27: note: declared here
15:12:08 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
15:12:08 | ^~~~~~~~~~~~~
15:12:08 common-utils.c:4171:5: error: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
15:12:08 4171 | SHA256_Final((unsigned char *)sha256_hash, &sha256);
15:12:08 | ^~~~~~~~~~~~
15:12:08 /usr/include/openssl/sha.h:76:27: note: declared here
15:12:08 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
15:12:08 | ^~~~~~~~~~~~
15:12:08 CC libglusterfs_la-inode.lo
15:12:08 cc1: all warnings being treated as errors
You maybe build without warnings are treated as errors, hence why it work.
See https://build.gluster.org/job/gh_32-bit-build-smoke/3244/console :