Date: Sun, 31 Jan 2021 21:49:12 GMT From: pkg-fallout@FreeBSD.org To: daniel@freebsd.ro Cc: pkg-fallout@FreeBSD.org Subject: [package - 13stable-i386-default][net/traff] Failed for traff-0.7_1 in build Message-ID: <202101312149.10VLnC4h049865@beefy15.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: daniel@freebsd.ro Last committer: tobik@FreeBSD.org Ident: $FreeBSD: head/net/traff/Makefile 517643 2019-11-15 10:12:08Z tobik $ Log URL: http://beefy15.nyi.freebsd.org/data/13stable-i386-default/563269/logs/traff-0.7_1.log Build URL: http://beefy15.nyi.freebsd.org/build.html?mastername=13stable-i386-default&build=563269 Log: =>> Building net/traff build started at Sun Jan 31 21:49:03 UTC 2021 port directory: /usr/ports/net/traff package name: traff-0.7_1 building for: FreeBSD 13stable-i386-default-job-12 13.0-ALPHA3 FreeBSD 13.0-ALPHA3 1300137 i386 maintained by: daniel@freebsd.ro Makefile ident: $FreeBSD: head/net/traff/Makefile 517643 2019-11-15 10:12:08Z tobik $ Poudriere version: 3.2.8-8-gaf08dbda Host OSVERSION: 1400000 Jail OSVERSION: 1300137 Job Id: 12 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1300137 UNAME_v=FreeBSD 13.0-ALPHA3 1300137 UNAME_r=13.0-ALPHA3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 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-8-gaf08dbda MASTERMNT=/usr/local/poudriere/data/.m/13stable-i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/13stable-i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=13stable-i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/13stable-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 traff-0.7_1: MYSQL=on: MySQL database support PGSQL=off: PostgreSQL database support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- daniel@freebsd.ro --End MAINTAINER-- --CONFIGURE_ARGS-- --enable-mysql --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/traff/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/traff/work HOME=/wrkdirs/usr/ports/net/traff/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/traff/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/traff/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/traff/work HOME=/wrkdirs/usr/ports/net/traff/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/traff/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="-DwithMYSQL -I/usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib -largp -L/usr/local/lib/mysql -lmysqlclient_r" 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/traff" EXAMPLESDIR="share/examples/traff" DATADIR="share/traff" WWWDIR="www/traff" ETCDIR="etc/traff" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/traff DOCSDIR=/usr/local/share/doc/traff EXAMPLESDIR=/usr/local/share/examples/traff WWWDIR=/usr/local/www/traff ETCDIR=/usr/local/etc/traff --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.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) 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.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=13.0-ALPHA3 OSREL=13.0 OSVERSION=1300137 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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 >============================ =========================================================================== =======================<phase: pkg-depends >============================ ===> traff-0.7_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.16.2.txz [13stable-i386-default-job-12] Installing pkg-1.16.2... [13stable-i386-default-job-12] Extracting pkg-1.16.2: .......... done ===> traff-0.7_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of traff-0.7_1 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> Fetching all distfiles required by traff-0.7_1 for building =========================================================================== =======================<phase: checksum >============================ ===> Fetching all distfiles required by traff-0.7_1 for building => SHA256 Checksum OK for traff-0.7.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> Fetching all distfiles required by traff-0.7_1 for building ===> Extracting for traff-0.7_1 => SHA256 Checksum OK for traff-0.7.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for traff-0.7_1 ===> Applying FreeBSD patches for traff-0.7_1 from /usr/ports/net/traff/files =========================================================================== =======================<phase: build-depends >============================ ===> traff-0.7_1 depends on file: /usr/local/include/argp.h - not found ===> Installing existing package /packages/All/argp-standalone-1.3_4.txz [13stable-i386-default-job-12] Installing argp-standalone-1.3_4... [13stable-i386-default-job-12] Extracting argp-standalone-1.3_4: ......... done ===== Message from argp-standalone-1.3_4: -- ===> NOTICE: The argp-standalone port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: <snip> ===== Message from ca_root_nss-3.58: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem ===== Message from cyrus-sasl-2.1.27_1: -- You can use sasldb2 for authentication, to add users use: saslpasswd2 -c username If you want to enable SMTP AUTH with the system Sendmail, read Sendmail.README NOTE: This port has been compiled with a default pwcheck_method of auxprop. If you want to authenticate your user by /etc/passwd, PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and set sasl_pwcheck_method to saslauthd after installing the Cyrus-IMAPd 2.X port. You should also check the /usr/local/lib/sasl2/*.conf files for the correct pwcheck_method. If you want to use GSSAPI mechanism, install ports/security/cyrus-sasl2-gssapi. If you want to use SRP mechanism, install ports/security/cyrus-sasl2-srp. If you want to use LDAP auxprop plugin, install ports/security/cyrus-sasl2-ldapdb. ===== Message from groff-1.22.4_3: -- In order to be able to use the html driver, you need to install the following packages: - ghostscript - netpbm ===== Message from mysql57-client-5.7.32_1: -- This is the mysql CLIENT without the server. for complete server and client, please install databases/mysql57-server ===> traff-0.7_1 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20) ===> Returning to build of traff-0.7_1 =========================================================================== =======================<phase: configure >============================ ===> Configuring for traff-0.7_1 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for mysql_real_connect in -lmysqlclient... yes checking for main in -lpcap... yes checking for main in -lpthread... yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for netinet/in.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/time.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... (cached) yes checking for vfork.h... (cached) no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking return type of signal handlers... void checking for strftime... (cached) yes checking for bzero... (cached) yes checking for memset... (cached) yes checking for mkfifo... yes checking for strcasecmp... (cached) yes checking for strerror... (cached) yes checking for strpbrk... (cached) yes checking for strspn... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands =========================================================================== =======================<phase: build >============================ ===> Building for traff-0.7_1 gmake[1]: Entering directory '/wrkdirs/usr/ports/net/traff/work/traff-0.7' gmake all-am gmake[2]: Entering directory '/wrkdirs/usr/ports/net/traff/work/traff-0.7' if cc -DHAVE_CONFIG_H -I. -I. -I. -DwithMYSQL -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT traff.o -MD -MP -MF ".deps/traff.Tpo" \ -c -o traff.o `test -f 'traff.c' || echo './'`traff.c; \ then mv -f ".deps/traff.Tpo" ".deps/traff.Po"; \ else rm -f ".deps/traff.Tpo"; exit 1; \ fi traff.c:559:193: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] snprintf(my_query,QUERYLENGTH,"update %s set input=input+%d,output=output+%d where ip=\"%d.%d.%d.%d\" and timetag=%ld",cat->sql->table,data->input,data->output,ips[0],ips[1],ips[2],ips[3],timetag); ~~~ ^~~~~~~ %d traff.c:566:72: warning: format specifies type 'int' but the argument has type 'my_ulonglong' (aka 'unsigned long long') [-Wformat] DEBUG(printf("Error: %s, Affected Rows: %d\n",mysql_error(&mysql), mysql.affected_rows );) ~~ ^~~~~~~~~~~~~~~~~~~ %llu traff.c:41:43: note: expanded from macro 'DEBUG' #define DEBUG(s) {if ( arguments.debug ) {s}} while (0); ^ traff.c:568:159: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] snprintf(my_query,QUERYLENGTH,"insert into %s (ip,timetag,input,output) values (\"%d.%d.%d.%d\",%ld,%d,%d)",cat->sql->table,ips[0],ips[1],ips[2],ips[3],timetag,data->input,data->output); ~~~ ^~~~~~~ %d traff.c:688:130: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] printf("IP: %03d.%03d.%03d.%03d input: %8d output: %8d timetag: %8ld\n",ips[0],ips[1],ips[2],ips[3],data->input,data->output,timetag); ~~~~ ^~~~~~~ %8d traff.c:713:160: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] syslog(LOG_NOTICE,"Cat: %s IP: %03d.%03d.%03d.%03d input: %8d output: %8d timetag: %8ld\n",cat->name, ips[0],ips[1],ips[2],ips[3],data->input,data->output,timetag); ~~~~ ^~~~~~~ %8d traff.c:753:158: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(dumpfile,"Cat: %s IP: %03d.%03d.%03d.%03d input: %8d output: %8d timetag: %8ld\n",cat->name,ips[0],ips[1],ips[2],ips[3],data->input,data->output,timetag); ~~~~ ^~~~~~~ %8d 6 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I. -DwithMYSQL -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT ip_table.o -MD -MP -MF ".deps/ip_table.Tpo" \ -c -o ip_table.o `test -f 'ip_table.c' || echo './'`ip_table.c; \ then mv -f ".deps/ip_table.Tpo" ".deps/ip_table.Po"; \ else rm -f ".deps/ip_table.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DwithMYSQL -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT readconfig.o -MD -MP -MF ".deps/readconfig.Tpo" \ -c -o readconfig.o `test -f 'readconfig.c' || echo './'`readconfig.c; \ then mv -f ".deps/readconfig.Tpo" ".deps/readconfig.Po"; \ else rm -f ".deps/readconfig.Tpo"; exit 1; \ fi readconfig.c:306:10: warning: implicit conversion from enumeration type 'e_dumptypes' to different enumeration type 'e_opcodes' [-Wenum-conversion] return dt_BadOption; ~~~~~~ ^~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o traff traff.o ip_table.o readconfig.o -lpthread -lpcap -lmysqlclient -L/usr/local/lib -largp -L/usr/local/lib/mysql -lmysqlclient_r ld: error: duplicate symbol: conf_file >>> defined at traff.c >>> traff.o:(conf_file) >>> defined at readconfig.c >>> readconfig.o:(.bss+0x0) cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:211: traff] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/traff/work/traff-0.7' gmake[1]: *** [Makefile:148: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/traff/work/traff-0.7' *** Error code 1 Stop. make: stopped in /usr/ports/net/traff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101312149.10VLnC4h049865>