[RELEASE - head-default] Build failed for asmon-0.61_2 during build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Thu Jul 25 09:28:28 UTC 2013
Maintainer: 5u623l20 at gmail.com
Last committer: cs at FreeBSD.org
Ident: $FreeBSD: head/sysutils/asmon/Makefile 301960 2012-08-03 15:54:35Z cs $
Log URL: http://beefy2.isc.freebsd.org/bulk/head-default/2013-07-25_07h07m51s/logs/asmon-0.61_2.log
Build URL: http://beefy2.isc.freebsd.org/bulk/head-default/2013-07-25_07h07m51s
Log:
====>> Building sysutils/asmon
build started at Thu Jul 25 09:28:22 UTC 2013
port directory: /usr/ports/sysutils/asmon
building for: FreeBSD head-default-job-12 10.0-CURRENT FreeBSD 10.0-CURRENT amd64
maintained by: 5u623l20 at gmail.com
Makefile ident: $FreeBSD: head/sysutils/asmon/Makefile 301960 2012-08-03 15:54:35Z cs $
Poudriere version: 3.1-pre
---Begin Environment---
OSVERSION=1000035
UNAME_v=FreeBSD 10.0-CURRENT
UNAME_r=10.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-default/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
tpid=23870
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
NBPARALLEL=24
PKGNG=1
PKGNAME=asmon-0.61_2
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/root/poudriere
MASTERNAME=head-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
SKIPSANITY=0
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---
---Begin OPTIONS List---
---End OPTIONS List---
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
TMPDIR="/tmp" MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--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 -I/usr/local/include -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -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/asmon
DOCSDIR=/usr/local/share/doc/asmon
EXAMPLESDIR=/usr/local/share/examples/asmon
WWWDIR=/usr/local/www/asmon
ETCDIR=/usr/local/etc/asmon
--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 asmon-0.61_2
=======================<phase: check-config >============================
=========================================================================
=======================<phase: pkg-depends >============================
===> asmon-0.61_2 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_1.txz
Installing pkg-1.1.4_1... done
If you are upgrading from the old package format, first run:
# pkg2ng
===> Returning to build of asmon-0.61_2
=========================================================================
=======================<phase: fetch-depends >============================
=========================================================================
=======================<phase: fetch >============================
===> Fetching all distfiles required by asmon-0.61_2 for building
=========================================================================
=======================<phase: checksum >============================
===> Fetching all distfiles required by asmon-0.61_2 for building
=> SHA256 Checksum OK for asmon-0.61.tar.gz.
=========================================================================
=======================<phase: extract-depends>============================
=========================================================================
=======================<phase: extract >============================
===> Fetching all distfiles required by asmon-0.61_2 for building
===> Extracting for asmon-0.61_2
=> SHA256 Checksum OK for asmon-0.61.tar.gz.
=========================================================================
=======================<phase: patch-depends >============================
=========================================================================
=======================<phase: patch >============================
===> Patching for asmon-0.61_2
===> Applying FreeBSD patches for asmon-0.61_2
/usr/bin/sed -i.bak -e 's:gcc:cc -O2 -pipe -I/usr/local/include -fno-strict-aliasing:' /wrkdirs/usr/ports/sysutils/asmon/work/asmon-0.61/asmon/Makefile
=========================================================================
=======================<phase: build-depends >============================
===> asmon-0.61_2 depends on executable: gmake - not found
===> Verifying install for gmake in /usr/ports/devel/gmake
===> Installing existing package /packages/All/gmake-3.82_1.txz
Installing gmake-3.82_1...Installing gettext-0.18.3...Installing libiconv-1.14_1... done
done
done
===> Returning to build of asmon-0.61_2
===> asmon-0.61_2 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found
===> Verifying install for /usr/local/libdata/pkgconfig/xpm.pc in /usr/ports/x11/libXpm
===> Installing existing package /packages/All/libXpm-3.5.10.txz
Installing libXpm-3.5.10...Installing xproto-7.0.24... done
Installing xextproto-7.2.1... done
Installing libxcb-1.9.1...Installing libXdmcp-1.1.1... done
Installing libXau-1.0.8... done
Installing libxml2-2.8.0_2...Installing pkgconf-0.9.2_1... done
done
Installing libpthread-stubs-0.3_3... done
done
Installing libXext-1.3.2,1...Installing libX11-1.6.0,1...Installing kbproto-1.0.6... done
done
done
Installing libSM-1.2.1,1...Installing libICE-1.0.8,1... done
done
Installing libXt-1.1.4,1... done
done
===> Returning to build of asmon-0.61_2
===> asmon-0.61_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
=========================================================================
=======================<phase: lib-depends >============================
=========================================================================
=======================<phase: configure >============================
===> Configuring for asmon-0.61_2
=========================================================================
=======================<phase: build >============================
===> Building for asmon-0.61_2
cc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -c -Wall asmon.c -o asmon.o
asmon.c:460:35: warning: array index 4 is past the end of the array (which contains 4 elements) [-Warray-bounds]
cputotal = (cputotal-(fields[3]+fields[4]))*1.55;
^ ~
asmon.c:418:2: note: array 'fields' declared here
float fields[4], info[4], cputotal=0.0;
^
asmon.c:832:36: warning: variable 'shared' is uninitialized when used here [-Wuninitialized]
if(stotal != total || sshared != shared || sbuffers != buffers || scached != cached)
^~~~~~
asmon.c:675:19: note: initialize the variable 'shared' to silence this warning
swapused, shared;
^
= 0.0
asmon.c:698:13: warning: variable 'pageshift' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if ((swaps = kvm_getswapinfo(kd, kswap, SWAP_DEVICES, 0)) >= 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asmon.c:721:17: note: uninitialized use occurs here
swaptotal = pagetok(swap_total);
^~~~~~~~~~~~~~~~~~~
asmon.c:683:38: note: expanded from macro 'pagetok'
#define pagetok(size) ((size) << pageshift)
^~~~~~~~~
asmon.c:698:9: note: remove the 'if' if its condition is always true
if ((swaps = kvm_getswapinfo(kd, kswap, SWAP_DEVICES, 0)) >= 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asmon.c:695:9: warning: variable 'pageshift' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if ((current_time-saved_time) > GETSWAP_DELAY) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asmon.c:721:17: note: uninitialized use occurs here
swaptotal = pagetok(swap_total);
^~~~~~~~~~~~~~~~~~~
asmon.c:683:38: note: expanded from macro 'pagetok'
#define pagetok(size) ((size) << pageshift)
^~~~~~~~~
asmon.c:695:5: note: remove the 'if' if its condition is always true
if ((current_time-saved_time) > GETSWAP_DELAY) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
asmon.c:686:28: note: initialize the variable 'pageshift' to silence this warning
int pagesize, pageshift;
^
= 0
4 warnings generated.
cc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -c -Wall ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o
cc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -c -Wall ../wmgeneral/misc.c -o ../wmgeneral/misc.o
In file included from ../wmgeneral/misc.c:24:
./wmgeneral/list.h:43:20: warning: inline function 'list_cons' is not defined [-Wundefined-inline]
INLINE LinkedList* list_cons(void* head, LinkedList* tail);
^
./wmgeneral/misc.c:122:13: note: used here
list = list_cons(token, list);
^
In file included from ../wmgeneral/misc.c:24:
./wmgeneral/list.h:45:12: warning: inline function 'list_length' is not defined [-Wundefined-inline]
INLINE int list_length(LinkedList* list);
^
./wmgeneral/misc.c:126:13: note: used here
count = list_length(list);
^
In file included from ../wmgeneral/misc.c:24:
./wmgeneral/list.h:49:13: warning: inline function 'list_remove_head' is not defined [-Wundefined-inline]
INLINE void list_remove_head(LinkedList** list);
^
./wmgeneral/misc.c:131:2: note: used here
list_remove_head(&list);
^
3 warnings generated.
cc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -c -Wall ../wmgeneral/list.c -o ../wmgeneral/list.o
cc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -o asmon asmon.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o ../wmgeneral/list.o -L/usr/local/lib -lXpm -lXext -lX11 -lkvm
./wmgeneral/misc.o: In function `parse_command':
./wmgeneral/misc.c:(.text+0x16b): undefined reference to `list_cons'
./wmgeneral/misc.c:(.text+0x180): undefined reference to `list_length'
./wmgeneral/misc.c:(.text+0x1d3): undefined reference to `list_remove_head'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [asmon] Error 1
*** Error code 1
Stop.
make: stopped in /usr/ports/sysutils/asmon
===> Cleaning for asmon-0.61_2
More information about the freebsd-pkg-fallout
mailing list