Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2016 20:03:53 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 110armv6-quarterly][science/netcdf] Failed for netcdf-4.4.0_2 in build
Message-ID:  <201611012003.uA1K3rn1053897@beefy15.nyi.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:     sunpoet@FreeBSD.org
Last committer: sunpoet@FreeBSD.org
Ident:          $FreeBSD: branches/2016Q4/science/netcdf/Makefile 413700 2016-04-20 20:42:39Z sunpoet $
Log URL:        http://beefy15.nyi.freebsd.org/data/110armv6-quarterly/425058/logs/netcdf-4.4.0_2.log
Build URL:      http://beefy15.nyi.freebsd.org/build.html?mastername=110armv6-quarterly&build=425058
Log:

====>> Building science/netcdf
build started at Tue Nov  1 20:02:59 UTC 2016
port directory: /usr/ports/science/netcdf
building for: FreeBSD 110armv6-quarterly-job-01 11.0-RELEASE-p2 FreeBSD 11.0-RELEASE-p2 r307935 arm
maintained by: sunpoet@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2016Q4/science/netcdf/Makefile 413700 2016-04-20 20:42:39Z sunpoet $
Poudriere version: 3.1.14
Host OSVERSION: 1200010
Jail OSVERSION: 1100122

---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
UNAME_v=FreeBSD 11.0-RELEASE-p2 r307935
UNAME_r=11.0-RELEASE-p2
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
OPSYS=FreeBSD
ARCH=armv6
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/110armv6-quarterly/ref
QEMU_EMULATING=1
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_2
OSREL=11.0
_OSRELEASE=11.0-RELEASE-p2
PYTHONBASE=/usr/local
OLDPWD=/
_SMP_CPUS=28
PWD=/usr/local/poudriere/data/.m/110armv6-quarterly/ref/.p/pool
MASTERNAME=110armv6-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.14
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=1100122
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for netcdf-4.4.0_2:
     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--
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 CMAKE_PREFIX_PATH="/usr/local" 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 MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing"  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-fPIC -DPIC -isystem /usr/local/include"  LDFLAGS="" LIBS="-lsz -L/usr/local/lib"  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -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---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.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
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   netcdf-4.4.0_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.8.7_3.txz
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
[110armv6-quarterly-job-01] Installing pkg-1.8.7_3...
[110armv6-quarterly-job-01] Extracting pkg-1.8.7_3: .......... done
===>   netcdf-4.4.0_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of netcdf-4.4.0_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
=> netcdf-4.4.0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.4.0.tar.gz
fetch: http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.4.0.tar.gz: size mismatch: expected 5078259, actual 5082073
=> Attempting to fetch ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.4.0.tar.gz
fetch: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.4.0.tar.gz: Can't open data connection
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/sunpoet/netcdf-4.4.0.tar.gz
fetch: http://distcache.FreeBSD.org/local-distfiles/sunpoet/netcdf-4.4.0.tar.gz: Not Found
=> Attempting to fetch http://distcache.us-east.FreeBSD.org/local-distfiles/sunpoet/netcdf-4.4.0.tar.gz
fetch: http://distcache.us-east.FreeBSD.org/local-distfiles/sunpoet/netcdf-4.4.0.tar.gz: Not Found
=> Attempting to fetch http://distcache.eu.FreeBSD.org/local-distfiles/sunpoet/netcdf-4.4.0.tar.gz
fetch: http://distcache.eu.FreeBSD.org/local-distfiles/sunpoet/netcdf-4.4.0.tar.gz: Not Found
=> Attempting to fetch http://distcache.us-west.FreeBSD.org/local-distfiles/sunpoet/netcdf-4.4.0.tar.gz
fetch: http://distcache.us-west.FreeBSD.org/local-distfiles/sunpoet/netcdf-4.4.0.tar.gz: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/netcdf-4.4.0.tar.gz
netcdf-4.4.0.tar.gz                                      0  B    0  Bps
===> Fetching all distfiles required by netcdf-4.4.0_2 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by netcdf-4.4.0_2 for building
=> SHA256 Checksum OK for netcdf-4.4.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by netcdf-4.4.0_2 for building
===>  Extracting for netcdf-4.4.0_2
=> SHA256 Checksum OK for netcdf-4.4.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for netcdf-4.4.0_2
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===>   netcdf-4.4.0_2 depends on shared library: libhdf5.so - not found
===>   Installing existing package /packages/All/hdf5-1.10.0.txz
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
[110armv6-quarterly-job-01] Installing hdf5-1.10.0...
[110armv6-quarterly-job-01] `-- Installing hdf-szip-2.1_2...
[110armv6-quarterly-job-01] `-- Extracting hdf-szip-2.1_2: ........ done
[110armv6-quarterly-job-01] Extracting hdf5-1.10.0: .......... done
===>   netcdf-4.4.0_2 depends on shared library: libhdf5.so - found (/usr/local/lib/libhdf5.so)
===>   Returning to build of netcdf-4.4.0_2
===>   netcdf-4.4.0_2 depends on shared library: libcurl.so - not found
===>   Installing existing package /packages/All/curl-7.50.3.txz
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
[110armv6-quarterly-job-01] Installing curl-7.50.3...
[110armv6-quarterly-job-01] `-- Installing ca_root_nss-3.27.1...
<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 -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  -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 -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 -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  -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 -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 -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  -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 -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 -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  -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 -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 -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  -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 -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



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