Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2020 04:03:36 GMT
From:      pkg-fallout@FreeBSD.org
To:        daniel@freebsd.ro
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][net/traff] Failed for traff-0.7_1 in build
Message-ID:  <202009260403.08Q43a2L008689@beefy18.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://beefy18.nyi.freebsd.org/data/head-amd64-default/p549877_s366096/logs/traff-0.7_1.log
Build URL:      http://beefy18.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p549877_s366096
Log:

=>> Building net/traff
build started at Sat Sep 26 04:03:20 UTC 2020
port directory: /usr/ports/net/traff
package name: traff-0.7_1
building for: FreeBSD head-amd64-default-job-10 13.0-CURRENT FreeBSD 13.0-CURRENT 1300117 amd64
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-5-gc81843e5
Host OSVERSION: 1300100
Jail OSVERSION: 1300117
Job Id: 10




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300117
UNAME_v=FreeBSD 13.0-CURRENT 1300117
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-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-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
#### /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-91-g6e042866c30) Target: x86_64-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-91-g6e042866c30) Target: x86_64-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" "-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-91-g6e042866c30) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300117
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
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)  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.15.6.txz
[head-amd64-default-job-10] Installing pkg-1.15.6...
[head-amd64-default-job-10] Extracting pkg-1.15.6: .......... 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
[head-amd64-default-job-10] Installing argp-standalone-1.3_4...
[head-amd64-default-job-10] Extracting argp-standalone-1.3_4: ......... done
=====
Message from argp-standalone-1.3_4:

--
===>   NOTICE:

<snip>
[head-amd64-default-job-10] |   `-- Extracting perl5-5.32.0: .......... done
[head-amd64-default-job-10] |   `-- Installing psutils-1.17_5...
[head-amd64-default-job-10] |   | `-- Installing libpaper-1.1.24.4...
[head-amd64-default-job-10] |   | `-- Extracting libpaper-1.1.24.4: .......... done
[head-amd64-default-job-10] |   `-- Extracting psutils-1.17_5: .......... done
[head-amd64-default-job-10] |   `-- Installing uchardet-0.0.7...
[head-amd64-default-job-10] |   `-- Extracting uchardet-0.0.7: .......... done
[head-amd64-default-job-10] `-- Extracting groff-1.22.4_3: .......... done
[head-amd64-default-job-10] `-- Installing libedit-3.1.20191231,1...
[head-amd64-default-job-10] `-- Extracting libedit-3.1.20191231,1: .......... done
[head-amd64-default-job-10] `-- Installing libevent-2.1.12...
[head-amd64-default-job-10] `-- Extracting libevent-2.1.12: .......... done
[head-amd64-default-job-10] `-- Installing liblz4-1.9.2_1,1...
[head-amd64-default-job-10] `-- Extracting liblz4-1.9.2_1,1: .......... done
[head-amd64-default-job-10] `-- Installing protobuf-3.13.0,1...
[head-amd64-default-job-10] `-- Extracting protobuf-3.13.0,1: .......... done
[head-amd64-default-job-10] Extracting mysql57-client-5.7.31_1: .......... done
=====
Message from ca_root_nss-3.57:

--
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.31_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
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
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);
                                          ^
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.
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'
===> 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/traff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009260403.08Q43a2L008689>