From nobody Fri Jun 07 06:49:48 2024 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VwWz04nvvz5Mvs2 for ; Fri, 07 Jun 2024 06:49:48 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VwWz00zr4z4pTD for ; Fri, 7 Jun 2024 06:49:48 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717742988; a=rsa-sha256; cv=none; b=gOCns7+b5ZJjw0LyovUVZ6ta/muKuFS7pN0dtJPMSRPC+tF8jE/G8+qwK0nYN/i9DS3aeH f9zeLcviYjLvob3cDlT5Hkbq+F8o2/oGWKSfG7QRiQh90pV8TkAOn0cN2ZH4GRlLNkwa55 nopi6liUKD9pDs0S9SgkhSMBFkR4frRqrxOsai+u532gzPsLChvocoE9BgE2+WLNsWi+/p P9zmAmWtOlg8ySNDEqbLWw36jNGWcPPuZg6pXWxV24qZ/FTensygAvD652Zmkxy8O+5nan Dpy8m1tQoZuqFiUpCkO86PZY5JCNRrR8syuvn9QnD3RaCy1KN89buDIV6EcevA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717742988; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=3JzztkGLh+RIDTpmt1PkbPtv3bOoOoBn2UlNUcwMdLM=; b=KiO1KKVmf31uyW8bxj0Pu5+zJIg9u6vpS8ZsSfy8fYEG8xuayoedzpSQAXpbDu/g5Qr+1V Fnf1CZkkXVQw5JadwXMvNkKceoVN9smBxgpzdTPqSUSTiRFIr6BEFCjvWlIwZA5VuwXZnB tQHXgT3ynqCf0BUiJz5KBw0Ksp6z6hdwwZCMDgidM12NO7c4Iq7U73oHxeVjhbtGko3wim 52CoN1yUQs8TYkOCF44VrHkhTXu7vmME+zNd5MCo2nfo735hM8G5rgTMcvyvDez/LDFIoZ PknjvyHIj4AqRqn+PzsDE0VXT0zFp3M2STEHxDievUp83ElPaaD8+5WYGRj4Og== Received: from beefy17.nyi.freebsd.org (beefy17.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:20]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4VwWz00ZjQz1JcK for ; Fri, 7 Jun 2024 06:49:48 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 551f by beefy17.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy17.nyi.freebsd.org); Fri, 07 Jun 2024 06:49:48 +0000 To: pi@FreeBSD.org Subject: [package - main-i386-default][mail/libsrs_alt] Failed for libsrs_alt-1.0_2 in build Cc: pkg-fallout@FreeBSD.org Date: Fri, 07 Jun 2024 06:49:48 +0000 Message-Id: <6662ad8c.551f.4e82cfb@beefy17.nyi.freebsd.org> From: List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@FreeBSD.org You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: pi@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p3905913943f0_sc70c791f066/logs/libsrs_alt-1.0_2.log Build URL: https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p3905913943f0_sc70c791f066 Log: =>> Building mail/libsrs_alt build started at Fri Jun 7 06:49:39 UTC 2024 port directory: /usr/ports/mail/libsrs_alt package name: libsrs_alt-1.0_2 building for: FreeBSD main-i386-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500019 i386 maintained by: pi@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 966 Aug 10 2023 /usr/ports/mail/libsrs_alt/Makefile Ports top last git commit: 3905913943f Ports top unclean checkout: no Port dir last git commit: a254074c95d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.1-30-g79e3edcd Host OSVERSION: 1500018 Jail OSVERSION: 1500019 Job Id: 06 !!! Jail is newer than host. (Jail: 1500019, Host: 1500018) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 OSVERSION=1500019 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 UNAME_m=i386 UNAME_p=i386 UNAME_r=15.0-CURRENT LOCALBASE=/usr/local UNAME_v=FreeBSD 15.0-CURRENT 1500019 USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.1-30-g79e3edcd MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/main-i386-default/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=main-i386-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for libsrs_alt-1.0_2: COMPAT_BASE64=off: MTA Friendly base64 compatibility mode ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- pi@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work/.cache HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/libsrs_alt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/libsrs_alt/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work/.cache HOME=/wrkdirs/usr/ports/mail/libsrs_alt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/libsrs_alt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/libsrs_alt/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="ins tall -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- SHLIB_MAJOR="1" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libsrs_alt" EXAMPLESDIR="share/examples/libsrs_alt" DATADIR="share/libsrs_alt" WWWDIR="www/libsrs_alt" ETCDIR="etc/libsrs_alt" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libsrs_alt DOCSDIR=/usr/local/share/doc/libsrs_alt EXAMPLESDIR=/usr/local/share/examples/libsrs_alt WWWDIR=/usr/local/www/libsrs_alt ETCDIR=/usr/local/etc/libsrs_alt --End SUB_LIST-- ---Begin make.conf--- # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs MAKE_JOBS_NUMBER=3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs MAKE_JOBS_NUMBER=3 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> libsrs_alt-1.0_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.21.3.pkg [main-i386-default-job-06] Installing pkg-1.21.3... [main-i386-default-job-06] Extracting pkg-1.21.3: .......... done ===> libsrs_alt-1.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of libsrs_alt-1.0_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by libsrs_alt-1.0_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by libsrs_alt-1.0_2 for building => SHA256 Checksum OK for libsrs_alt-1.0.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by libsrs_alt-1.0_2 for building ===> Extracting for libsrs_alt-1.0_2 => SHA256 Checksum OK for libsrs_alt-1.0.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for libsrs_alt-1.0_2 ===> Applying FreeBSD patches for libsrs_alt-1.0_2 from /usr/ports/mail/libsrs_alt/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ./address.h:37:49: note: passing argument to parameter 'data' here --- libsrs_alt_la-address.lo --- | ^ --- libsrs_alt_la-srs_alt.lo --- 37 | extern srs_result srs__base64enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len); | ^ 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] 316 | 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 28 | srs_result srs__hash(srs_t *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] 320 | if(srs__base64enc(md, n, buf, SRS_MAX_ADDRESS_LENGTH) != SRS_RESULT_OK) | ^~ ./address.h:37:49: note: passing argument to parameter 'data' here 37 | extern srs_result srs__base64enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len); | ^ --- libsrs_alt_la-hash.lo --- 3 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-hash.lo -MD -MP -MF .deps/libsrs_alt_la-hash.Tpo -c hash.c -o libsrs_alt_la-hash.o >/dev/null 2>&1 --- libsrs_alt_la-address.lo --- 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-address.lo -MD -MP -MF .deps/libsrs_alt_la-address.Tpo -c address.c -o libsrs_alt_la-address.o >/dev/null 2>&1 --- libsrs_alt_la-timestamp.lo --- if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-timestamp.lo -MD -MP -MF ".deps/libsrs_alt_la-timestamp.Tpo" -c -o libsrs_alt_la-timestamp.lo `test -f 'timestamp.c' || echo './'`timestamp.c; then mv -f ".deps/libsrs_alt_la-timestamp.Tpo" ".deps/libsrs_alt_la-timestamp.Plo"; else rm -f ".deps/libsrs_alt_la-timestamp.Tpo"; exit 1; fi --- libsrs_alt_la-srs_alt.lo --- 3 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-srs_alt.lo -MD -MP -MF .deps/libsrs_alt_la-srs_alt.Tpo -c srs_alt.c -o libsrs_alt_la-srs_alt.o >/dev/null 2>&1 --- libsrs_alt_la-timestamp.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-timestamp.lo -MD -MP -MF .deps/libsrs_alt_la-timestamp.Tpo -c timestamp.c -fPIC -DPIC -o .libs/libsrs_alt_la-timestamp.o --- libsrs_alt_a-address.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_a-address.o -MD -MP -MF ".deps/libsrs_alt_a-address.Tpo" -c -o libsrs_alt_a-address.o `test -f 'address.c' || echo './'`address.c; then mv -f ".deps/libsrs_alt_a-address.Tpo" ".deps/libsrs_alt_a-address.Po"; else rm -f ".deps/libsrs_alt_a-address.Tpo"; exit 1; fi address.c:157:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 157 | } | ^ --- libsrs_alt_la-timestamp.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_la-timestamp.lo -MD -MP -MF .deps/libsrs_alt_la-timestamp.Tpo -c timestamp.c -o libsrs_alt_la-timestamp.o >/dev/null 2>&1 --- libsrs_alt_a-address.o --- 1 warning generated. --- libsrs_alt_a-hash.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_a-hash.o -MD -MP -MF ".deps/libsrs_alt_a-hash.Tpo" -c -o libsrs_alt_a-hash.o `test -f 'hash.c' || echo './'`hash.c; then mv -f ".deps/libsrs_alt_a-hash.Tpo" ".deps/libsrs_alt_a-hash.Po"; else rm -f ".deps/libsrs_alt_a-hash.Tpo"; exit 1; fi --- libsrs_alt_a-srs_alt.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_a-srs_alt.o -MD -MP -MF ".deps/libsrs_alt_a-srs_alt.Tpo" -c -o libsrs_alt_a-srs_alt.o `test -f 'srs_alt.c' || echo './'`srs_alt.c; then mv -f ".deps/libsrs_alt_a-srs_alt.Tpo" ".deps/libsrs_alt_a-srs_alt.Po"; else rm -f ".deps/libsrs_alt_a-srs_alt.Tpo"; exit 1; fi --- libsrs_alt_a-timestamp.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT libsrs_alt_a-timestamp.o -MD -MP -MF ".deps/libsrs_alt_a-timestamp.Tpo" -c -o libsrs_alt_a-timestamp.o `test -f 'timestamp.c' || echo './'`timestamp.c; then mv -f ".deps/libsrs_alt_a-timestamp.Tpo" ".deps/libsrs_alt_a-timestamp.Po"; else rm -f ".deps/libsrs_alt_a-timestamp.Tpo"; exit 1; fi --- libsrs_alt_a-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] 36 | mHMAC_process(&hmac, data, data_len); | ^~~~ ./../lib/hmac.h:46:47: note: passing argument to parameter 'data' here 46 | 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] 37 | mHMAC_end(&hmac, md); | ^~ ./../lib/hmac.h:47:43: note: passing argument to parameter 'hash_buffer' here 47 | 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] 66 | srs__base64enc(md, n, buf, 128); | ^~ ./address.h:37:49: note: passing argument to parameter 'data' here 37 | extern srs_result srs__base64enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len); | ^ --- libsrs_alt_a-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] 255 | if(srs__base64enc(md, n, lbuf, SRS_MAX_ADDRESS_LENGTH) != SRS_RESULT_OK) | ^~ ./address.h:37:49: note: passing argument to parameter 'data' here 37 | extern srs_result srs__base64enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len); | ^ 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] 316 | 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 28 | srs_result srs__hash(srs_t *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] 320 | if(srs__base64enc(md, n, buf, SRS_MAX_ADDRESS_LENGTH) != SRS_RESULT_OK) | ^~ ./address.h:37:49: note: passing argument to parameter 'data' here 37 | extern srs_result srs__base64enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len); | ^ --- libsrs_alt_a-hash.o --- 3 warnings generated. --- libsrs_alt.la --- /bin/sh ../libtool --tag=CC --mode=link cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o libsrs_alt.la -rpath /usr/local/lib -version-info 1:0 libsrs_alt_la-address.lo libsrs_alt_la-hash.lo libsrs_alt_la-srs_alt.lo libsrs_alt_la-timestamp.lo ../lib/libcompat.la cc -shared .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,-soname -Wl,libsrs_alt.so.1 -o .libs/libsrs_alt.so.1.0.0 --- libsrs_alt_a-srs_alt.o --- 3 warnings generated. --- libsrs_alt.la --- (cd .libs && rm -f libsrs_alt.so.1 && ln -s libsrs_alt.so.1.0.0 libsrs_alt.so.1) --- libsrs_alt.a --- --- libsrs_alt.la --- (cd .libs && rm -f libsrs_alt.so && ln -s libsrs_alt.so.1.0.0 libsrs_alt.so) --- libsrs_alt.a --- rm -f libsrs_alt.a 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 --- libsrs_alt.la --- rm -fr .libs/libsrs_alt.lax mkdir .libs/libsrs_alt.lax --- libsrs_alt.a --- ranlib libsrs_alt.a --- libsrs_alt.la --- rm -fr .libs/libsrs_alt.lax/libcompat.a mkdir .libs/libsrs_alt.lax/libcompat.a (cd .libs/libsrs_alt.lax/libcompat.a && ar x /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0/src/../lib/.libs/libcompat.a) ar cru .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-sha1.o .libs/libsrs_alt.lax/libcompat.a/libcompat_la-hmac.o ranlib .libs/libsrs_alt.a rm -fr .libs/libsrs_alt.lax creating libsrs_alt.la (cd .libs && rm -f libsrs_alt.la && ln -s ../libsrs_alt.la libsrs_alt.la) Making all in . --- srs.o --- --- test.o --- --- srs.o --- if cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT srs.o -MD -MP -MF ".deps/srs.Tpo" -c -o srs.o srs.c; then mv -f ".deps/srs.Tpo" ".deps/srs.Po"; else rm -f ".deps/srs.Tpo"; exit 1; fi --- test.o --- if cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -MT test.o -MD -MP -MF ".deps/test.Tpo" -c -o test.o test.c; then mv -f ".deps/test.Tpo" ".deps/test.Po"; else rm -f ".deps/test.Tpo"; exit 1; fi In file included from test.c:4: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ test.c:31:9: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | exit(0); | ^ test.c:31:9: note: include the header or explicitly provide a declaration for 'exit' test.c:35:24: 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] 35 | n = srs__base64enc(argv[1], strlen(argv[1]), buf, 256); | ^~~~~~~ ./src/address.h:37:49: note: passing argument to parameter 'data' here 37 | extern srs_result srs__base64enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len); | ^ test.c:44:24: 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] 44 | n = srs__base32enc(argv[1], strlen(argv[1]), buf, 256); | ^~~~~~~ ./src/address.h:39:49: note: passing argument to parameter 'data' here 39 | extern srs_result srs__base32enc(unsigned char *data, uint data_len, char *buffer, uint buffer_len); | ^ --- srs.o --- srs.c:392:1: warning: non-void function does not return a value [-Wreturn-type] 392 | } | ^ 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] 492 | while((ns = accept(s, (struct sockaddr *)&cs, &csl)) > 0) | ^~~~ /usr/include/sys/socket.h:678:69: note: passing argument to parameter here 678 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ srs.c:574:66: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 574 | printf("srs - libsrs_alt library http://srs.mirtol.com/\n2004 Miles Wilton\n\n"); | ^~~~ srs.c:595:9: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 595 | wait(NULL); | ^ --- test.o --- 4 warnings generated. --- test --- /bin/sh ./libtool --tag=CC --mode=link cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o test src/.libs/libsrs_alt.a -lcompat test.o lib/libcompat.a mkdir .libs cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o test test.o src/.libs/libsrs_alt.a -lcompat lib/libcompat.a ld: error: undefined symbol: ftime >>> referenced by test.c >>> test.o:(main) >>> referenced by test.c >>> test.o:(main) >>> referenced by test.c >>> test.o:(main) >>> did you mean: ctime >>> defined in: /lib/libc.so.7 --- srs.o --- 4 warnings generated. --- test --- cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [test] Error code 1 make[2]: stopped in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0 make[2]: 1 error make[2]: stopped in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0 *** [all-recursive] Error code 1 make[1]: stopped in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0 make[1]: 1 error make[1]: stopped in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0 *** [all] Error code 2 make: stopped in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0 make: 1 error make: stopped in /wrkdirs/usr/ports/mail/libsrs_alt/work/libsrs_alt-1.0 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/mail/libsrs_alt