Date: Thu, 20 Aug 2020 07:06:27 GMT From: pkg-fallout@FreeBSD.org To: manuel.creach@icloud.com Cc: pkg-fallout@FreeBSD.org Subject: [package - head-i386-default][net/afpfs-ng] Failed for afpfs-ng-0.8.1_6 in build Message-ID: <202008200706.07K76Rdf051418@beefy17.nyi.freebsd.org>
next in thread | raw e-mail | index | archive | help
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: manuel.creach@icloud.com Last committer: sunpoet@FreeBSD.org Ident: $FreeBSD: head/net/afpfs-ng/Makefile 498476 2019-04-09 14:04:49Z sunpoet $ Log URL: http://beefy17.nyi.freebsd.org/data/head-i386-default/p545479_s364329/logs/afpfs-ng-0.8.1_6.log Build URL: http://beefy17.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p545479_s364329 Log: =>> Building net/afpfs-ng build started at Thu Aug 20 07:05:56 UTC 2020 port directory: /usr/ports/net/afpfs-ng package name: afpfs-ng-0.8.1_6 building for: FreeBSD head-i386-default-job-13 13.0-CURRENT FreeBSD 13.0-CURRENT 1300109 i386 maintained by: manuel.creach@icloud.com Makefile ident: $FreeBSD: head/net/afpfs-ng/Makefile 498476 2019-04-09 14:04:49Z sunpoet $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300100 Jail OSVERSION: 1300109 Job Id: 13 !!! Jail is newer than host. (Jail: 1300109, Host: 1300100) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1300109 UNAME_v=FreeBSD 13.0-CURRENT 1300109 UNAME_r=13.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-5-gc81843e5 MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for afpfs-ng-0.8.1_6: FUSE=off: FUSE (Filesystem in Userspace) support GCRYPT=off: Use GNU crypt library instead of OpenSSL ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- manuel.creach@icloud.com --End MAINTAINER-- --CONFIGURE_ARGS-- --disable-fuse --disable-gcrypt --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/afpfs-ng/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/afpfs-ng/work HOME=/wrkdirs/usr/ports/net/afpfs-ng/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/afpfs-ng/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin 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/net/afpfs-ng/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/afpfs-ng/work HOME=/wrkdirs/usr/ports/net/afpfs-ng/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/afpfs-ng/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes 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-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include" LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BS D_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/afpfs-ng" EXAMPLESDIR="share/examples/afpfs-ng" DATADIR="share/afpfs-ng" WWWDIR="www/afpfs-ng" ETCDIR="etc/afpfs-ng" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/afpfs-ng DOCSDIR=/usr/local/share/doc/afpfs-ng EXAMPLESDIR=/usr/local/share/examples/afpfs-ng WWWDIR=/usr/local/www/afpfs-ng ETCDIR=/usr/local/etc/afpfs-ng --End SUB_LIST-- ---Begin make.conf--- 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} #### /usr/local/etc/poudriere.d/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 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300109 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### 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) 1024 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-- =======================<phase: check-sanity >============================ ===> License GPLv2 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> afpfs-ng-0.8.1_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.14.7.txz [head-i386-default-job-13] Installing pkg-1.14.7... [head-i386-default-job-13] Extracting pkg-1.14.7: .......... done ===> afpfs-ng-0.8.1_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of afpfs-ng-0.8.1_6 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by afpfs-ng-0.8.1_6 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by afpfs-ng-0.8.1_6 for building => SHA256 Checksum OK for afpfs-ng-0.8.1.tar.bz2. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by afpfs-ng-0.8.1_6 for building ===> Extracting for afpfs-ng-0.8.1_6 => SHA256 Checksum OK for afpfs-ng-0.8.1.tar.bz2. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for afpfs-ng-0.8.1_6 ===> Applying FreeBSD patches for afpfs-ng-0.8.1_6 from /usr/ports/net/afpfs-ng/files =========================================================================== =======================<phase: build-depends >============================ ===> afpfs-ng-0.8.1_6 depends on package: gmake>=4.3 - not found ===> Installing existing package /packages/All/gmake-4.3_2.txz <snip> afp_url.c:238:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(url->servername,strlen(p)+1,p); ^ afp_url.c:238:39: note: treat the string as an argument to avoid this snprintf(url->servername,strlen(p)+1,p); ^ "%s", afp_url.c:268:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(url->password,strlen(q)+1,q); ^ afp_url.c:268:38: note: treat the string as an argument to avoid this snprintf(url->password,strlen(q)+1,q); ^ "%s", afp_url.c:281:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(url->uamname,strlen(q)+1,q); ^ afp_url.c:281:37: note: treat the string as an argument to avoid this snprintf(url->uamname,strlen(q)+1,q); ^ "%s", afp_url.c:289:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(url->username,strlen(p)+1,p); ^ afp_url.c:289:38: note: treat the string as an argument to avoid this snprintf(url->username,strlen(p)+1,p); ^ "%s", afp_url.c:309:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(url->volumename,strlen(p)+1,p); ^ afp_url.c:309:39: note: treat the string as an argument to avoid this snprintf(url->volumename,strlen(p)+1,p); ^ "%s", afp_url.c:314:36: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(url->path+1,strlen(q)+1,q); ^ afp_url.c:314:36: note: treat the string as an argument to avoid this snprintf(url->path+1,strlen(q)+1,q); ^ "%s", libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-status.lo -MD -MP -MF .deps/libafpclient_la-status.Tpo -c status.c -o libafpclient_la-status.o >/dev/null 2>&1 6 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-afp_url.lo -MD -MP -MF .deps/libafpclient_la-afp_url.Tpo -c afp_url.c -o libafpclient_la-afp_url.o >/dev/null 2>&1 mv -f .deps/libafpclient_la-status.Tpo .deps/libafpclient_la-status.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-forklist.lo -MD -MP -MF .deps/libafpclient_la-forklist.Tpo -c -o libafpclient_la-forklist.lo `test -f 'forklist.c' || echo './'`forklist.c mv -f .deps/libafpclient_la-afp_url.Tpo .deps/libafpclient_la-afp_url.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-debug.lo -MD -MP -MF .deps/libafpclient_la-debug.Tpo -c -o libafpclient_la-debug.lo `test -f 'debug.c' || echo './'`debug.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-forklist.lo -MD -MP -MF .deps/libafpclient_la-forklist.Tpo -c forklist.c -fPIC -DPIC -o .libs/libafpclient_la-forklist.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-debug.lo -MD -MP -MF .deps/libafpclient_la-debug.Tpo -c debug.c -fPIC -DPIC -o .libs/libafpclient_la-debug.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-forklist.lo -MD -MP -MF .deps/libafpclient_la-forklist.Tpo -c forklist.c -o libafpclient_la-forklist.o >/dev/null 2>&1 libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-debug.lo -MD -MP -MF .deps/libafpclient_la-debug.Tpo -c debug.c -o libafpclient_la-debug.o >/dev/null 2>&1 mv -f .deps/libafpclient_la-debug.Tpo .deps/libafpclient_la-debug.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-lowlevel.lo -MD -MP -MF .deps/libafpclient_la-lowlevel.Tpo -c -o libafpclient_la-lowlevel.lo `test -f 'lowlevel.c' || echo './'`lowlevel.c mv -f .deps/libafpclient_la-forklist.Tpo .deps/libafpclient_la-forklist.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-identify.lo -MD -MP -MF .deps/libafpclient_la-identify.Tpo -c -o libafpclient_la-identify.lo `test -f 'identify.c' || echo './'`identify.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-lowlevel.lo -MD -MP -MF .deps/libafpclient_la-lowlevel.Tpo -c lowlevel.c -fPIC -DPIC -o .libs/libafpclient_la-lowlevel.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-identify.lo -MD -MP -MF .deps/libafpclient_la-identify.Tpo -c identify.c -fPIC -DPIC -o .libs/libafpclient_la-identify.o lowlevel.c:280:5: warning: implicit declaration of function 'ml_creat' is invalid in C99 [-Wimplicit-function-declaration] (ml_creat(volume,path,0644)==0)) { ^ lowlevel.c:314:2: warning: implicit declaration of function 'add_opened_fork' is invalid in C99 [-Wimplicit-function-declaration] add_opened_fork(volume, fp); ^ lowlevel.c:257:40: warning: result of comparison of constant 4294967295 with expression of type 'unsigned short' is always false [-Wtautological-constant-out-of-range-compare] if ((fp->resource ? (fp->resourcesize>=(AFP_MAX_AFP2_FILESIZE-1)) : ~~~~~~~~~~~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ lowlevel.c:499:23: warning: taking address of packed member 'permissions' of class or structure 'afp_unixprivs' may result in an unaligned pointer value [-Waddress-of-packed-member] set_nonunix_perms(&p->unixprivs.permissions, p); ^~~~~~~~~~~~~~~~~~~~~~~~ lowlevel.c:585:21: warning: incompatible pointer types passing 'mode_t *' (aka 'unsigned short *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] set_nonunix_perms(&stbuf->st_mode,&fp); ^~~~~~~~~~~~~~~ lowlevel.c:29:46: note: passing argument to parameter 'mode' here static void set_nonunix_perms(unsigned int * mode, struct afp_file_info *fp) ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-identify.lo -MD -MP -MF .deps/libafpclient_la-identify.Tpo -c identify.c -o libafpclient_la-identify.o >/dev/null 2>&1 mv -f .deps/libafpclient_la-identify.Tpo .deps/libafpclient_la-identify.Plo 5 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT libafpclient_la-lowlevel.lo -MD -MP -MF .deps/libafpclient_la-lowlevel.Tpo -c lowlevel.c -o libafpclient_la-lowlevel.o >/dev/null 2>&1 mv -f .deps/libafpclient_la-lowlevel.Tpo .deps/libafpclient_la-lowlevel.Plo /bin/sh ../libtool --tag=CC --mode=link cc -D_FILE_OFFSET_BITS=64 -I../include -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -o libafpclient.la -rpath /usr/local/lib libafpclient_la-afp.lo libafpclient_la-codepage.lo libafpclient_la-did.lo libafpclient_la-dsi.lo libafpclient_la-map_def.lo libafpclient_la-uams.lo libafpclient_la-uams_def.lo libafpclient_la-unicode.lo libafpclient_la-users.lo libafpclient_la-utils.lo libafpclient_la-resource.lo libafpclient_la-log.lo libafpclient_la-client.lo libafpclient_la-server.lo libafpclient_la-connect.lo libafpclient_la-loop.lo libafpclient_la-midlevel.lo libafpclient_la-proto_attr.lo libafpclient_la-proto_desktop.lo libafpclient_la-proto_directory.lo libafpclient_la-proto_files.lo libafpclient_la-proto_fork.lo libafpclient_la-proto_login.lo libafpclient_la-proto_ma p.lo libafpclient_la-proto_replyblock.lo libafpclient_la-proto_server.lo libafpclient_la-proto_volume.lo libafpclient_la-proto_session.lo libafpclient_la-afp_url.lo libafpclient_la-status.lo libafpclient_la-forklist.lo libafpclient_la-debug.lo libafpclient_la-lowlevel.lo libafpclient_la-identify.lo -lpthread -lreadline -lncurses -L/usr/local/lib libtool: link: cc -shared -fPIC -DPIC .libs/libafpclient_la-afp.o .libs/libafpclient_la-codepage.o .libs/libafpclient_la-did.o .libs/libafpclient_la-dsi.o .libs/libafpclient_la-map_def.o .libs/libafpclient_la-uams.o .libs/libafpclient_la-uams_def.o .libs/libafpclient_la-unicode.o .libs/libafpclient_la-users.o .libs/libafpclient_la-utils.o .libs/libafpclient_la-resource.o .libs/libafpclient_la-log.o .libs/libafpclient_la-client.o .libs/libafpclient_la-server.o .libs/libafpclient_la-connect.o .libs/libafpclient_la-loop.o .libs/libafpclient_la-midlevel.o .libs/libafpclient_la-proto_attr.o .libs/libafpclient_la-proto_desktop.o .libs/libafpclient_la-proto_directory.o .libs/libafpclient_la-proto_files.o .libs/libafpclient_la-proto_fork.o .libs/libafpclient_la-proto_login.o .libs/libafpclient_la-proto_map.o .libs/libafpclient_la-proto_replyblock.o .libs/libafpclient_la-proto_server.o .libs/libafpclient_la-proto_volume.o .libs/libafpclient_la-proto_session.o .libs/libafpclient_la-afp_url.o .libs/libafpclient_la-status.o .libs/libafpclient_la-forklist.o .libs/libafpclient_la-debug.o .libs/libafpclient_la-lowlevel.o .libs/libafpclient_la-identify.o -L/usr/local/lib -lpthread -lreadline -lncurses -O2 -fstack-protector-strong -O2 -fstack-protector-strong -fstack-protector-strong -Wl,-soname -Wl,libafpclient.so.0 -o .libs/libafpclient.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libafpclient.so.0" && ln -s "libafpclient.so.0.0.0" "libafpclient.so.0") libtool: link: (cd ".libs" && rm -f "libafpclient.so" && ln -s "libafpclient.so.0.0.0" "libafpclient.so") libtool: link: ar cru .libs/libafpclient.a libafpclient_la-afp.o libafpclient_la-codepage.o libafpclient_la-did.o libafpclient_la-dsi.o libafpclient_la-map_def.o libafpclient_la-uams.o libafpclient_la-uams_def.o libafpclient_la-unicode.o libafpclient_la-users.o libafpclient_la-utils.o libafpclient_la-resource.o libafpclient_la-log.o libafpclient_la-client.o libafpclient_la-server.o libafpclient_la-connect.o libafpclient_la-loop.o libafpclient_la-midlevel.o libafpclient_la-proto_attr.o libafpclient_la-proto_desktop.o libafpclient_la-proto_directory.o libafpclient_la-proto_files.o libafpclient_la-proto_fork.o libafpclient_la-proto_login.o libafpclient_la-proto_map.o libafpclient_la-proto_replyblock.o libafpclient_la-proto_server.o libafpclient_la-proto_volume.o libafpclient_la-proto_session.o libafpclient_la-afp_url.o libafpclient_la-status.o libafpclient_la-forklist.o libafpclient_la-debug.o libafpclient_la-lowlevel.o libafpclient_la-identify.o libtool: link: ranlib .libs/libafpclient.a libtool: link: ( cd ".libs" && rm -f "libafpclient.la" && ln -s "../libafpclient.la" "libafpclient.la" ) gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/afpfs-ng/work/afpfs-ng-0.8.1/lib' Making all in cmdline gmake[3]: Entering directory '/wrkdirs/usr/ports/net/afpfs-ng/work/afpfs-ng-0.8.1/cmdline' cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -I../include -D_FILE_OFFSET_BITS=64 -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT afpcmd-cmdline_afp.o -MD -MP -MF .deps/afpcmd-cmdline_afp.Tpo -c -o afpcmd-cmdline_afp.o `test -f 'cmdline_afp.c' || echo './'`cmdline_afp.c cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -I../include -D_FILE_OFFSET_BITS=64 -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT afpcmd-cmdline_main.o -MD -MP -MF .deps/afpcmd-cmdline_main.Tpo -c -o afpcmd-cmdline_main.o `test -f 'cmdline_main.c' || echo './'`cmdline_main.c cmdline_main.c:181:12: warning: incompatible function pointer types initializing 'int (*)(char *)' with an expression of type 'int (void)' [-Wincompatible-function-pointer-types] { "test",test_urls,"URL parsing test",1}, ^~~~~~~~~ cmdline_main.c:416:2: warning: implicit declaration of function 'cmdline_afp_setup_client' is invalid in C99 [-Wimplicit-function-declaration] cmdline_afp_setup_client(); ^ cmdline_main.c:418:2: warning: implicit declaration of function 'afp_main_quick_startup' is invalid in C99 [-Wimplicit-function-declaration] afp_main_quick_startup(NULL); ^ cmdline_afp.c:420:20: warning: more '%' conversions than data arguments [-Wformat] printf("Mode of %s isn't octal\n"); ~^ cmdline_afp.c:831:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(text); ^~~~ cmdline_afp.c:831:9: note: treat the string as an argument to avoid this printf(text); ^ "%s", cmdline_afp.c:835:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(text); ^~~~ cmdline_afp.c:835:9: note: treat the string as an argument to avoid this printf(text); ^ "%s", cmdline_afp.c:1220:2: warning: 'snprintf' size argument is too large; destination buffer has size 768, but size argument is 1024 [-Wfortify-source] snprintf(curdir,PATH_MAX,"%s",DEFAULT_DIRECTORY); ^ 3 warnings generated. mv -f .deps/afpcmd-cmdline_main.Tpo .deps/afpcmd-cmdline_main.Po cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -I../include -D_FILE_OFFSET_BITS=64 -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT afpcmd-cmdline_testafp.o -MD -MP -MF .deps/afpcmd-cmdline_testafp.Tpo -c -o afpcmd-cmdline_testafp.o `test -f 'cmdline_testafp.c' || echo './'`cmdline_testafp.c cmdline_testafp.c:17:2: warning: declaration of 'enum (anonymous at cmdline_testafp.c:17:2)' will not be visible outside of this function [-Wvisibility] enum {TCPIP,AT} protocol, ^ cmdline_testafp.c:29:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(valid_url.servername,servername); ^~~~~~~~~~ cmdline_testafp.c:29:31: note: treat the string as an argument to avoid this sprintf(valid_url.servername,servername); ^ "%s", cmdline_testafp.c:30:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(valid_url.volumename,volumename); ^~~~~~~~~~ cmdline_testafp.c:30:31: note: treat the string as an argument to avoid this sprintf(valid_url.volumename,volumename); ^ "%s", cmdline_testafp.c:31:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(valid_url.path,path); ^~~~ cmdline_testafp.c:31:25: note: treat the string as an argument to avoid this sprintf(valid_url.path,path); ^ "%s", cmdline_testafp.c:32:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(valid_url.username,username); ^~~~~~~~ cmdline_testafp.c:32:29: note: treat the string as an argument to avoid this sprintf(valid_url.username,username); ^ "%s", cmdline_testafp.c:33:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(valid_url.password,password); ^~~~~~~~ cmdline_testafp.c:33:29: note: treat the string as an argument to avoid this sprintf(valid_url.password,password); ^ "%s", cmdline_testafp.c:34:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(valid_url.uamname,uamname); ^~~~~~~ cmdline_testafp.c:34:28: note: treat the string as an argument to avoid this sprintf(valid_url.uamname,uamname); ^ "%s", 7 warnings generated. mv -f .deps/afpcmd-cmdline_testafp.Tpo .deps/afpcmd-cmdline_testafp.Po cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -I../include -D_FILE_OFFSET_BITS=64 -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -MT afpgetstatus-getstatus.o -MD -MP -MF .deps/afpgetstatus-getstatus.Tpo -c -o afpgetstatus-getstatus.o `test -f 'getstatus.c' || echo './'`getstatus.c mv -f .deps/afpgetstatus-getstatus.Tpo .deps/afpgetstatus-getstatus.Po /bin/sh ../libtool --tag=CC --mode=link cc -I../include -D_FILE_OFFSET_BITS=64 -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -o afpgetstatus afpgetstatus-getstatus.o ../lib/libafpclient.la -lpthread -lreadline -lncurses -L/usr/local/lib 4 warnings generated. mv -f .deps/afpcmd-cmdline_afp.Tpo .deps/afpcmd-cmdline_afp.Po /bin/sh ../libtool --tag=CC --mode=link cc -I../include -D_FILE_OFFSET_BITS=64 -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -o afpcmd afpcmd-cmdline_afp.o afpcmd-cmdline_main.o afpcmd-cmdline_testafp.o -lreadline -lncurses ../lib/libafpclient.la -lpthread -lreadline -lncurses -L/usr/local/lib libtool: link: cc -I../include -D_FILE_OFFSET_BITS=64 -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/afpgetstatus afpgetstatus-getstatus.o -L/usr/local/lib ../lib/.libs/libafpclient.so -lpthread -lreadline -lncurses -Wl,-rpath -Wl,/usr/local/lib libtool: link: cc -I../include -D_FILE_OFFSET_BITS=64 -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-return-type -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/afpcmd afpcmd-cmdline_afp.o afpcmd-cmdline_main.o afpcmd-cmdline_testafp.o -L/usr/local/lib ../lib/.libs/libafpclient.so -lpthread -lreadline -lncurses -Wl,-rpath -Wl,/usr/local/lib ld: error: duplicate symbol: full_url >>> defined at cmdline_afp.c >>> afpcmd-cmdline_afp.o:(full_url) >>> defined at cmdline_main.c >>> afpcmd-cmdline_main.o:(.bss+0x38) cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[3]: *** [Makefile:395: afpcmd] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/afpfs-ng/work/afpfs-ng-0.8.1/cmdline' gmake[2]: *** [Makefile:393: all-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/afpfs-ng/work/afpfs-ng-0.8.1' gmake[1]: *** [Makefile:325: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/afpfs-ng/work/afpfs-ng-0.8.1' ===> 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/net/afpfs-ng
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008200706.07K76Rdf051418>