gluster / project-infrastructure

Issues related to GlusterFs infrastructure components.
0 stars 0 forks source link

builder-f35-1.int.aws.gluster.org (fedora35) is missing some tools #163

Closed mykaul closed 2 years ago

mykaul commented 2 years ago

See https://build.gluster.org/job/gh_32-bit-build-smoke/3244/console :

00:00:54.806 Finish: chroot init
00:00:54.808 INFO: Running in chroot: ['cd /src && ./autogen.sh']
00:00:54.856 Start: chroot ['cd /src && ./autogen.sh']
00:00:54.921 
00:00:54.921 ... GlusterFS autogen ...
00:00:54.921 
00:00:54.944 Aborting.
00:00:54.944 
00:00:54.944 The following build tools are missing:
00:00:54.944 
00:00:54.944   * aclocal
00:00:54.945   * autoconf
00:00:54.945   * autoheader
00:00:54.945   * automake
00:00:54.945   * libtoolize/glibtoolize
00:00:54.945 
00:00:54.945 Please install them and try again.
mscherer commented 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.

mscherer commented 2 years ago

So it fix the issue, but show a new one: https://build.gluster.org/job/gh_32-bit-build-smoke/3252/console

mscherer commented 2 years ago

I am testing Fedora 35, if it go, I push for F35, and people have 6 month to get the build fixed on F36 :)

mykaul commented 2 years ago

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?

mscherer commented 2 years ago

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.

mscherer commented 2 years ago

F35 is fine: https://build.gluster.org/job/gh_32-bit-build-smoke/3253/console

mykaul commented 2 years ago

Ah, yes - https://github.com/gluster/glusterfs/issues/2916