mpare_hostnames’ differ in signedness [-Wpointer-sign] 715 | ssl_compare_hostnames (host,s)) ret = NIL; | ^~~~ | | | char * osdep.c:223:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^ osdep.c:715:50: warning: pointer targets in passing argument 2 of ‘ssl_compare_hostnames’ differ in signedness [-Wpointer-sign] 715 | ssl_compare_hostnames (host,s)) ret = NIL; | ^ | | | char * osdep.c:223:68: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^~~ osdep.c:664:17: warning: unused variable ‘t’ [-Wunused-variable] 664 | char *s=NULL,*t,*ret = NIL; | ^ osdep.c: In function ‘ssl_getline’: osdep.c:769:43: warning: pointer targets in passing argument 3 of ‘ssl_getline_work’ differ in signedness [-Wpointer-sign] 769 | char *ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * osdep.c:225:38: note: expected ‘long int *’ but argument is of type ‘long unsigned int *’ 225 | long *contd); | ~~~~~~^~~~~ osdep.c:777:41: warning: pointer targets in passing argument 3 of ‘ssl_getline_work’ differ in signedness [-Wpointer-sign] 777 | ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * osdep.c:225:38: note: expected ‘long int *’ but argument is of type ‘long unsigned int *’ 225 | long *contd); | ~~~~~~^~~~~ env_unix.c: In function ‘pw_login’: env_unix.c:823:44: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 823 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [Makefile:948: osdep.o] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' make[3]: *** [Makefile:497: lnpno] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' make[2]: *** [Makefile:696: OSTYPE] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' make[1]: *** [Makefile:361: lfd] Error 2 make: *** [Makefile:979: c-client] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.AfHVGu (%build) Bad exit status from /var/tmp/rpm-tmp.AfHVGu (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/alpine.spec