Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2014 23:20:18 GMT
From:      pkg-fallout-builder@FreeBSD.org
To:        brix@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-i386-default][net-mgmt/spectools] Failed for spectools-201108.r1_1 in build
Message-ID:  <201403282320.s2SNKIBa092044@beefy1.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:     brix@FreeBSD.org
Last committer: brix@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/spectools/Makefile 339536 2014-01-12 19:22:13Z brix $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-03-28_06h01m03s/logs/spectools-201108.r1_1.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-03-28_06h01m03s
Log:

====>> Building net-mgmt/spectools
build started at Fri Mar 28 23:19:37 UTC 2014
port directory: /usr/ports/net-mgmt/spectools
building for: FreeBSD head-i386-default-job-14 11.0-CURRENT FreeBSD 11.0-CURRENT r263175 i386
maintained by: brix@FreeBSD.org
Makefile ident:      $FreeBSD: head/net-mgmt/spectools/Makefile 339536 2014-01-12 19:22:13Z brix $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100013
UNAME_v=FreeBSD 11.0-CURRENT r263175
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref
PKG_EXT=txz
tpid=32185
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=spectools-201108.r1_1
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=head-i386-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---
===> The following configuration options are available for spectools-201108.r1_1:
     GTK2=on: GTK+ 2 GUI toolkit support
     NCURSES=on: Console (text) interface support
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" MAKE=gmake PKG_CONFIG=pkgconf TMPDIR="/tmp" 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" TMPDIR="/tmp" 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="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib"  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/spectools
DOCSDIR=/usr/local/share/doc/spectools
EXAMPLESDIR=/usr/local/share/examples/spectools
WWWDIR=/usr/local/www/spectools
ETCDIR=/usr/local/etc/spectools
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
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 spectools-201108.r1_1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   spectools-201108.r1_1 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.7.txz
Installing pkg-1.2.7... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of spectools-201108.r1_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by spectools-201108.r1_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by spectools-201108.r1_1 for building
=> SHA256 Checksum OK for spectools-2011-08-R1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by spectools-201108.r1_1 for building
===>  Extracting for spectools-201108.r1_1
=> SHA256 Checksum OK for spectools-2011-08-R1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for spectools-201108.r1_1
===>  Applying FreeBSD patches for spectools-201108.r1_1
===========================================================================
=======================<phase: build-depends  >============================
===>   spectools-201108.r1_1 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.1... done
 done
===>   Returning to build of spectools-201108.r1_1
===>   spectools-201108.r1_1 depends on executable: pkgconf - not found
===>    Verifying install for pkgconf in /usr/ports/devel/pkgconf
===>   Installing existing package /packages/All/pkgconf-0.9.5.txz
Installing pkgconf-0.9.5... done
===>   Returning to build of spectools-201108.r1_1
===========================================================================
=======================<phase: lib-depends    >============================
===>   spectools-201108.r1_1 depends on shared library: gtk - not found
===>    Verifying install for gtk in /usr/ports/x11-toolkits/gtk20
===>   Installing existing package /packages/All/gtk2-2.24.22_1.txz
Installing gtk2-2.24.22_1...Installing atk-2.8.0...Installing glib-2.36.3_2...Installing libffi-3.0.13_1... done
Installing libiconv-1.14_3... done
Installing pcre-8.34... done
Installing perl5-5.16.3_8... done
Installing python27-2.7.6_4... done
No schema files found: doing nothing.
 done
Installing gnomehier-3.0... done
 done
Installing cups-client-1.5.4_1... done
Installing gdk-pixbuf2-2.28.2...Installing jasper-1.900.1_12...Installing jpeg-8_4... done
 done
Installing libX11-1.6.2,1...Installing kbproto-1.0.6... done
Installing libXau-1.0.8...Installing xproto-7.0.25... done
 done
Installing libXdmcp-1.1.1... done
Installing libxcb-1.9.3...Installing libpthread-stubs-0.3_4... done
Installing libxml2-2.8.0_3... done
 done
 done
Installing libXi-1.7.2,1...Installing inputproto-2.3... done
Installing libXext-1.3.2,1...Installing xextproto-7.2.1... done
 done
Installing libXfixes-5.0.1...Installing fixesproto-5.0... done
 done
 done
Installing libXt-1.1.4,1...Installing libSM-1.2.2,1...Installing libICE-1.0.8,1... done
 done
 done
Installing png-1.5.18... done
Installing tiff-4.0.3...Installing freeglut-2.8.1...Installing libGLU-9.0.0...Installing libGL-9.1.7...Installing dri2proto-2.8... done
Installing expat-2.1.0... done
Installing libXdamage-1.1.4...Installing damageproto-1.2.1... done
 done
Installing libXxf86vm-1.1.3...Installing xf86vidmodeproto-2.3.1... done
 done
Installing libdrm-2.4.50...Installing libpciaccess-0.13.2...Installing pciids-20140312... done
 done
 done
 done
 done
Installing libXrandr-1.4.2...Installing libXrender-0.9.8...Installing renderproto-0.11.1... done
 done
Installing randrproto-1.4.0... done
 done
 done
Installing jbigkit-1.6... done
Installing libXmu-1.1.2,1... done
 done
 done
Installing gtk-update-icon-cache-2.24.22...Installing hicolor-icon-theme-0.12... done
Installing libXcomposite-0.4.4,1...Installing compositeproto-0.4.2... done
 done
Installing libXcursor-1.1.14... done
Installing libXinerama-1.1.3,1...Installing xineramaproto-1.2.1... done
 done
Installing pango-1.34.1_2...Installing cairo-1.10.2_7,2...Installing xcb-util-renderutil-0.3.8...Installing xcb-util-0.3.9_1,1... done
 done
Installing pixman-0.32.4... done
Installing fontconfig-2.11.0_1,1...Installing freetype2-2.5.3... done
Running fc-cache to build fontconfig cache...
/usr/local/share/fonts: skipping, no such directory
/usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs
<snip>
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
gmake[1]: Leaving directory `/wrkdirs/usr/ports/net-mgmt/spectools/work/spectools-2011-08-R1'
gmake[1]: Entering directory `/wrkdirs/usr/ports/net-mgmt/spectools/work/spectools-2011-08-R1'
cc -I/usr/local/include -I./ -O2 -pipe -fno-strict-aliasing -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz   -c spectool_container.c -o spectool_container.o
cc -I/usr/local/include -I./ -O2 -pipe -fno-strict-aliasing -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz   -c wispy_hw_gen1.c -o wispy_hw_gen1.o
wispy_hw_gen1.c:224:35: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)'
                                auxpair = (wispy1_usb_pair *) malloc(sizeof(wispy1_usb_pair));
                                                              ^
wispy_hw_gen1.c:224:35: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
wispy_hw_gen1.c:296:8: warning: implicit declaration of function 'wispy24x_adler_checksum' is invalid in C99 [-Wimplicit-function-declaration]
        cid = wispy24x_adler_checksum(combopath, 128);
              ^
wispy_hw_gen1.c:618:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(aux->sockpair[0]);
                ^
wispy_hw_gen1.c:641:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
                free(auxptr->calibrationbuf);
                ^
4 warnings generated.
cc -I/usr/local/include -I./ -O2 -pipe -fno-strict-aliasing -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz   -c wispy_hw_24x.c -o wispy_hw_24x.o
wispy_hw_24x.c:272:37: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)'
                                auxpair = (wispy24x_usb_pair *) malloc(sizeof(wispy24x_usb_pair));
                                                                ^
wispy_hw_24x.c:272:37: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
wispy_hw_24x.c:637:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(aux->sockpair[0]);
                ^
wispy_hw_24x.c:799:13: warning: implicitly declaring library function 'abs' with type 'int (int)'
                        temp_d = abs(res_hz - WISPY24x_USB_RES_HZ_FROM_ME(temp_m, e));
                                 ^
wispy_hw_24x.c:799:13: note: please include the header <stdlib.h> or explicitly provide a declaration for 'abs'
wispy_hw_24x.c:869:7: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                                (uint8_t *) &rfset, (int) sizeof(wispy24x_rfsettings), 
                                                ^~~~~~~~~~~~~~~~~~
/usr/include/usb.h:287:101: note: passing argument to parameter 'bytes' here
int     usb_control_msg(usb_dev_handle * dev, int requesttype, int request, int value, int index, char *bytes, int size, int timeout);
                                                                                                        ^
wispy_hw_24x.c:883:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
                free(phydev->device_spec->supported_ranges);
                ^
wispy_hw_24x.c:947:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
6 warnings generated.
cc -I/usr/local/include -I./ -O2 -pipe -fno-strict-aliasing -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz   -c wispy_hw_dbx.c -o wispy_hw_dbx.o
wispy_hw_dbx.c:296:38: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)'
        *ranges = (spectool_sample_sweep *) malloc(sizeof(spectool_sample_sweep) * 2);
                                            ^
wispy_hw_dbx.c:296:38: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
wispy_hw_dbx.c:514:9: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                                         &(list->list[list->num_devs].num_sweep_ranges),
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wispy_hw_dbx.c:354:40: note: passing argument to parameter 'num_ranges' here
void wispydbx_add_supportedranges(int *num_ranges, spectool_sample_sweep **ranges) {
                                       ^
wispy_hw_dbx.c:518:9: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                                         &(list->list[list->num_devs].num_sweep_ranges),
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wispy_hw_dbx.c:295:40: note: passing argument to parameter 'num_ranges' here
void wispy24i_add_supportedranges(int *num_ranges, spectool_sample_sweep **ranges) {
                                       ^
wispy_hw_dbx.c:522:9: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                                         &(list->list[list->num_devs].num_sweep_ranges),
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wispy_hw_dbx.c:332:41: note: passing argument to parameter 'num_ranges' here
void wispy900x_add_supportedranges(int *num_ranges, spectool_sample_sweep **ranges) {
                                        ^
wispy_hw_dbx.c:661:32: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                wispydbx_add_supportedranges(&phydev->device_spec->num_sweep_ranges,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wispy_hw_dbx.c:354:40: note: passing argument to parameter 'num_ranges' here
void wispydbx_add_supportedranges(int *num_ranges, spectool_sample_sweep **ranges) {
                                       ^
wispy_hw_dbx.c:665:32: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                wispy24i_add_supportedranges(&phydev->device_spec->num_sweep_ranges,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wispy_hw_dbx.c:295:40: note: passing argument to parameter 'num_ranges' here
void wispy24i_add_supportedranges(int *num_ranges, spectool_sample_sweep **ranges) {
                                       ^
wispy_hw_dbx.c:669:33: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                wispy900x_add_supportedranges(&phydev->device_spec->num_sweep_ranges,
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wispy_hw_dbx.c:332:41: note: passing argument to parameter 'num_ranges' here
void wispy900x_add_supportedranges(int *num_ranges, spectool_sample_sweep **ranges) {
                                        ^
wispy_hw_dbx.c:929:7: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                                (uint8_t *) &startcmd, (int) sizeof(wispydbx_startsweep), 
                                                ^~~~~~~~~~~~~~~~~~~~~
/usr/include/usb.h:287:101: note: passing argument to parameter 'bytes' here
int     usb_control_msg(usb_dev_handle * dev, int requesttype, int request, int value, int index, char *bytes, int size, int timeout);
                                                                                                        ^
wispy_hw_dbx.c:968:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(aux->sockpair[0]);
                ^
wispy_hw_dbx.c:1195:13: warning: incompatible pointer types assigning to 'uint8_t *' (aka 'unsigned char *') from 'wispydbx_rfsettings_v2 *' (aka 'struct _wispydbx_rfsettings_v2 *') [-Wincompatible-pointer-types]
                use_rfset = &rfset2;
                          ^ ~~~~~~~
wispy_hw_dbx.c:1218:13: warning: incompatible pointer types assigning to 'uint8_t *' (aka 'unsigned char *') from 'wispydbx_rfsettings *' (aka 'struct _wispydbx_rfsettings *') [-Wincompatible-pointer-types]
                use_rfset = &rfset;
                          ^ ~~~~~~
wispy_hw_dbx.c:1231:7: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                                (uint8_t *) use_rfset, rfset_len, 
                                                ^~~~~~~~~~~~~~~~~~~~~
/usr/include/usb.h:287:101: note: passing argument to parameter 'bytes' here
int     usb_control_msg(usb_dev_handle * dev, int requesttype, int request, int value, int index, char *bytes, int size, int timeout);
                                                                                                        ^
wispy_hw_dbx.c:1286:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
                free(auxptr->sweepbuf);
                ^
13 warnings generated.
cc -I/usr/local/include -I./ -O2 -pipe -fno-strict-aliasing -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz   -c ubertooth_hw_u1.c -o ubertooth_hw_u1.o
ubertooth_hw_u1.c:253:32: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)'
                                        (ubertooth_u1_usb_pair *) malloc(sizeof(ubertooth_u1_usb_pair));
                                                                  ^
ubertooth_hw_u1.c:253:32: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
ubertooth_hw_u1.c:262:6: warning: implicit declaration of function 'wispy24x_adler_checksum' is invalid in C99 [-Wimplicit-function-declaration]
                                        wispy24x_adler_checksum(combopath, 128);
                                        ^
ubertooth_hw_u1.c:622:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(aux->sockpair[0]);
                ^
ubertooth_hw_u1.c:856:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
                free(phydev->device_spec->supported_ranges);
                ^
ubertooth_hw_u1.c:896:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
5 warnings generated.
cc -I/usr/local/include -I./ -O2 -pipe -fno-strict-aliasing -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz   -c spectool_net_server.c -o spectool_net_server.o
spectool_net_server.c:192:12: warning: passing 'uint8_t [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                snprintf(dev->device_name, 256, "%s", spectool_phy_getname(&(d->phydev)));
                         ^~~~~~~~~~~~~~~~
/usr/include/stdio.h:279:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict,
                                   ^
1 warning generated.
cc spectool_container.o wispy_hw_gen1.o wispy_hw_24x.o wispy_hw_dbx.o ubertooth_hw_u1.o spectool_net_server.o -o spectool_net -L/usr/local/lib -lpthread -lm -lusb 
cc -I/usr/local/include -I./ -O2 -pipe -fno-strict-aliasing -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz   -c spectool_net_client.c -o spectool_net_client.o
spectool_net_client.c:228:13: warning: equality comparison result unused [-Wunused-comparison]
                sr->state == SPECTOOL_NET_STATE_ERROR;
                ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
spectool_net_client.c:228:13: note: use '=' to turn this equality comparison into an assignment
                sr->state == SPECTOOL_NET_STATE_ERROR;
                          ^~
                          =
spectool_net_client.c:283:14: warning: equality comparison result unused [-Wunused-comparison]
                        sr->state == SPECTOOL_NET_STATE_CONFIGURED;
                        ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
spectool_net_client.c:283:14: note: use '=' to turn this equality comparison into an assignment
                        sr->state == SPECTOOL_NET_STATE_CONFIGURED;
                                  ^~
                                  =
2 warnings generated.
cc -I/usr/local/include -I./ -O2 -pipe -fno-strict-aliasing -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz   -c spectool_raw.c -o spectool_raw.o
spectool_raw.c:364:10: warning: data argument not used by format string [-Wformat-extra-args]
                                                   di->device_spec->num_sweep_ranges);
                                                   ^
1 warning generated.
cc spectool_container.o wispy_hw_gen1.o wispy_hw_24x.o wispy_hw_dbx.o ubertooth_hw_u1.o spectool_net_client.o spectool_raw.o -o spectool_raw -L/usr/local/lib -lpthread -lm -lusb 
cc -I/usr/local/include -I./ -O2 -pipe -fno-strict-aliasing -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz   -c spectool_gtk_hw_registry.c -o spectool_gtk_hw_registry.o
spectool_gtk_hw_registry.c:329:3: error: non-void function 'wdr_get_phy' should return a value [-Wreturn-type]
                return;
                ^
spectool_gtk_hw_registry.c:332:3: error: non-void function 'wdr_get_phy' should return a value [-Wreturn-type]
                return;
                ^
spectool_gtk_hw_registry.c:526:3: error: non-void function 'wdr_netrpoll' should return a value [-Wreturn-type]
                return;
                ^
spectool_gtk_hw_registry.c:529:3: error: non-void function 'wdr_netrpoll' should return a value [-Wreturn-type]
                return;
                ^
spectool_gtk_hw_registry.c:540:4: error: non-void function 'wdr_netrpoll' should return a value [-Wreturn-type]
                        return;
                        ^
spectool_gtk_hw_registry.c:1385:28: warning: format specifies type 'short' but the argument has type 'int' [-Wformat]
        snprintf(port, 16, "%hd", SPECTOOL_NET_DEFAULT_PORT);
                            ~~~   ^~~~~~~~~~~~~~~~~~~~~~~~~
                            %d
./spectool_net.h:69:36: note: expanded from macro 'SPECTOOL_NET_DEFAULT_PORT'
#define SPECTOOL_NET_DEFAULT_PORT               30569
                                                ^~~~~
1 warning and 5 errors generated.
gmake[1]: *** [spectool_gtk_hw_registry.o] Error 1
gmake[1]: Leaving directory `/wrkdirs/usr/ports/net-mgmt/spectools/work/spectools-2011-08-R1'
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/spectools
===>  Cleaning for spectools-201108.r1_1



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