Date: Thu, 20 Aug 2020 06:13:44 GMT From: pkg-fallout@FreeBSD.org To: 0mp@FreeBSD.org Cc: pkg-fallout@FreeBSD.org Subject: [package - head-i386-default][security/fswatch] Failed for fswatch-0.02.b5_1 in build Message-ID: <202008200613.07K6DiGG006962@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: 0mp@FreeBSD.org Last committer: 0mp@FreeBSD.org Ident: $FreeBSD: head/security/fswatch/Makefile 527165 2020-02-26 12:48:55Z 0mp $ Log URL: http://beefy17.nyi.freebsd.org/data/head-i386-default/p545479_s364329/logs/fswatch-0.02.b5_1.log Build URL: http://beefy17.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p545479_s364329 Log: =>> Building security/fswatch build started at Thu Aug 20 06:13:35 UTC 2020 port directory: /usr/ports/security/fswatch package name: fswatch-0.02.b5_1 building for: FreeBSD head-i386-default-job-05 13.0-CURRENT FreeBSD 13.0-CURRENT 1300109 i386 maintained by: 0mp@FreeBSD.org Makefile ident: $FreeBSD: head/security/fswatch/Makefile 527165 2020-02-26 12:48:55Z 0mp $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300100 Jail OSVERSION: 1300109 Job Id: 05 !!! 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--- ---End OPTIONS List--- --MAINTAINER-- 0mp@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local --enable-regex --enable-stflags --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/fswatch/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/fswatch/work HOME=/wrkdirs/usr/ports/security/fswatch/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/fswatch/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/security/fswatch/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/fswatch/work HOME=/wrkdirs/usr/ports/security/fswatch/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/fswatch/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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" BSD_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/fswatch" EXAMPLESDIR="share/examples/fswatch" DATADIR="share/fswatch" WWWDIR="www/fswatch" ETCDIR="etc/fswatch" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fswatch DOCSDIR=/usr/local/share/doc/fswatch EXAMPLESDIR=/usr/local/share/examples/fswatch WWWDIR=/usr/local/www/fswatch ETCDIR=/usr/local/etc/fswatch --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 BSD3CLAUSE accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> fswatch-0.02.b5_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.14.7.txz [head-i386-default-job-05] Installing pkg-1.14.7... [head-i386-default-job-05] Extracting pkg-1.14.7: .......... done ===> fswatch-0.02.b5_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of fswatch-0.02.b5_1 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by fswatch-0.02.b5_1 for building =========================================================================== =======================<phase: checksum >============================ ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by fswatch-0.02.b5_1 for building => SHA256 Checksum OK for fswatch-0.02beta5.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by fswatch-0.02.b5_1 for building ===> Extracting for fswatch-0.02.b5_1 => SHA256 Checksum OK for fswatch-0.02beta5.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for fswatch-0.02.b5_1 =========================================================================== =======================<phase: build-depends >============================ =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =======================<phase: configure >============================ ===> Configuring for fswatch-0.02.b5_1 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c <snip> } ^ --- db.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT db.o -MD -MP -MF ".deps/db.Tpo" -c -o db.o db.c; then mv -f ".deps/db.Tpo" ".deps/db.Po"; else rm -f ".deps/db.Tpo"; exit 1; fi db.c:72:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (close(p->db_fd) < 0) { ^ db.c:93:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write(p->db_fd, &rdbhead, sizeof(RDBHEAD)) < 0) ^ db.c:116:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write(p->db_fd, &rdbhead, sizeof(RDBHEAD)) < 0) ^ db.c:135:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if ((n=read(p->db_fd, &rdbhead, sizeof(RDBHEAD))) <= 0) ^ db.c:138:31: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] head->db_datasize=db_chton32(rdbhead.db_datasize); ^~~~~~~~~~~~~~~~~~~ db.c:139:17: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] len=db_chton16(rdbhead.db_pathlen); ^~~~~~~~~~~~~~~~~~ --- fi.o --- 1 warning generated. --- fstrav.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT fstrav.o -MD -MP -MF ".deps/fstrav.Tpo" -c -o fstrav.o fstrav.c; then mv -f ".deps/fstrav.Tpo" ".deps/fstrav.Po"; else rm -f ".deps/fstrav.Tpo"; exit 1; fi --- db.o --- 6 warnings generated. --- configfile.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT configfile.o -MD -MP -MF ".deps/configfile.Tpo" -c -o configfile.o configfile.c; then mv -f ".deps/configfile.Tpo" ".deps/configfile.Po"; else rm -f ".deps/configfile.Tpo"; exit 1; fi configfile.c:174:23: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] configfile_cutstreid(&s); ^~ configfile.c:222:23: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] configfile_cutstreid(&s); ^~ configfile.c:283:34: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] configfile_splitline(linebuff, &word, &arg); ^~~~~ configfile.c:283:41: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] configfile_splitline(linebuff, &word, &arg); ^~~~ configfile.c:344:33: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] configfile_splitline(linebuff, &word, &arg); ^~~~~ configfile.c:344:40: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] configfile_splitline(linebuff, &word, &arg); ^~~~ configfile.c:454:29: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] configfile_splitline(line, &word, &arg); ^~~~~ configfile.c:454:36: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] configfile_splitline(line, &word, &arg); ^~~~ --- perr.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT perr.o -MD -MP -MF ".deps/perr.Tpo" -c -o perr.o perr.c; then mv -f ".deps/perr.Tpo" ".deps/perr.Po"; else rm -f ".deps/perr.Tpo"; exit 1; fi perr.c:67:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); ^ perr.c:67:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' 1 warning generated. --- sha1.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT sha1.o -MD -MP -MF ".deps/sha1.Tpo" -c -o sha1.o sha1.c; then mv -f ".deps/sha1.Tpo" ".deps/sha1.Po"; else rm -f ".deps/sha1.Tpo"; exit 1; fi --- configfile.o --- 8 warnings generated. --- csumconv.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT csumconv.o -MD -MP -MF ".deps/csumconv.Tpo" -c -o csumconv.o csumconv.c; then mv -f ".deps/csumconv.Tpo" ".deps/csumconv.Po"; else rm -f ".deps/csumconv.Tpo"; exit 1; fi --- fswbuild.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT fswbuild.o -MD -MP -MF ".deps/fswbuild.Tpo" -c -o fswbuild.o fswbuild.c; then mv -f ".deps/fswbuild.Tpo" ".deps/fswbuild.Po"; else rm -f ".deps/fswbuild.Tpo"; exit 1; fi fswbuild.c:39:18: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Final(&ctx, sha); ^~~ ./sha1.h:66:42: note: passing argument to parameter 'hash' here void SHA1Final (SHA1Context *sc, uint8_t hash[SHA1_HASH_SIZE]); ^ fswbuild.c:56:18: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Final(&ctx, sha); ^~~ ./sha1.h:66:42: note: passing argument to parameter 'hash' here void SHA1Final (SHA1Context *sc, uint8_t hash[SHA1_HASH_SIZE]); ^ fswbuild.c:73:8: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)' [-Wimplicit-function-declaration] (void)memset(&fi, 0x0, sizeof(FI)); ^ fswbuild.c:73:8: note: include the header <string.h> or explicitly provide a declaration for 'memset' fswbuild.c:112:8: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned int)' [-Wimplicit-function-declaration] (void)strncpy(dbhead.db_path, path, PATH_MAX-1); ^ fswbuild.c:112:8: note: include the header <string.h> or explicitly provide a declaration for 'strncpy' 4 warnings generated. --- fswcmp.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT fswcmp.o -MD -MP -MF ".deps/fswcmp.Tpo" -c -o fswcmp.o fswcmp.c; then mv -f ".deps/fswcmp.Tpo" ".deps/fswcmp.Po"; else rm -f ".deps/fswcmp.Tpo"; exit 1; fi --- fswshow.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT fswshow.o -MD -MP -MF ".deps/fswshow.Tpo" -c -o fswshow.o fswshow.c; then mv -f ".deps/fswshow.Tpo" ".deps/fswshow.Po"; else rm -f ".deps/fswshow.Tpo"; exit 1; fi --- fswcmp.o --- fswcmp.c:71:7: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned int)' [-Wimplicit-function-declaration] if (DIFFFI((FI *)ftent->ft_data, &fi)) { ^ fswcmp.c:30:2: note: expanded from macro 'DIFFFI' memcmp((_fi1)->fi_sha, (_fi2)->fi_sha, FI_CSUMSIZE)!=0) \ ^ fswcmp.c:71:7: note: include the header <string.h> or explicitly provide a declaration for 'memcmp' fswcmp.c:30:2: note: expanded from macro 'DIFFFI' memcmp((_fi1)->fi_sha, (_fi2)->fi_sha, FI_CSUMSIZE)!=0) \ ^ fswcmp.c:72:19: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)' [-Wimplicit-function-declaration] if (!(np=(FI *)malloc(sizeof(FI)*2))) ^ fswcmp.c:72:19: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc' fswcmp.c:74:10: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' [-Wimplicit-function-declaration] (void)memcpy(&np[0], ftent->ft_data, sizeof(FI)); ^ fswcmp.c:74:10: note: include the header <string.h> or explicitly provide a declaration for 'memcpy' fswcmp.c:76:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(ftent->ft_data); ^ fswcmp.c:213:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); ^ fswcmp.c:213:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' fswcmp.c:243:10: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned int)' [-Wimplicit-function-declaration] (void)strncpy(p_diffdb, optarg, PATH_MAX-1); ^ fswcmp.c:243:10: note: include the header <string.h> or explicitly provide a declaration for 'strncpy' --- fswshow.o --- fswshow.c:40:6: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned int)' [-Wimplicit-function-declaration] strncmp(rsp->path, path, PATH_MAX)!=0) ^ fswshow.c:40:6: note: include the header <string.h> or explicitly provide a declaration for 'strncmp' fswshow.c:44:31: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' [-Wimplicit-function-declaration] strncmp(rsp->path, path, strlen(rsp->path))!=0) ^ fswshow.c:44:31: note: include the header <string.h> or explicitly provide a declaration for 'strlen' fswshow.c:122:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); ^ fswshow.c:122:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' fswshow.c:157:10: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned int)' [-Wimplicit-function-declaration] (void)strncpy(rsp.path, optarg, PATH_MAX); ^ fswshow.c:157:10: note: include the header <string.h> or explicitly provide a declaration for 'strncpy' 4 warnings generated. --- fswcmp.o --- 6 warnings generated. --- fswconf.o --- --- fswbuild --- --- fswconf.o --- if cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT fswconf.o -MD -MP -MF ".deps/fswconf.Tpo" -c -o fswconf.o fswconf.c; then mv -f ".deps/fswconf.Tpo" ".deps/fswconf.Po"; else rm -f ".deps/fswconf.Tpo"; exit 1; fi --- fswbuild --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o fswbuild pattern.o ft.o pclt.o fi.o db.o fstrav.o configfile.o perr.o sha1.o csumconv.o fswbuild.o ld: error: duplicate symbol: configfile_error >>> defined at configfile.c >>> configfile.o:(configfile_error) >>> defined at fswbuild.c >>> fswbuild.o:(.bss+0x804) ld: error: duplicate symbol: fstrav_error >>> defined at fstrav.c >>> fstrav.o:(fstrav_error) >>> defined at fswbuild.c >>> fswbuild.o:(.bss+0x0) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [fswbuild] Error code 1 make[3]: stopped in /wrkdirs/usr/ports/security/fswatch/work/fswatch-0.02beta5/src --- fswconf.o --- fswconf.c:138:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (1); ^ fswconf.c:138:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' fswconf.c:151:8: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned int)' [-Wimplicit-function-declaration] (void)strncpy(p_config, "/usr/local/etc/fswatch.conf", PATH_MAX); ^ fswconf.c:151:8: note: include the header <string.h> or explicitly provide a declaration for 'strncpy' fswconf.c:179:3: warning: implicit declaration of function 'perr1' is invalid in C99 [-Wimplicit-function-declaration] perr1("pcl_init()"); ^ 3 warnings generated. 1 error make[3]: stopped in /wrkdirs/usr/ports/security/fswatch/work/fswatch-0.02beta5/src *** [all-recursive] Error code 1 make[2]: stopped in /wrkdirs/usr/ports/security/fswatch/work/fswatch-0.02beta5 1 error make[2]: stopped in /wrkdirs/usr/ports/security/fswatch/work/fswatch-0.02beta5 *** [all] Error code 2 make[1]: stopped in /wrkdirs/usr/ports/security/fswatch/work/fswatch-0.02beta5 1 error make[1]: stopped in /wrkdirs/usr/ports/security/fswatch/work/fswatch-0.02beta5 ===> 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/security/fswatch
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008200613.07K6DiGG006962>