Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 07:46:38 GMT
From:      pkg-fallout@FreeBSD.org
To:        tdb@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-amd64-default][net-mgmt/bwm-ng] Failed for bwm-ng-0.6 in build
Message-ID:  <201309260746.r8Q7kcPD034806@beefy2.isc.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:     tdb@FreeBSD.org
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/bwm-ng/Makefile 327757 2013-09-20 22:24:43Z bapt $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s/logs/bwm-ng-0.6.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s
Log:

====>> Building net-mgmt/bwm-ng
build started at Thu Sep 26 07:46:30 UTC 2013
port directory: /usr/ports/net-mgmt/bwm-ng
building for: FreeBSD head-amd64-default-job-04 10.0-CURRENT FreeBSD 10.0-CURRENT amd64
maintained by: tdb@FreeBSD.org
Makefile ident:      $FreeBSD: head/net-mgmt/bwm-ng/Makefile 327757 2013-09-20 22:24:43Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
OSVERSION=1000055
UNAME_v=FreeBSD 10.0-CURRENT
UNAME_r=10.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref
PKG_EXT=txz
tpid=28306
POUDRIERE_BUILD_TYPE=bulk
NBPARALLEL=24
PKGNG=1
PKGNAME=bwm-ng-0.6
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=head-amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

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

--CONFIGURE_ENV--
LIBS="`pkg-config --libs libstatgrab`" TMPDIR="/tmp" PKG_CONFIG=pkgconf 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--
TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/bwm-ng
DOCSDIR=/usr/local/share/doc/bwm-ng
EXAMPLESDIR=/usr/local/share/examples/bwm-ng
WWWDIR=/usr/local/www/bwm-ng
ETCDIR=/usr/local/etc/bwm-ng
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=yes
---End make.conf---
===>  Cleaning for bwm-ng-0.6
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   bwm-ng-0.6 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.1.4_5.txz
Installing pkg-1.1.4_5... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of bwm-ng-0.6
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by bwm-ng-0.6 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by bwm-ng-0.6 for building
=> SHA256 Checksum OK for bwm-ng-0.6.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by bwm-ng-0.6 for building
===>  Extracting for bwm-ng-0.6
=> SHA256 Checksum OK for bwm-ng-0.6.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for bwm-ng-0.6
===========================================================================
=======================<phase: build-depends  >============================
===>   bwm-ng-0.6 depends on executable: pkgconf - not found
===>    Verifying install for pkgconf in /usr/ports/devel/pkgconf
===>   Installing existing package /packages/All/pkgconf-0.9.3.txz
Installing pkgconf-0.9.3... done
===>   Returning to build of bwm-ng-0.6
===========================================================================
=======================<phase: lib-depends    >============================
===>   bwm-ng-0.6 depends on shared library: statgrab.8 - not found
===>    Verifying install for statgrab.8 in /usr/ports/devel/libstatgrab
===>   Installing existing package /packages/All/libstatgrab-0.17.txz
Installing libstatgrab-0.17... done
===>   Returning to build of bwm-ng-0.6
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for bwm-ng-0.6
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6/configure
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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 dependency style of cc... gcc3
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 unsigned long long... (cached) yes
checking for initscr,timeout in -lcurses... yes
checking for wattron... yes
checking for curs_set... yes
checking for usleep... (cached) yes
checking for strlcpy... (cached) yes
checking for accurate time calc... yes
checking for time.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for gettimeofday... (cached) yes
checking for getopt.h... (cached) yes
checking for getopt_long... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking for getifaddrs... yes
checking for sys/socket.h... (cached) yes
checking for net/if.h... (cached) yes
checking for struct if_data.ifi_ibytes... yes
checking whether getifaddrs returns correct values... yes
checking for sysctl... yes
checking for sys/socket.h... (cached) yes
checking for net/if.h... (cached) yes
checking for struct if_msghdr.ifm_data... yes
checking for sysctl... (cached) yes
checking sys/disk.h usability... yes
checking sys/disk.h presence... yes
checking for sys/disk.h... yes
checking for struct diskstats... no
checking for struct disk_sysctl... no
checking for kstat_open in -lkstat... no
checking for /proc/net/dev... no
checking for /proc/diskstats... no
checking for /proc/partitions... no
checking sys/dkstat.h usability... yes
checking sys/dkstat.h presence... yes
checking for sys/dkstat.h... yes
checking for devstat.h... yes
checking for devstat_getdevs in -ldevstat... yes
checking whether cc and linker accepts -framework IOKit -framework CoreFoundation... no
checking for ioctl... yes
checking for sys/socket.h... (cached) yes
checking for linux/if.h... no
checking sys/tty.h usability... yes
checking sys/tty.h presence... yes
checking for sys/tty.h... yes
checking linux/tty.h usability... no
checking linux/tty.h presence... no
checking for linux/tty.h... no
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
enable html output: yes
enable csv output: yes
enable extended stats: yes
enable config-file support: yes
checking for pwd.h... (cached) yes
checking for getpwuid... yes
enable path to netstat as option: no
checking for egrep... (cached) /usr/bin/egrep
checking for netstat... netstat
checking for netstat version... unknown netstat version - disabled
*********************************************
  please mail 'netstat -i' output to author
*********************************************
checking whether the C compiler (cc) accepts noreturn attribute... yes
checking for inline... inline
checking for /usr/ccs/bin/strip... no
checking for strip... strip
checking whether cc accepts -Wno-long-double... no
checking whether cc accepts -Wno-long-long... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for bwm-ng-0.6
/usr/bin/make  all-recursive
Making all in src
if cc -DHAVE_CONFIG_H -I. -I. -I..      -O2 -pipe -fno-strict-aliasing -Wno-long-long -MT bwm-ng.o -MD -MP -MF ".deps/bwm-ng.Tpo" -c -o bwm-ng.o bwm-ng.c;  then mv -f ".deps/bwm-ng.Tpo" ".deps/bwm-ng.Po"; else rm -f ".deps/bwm-ng.Tpo"; exit 1; fi
In file included from bwm-ng.c:25:
In file included from ./bwm-ng.h:32:
./input/retrieve.h:64:13: warning: inline function 'get_iface_stats' is not defined [-Wundefined-inline]
inline void get_iface_stats(char _n);
            ^
bwm-ng.c:212:3: note: used here
                get_iface_stats(0);
                ^
1 warning generated.
if cc -DHAVE_CONFIG_H -I. -I. -I..      -O2 -pipe -fno-strict-aliasing -Wno-long-long -MT process.o -MD -MP -MF ".deps/process.Tpo" -c -o process.o process.c;  then mv -f ".deps/process.Tpo" ".deps/process.Po"; else rm -f ".deps/process.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I..      -O2 -pipe -fno-strict-aliasing -Wno-long-long -MT output.o -MD -MP -MF ".deps/output.Tpo" -c -o output.o output.c;  then mv -f ".deps/output.Tpo" ".deps/output.Po"; else rm -f ".deps/output.Tpo"; exit 1; fi
output.c:30:5: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline]
    static char str[25];
    ^
output.c:28:1: note: use 'static' to give inline function 'output_type2str' internal linkage
inline char *output_type2str() {
^
static 
output.c:226:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            fprintf(tmp_out_file,input2str());
                                 ^~~~~~~~~~~
output.c:227:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            fprintf(tmp_out_file,show_all_if2str());
                                 ^~~~~~~~~~~~~~~~~
output.c:237:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            printf(input2str());
                   ^~~~~~~~~~~
4 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I..      -O2 -pipe -fno-strict-aliasing -Wno-long-long -MT options.o -MD -MP -MF ".deps/options.Tpo" -c -o options.o options.c;  then mv -f ".deps/options.Tpo" ".deps/options.Po"; else rm -f ".deps/options.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I..      -O2 -pipe -fno-strict-aliasing -Wno-long-long -MT help.o -MD -MP -MF ".deps/help.Tpo" -c -o help.o help.c;  then mv -f ".deps/help.Tpo" ".deps/help.Po"; else rm -f ".deps/help.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I..      -O2 -pipe -fno-strict-aliasing -Wno-long-long -MT curses_tools.o -MD -MP -MF ".deps/curses_tools.Tpo" -c -o curses_tools.o curses_tools.c;  then mv -f ".deps/curses_tools.Tpo" ".deps/curses_tools.Po"; else rm -f ".deps/curses_tools.Tpo"; exit 1; fi
In file included from curses_tools.c:25:
In file included from ./curses_tools.h:29:
In file included from ./help.h:29:
In file included from ./options.h:42:
In file included from ./bwm-ng.h:32:
./input/retrieve.h:64:13: warning: inline function 'get_iface_stats' is not defined [-Wundefined-inline]
inline void get_iface_stats(char _n);
            ^
curses_tools.c:49:13: note: used here
            get_iface_stats(0);
            ^
1 warning generated.
if cc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -fno-strict-aliasing -Wno-long-long -MT retrieve.o -MD -MP -MF ".deps/retrieve.Tpo" -c -o retrieve.o `test -f 'input/retrieve.c' || echo './'`input/retrieve.c;  then mv -f ".deps/retrieve.Tpo" ".deps/retrieve.Po"; else rm -f ".deps/retrieve.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -fno-strict-aliasing -Wno-long-long -MT getifaddrs.o -MD -MP -MF ".deps/getifaddrs.Tpo" -c -o getifaddrs.o `test -f 'input/getifaddrs.c' || echo './'`input/getifaddrs.c;  then mv -f ".deps/getifaddrs.Tpo" ".deps/getifaddrs.Po"; else rm -f ".deps/getifaddrs.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -fno-strict-aliasing -Wno-long-long -MT sysctl.o -MD -MP -MF ".deps/sysctl.Tpo" -c -o sysctl.o `test -f 'input/sysctl.c' || echo './'`input/sysctl.c;  then mv -f ".deps/sysctl.Tpo" ".deps/sysctl.Po"; else rm -f ".deps/sysctl.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -fno-strict-aliasing -Wno-long-long -MT devstat.o -MD -MP -MF ".deps/devstat.Tpo" -c -o devstat.o `test -f 'input/devstat.c' || echo './'`input/devstat.c;  then mv -f ".deps/devstat.Tpo" ".deps/devstat.Po"; else rm -f ".deps/devstat.Tpo"; exit 1; fi
cc  -O2 -pipe -fno-strict-aliasing -Wno-long-long   -o bwm-ng  bwm-ng.o process.o  output.o options.o help.o  curses_tools.o retrieve.o getifaddrs.o sysctl.o devstat.o -lcurses -L/usr/local/lib -lstatgrab -ldevstat   -ldevstat
bwm-ng.o: In function `main':
bwm-ng.c:(.text+0x31f): undefined reference to `get_iface_stats'
bwm-ng.c:(.text+0x46a): undefined reference to `get_iface_stats'
bwm-ng.c:(.text+0x580): undefined reference to `get_iface_stats'
bwm-ng.c:(.text+0x5cb): undefined reference to `get_iface_stats'
output.o: In function `values2str':
output.c:(.text+0x1044): undefined reference to `dyn_byte_value2str'
curses_tools.o: In function `handle_gui_input':
curses_tools.c:(.text+0xcf): undefined reference to `get_iface_stats'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/bwm-ng
===>  Cleaning for bwm-ng-0.6



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