Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 2021 18:36:05 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 13stable-armv6-quarterly][net/traff] Failed for traff-0.7_1 in build
Message-ID:  <202101291836.10TIa5fZ019804@beefy8.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: branches/2021Q1/net/traff/Makefile 517643 2019-11-15 10:12:08Z tobik $
Log URL:        http://beefy8.nyi.freebsd.org/data/13stable-armv6-quarterly/562611/logs/traff-0.7_1.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=13stable-armv6-quarterly&build=562611
Log:

=>> Building net/traff
build started at Fri Jan 29 18:35:32 UTC 2021
port directory: /usr/ports/net/traff
package name: traff-0.7_1
building for: FreeBSD 13stable-armv6-quarterly-job-11 13.0-ALPHA2 FreeBSD 13.0-ALPHA2 1300136 arm
maintained by: daniel@freebsd.ro
Makefile ident:      $FreeBSD: branches/2021Q1/net/traff/Makefile 517643 2019-11-15 10:12:08Z tobik $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300121
Jail OSVERSION: 1300136
Job Id: 11




!!! Jail is newer than host. (Jail: 1300136, Host: 1300121) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300136
UNAME_v=FreeBSD 13.0-ALPHA2 1300136
UNAME_r=13.0-ALPHA2
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/13stable-armv6-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/13stable-armv6-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=13stable-armv6-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/13stable-armv6-quarterly/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/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="/nxb-bin/usr/bin/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---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
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_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=13.0-ALPHA2
OSREL=13.0
OSVERSION=1300136
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---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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.1.txz
[13stable-armv6-quarterly-job-11] Installing pkg-1.16.1...
[13stable-armv6-quarterly-job-11] Extracting pkg-1.16.1: .......... 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       >============================
<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:

--
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... /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/cc accepts -g... yes
checking for /nxb-bin/usr/bin/cc option to accept ISO C89... none needed
checking for style of include used by gmake... GNU
checking dependency style of /nxb-bin/usr/bin/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... /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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 'long long') [-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);
                                                                                                                      ~~~                                                                       ^~~~~~~
                                                                                                                      %lld
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 'long long') [-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);
                                                                                                      ~~~                                                     ^~~~~~~
                                                                                                      %lld
traff.c:688:130: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-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);
                                                                    ~~~~                                                         ^~~~~~~
                                                                    %8lld
traff.c:713:160: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-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);
                                                                                       ~~~~                                                                    ^~~~~~~
                                                                                       %8lld
traff.c:753:158: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-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);
                                                                                      ~~~~                                                                   ^~~~~~~
                                                                                      %8lld
6 warnings generated.
if /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/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.
/nxb-bin/usr/bin/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?202101291836.10TIa5fZ019804>