Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 23:44:16 GMT
From:      pkg-fallout@FreeBSD.org
To:        fli@shapeshifter.se
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-amd64-default][net-mgmt/yabm] Failed for yabm-0.2.1_2 in build
Message-ID:  <201401292344.s0TNiG4j011378@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:     fli@shapeshifter.se
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/yabm/Makefile 340722 2014-01-22 17:00:46Z mat $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-01-29_19h07m40s/logs/yabm-0.2.1_2.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-01-29_19h07m40s
Log:

====>> Building net-mgmt/yabm
build started at Wed Jan 29 23:44:13 UTC 2014
port directory: /usr/ports/net-mgmt/yabm
building for: FreeBSD head-amd64-default-job-22 11.0-CURRENT FreeBSD 11.0-CURRENT r260904 amd64
maintained by: fli@shapeshifter.se
Makefile ident:      $FreeBSD: head/net-mgmt/yabm/Makefile 340722 2014-01-22 17:00:46Z mat $
Poudriere version: 3.1-pre

---Begin Environment---
OSVERSION=1100005
UNAME_v=FreeBSD 11.0-CURRENT r260904
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref
PKG_EXT=txz
tpid=9634
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=yabm-0.2.1_2
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
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" 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 -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/yabm
DOCSDIR=/usr/local/share/doc/yabm
EXAMPLESDIR=/usr/local/share/examples/yabm
WWWDIR=/usr/local/www/yabm
ETCDIR=/usr/local/etc/yabm
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for yabm-0.2.1_2
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   yabm-0.2.1_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.2.5.txz
Installing pkg-1.2.5... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of yabm-0.2.1_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by yabm-0.2.1_2 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by yabm-0.2.1_2 for building
=> SHA256 Checksum OK for yabm-0.2.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by yabm-0.2.1_2 for building
===>  Extracting for yabm-0.2.1_2
=> SHA256 Checksum OK for yabm-0.2.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for yabm-0.2.1_2
===>  Applying FreeBSD patches for yabm-0.2.1_2
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===>   yabm-0.2.1_2 depends on shared library: png15 - not found
===>    Verifying install for png15 in /usr/ports/graphics/png
===>   Installing existing package /packages/All/png-1.5.17.txz
Installing png-1.5.17... done
===>   Returning to build of yabm-0.2.1_2
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for yabm-0.2.1_2
===========================================================================
=======================<phase: build          >============================
===>  Building for yabm-0.2.1_2
cc -O2 -pipe -fno-strict-aliasing  -Wall -I/usr/local/include -I/usr/local/include/libpng15 -c mylibpng.c
mylibpng.c:181:18: warning: passing 'char [8]' to parameter of type 'png_const_bytep' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (png_sig_cmp(header, 0, 8)) {
                        ^~~~~~
/usr/local/include/png.h:1041:50: note: passing argument to parameter 'sig' here
PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, png_size_t start,
                                                 ^
/usr/local/include/pngconf.h:311:37: note: expanded from macro 'PNG_EXPORT'
   PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY)
                                    ^
/usr/local/include/pngconf.h:301:63: note: expanded from macro 'PNG_EXPORTA'
      PNG_FUNCTION(PNG_EXPORT_TYPE(type),(PNGAPI name),PNGARG(args), \
                                                              ^
/usr/local/include/pngconf.h:91:31: note: expanded from macro 'PNGARG'
#      define PNGARG(arglist) arglist
                              ^
/usr/local/include/pngconf.h:287:75: note: expanded from macro 'PNG_FUNCTION'
#  define PNG_FUNCTION(type, name, args, attributes) attributes type name args
                                                                          ^
1 warning generated.
cc -O2 -pipe -fno-strict-aliasing  -Wall -I/usr/local/include -I/usr/local/include/libpng15 -c font.c
cc -O2 -pipe -fno-strict-aliasing  -Wall -c yabm.c
yabm.c:258:22: warning: cast to 'in_addr_t *' (aka 'unsigned int *') from smaller integer type 'in_addr_t' (aka 'unsigned int') [-Wint-to-pointer-cast]
                exists = bw_exists((in_addr_t *)cfg.alias, TYPE_ADR);
                                   ^
yabm.c:288:82: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
                        fprintf(stderr, "No permissions to read max speed from device, using %llu\n", cfg.maxval);
                                                                                             ~~~~     ^~~~~~~~~~
                                                                                             %lu
yabm.c:427:26: warning: cast to 'in_addr_t *' (aka 'unsigned int *') from smaller integer type 'in_addr_t' (aka 'unsigned int') [-Wint-to-pointer-cast]
                                working_kvm = bw_kvm((in_addr_t *)cfg->alias, TYPE_ADR, bw, cfg->seconds);
                                                     ^
3 warnings generated.
cc -O2 -pipe -fno-strict-aliasing  -Wall -c bw.c
bw.c:127:16: error: variable has incomplete type 'struct ifaddr'
        struct  ifaddr ifaddr;
                       ^
/usr/include/net/if_var.h:87:24: note: forward declaration of 'struct ifaddr'
TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */
                       ^
/usr/include/sys/queue.h:493:9: note: expanded from macro 'TAILQ_HEAD'
        struct type *tqh_first; /* first element */                     \
               ^
bw.c:147:65: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (_kvm_read(kvm, addr, &ifnethead, sizeof(struct ifnethead)) < 0) { 
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
bw.c:326:25: error: array has incomplete element type 'struct ifaddr'
                        struct ifaddr _ifaddr[2];
                                             ^
/usr/include/net/if_var.h:87:24: note: forward declaration of 'struct ifaddr'
TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */
                       ^
/usr/include/sys/queue.h:493:9: note: expanded from macro 'TAILQ_HEAD'
        struct type *tqh_first; /* first element */                     \
               ^
bw.c:353:47: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if ((tmp = kvm_read(kvm, addr, buf, nbytes)) < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
2 warnings and 2 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/yabm/work/yabm-0.2.1/src
*** Error code 1

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

Stop.
make: stopped in /usr/ports/net-mgmt/yabm
===>  Cleaning for yabm-0.2.1_2



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