[package - head-armv6-default][science/netcdf] Failed for netcdf-4.4.0_1 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Tue Apr 19 02:17:05 UTC 2016
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: sunpoet at FreeBSD.org
Last committer: mat at FreeBSD.org
Ident: $FreeBSD: head/science/netcdf/Makefile 412349 2016-04-01 14:25:16Z mat $
Log URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p413605_s298221/logs/netcdf-4.4.0_1.log
Build URL: http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p413605_s298221
Log:
====>> Building science/netcdf
build started at Tue Apr 19 02:15:47 UTC 2016
port directory: /usr/ports/science/netcdf
building for: FreeBSD head-armv6-default-job-17 11.0-CURRENT FreeBSD 11.0-CURRENT r298221 arm
maintained by: sunpoet at FreeBSD.org
Makefile ident: $FreeBSD: head/science/netcdf/Makefile 412349 2016-04-01 14:25:16Z mat $
Poudriere version: 3.1.12
Host OSVERSION: 1100102
Jail OSVERSION: 1100105
!!! Jail is newer than host. (Jail: 1100105, Host: 1100102) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
UNAME_v=FreeBSD 11.0-CURRENT r298221
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
OPSYS=FreeBSD
ARCH=armv6
LINUX_OSRELEASE=2.6.32
SAVED_TERM=screen
QEMU_EMULATING=1
MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref
UID=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=netcdf-4.4.0_1
OSREL=11.0
_OSRELEASE=11.0-CURRENT
PYTHONBASE=/usr/local
OLDPWD=/
_SMP_CPUS=24
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.12
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1100105
---End Environment---
---Begin OPTIONS List---
===> The following configuration options are available for netcdf-4.4.0_1:
DAP=on: Build DAP client and remote testing
DOCS=on: Build and/or install documentation
DOXYGEN=off: Build documentation with Doxygen
SZIP=on: SZIP support (required if HDF5 was built with SZIP)
===> Use 'make config' to modify these settings
---End OPTIONS List---
--CONFIGURE_ARGS--
--enable-netcdf-4 --enable-dap --disable-doxygen --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
CMAKE_PREFIX_PATH="/usr/local" XDG_DATA_HOME=/wrkdirs/usr/ports/science/netcdf/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/netcdf/work HOME=/wrkdirs/usr/ports/science/netcdf/work 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--
XDG_DATA_HOME=/wrkdirs/usr/ports/science/netcdf/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/netcdf/work HOME=/wrkdirs/usr/ports/science/netcdf/work TMPDIR="/tmp" NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing" CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-fPIC -DPIC -isystem /usr/local/include" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib" LIBS="-lsz" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/netcdf"
EXAMPLESDIR="share/examples/netcdf"
DATADIR="share/netcdf"
WWWDIR="www/netcdf"
ETCDIR="etc/netcdf"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/netcdf
DOCSDIR=/usr/local/share/doc/netcdf
EXAMPLESDIR=/usr/local/share/examples/netcdf
WWWDIR=/usr/local/www/netcdf
ETCDIR=/usr/local/etc/netcdf
--End SUB_LIST--
---Begin make.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
READELF=/nxb-bin/usr/bin/readelf
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
NM=/nxb-bin/usr/bin/nm
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
<snip>
^~~~~~~
./include/nc.h:61:47: note: passing argument to parameter 'str' here
new_NC_string(size_t slen, const signed char *str);
^
attr.c:543:30: warning: passing 'char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
status = set_NC_string(old, newname);
^~~~~~~
./include/nc.h:63:53: note: passing argument to parameter 'str' here
set_NC_string(NC_string *ncstrp, const signed char *str);
^
attr.c:596:18: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncmp(name, (*attrpp)->name->cp, slen) == 0)
^~~~~~~~~~~~~~~~~~~
/usr/include/string.h:100:40: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t) __pure;
^
attr.c:1349:46: warning: passing 'char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return ncx_pad_putn_text(xpp,nelems, (char *)tp);
^~~~~~~~~~
./ncx.h:1009:65: note: passing argument to parameter 'cp' here
ncx_pad_putn_text(void **xpp, size_t nchars, const signed char *cp);
^
attr.c:1524:55: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return ncx_pad_getn_text(&xp, attrp->nelems , (char *)value);
^~~~~~~~~~~~~
./ncx.h:1003:65: note: passing argument to parameter 'cp' here
ncx_pad_getn_text(const void **xpp, size_t nchars, signed char *cp);
^
10 warnings generated.
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-attr.lo -MD -MP -MF .deps/libnetcdf3_la-attr.Tpo -c attr.c -o libnetcdf3_la-attr.o >/dev/null 2>&1
mv -f .deps/libnetcdf3_la-attr.Tpo .deps/libnetcdf3_la-attr.Plo
/bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-nc3dispatch.lo -MD -MP -MF .deps/libnetcdf3_la-nc3dispatch.Tpo -c -o libnetcdf3_la-nc3dispatch.lo `test -f 'nc3dispatch.c' || echo './'`nc3dispatch.c
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-nc3dispatch.lo -MD -MP -MF .deps/libnetcdf3_la-nc3dispatch.Tpo -c nc3dispatch.c -fPIC -DPIC -o .libs/libnetcdf3_la-nc3dispatch.o
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-nc3dispatch.lo -MD -MP -MF .deps/libnetcdf3_la-nc3dispatch.Tpo -c nc3dispatch.c -o libnetcdf3_la-nc3dispatch.o >/dev/null 2>&1
mv -f .deps/libnetcdf3_la-nc3dispatch.Tpo .deps/libnetcdf3_la-nc3dispatch.Plo
/bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-nc3internal.lo -MD -MP -MF .deps/libnetcdf3_la-nc3internal.Tpo -c -o libnetcdf3_la-nc3internal.lo `test -f 'nc3internal.c' || echo './'`nc3internal.c
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-nc3internal.lo -MD -MP -MF .deps/libnetcdf3_la-nc3internal.Tpo -c nc3internal.c -fPIC -DPIC -o .libs/libnetcdf3_la-nc3internal.o
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-nc3internal.lo -MD -MP -MF .deps/libnetcdf3_la-nc3internal.Tpo -c nc3internal.c -o libnetcdf3_la-nc3internal.o >/dev/null 2>&1
mv -f .deps/libnetcdf3_la-nc3internal.Tpo .deps/libnetcdf3_la-nc3internal.Plo
/bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-var.lo -MD -MP -MF .deps/libnetcdf3_la-var.Tpo -c -o libnetcdf3_la-var.lo `test -f 'var.c' || echo './'`var.c
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-var.lo -MD -MP -MF .deps/libnetcdf3_la-var.Tpo -c var.c -fPIC -DPIC -o .libs/libnetcdf3_la-var.o
var.c:68:43: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
varp->hash = hash_fast(strp->cp, strlen(strp->cp));
^~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
var.c:115:37: warning: passing 'char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strp = new_NC_string(strlen(name), name);
^~~~
./include/nc.h:61:47: note: passing argument to parameter 'str' here
new_NC_string(size_t slen, const signed char *str);
^
var.c:142:28: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
NC_var *varp = new_NC_var(rvarp->name->cp, rvarp->type,
^~~~~~~~~~~~~~~
var.c:106:24: note: passing argument to parameter 'uname' here
new_NC_var(const char *uname, nc_type type,
^
var.c:353:14: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncmp((*loc)->name->cp, name, strlen(name)) == 0)
^~~~~~~~~~~~~~~~
/usr/include/string.h:100:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t) __pure;
^
var.c:453:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if( (off_t)(*shp) <= OFF_T_MAX / product )
^~~~~~~~~
var.c:18:47: note: expanded from macro 'OFF_T_MAX'
#define OFF_T_MAX (~ (off_t) 0 - (~ (off_t) 0 << (CHAR_BIT * sizeof (off_t) - 1)))
~~~~~~~~~~~ ^
var.c:458:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
product = OFF_T_MAX ;
^~~~~~~~~
var.c:18:47: note: expanded from macro 'OFF_T_MAX'
#define OFF_T_MAX (~ (off_t) 0 - (~ (off_t) 0 << (CHAR_BIT * sizeof (off_t) - 1)))
~~~~~~~~~~~ ^
var.c:676:24: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
(void) strncpy(name, varp->name->cp, varp->name->nchars);
^~~~~~~~~~~~~~
/usr/include/string.h:101:57: note: passing argument to parameter here
char *strncpy(char * __restrict, const char * __restrict, size_t);
^
var.c:746:42: warning: passing 'char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
newStr = new_NC_string(strlen(newname),newname);
^~~~~~~
./include/nc.h:61:47: note: passing argument to parameter 'str' here
new_NC_string(size_t slen, const signed char *str);
^
var.c:751:45: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
varp->hash = hash_fast(newStr->cp, strlen(newStr->cp));
^~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
var.c:757:37: warning: passing 'char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
status = set_NC_string(varp->name, newname);
^~~~~~~
./include/nc.h:63:53: note: passing argument to parameter 'str' here
set_NC_string(NC_string *ncstrp, const signed char *str);
^
10 warnings generated.
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-var.lo -MD -MP -MF .deps/libnetcdf3_la-var.Tpo -c var.c -o libnetcdf3_la-var.o >/dev/null 2>&1
mv -f .deps/libnetcdf3_la-var.Tpo .deps/libnetcdf3_la-var.Plo
/bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-dim.lo -MD -MP -MF .deps/libnetcdf3_la-dim.Tpo -c -o libnetcdf3_la-dim.lo `test -f 'dim.c' || echo './'`dim.c
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-dim.lo -MD -MP -MF .deps/libnetcdf3_la-dim.Tpo -c dim.c -fPIC -DPIC -o .libs/libnetcdf3_la-dim.o
dim.c:40:43: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dimp->hash = hash_fast(name->cp, strlen(name->cp));
^~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
dim.c:60:37: warning: passing 'char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strp = new_NC_string(strlen(name), name);
^~~~
./include/nc.h:61:47: note: passing argument to parameter 'str' here
new_NC_string(size_t slen, const signed char *str);
^
dim.c:81:20: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return new_NC_dim(dimp->name->cp, dimp->size);
^~~~~~~~~~~~~~
dim.c:52:24: note: passing argument to parameter 'uname' here
new_NC_dim(const char *uname, size_t size)
^
dim.c:150:15: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
|| strncmp((*loc)->name->cp, name, strlen(name)) != 0);
^~~~~~~~~~~~~~~~
/usr/include/string.h:100:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t) __pure;
^
dim.c:428:23: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
(void)strncpy(name, dimp->name->cp,
^~~~~~~~~~~~~~
/usr/include/string.h:101:57: note: passing argument to parameter here
char *strncpy(char * __restrict, const char * __restrict, size_t);
^
dim.c:478:54: warning: passing 'char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
NC_string *newStr = new_NC_string(strlen(newname), newname);
^~~~~~~
./include/nc.h:61:47: note: passing argument to parameter 'str' here
new_NC_string(size_t slen, const signed char *str);
^
dim.c:483:45: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dimp->hash = hash_fast(newStr->cp, strlen(newStr->cp));
^~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
dim.c:490:37: warning: passing 'char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
status = set_NC_string(dimp->name, newname);
^~~~~~~
./include/nc.h:63:53: note: passing argument to parameter 'str' here
set_NC_string(NC_string *ncstrp, const signed char *str);
^
8 warnings generated.
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-dim.lo -MD -MP -MF .deps/libnetcdf3_la-dim.Tpo -c dim.c -o libnetcdf3_la-dim.o >/dev/null 2>&1
mv -f .deps/libnetcdf3_la-dim.Tpo .deps/libnetcdf3_la-dim.Plo
/bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-ncx.lo -MD -MP -MF .deps/libnetcdf3_la-ncx.Tpo -c -o libnetcdf3_la-ncx.lo `test -f 'ncx.c' || echo './'`ncx.c
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -fPIC -DPIC -isystem /usr/local/include -O2 -pipe -mfloat-abi=softfp -isystem /usr/local/include -fno-strict-aliasing -MT libnetcdf3_la-ncx.lo -MD -MP -MF .deps/libnetcdf3_la-ncx.Tpo -c ncx.c -fPIC -DPIC -o .libs/libnetcdf3_la-ncx.o
ncx.c:17234:1: error: conflicting types for 'ncx_getn_text'
ncx_getn_text(const void **xpp, size_t nelems, char *tp)
^
./ncx.h:1001:1: note: previous declaration is here
ncx_getn_text(const void **xpp, size_t nchars, signed char *cp);
^
ncx.c:17243:1: error: conflicting types for 'ncx_pad_getn_text'
ncx_pad_getn_text(const void **xpp, size_t nelems, char *tp)
^
./ncx.h:1003:1: note: previous declaration is here
ncx_pad_getn_text(const void **xpp, size_t nchars, signed char *cp);
^
ncx.c:17258:1: error: conflicting types for 'ncx_putn_text'
ncx_putn_text(void **xpp, size_t nelems, const char *tp)
^
./ncx.h:1007:1: note: previous declaration is here
ncx_putn_text(void **xpp, size_t nchars, const signed char *cp);
^
ncx.c:17268:1: error: conflicting types for 'ncx_pad_putn_text'
ncx_pad_putn_text(void **xpp, size_t nelems, const char *tp)
^
./ncx.h:1009:1: note: previous declaration is here
ncx_pad_putn_text(void **xpp, size_t nchars, const signed char *cp);
^
4 errors generated.
*** Error code 1
Stop.
make[3]: stopped in /wrkdirs/usr/ports/science/netcdf/work/netcdf-4.4.0/libsrc
*** Error code 1
Stop.
make[2]: stopped in /wrkdirs/usr/ports/science/netcdf/work/netcdf-4.4.0
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/science/netcdf/work/netcdf-4.4.0
*** Error code 1
Stop.
make: stopped in /usr/ports/science/netcdf
More information about the freebsd-pkg-fallout
mailing list