Date: Sun, 6 Sep 2020 17:23:41 -0700 From: Samee Shahzada <onestsam@gmail.com> To: pkg-fallout@freebsd.org Subject: Re: [package - head-i386-default][security/snort2pfcd] Failed for snort2pfcd-2.8 in build Message-ID: <CABukWPwSRq%2BgWVjZrOxRRj4q=9kGnARDKXa5pC%2BtS7S6dZ4d4w@mail.gmail.com> In-Reply-To: <202009062331.086NVMoQ023089@beefy17.nyi.freebsd.org> References: <202009062331.086NVMoQ023089@beefy17.nyi.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Submitted patch on bugzilla On Sun, Sep 6, 2020, 4:31 PM <pkg-fallout@freebsd.org> wrote: > 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: onestsam@gmail.com > Last committer: swills@FreeBSD.org > Ident: $FreeBSD: head/security/snort2pfcd/Makefile 543960 > 2020-08-02 13:57:42Z swills $ > Log URL: > http://beefy17.nyi.freebsd.org/data/head-i386-default/p547769_s365355/logs/snort2pfcd-2.8.log > Build URL: > http://beefy17.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p547769_s365355 > Log: > > =>> Building security/snort2pfcd > build started at Sun Sep 6 23:31:19 UTC 2020 > port directory: /usr/ports/security/snort2pfcd > package name: snort2pfcd-2.8 > building for: FreeBSD head-i386-default-job-05 13.0-CURRENT FreeBSD > 13.0-CURRENT 1300113 i386 > maintained by: onestsam@gmail.com > Makefile ident: $FreeBSD: head/security/snort2pfcd/Makefile 543960 > 2020-08-02 13:57:42Z swills $ > Poudriere version: 3.2.8-5-gc81843e5 > Host OSVERSION: 1300100 > Jail OSVERSION: 1300113 > Job Id: 05 > > > > > !!! Jail is newer than host. (Jail: 1300113, 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=1300113 > UNAME_v=FreeBSD 13.0-CURRENT 1300113 > 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-- > onestsam@gmail.com > --End MAINTAINER-- > > --CONFIGURE_ARGS-- > > --End CONFIGURE_ARGS-- > > --CONFIGURE_ENV-- > XDG_DATA_HOME=/wrkdirs/usr/ports/security/snort2pfcd/work > XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/snort2pfcd/work > HOME=/wrkdirs/usr/ports/security/snort2pfcd/work TMPDIR="/tmp" > PATH=/wrkdirs/usr/ports/security/snort2pfcd/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin > SHELL=/bin/sh CONFIG_SHELL=/bin/sh > --End CONFIGURE_ENV-- > > --MAKE_ENV-- > XDG_DATA_HOME=/wrkdirs/usr/ports/security/snort2pfcd/work > XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/snort2pfcd/work > HOME=/wrkdirs/usr/ports/security/snort2pfcd/work TMPDIR="/tmp" > PATH=/wrkdirs/usr/ports/security/snort2pfcd/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/snort2pfcd" > EXAMPLESDIR="share/examples/snort2pfcd" DATADIR="share/snort2pfcd" > WWWDIR="www/snort2pfcd" ETCDIR="etc/snort2pfcd" > --End PLIST_SUB-- > > --SUB_LIST-- > PREFIX=/usr/local LOCALBASE=/usr/local > DATADIR=/usr/local/share/snort2pfcd DOCSDIR=/usr/local/share/doc/snort2pfcd > EXAMPLESDIR=/usr/local/share/examples/snort2pfcd > WWWDIR=/usr/local/www/snort2pfcd ETCDIR=/usr/local/etc/snort2pfcd > --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-rc2-0-g414f32a9e86) 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-rc2-0-g414f32a9e86) 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-rc2-0-g414f32a9e86) 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=1300113 > 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 BSD2CLAUSE accepted by the user > =========================================================================== > =======================<phase: pkg-depends >============================ > ===> snort2pfcd-2.8 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 > ===> snort2pfcd-2.8 depends on file: /usr/local/sbin/pkg - found > ===> Returning to build of snort2pfcd-2.8 > =========================================================================== > =======================<phase: fetch-depends >============================ > =========================================================================== > =======================<phase: fetch >============================ > ===> License BSD2CLAUSE accepted by the user > ===> Fetching all distfiles required by snort2pfcd-2.8 for building > =========================================================================== > =======================<phase: checksum >============================ > ===> License BSD2CLAUSE accepted by the user > ===> Fetching all distfiles required by snort2pfcd-2.8 for building > => SHA256 Checksum OK for snort2pfcd-2.8.tar.gz. > =========================================================================== > =======================<phase: extract-depends>============================ > =========================================================================== > =======================<phase: extract >============================ > ===> License BSD2CLAUSE accepted by the user > ===> Fetching all distfiles required by snort2pfcd-2.8 for building > ===> Extracting for snort2pfcd-2.8 > => SHA256 Checksum OK for snort2pfcd-2.8.tar.gz. > =========================================================================== > =======================<phase: patch-depends >============================ > =========================================================================== > =======================<phase: patch >============================ > ===> Patching for snort2pfcd-2.8 > =========================================================================== > =======================<phase: build-depends >============================ > =========================================================================== > =======================<phase: lib-depends >============================ > ===> snort2pfcd-2.8 depends on shared library: libcidr.so - not found > ===> Installing existing package /packages/All/libcidr-1.2.3.txz > [head-i386-default-job-05] Installing libcidr-1.2.3... > [head-i386-default-job-05] Extracting libcidr-1.2.3: .......... done > ===> snort2pfcd-2.8 depends on shared library: libcidr.so - found > (/usr/local/lib/libcidr.so) > ===> Returning to build of snort2pfcd-2.8 > =========================================================================== > =======================<phase: configure >============================ > ===> Configuring for snort2pfcd-2.8 > =========================================================================== > =======================<phase: build >============================ > ===> Building for snort2pfcd-2.8 > --- objwarn --- > --- .depend --- > --- objwarn --- > Warning: Object directory not changed from original > /wrkdirs/usr/ports/security/snort2pfcd/work/snort2pfcd-2.8 > --- .depend --- > echo snort2pfcd: /usr/lib/libc.a >> .depend > --- main.o --- > --- parser.o --- > --- main.o --- > cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall > -pedantic -pthread -D_REENTRANT -D_THREAD_SAFE -D_VERSION="" > -I/usr/local/include -MD -MF.depend.main.o -MTmain.o -std=gnu99 > -Wno-format-zero-length -nobuiltininc -idirafter > /usr/lib/clang/11.0.0/include -fstack-protector-strong > -Qunused-arguments -c main.c -o main.o > --- parser.o --- > cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall > -pedantic -pthread -D_REENTRANT -D_THREAD_SAFE -D_VERSION="" > -I/usr/local/include -MD -MF.depend.parser.o -MTparser.o -std=gnu99 > -Wno-format-zero-length -nobuiltininc -idirafter > /usr/lib/clang/11.0.0/include -fstack-protector-strong > -Qunused-arguments -c parser.c -o parser.o > --- main.o --- > main.c:113:109: warning: incompatible pointer types passing 'long *' to > parameter of type 'const time_t *' (aka 'const int *') > [-Wincompatible-pointer-types] > sprintf(loopdata->randombuf, "\n<=== %s %s %s \n", > loopdata->tablename, S2CD_LANG_START, > asctime(localtime(&loopdata->timebuf))); > > ^~~~~~~~~~~~~~~~~~ > /usr/include/time.h:156:36: note: passing argument to parameter here > struct tm *localtime(const time_t *); > ^ > 1 warning generated. > --- kevent.o --- > cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall > -pedantic -pthread -D_REENTRANT -D_THREAD_SAFE -D_VERSION="" > -I/usr/local/include -MD -MF.depend.kevent.o -MTkevent.o -std=gnu99 > -Wno-format-zero-length -nobuiltininc -idirafter > /usr/lib/clang/11.0.0/include -fstack-protector-strong > -Qunused-arguments -c kevent.c -o kevent.o > --- spfc.o --- > cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall > -pedantic -pthread -D_REENTRANT -D_THREAD_SAFE -D_VERSION="" > -I/usr/local/include -MD -MF.depend.spfc.o -MTspfc.o -std=gnu99 > -Wno-format-zero-length -nobuiltininc -idirafter > /usr/lib/clang/11.0.0/include -fstack-protector-strong > -Qunused-arguments -c spfc.c -o spfc.o > --- tools.o --- > cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall > -pedantic -pthread -D_REENTRANT -D_THREAD_SAFE -D_VERSION="" > -I/usr/local/include -MD -MF.depend.tools.o -MTtools.o -std=gnu99 > -Wno-format-zero-length -nobuiltininc -idirafter > /usr/lib/clang/11.0.0/include -fstack-protector-strong > -Qunused-arguments -c tools.c -o tools.o > --- spfc.o --- > spfc.c:184:122: warning: incompatible pointer types passing 'long *' to > parameter of type 'const time_t *' (aka 'const int *') > [-Wincompatible-pointer-types] > sprintf(pfbl_log->message, "%s %s %s %s", pfbl_log->local_logip, > pfbl_log->hbuf, S2CD_LANG_UNBLOCKED, asctime(localtime(&timebuf))); > > ^~~~~~~~ > /usr/include/time.h:156:36: note: passing argument to parameter here > struct tm *localtime(const time_t *); > ^ > spfc.c:229:129: warning: incompatible pointer types passing 'long *' to > parameter of type 'const time_t *' (aka 'const int *') > [-Wincompatible-pointer-types] > sprintf(pfbl_log->message, "%s (%s) %s %s", pfbl_log->local_logip, > pfbl_log->hbuf, S2CD_LANG_NOT_PASSLISTED, asctime(localtime(&timebuf))); > > ^~~~~~~~ > /usr/include/time.h:156:36: note: passing argument to parameter here > struct tm *localtime(const time_t *); > ^ > 2 warnings generated. > --- ioctl_helpers.o --- > --- snort2pfcd.8.gz --- > --- ioctl_helpers.o --- > cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall > -pedantic -pthread -D_REENTRANT -D_THREAD_SAFE -D_VERSION="" > -I/usr/local/include -MD -MF.depend.ioctl_helpers.o -MTioctl_helpers.o > -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter > /usr/lib/clang/11.0.0/include -fstack-protector-strong > -Qunused-arguments -c ioctl_helpers.c -o ioctl_helpers.o > --- snort2pfcd.8.gz --- > gzip -cn snort2pfcd.8 > snort2pfcd.8.gz > --- snort2pfcd --- > cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -pedantic > -pthread -D_REENTRANT -D_THREAD_SAFE -D_VERSION="" -I/usr/local/include > -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter > /usr/lib/clang/11.0.0/include -fstack-protector-strong -Qunused-arguments > -fstack-protector-strong -lutil -L/usr/local/lib -lcidr -o snort2pfcd > main.o parser.o kevent.o spfc.o tools.o ioctl_helpers.o > ld: error: duplicate symbol: C > >>> defined at main.c > >>> main.o:(C) > >>> defined at parser.c > >>> parser.o:(.bss+0x14) > > ld: error: duplicate symbol: F > >>> defined at main.c > >>> main.o:(F) > >>> defined at parser.c > >>> parser.o:(.bss+0x4) > > ld: error: duplicate symbol: afile_monitor > >>> defined at main.c > >>> main.o:(afile_monitor) > >>> defined at parser.c > >>> parser.o:(.bss+0x20) > > ld: error: duplicate symbol: bfile_monitor > >>> defined at main.c > >>> main.o:(bfile_monitor) > >>> defined at parser.c > >>> parser.o:(.bss+0x28) > > ld: error: duplicate symbol: dns_mutex > >>> defined at main.c > >>> main.o:(dns_mutex) > >>> defined at parser.c > >>> parser.o:(.bss+0x30) > > ld: error: duplicate symbol: fm_mutex > >>> defined at main.c > >>> main.o:(fm_mutex) > >>> defined at parser.c > >>> parser.o:(.bss+0x34) > > ld: error: duplicate symbol: log_mutex > >>> defined at main.c > >>> main.o:(log_mutex) > >>> defined at parser.c > >>> parser.o:(.bss+0x2C) > > ld: error: duplicate symbol: pf_mutex > >>> defined at main.c > >>> main.o:(pf_mutex) > >>> defined at parser.c > >>> parser.o:(.bss+0x10) > > ld: error: duplicate symbol: pf_reset > >>> defined at main.c > >>> main.o:(pf_reset) > >>> defined at parser.c > >>> parser.o:(.bss+0x1C) > > ld: error: duplicate symbol: pfh > >>> defined at main.c > >>> main.o:(pfh) > >>> defined at parser.c > >>> parser.o:(.bss+0x18) > > ld: error: duplicate symbol: pfile_monitor > >>> defined at main.c > >>> main.o:(pfile_monitor) > >>> defined at parser.c > >>> parser.o:(.bss+0x24) > > ld: error: duplicate symbol: s2cd_threads > >>> defined at main.c > >>> main.o:(s2cd_threads) > >>> defined at parser.c > >>> parser.o:(.bss+0xC) > > ld: error: duplicate symbol: thr_mutex > >>> defined at main.c > >>> main.o:(thr_mutex) > >>> defined at parser.c > >>> parser.o:(.bss+0x8) > > ld: error: duplicate symbol: v > >>> defined at main.c > >>> main.o:(v) > >>> defined at parser.c > >>> parser.o:(.bss+0x0) > > ld: error: duplicate symbol: C > >>> defined at main.c > >>> main.o:(C) > >>> defined at kevent.c > >>> kevent.o:(.bss+0x14) > > ld: error: duplicate symbol: F > >>> defined at main.c > >>> main.o:(F) > >>> defined at kevent.c > >>> kevent.o:(.bss+0x4) > > ld: error: duplicate symbol: afile_monitor > >>> defined at main.c > >>> main.o:(afile_monitor) > >>> defined at kevent.c > >>> kevent.o:(.bss+0x28) > > ld: error: duplicate symbol: bfile_monitor > >>> defined at main.c > >>> main.o:(bfile_monitor) > >>> defined at kevent.c > >>> kevent.o:(.bss+0x10) > > ld: error: duplicate symbol: dns_mutex > >>> defined at main.c > >>> main.o:(dns_mutex) > >>> defined at kevent.c > >>> kevent.o:(.bss+0x30) > > ld: error: duplicate symbol: fm_mutex > >>> defined at main.c > >>> main.o:(fm_mutex) > >>> defined at kevent.c > >>> kevent.o:(.bss+0x8) > > ld: error: too many errors emitted, stopping now (use -error-limit=0 to > see all errors) > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [snort2pfcd] Error code 1 > > make[1]: stopped in > /wrkdirs/usr/ports/security/snort2pfcd/work/snort2pfcd-2.8 > 1 error > > make[1]: stopped in > /wrkdirs/usr/ports/security/snort2pfcd/work/snort2pfcd-2.8 > ===> 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/snort2pfcd >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABukWPwSRq%2BgWVjZrOxRRj4q=9kGnARDKXa5pC%2BtS7S6dZ4d4w>