Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2018 21:22:03 GMT
From:      pkg-fallout@FreeBSD.org
To:        ecu@200ok.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][net/hping] Failed for hping-2.0.0r3_2, 1 in build
Message-ID:  <201805302122.w4ULM3kh031364@beefy12.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:     ecu@200ok.org
Last committer: linimon@FreeBSD.org
Ident:          $FreeBSD: head/net/hping/Makefile 425869 2016-11-11 07:21:12Z linimon $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p471071_s334305/logs/hping-2.0.0r3_2,1.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p471071_s334305
Log:

=>> Building net/hping
build started at Wed May 30 21:21:58 UTC 2018
port directory: /usr/ports/net/hping
package name: hping-2.0.0r3_2,1
building for: FreeBSD head-amd64-default-job-03 12.0-CURRENT FreeBSD 12.0-CURRENT 1200065 amd64
maintained by: ecu@200ok.org
Makefile ident:      $FreeBSD: head/net/hping/Makefile 425869 2016-11-11 07:21:12Z linimon $
Poudriere version: 3.2.6-3-g832b198d
Host OSVERSION: 1200062
Jail OSVERSION: 1200065
Job Id: 03




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200065
UNAME_v=FreeBSD 12.0-CURRENT 1200065
UNAME_r=12.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.6-3-g832b198d
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 hping-2.0.0r3_2,1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ecu@200ok.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--force-libpcap --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/hping/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/hping/work  HOME=/wrkdirs/usr/ports/net/hping/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/hping/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=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/hping/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/hping/work  HOME=/wrkdirs/usr/ports/net/hping/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/hping/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 -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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--
PORTDOCS="" PORTEXAMPLES="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/hping"  EXAMPLESDIR="share/examples/hping"  DATADIR="share/hping"  WWWDIR="www/hping"  ETCDIR="etc/hping"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/hping DOCSDIR=/usr/local/share/doc/hping EXAMPLESDIR=/usr/local/share/examples/hping  WWWDIR=/usr/local/www/hping ETCDIR=/usr/local/etc/hping
--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 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200065
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
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)  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    >============================
===>   hping-2.0.0r3_2,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_1.txz
[head-amd64-default-job-03] Installing pkg-1.10.5_1...
[head-amd64-default-job-03] Extracting pkg-1.10.5_1: .......... done
===>   hping-2.0.0r3_2,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of hping-2.0.0r3_2,1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by hping-2.0.0r3_2,1 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by hping-2.0.0r3_2,1 for building
=> SHA256 Checksum OK for hping2.0.0-rc3.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by hping-2.0.0r3_2,1 for building
===>  Extracting for hping-2.0.0r3_2,1
=> SHA256 Checksum OK for hping2.0.0-rc3.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for hping-2.0.0r3_2,1
===>  Applying extra patch /usr/ports/net/hping/files/extra-patch-sendip.c
===>  Applying FreeBSD patches for hping-2.0.0r3_2,1
===========================================================================
=======================<phase: build-depends  >============================
===>   hping-2.0.0r3_2,1 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_2.txz
[head-amd64-default-job-03] Installing gmake-4.2.1_2...
[head-amd64-default-job-03] `-- Installing gettext-runtime-0.19.8.1_1...
[head-amd64-default-job-03] |   `-- Installing indexinfo-0.3.1...
[head-amd64-default-job-03] |   `-- Extracting indexinfo-0.3.1: .... done
[head-amd64-default-job-03] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-amd64-default-job-03] Extracting gmake-4.2.1_2: .......... done
===>   hping-2.0.0r3_2,1 depends on executable: gmake - found
===>   Returning to build of hping-2.0.0r3_2,1
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for hping-2.0.0r3_2,1
build byteorder.c...
byteorder.c:77:41: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                printf("sizeof(unsigned int) = %d\n", sizeof(unsigned int));
                                               ~~     ^~~~~~~~~~~~~~~~~~~~
                                               %lu
1 warning generated.
create byteorder.h...
--------------------------------------
system type: FREEBSD

FORCE_LIBPCAP: -DFORCE_LIBPCAP
LIBPCAP      : PCAP=-lpcap
PCAP_INCLUDE : 
MANPATH      : /usr/local/man

(to modify try configure --help)
--------------------------------------
creating Makefile...
now you can try `make'
===========================================================================
=======================<phase: build          >============================
===>  Building for hping-2.0.0r3_2,1
gmake[1]: Entering directory '/wrkdirs/usr/ports/net/hping/work/hping2-rc3'
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP main.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP getifname.c
getifname.c:345:58: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (getsockname(sock_rt, (struct sockaddr *)&iface_out, &len) == -1 ) {
                                                                ^~~~
/usr/include/sys/socket.h:667:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
1 warning generated.
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP getlhs.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP linux_sockpacket.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP parseoptions.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP datafiller.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP datahandler.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP gethostname.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP binding.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP getusec.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP opensockraw.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP logicmp.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP waitpacket.c
waitpacket.c:470:8: warning: variable 'tstamp' is used uninitialized whenever 'while' loop exits because its condition is false [-Wsometimes-uninitialized]
        while(optlen) {
              ^~~~~~
waitpacket.c:499:40: note: uninitialized use occurs here
        printf("  TCP timestamp: tcpts=%u\n", tstamp);
                                              ^~~~~~
waitpacket.c:470:8: note: remove the condition if it is always true
        while(optlen) {
              ^~~~~~
              1
waitpacket.c:455:14: note: initialize the variable 'tstamp' to silence this warning
        __u32 tstamp, echo;
                    ^
                     = 0
1 warning generated.
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP resolve.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP sendip.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP sendicmp.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP sendudp.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP sendtcp.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP cksum.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP statistics.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP usage.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP version.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP antigetopt.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP sockopt.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP listen.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP sendhcmp.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP memstr.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP rtt.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP relid.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP sendip_handler.c
cc -c -Wall -O2 -pipe  -fstack-protector -fno-strict-aliasing  -DFORCE_LIBPCAP libpcap_stuff.c
In file included from libpcap_stuff.c:20:
/usr/include/net/bpf.h:67:8: error: redefinition of 'bpf_program'
struct bpf_program {
       ^
/usr/include/pcap/bpf.h:104:8: note: previous definition is here
struct bpf_program {
       ^
In file included from libpcap_stuff.c:20:
/usr/include/net/bpf.h:362:8: error: redefinition of 'bpf_insn'
struct bpf_insn {
       ^
/usr/include/pcap/bpf.h:234:8: note: previous definition is here
struct bpf_insn {
       ^
libpcap_stuff.c:61:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                p = (unsigned char*) pcap_next(pcapfp, &hdr);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
gmake[1]: *** [Makefile:56: libpcap_stuff.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/hping/work/hping2-rc3'
*** Error code 1

Stop.
make: stopped in /usr/ports/net/hping



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