* Package: mail-filter/libsrs_alt-1.0-r1:0 * Repository: gentoo * Maintainer: grobian@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libsrs_alt-1.0.tar.bz2 to /var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work >>> Source unpacked in /var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work >>> Preparing source in /var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0 ... * Applying libsrs_alt-1.0-ftime.patch ... [ ok ] * Applying libsrs_alt-1.0-link-fix.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal --system-acdir=/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: libsrs_alt-1.0/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0 ... * econf: updating libsrs_alt-1.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libsrs_alt-1.0/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libsrs_alt-1.0-r1 --htmldir=/usr/share/doc/libsrs_alt-1.0-r1/html --with-sysroot=/ --libdir=/usr/lib64 --with-base64compat checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of clang++... none checking for x86_64-pc-linux-gnu-gcc... clang checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking how to run the C preprocessor... clang -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for vfork.h... no checking for wchar.h... yes checking for minix/config.h... no checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... clang++ -E checking for ld used by clang++... /usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC -DPIC checking if clang++ PIC flag -fPIC -DPIC works... yes checking if clang++ static flag -static works... yes checking if clang++ supports -c -o file.o... yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking for egrep... (cached) /bin/grep -E checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/socket.h... yes checking for sys/timeb.h... yes checking for unistd.h... (cached) yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking return type of signal handlers... void checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for working strnlen... yes checking for bind in -lsocket... no checking for ftime in -lcompat... no checking for ftime... yes checking for memset... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for size_t... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/temp/clang14.log' -> '/var/tmp/clang/mail-filter/libsrs_alt-1.0-r1/clang14.log' '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/temp/clang15.log' -> '/var/tmp/clang/mail-filter/libsrs_alt-1.0-r1/clang15.log' >>> Compiling source in /var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0 ... make -j4 -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0' Making all in lib make[2]: Entering directory '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0/lib' clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_a-hmac.o `test -f 'hmac.c' || echo './'`hmac.c hmac.c:47:58: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_digest->DIGEST_process(hmac->digest_struct, secret, secret_len); ^~~~~~ hmac.c:48:54: warning: passing 'char[64]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_digest->DIGEST_end(hmac->digest_struct, hmac->secret); ^~~~~~~~~~~~ hmac.c:63:54: warning: passing 'char[64]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_digest->DIGEST_process(hmac->digest_struct, ipad, hmac_digest->... ^~~~ hmac.c:90:56: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac->hmac_digest->DIGEST_end(hmac->digest_struct, hmac->hash); ^~~~~~~~~~ hmac.c:98:60: warning: passing 'char[64]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac->hmac_digest->DIGEST_process(hmac->digest_struct, opad, hmac->h... ^~~~ hmac.c:101:60: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac->hmac_digest->DIGEST_process(hmac->digest_struct, hmac->hash, h... ^~~~~~~~~~ hmac.c:104:56: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac->hmac_digest->DIGEST_end(hmac->digest_struct, hmac->hash); ^~~~~~~~~~ 7 warnings generated. clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_a-sha1.o `test -f 'sha1.c' || echo './'`sha1.c sha1.c:27:5: warning: incompatible function pointer types initializing 'int (*)(void *)' with an expression of type 'int (mSHA1 *)' (aka 'int (struct mSHA1_s *)') [-Wincompatible-function-pointer-types] mSHA1_start, ^~~~~~~~~~~ sha1.c:28:5: warning: incompatible function pointer types initializing 'int (*)(void *, unsigned char *)' with an expression of type 'int (mSHA1 *, unsigned char *)' (aka 'int (struct mSHA1_s *, unsigned char *)') [-Wincompatible-function-pointer-types] mSHA1_block, ^~~~~~~~~~~ sha1.c:29:5: warning: incompatible function pointer types initializing 'int (*)(void *, unsigned char *, int)' with an expression of type 'int (mSHA1 *, unsigned char *, int)' (aka 'int (struct mSHA1_s *, unsigned char *, int)') [-Wincompatible-function-pointer-types] mSHA1_process, ^~~~~~~~~~~~~ sha1.c:30:5: warning: incompatible function pointer types initializing 'int (*)(void *, unsigned char *)' with an expression of type 'int (mSHA1 *, unsigned char *)' (aka 'int (struct mSHA1_s *, unsigned char *)') [-Wincompatible-function-pointer-types] mSHA1_end ^~~~~~~~~ 4 warnings generated. rm -f libcompat.a x86_64-pc-linux-gnu-ar cru libcompat.a libcompat_a-hmac.o libcompat_a-sha1.o x86_64-pc-linux-gnu-ranlib libcompat.a /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_la-hmac.lo `test -f 'hmac.c' || echo './'`hmac.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c hmac.c -fPIC -DPIC -o .libs/libcompat_la-hmac.o hmac.c:47:58: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_digest->DIGEST_process(hmac->digest_struct, secret, secret_len); ^~~~~~ hmac.c:48:54: warning: passing 'char[64]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_digest->DIGEST_end(hmac->digest_struct, hmac->secret); ^~~~~~~~~~~~ hmac.c:63:54: warning: passing 'char[64]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac_digest->DIGEST_process(hmac->digest_struct, ipad, hmac_digest->... ^~~~ hmac.c:90:56: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac->hmac_digest->DIGEST_end(hmac->digest_struct, hmac->hash); ^~~~~~~~~~ hmac.c:98:60: warning: passing 'char[64]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac->hmac_digest->DIGEST_process(hmac->digest_struct, opad, hmac->h... ^~~~ hmac.c:101:60: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac->hmac_digest->DIGEST_process(hmac->digest_struct, hmac->hash, h... ^~~~~~~~~~ hmac.c:104:56: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hmac->hmac_digest->DIGEST_end(hmac->digest_struct, hmac->hash); ^~~~~~~~~~ 7 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c hmac.c -o libcompat_la-hmac.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libcompat_la-sha1.lo `test -f 'sha1.c' || echo './'`sha1.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c sha1.c -fPIC -DPIC -o .libs/libcompat_la-sha1.o sha1.c:27:5: warning: incompatible function pointer types initializing 'int (*)(void *)' with an expression of type 'int (mSHA1 *)' (aka 'int (struct mSHA1_s *)') [-Wincompatible-function-pointer-types] mSHA1_start, ^~~~~~~~~~~ sha1.c:28:5: warning: incompatible function pointer types initializing 'int (*)(void *, unsigned char *)' with an expression of type 'int (mSHA1 *, unsigned char *)' (aka 'int (struct mSHA1_s *, unsigned char *)') [-Wincompatible-function-pointer-types] mSHA1_block, ^~~~~~~~~~~ sha1.c:29:5: warning: incompatible function pointer types initializing 'int (*)(void *, unsigned char *, int)' with an expression of type 'int (mSHA1 *, unsigned char *, int)' (aka 'int (struct mSHA1_s *, unsigned char *, int)') [-Wincompatible-function-pointer-types] mSHA1_process, ^~~~~~~~~~~~~ sha1.c:30:5: warning: incompatible function pointer types initializing 'int (*)(void *, unsigned char *)' with an expression of type 'int (mSHA1 *, unsigned char *)' (aka 'int (struct mSHA1_s *, unsigned char *)') [-Wincompatible-function-pointer-types] mSHA1_end ^~~~~~~~~ 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c sha1.c -o libcompat_la-sha1.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libcompat.la libcompat_la-hmac.lo libcompat_la-sha1.lo libtool: link: x86_64-pc-linux-gnu-ar cr .libs/libcompat.a .libs/libcompat_la-hmac.o .libs/libcompat_la-sha1.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libcompat.a libtool: link: ( cd ".libs" && rm -f "libcompat.la" && ln -s "../libcompat.la" "libcompat.la" ) make[2]: Leaving directory '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0/lib' Making all in src make[2]: Entering directory '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0/src' clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsrs_alt_a-address.o `test -f 'address.c' || echo './'`address.c address.c:157:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 1 warning generated. clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsrs_alt_a-hash.o `test -f 'hash.c' || echo './'`hash.c hash.c:36:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mHMAC_process(&hmac, data, data_len); ^~~~ ./../lib/hmac.h:46:47: note: passing argument to parameter 'data' here int mHMAC_process(mHMAC *hmac, unsigned char *data, int data_len); ^ hash.c:37:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mHMAC_end(&hmac, md); ^~ ./../lib/hmac.h:47:43: note: passing argument to parameter 'hash_buffer' here int mHMAC_end(mHMAC *hmac, unsigned char *hash_buffer); ^ hash.c:66:24: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] srs__base64enc(md, n, buf, 128); ^~ ./address.h:37:49: note: passing argument to parameter 'data' here extern srs_result srs__base64enc(unsigned char *data, uint data_len, cha... ^ 3 warnings generated. clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsrs_alt_a-srs_alt.o `test -f 'srs_alt.c' || echo './'`srs_alt.c srs_alt.c:255:27: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(srs__base64enc(md, n, lbuf, SRS_MAX_ADDRESS_LENGTH) != SRS_RESULT_OK) ^~ ./address.h:37:49: note: passing argument to parameter 'data' here extern srs_result srs__base64enc(unsigned char *data, uint data_len, cha... ^ srs_alt.c:316:57: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if(srs__hash(srs, -1, address, strlen(address), md, &n) != SRS_RESULT_OK) ^~ ./hash.h:28:92: note: passing argument to parameter 'md_len' here ...*srs, int secret_no, char *data, uint data_len, char *md, uint *md_len); ^ srs_alt.c:320:23: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(srs__base64enc(md, n, buf, SRS_MAX_ADDRESS_LENGTH) != SRS_RESULT_OK) ^~ ./address.h:37:49: note: passing argument to parameter 'data' here extern srs_result srs__base64enc(unsigned char *data, uint data_len, cha... ^ 3 warnings generated. clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsrs_alt_a-timestamp.o `test -f 'timestamp.c' || echo './'`timestamp.c rm -f libsrs_alt.a x86_64-pc-linux-gnu-ar cru libsrs_alt.a libsrs_alt_a-address.o libsrs_alt_a-hash.o libsrs_alt_a-srs_alt.o libsrs_alt_a-timestamp.o ../lib/libcompat.a x86_64-pc-linux-gnu-ranlib libsrs_alt.a /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsrs_alt_la-address.lo `test -f 'address.c' || echo './'`address.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c address.c -fPIC -DPIC -o .libs/libsrs_alt_la-address.o address.c:157:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 1 warning generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c address.c -o libsrs_alt_la-address.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsrs_alt_la-hash.lo `test -f 'hash.c' || echo './'`hash.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c hash.c -fPIC -DPIC -o .libs/libsrs_alt_la-hash.o hash.c:36:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mHMAC_process(&hmac, data, data_len); ^~~~ ./../lib/hmac.h:46:47: note: passing argument to parameter 'data' here int mHMAC_process(mHMAC *hmac, unsigned char *data, int data_len); ^ hash.c:37:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mHMAC_end(&hmac, md); ^~ ./../lib/hmac.h:47:43: note: passing argument to parameter 'hash_buffer' here int mHMAC_end(mHMAC *hmac, unsigned char *hash_buffer); ^ hash.c:66:24: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] srs__base64enc(md, n, buf, 128); ^~ ./address.h:37:49: note: passing argument to parameter 'data' here extern srs_result srs__base64enc(unsigned char *data, uint data_len, cha... ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c hash.c -o libsrs_alt_la-hash.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsrs_alt_la-srs_alt.lo `test -f 'srs_alt.c' || echo './'`srs_alt.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c srs_alt.c -fPIC -DPIC -o .libs/libsrs_alt_la-srs_alt.o srs_alt.c:255:27: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(srs__base64enc(md, n, lbuf, SRS_MAX_ADDRESS_LENGTH) != SRS_RESULT_OK) ^~ ./address.h:37:49: note: passing argument to parameter 'data' here extern srs_result srs__base64enc(unsigned char *data, uint data_len, cha... ^ srs_alt.c:316:57: warning: passing 'int *' to parameter of type 'uint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if(srs__hash(srs, -1, address, strlen(address), md, &n) != SRS_RESULT_OK) ^~ ./hash.h:28:92: note: passing argument to parameter 'md_len' here ...*srs, int secret_no, char *data, uint data_len, char *md, uint *md_len); ^ srs_alt.c:320:23: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(srs__base64enc(md, n, buf, SRS_MAX_ADDRESS_LENGTH) != SRS_RESULT_OK) ^~ ./address.h:37:49: note: passing argument to parameter 'data' here extern srs_result srs__base64enc(unsigned char *data, uint data_len, cha... ^ 3 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c srs_alt.c -o libsrs_alt_la-srs_alt.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsrs_alt_la-timestamp.lo `test -f 'timestamp.c' || echo './'`timestamp.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c timestamp.c -fPIC -DPIC -o .libs/libsrs_alt_la-timestamp.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c timestamp.c -o libsrs_alt_la-timestamp.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -version-info 1:0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libsrs_alt.la -rpath /usr/lib64 libsrs_alt_la-address.lo libsrs_alt_la-hash.lo libsrs_alt_la-srs_alt.lo libsrs_alt_la-timestamp.lo ../lib/libcompat.la libtool: link: clang -shared -fPIC -DPIC .libs/libsrs_alt_la-address.o .libs/libsrs_alt_la-hash.o .libs/libsrs_alt_la-srs_alt.o .libs/libsrs_alt_la-timestamp.o -Wl,--whole-archive ../lib/.libs/libcompat.a -Wl,--no-whole-archive -Wl,--as-needed -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libsrs_alt.so.1 -o .libs/libsrs_alt.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libsrs_alt.so.1" && ln -s "libsrs_alt.so.1.0.0" "libsrs_alt.so.1") libtool: link: (cd ".libs" && rm -f "libsrs_alt.so" && ln -s "libsrs_alt.so.1.0.0" "libsrs_alt.so") libtool: link: (cd .libs/libsrs_alt.lax/libcompat.a && x86_64-pc-linux-gnu-ar x "/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0/src/../lib/.libs/libcompat.a") libtool: link: x86_64-pc-linux-gnu-ar cr .libs/libsrs_alt.a libsrs_alt_la-address.o libsrs_alt_la-hash.o libsrs_alt_la-srs_alt.o libsrs_alt_la-timestamp.o .libs/libsrs_alt.lax/libcompat.a/libcompat_la-hmac.o .libs/libsrs_alt.lax/libcompat.a/libcompat_la-sha1.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libsrs_alt.a libtool: link: rm -fr .libs/libsrs_alt.lax libtool: link: ( cd ".libs" && rm -f "libsrs_alt.la" && ln -s "../libsrs_alt.la" "libsrs_alt.la" ) make[2]: Leaving directory '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0/src' Making all in . make[2]: Entering directory '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0' clang -DHAVE_CONFIG_H -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o srs.o srs.c srs.c:392:1: warning: non-void function does not return a value [-Wreturn-type] } ^ srs.c:492:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] while((ns = accept(s, (struct sockaddr *)&cs, &csl)) > 0) ^~~~ /usr/include/sys/socket.h:307:28: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ srs.c:574:66: warning: illegal character encoding in string literal [-Winvalid-source-encoding] printf("srs - libsrs_alt library http://srs.mirtol.com/\n2004 Miles ... ^~~~ srs.c:595:9: error: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] wait(NULL); ^ 3 warnings and 1 error generated. make[2]: *** [Makefile:513: srs.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0' make[1]: *** [Makefile:545: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0' make: *** [Makefile:374: all] Error 2 * ERROR: mail-filter/libsrs_alt-1.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=mail-filter/libsrs_alt-1.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-filter/libsrs_alt-1.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/mail-filter:libsrs_alt-1.0-r1:20221005-084946.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0' * S: '/var/tmp/portage/mail-filter/libsrs_alt-1.0-r1/work/libsrs_alt-1.0'