Powered by Leppe'. Your IP: 34.229.194.198 | libnc-dap be6e8d40-df4a-4b7e-95f2-ed3023e78a6eToc:- error 1
NCConnect.cc:729:64: error: reference to 'is_array' is ambiguous
- error 2
NCConnect.cc:762:41: error: reference to 'is_array' is ambiguous
- error 3
make[2]: *** [Makefile:997: NCConnect.lo] Error 1
- error 4
make[1]: *** [Makefile:1089: all-recursive] Error 1
- error 5
error: Bad exit status from /tmp/B.sH6qKC/BUILD/tmp/rpm-tmp.89857 (%build)
- error 6
RPM build errors:
- error 7
error: No files produced.
Content: ^~~~~
In file included from NCAccess.h:43,
from NCArray.h:46,
from NCConnect.cc:52:
nc_util.h:54:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
nc_util.h:59:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
In file included from NCArray.h:46,
from NCConnect.cc:52:
NCAccess.h:79:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const size_t *edges, const ptrdiff_t *stride) throw(Error);
^~~~~
NCAccess.h:88:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual nc_type get_nc_type() throw(InternalErr);
^~~~~
NCAccess.h:92:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const ClientParams &cp) throw(Error);
^~~~~
NCAccess.h:98:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual void set_source(BaseType *s) throw(InternalErr);
^~~~~
In file included from NCConnect.cc:52:
NCArray.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const size_t *edges, const ptrdiff_t *stride) throw(Error);
^~~~~
NCArray.h:76:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual nc_type get_nc_type() throw(InternalErr);
^~~~~
NCArray.h:79:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const ClientParams &/* cp */) throw(Error);
^~~~~
NCArray.h:81:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual void set_source(BaseType *s) throw(InternalErr);
^~~~~
In file included from NCConnect.cc:54:
NCSequence.h:71:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const size_t *edges, const ptrdiff_t *stride) throw(Error);
^~~~~
In file included from NCConnect.cc:55:
NCGrid.h:62:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const size_t *edges, const ptrdiff_t *stride) throw(Error);
^~~~~
NCGrid.h:65:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual nc_type get_nc_type() throw(InternalErr);
^~~~~
NCGrid.h:68:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const ClientParams &cp) throw(Error);
^~~~~
In file included from /usr/include/libdap/HTTPConnect.h:50,
from /usr/include/libdap/Connect.h:82,
from NCConnect.h:40,
from NCConnect.cc:56:
/usr/include/libdap/HTTPResponse.h: In destructor 'virtual libdap::HTTPResponse::~HTTPResponse()':
/usr/include/libdap/HTTPResponse.h:134:88: warning: throw will always call terminate() [-Wterminate]
if (res != 0) throw InternalErr(__FILE__, __LINE__, "!FAIL! " + long_to_string(res));
^
/usr/include/libdap/HTTPResponse.h:134:88: note: in C++11 destructors default to noexcept
In file included from NCConnect.cc:56:
NCConnect.h: At global scope:
NCConnect.h:100:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
void init_remote_source(const string &ce) throw(Error);
^~~~~
NCConnect.h:128:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
BaseType *get_variable(int varid) throw(Error);
^~~~~
NCConnect.h:133:6: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(Error);
^~~~~
NCConnect.h:137:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
AttrTable &get_attribute_table(int varid) throw(Error);
^~~~~
NCConnect.h:140:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
nc_type *datatype) throw(Error);
^~~~~
NCConnect.h:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
NCConnect.cc:78:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
static nc_type get_attr_nc_type(AttrType attrT) throw(Error)
^~~~~
NCConnect.cc:164:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
void NCConnect::init_remote_source(const string & ce) throw(Error)
^~~~~
NCConnect.cc:307:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
BaseType *NCConnect::get_variable(int varid) throw(Error)
^~~~~
NCConnect.cc:315:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
AttrTable & NCConnect::get_attribute_table(int varid) throw(Error)
^~~~~
NCConnect.cc:355:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
nc_type * datatype) throw(Error)
^~~~~
NCConnect.cc:425:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
int dims[]) throw(InternalErr)
^~~~~
NCConnect.cc: In member function 'void NCConnect::parse_array_dims(libdap::DDS&)':
NCConnect.cc:729:64: error: reference to 'is_array' is ambiguous
DDS::Vars_iter s = find_if(dds.var_begin(), dds.var_end(), is_array);
^~~~~~~~
In file included from /usr/include/c++/8.2.0/bits/move.h:55,
from /usr/include/c++/8.2.0/bits/nested_exception.h:40,
from /usr/include/c++/8.2.0/exception:144,
from /usr/include/c++/8.2.0/ios:39,
from /usr/include/c++/8.2.0/ostream:38,
from /usr/include/c++/8.2.0/iostream:39,
from /usr/include/libdap/DDS.h:41,
from NCConnect.cc:46:
/usr/include/c++/8.2.0/type_traits:347:12: note: candidates are: 'template<class> struct std::is_array'
struct is_array
^~~~~~~~
NCConnect.cc:68:20: note: 'bool is_array(libdap::BaseType*)'
static inline bool is_array(BaseType * btp)
^~~~~~~~
NCConnect.cc:762:41: error: reference to 'is_array' is ambiguous
s = find_if(++s, dds.var_end(), is_array);
^~~~~~~~
In file included from /usr/include/c++/8.2.0/bits/move.h:55,
from /usr/include/c++/8.2.0/bits/nested_exception.h:40,
from /usr/include/c++/8.2.0/exception:144,
from /usr/include/c++/8.2.0/ios:39,
from /usr/include/c++/8.2.0/ostream:38,
from /usr/include/c++/8.2.0/iostream:39,
from /usr/include/libdap/DDS.h:41,
from NCConnect.cc:46:
/usr/include/c++/8.2.0/type_traits:347:12: note: candidates are: 'template<class> struct std::is_array'
struct is_array
^~~~~~~~
NCConnect.cc:68:20: note: 'bool is_array(libdap::BaseType*)'
static inline bool is_array(BaseType * btp)
^~~~~~~~
make[2]: *** [Makefile:997: NCConnect.lo] Error 1
make[2]: Leaving directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT fort-genvar.lo -MD -MP -MF .deps/fort-genvar.Tpo -c -o fort-genvar.lo `test -f 'fortran/fort-genvar.c' || echo './'`fortran/fort-genvar.c
libtool: compile: x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT fort-genvar.lo -MD -MP -MF .deps/fort-genvar.Tpo -c fortran/fort-genvar.c -fPIC -DPIC -o .libs/fort-genvar.o
libtool: compile: x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT fort-genvar.lo -MD -MP -MF .deps/fort-genvar.Tpo -c fortran/fort-genvar.c -o fort-genvar.o >/dev/null 2>&1
mv -f .deps/fort-genvar.Tpo .deps/fort-genvar.Plo
make[2]: Leaving directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
make[2]: Entering directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT fort-varaio.lo -MD -MP -MF .deps/fort-varaio.Tpo -c -o fort-varaio.lo `test -f 'fortran/fort-varaio.c' || echo './'`fortran/fort-varaio.c
libtool: compile: x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT fort-varaio.lo -MD -MP -MF .deps/fort-varaio.Tpo -c fortran/fort-varaio.c -fPIC -DPIC -o .libs/fort-varaio.o
libtool: compile: x86_64-pld-linux-gcc -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT fort-varaio.lo -MD -MP -MF .deps/fort-varaio.Tpo -c fortran/fort-varaio.c -o fort-varaio.o >/dev/null 2>&1
mv -f .deps/fort-varaio.Tpo .deps/fort-varaio.Plo
make[2]: Leaving directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
make[2]: Entering directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dvar.lo -MD -MP -MF .deps/Dvar.Tpo -c -o Dvar.lo Dvar.cc
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dvar.lo -MD -MP -MF .deps/Dvar.Tpo -c Dvar.cc -fPIC -DPIC -o .libs/Dvar.o
In file included from /usr/include/libdap/HTTPConnect.h:50,
from /usr/include/libdap/Connect.h:82,
from Dnetcdf.h:39,
from Dvar.cc:43:
/usr/include/libdap/HTTPResponse.h: In destructor 'virtual libdap::HTTPResponse::~HTTPResponse()':
/usr/include/libdap/HTTPResponse.h:134:88: warning: throw will always call terminate() [-Wterminate]
if (res != 0) throw InternalErr(__FILE__, __LINE__, "!FAIL! " + long_to_string(res));
^
/usr/include/libdap/HTTPResponse.h:134:88: note: in C++11 destructors default to noexcept
In file included from NCConnect.h:42,
from Dnetcdf.h:40,
from Dvar.cc:43:
ClientParams.h: At global scope:
ClientParams.h:58:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
ClientParams(const string &url) throw(Error);
^~~~~
In file included from NCConnect.h:43,
from Dnetcdf.h:40,
from Dvar.cc:43:
nc_util.h:54:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
nc_util.h:59:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
In file included from Dnetcdf.h:40,
from Dvar.cc:43:
NCConnect.h:100:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
void init_remote_source(const string &ce) throw(Error);
^~~~~
NCConnect.h:128:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
BaseType *get_variable(int varid) throw(Error);
^~~~~
NCConnect.h:133:6: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(Error);
^~~~~
NCConnect.h:137:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
AttrTable &get_attribute_table(int varid) throw(Error);
^~~~~
NCConnect.h:140:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
nc_type *datatype) throw(Error);
^~~~~
NCConnect.h:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
Dvar.cc: In function 'int nc_copy_var(int, int, int)':
Dvar.cc:320:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
NCadvise(NC_EPERM, "DODS network interface is read-only") ;
^
Dvar.cc:328:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
NCadvise(NC_ENOTVAR, "%d is not a valid variable id", varid) ;
^
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dvar.lo -MD -MP -MF .deps/Dvar.Tpo -c Dvar.cc -o Dvar.o >/dev/null 2>&1
mv -f .deps/Dvar.Tpo .deps/Dvar.Plo
make[2]: Leaving directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
make[2]: Entering directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dattr.lo -MD -MP -MF .deps/Dattr.Tpo -c -o Dattr.lo Dattr.cc
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dattr.lo -MD -MP -MF .deps/Dattr.Tpo -c Dattr.cc -fPIC -DPIC -o .libs/Dattr.o
In file included from /usr/include/libdap/HTTPConnect.h:50,
from /usr/include/libdap/Connect.h:82,
from Dnetcdf.h:39,
from Dattr.cc:43:
/usr/include/libdap/HTTPResponse.h: In destructor 'virtual libdap::HTTPResponse::~HTTPResponse()':
/usr/include/libdap/HTTPResponse.h:134:88: warning: throw will always call terminate() [-Wterminate]
if (res != 0) throw InternalErr(__FILE__, __LINE__, "!FAIL! " + long_to_string(res));
^
/usr/include/libdap/HTTPResponse.h:134:88: note: in C++11 destructors default to noexcept
In file included from NCConnect.h:42,
from Dnetcdf.h:40,
from Dattr.cc:43:
ClientParams.h: At global scope:
ClientParams.h:58:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
ClientParams(const string &url) throw(Error);
^~~~~
In file included from NCConnect.h:43,
from Dnetcdf.h:40,
from Dattr.cc:43:
nc_util.h:54:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
nc_util.h:59:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
In file included from Dnetcdf.h:40,
from Dattr.cc:43:
NCConnect.h:100:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
void init_remote_source(const string &ce) throw(Error);
^~~~~
NCConnect.h:128:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
BaseType *get_variable(int varid) throw(Error);
^~~~~
NCConnect.h:133:6: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(Error);
^~~~~
NCConnect.h:137:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
AttrTable &get_attribute_table(int varid) throw(Error);
^~~~~
NCConnect.h:140:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
nc_type *datatype) throw(Error);
^~~~~
NCConnect.h:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dattr.lo -MD -MP -MF .deps/Dattr.Tpo -c Dattr.cc -o Dattr.o >/dev/null 2>&1
mv -f .deps/Dattr.Tpo .deps/Dattr.Plo
make[2]: Leaving directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
make[2]: Entering directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dnc.lo -MD -MP -MF .deps/Dnc.Tpo -c -o Dnc.lo Dnc.cc
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dnc.lo -MD -MP -MF .deps/Dnc.Tpo -c Dnc.cc -fPIC -DPIC -o .libs/Dnc.o
In file included from Dnc.cc:56:
ClientParams.h:58:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
ClientParams(const string &url) throw(Error);
^~~~~
In file included from NCAccess.h:43,
from NCStructure.h:48,
from Dnc.cc:57:
nc_util.h:54:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
nc_util.h:59:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
In file included from NCStructure.h:48,
from Dnc.cc:57:
NCAccess.h:79:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const size_t *edges, const ptrdiff_t *stride) throw(Error);
^~~~~
NCAccess.h:88:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual nc_type get_nc_type() throw(InternalErr);
^~~~~
NCAccess.h:92:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const ClientParams &cp) throw(Error);
^~~~~
NCAccess.h:98:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual void set_source(BaseType *s) throw(InternalErr);
^~~~~
In file included from /usr/include/libdap/HTTPConnect.h:50,
from /usr/include/libdap/Connect.h:82,
from NCConnect.h:40,
from Dnc.cc:58:
/usr/include/libdap/HTTPResponse.h: In destructor 'virtual libdap::HTTPResponse::~HTTPResponse()':
/usr/include/libdap/HTTPResponse.h:134:88: warning: throw will always call terminate() [-Wterminate]
if (res != 0) throw InternalErr(__FILE__, __LINE__, "!FAIL! " + long_to_string(res));
^
/usr/include/libdap/HTTPResponse.h:134:88: note: in C++11 destructors default to noexcept
In file included from Dnc.cc:58:
NCConnect.h: At global scope:
NCConnect.h:100:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
void init_remote_source(const string &ce) throw(Error);
^~~~~
NCConnect.h:128:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
BaseType *get_variable(int varid) throw(Error);
^~~~~
NCConnect.h:133:6: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(Error);
^~~~~
NCConnect.h:137:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
AttrTable &get_attribute_table(int varid) throw(Error);
^~~~~
NCConnect.h:140:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
nc_type *datatype) throw(Error);
^~~~~
NCConnect.h:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
Dnc.cc: In function 'int ncnobuf(int)':
Dnc.cc:494:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
cdf_routine_name = "ncnobuf";
^~~~~~~~~
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dnc.lo -MD -MP -MF .deps/Dnc.Tpo -c Dnc.cc -o Dnc.o >/dev/null 2>&1
mv -f .deps/Dnc.Tpo .deps/Dnc.Plo
make[2]: Leaving directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
make[2]: Entering directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT ClientParams.lo -MD -MP -MF .deps/ClientParams.Tpo -c -o ClientParams.lo ClientParams.cc
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT ClientParams.lo -MD -MP -MF .deps/ClientParams.Tpo -c ClientParams.cc -fPIC -DPIC -o .libs/ClientParams.o
In file included from ClientParams.cc:26:
ClientParams.h:58:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
ClientParams(const string &url) throw(Error);
^~~~~
ClientParams.cc:59:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
ClientParams::ClientParams(const string &url) throw(Error)
^~~~~
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT ClientParams.lo -MD -MP -MF .deps/ClientParams.Tpo -c ClientParams.cc -o ClientParams.o >/dev/null 2>&1
mv -f .deps/ClientParams.Tpo .deps/ClientParams.Plo
make[2]: Leaving directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
make[2]: Entering directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dputget.lo -MD -MP -MF .deps/Dputget.Tpo -c -o Dputget.lo Dputget.cc
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dputget.lo -MD -MP -MF .deps/Dputget.Tpo -c Dputget.cc -fPIC -DPIC -o .libs/Dputget.o
In file included from /usr/include/libdap/HTTPConnect.h:50,
from /usr/include/libdap/Connect.h:82,
from Dnetcdf.h:39,
from Dputget.cc:53:
/usr/include/libdap/HTTPResponse.h: In destructor 'virtual libdap::HTTPResponse::~HTTPResponse()':
/usr/include/libdap/HTTPResponse.h:134:88: warning: throw will always call terminate() [-Wterminate]
if (res != 0) throw InternalErr(__FILE__, __LINE__, "!FAIL! " + long_to_string(res));
^
/usr/include/libdap/HTTPResponse.h:134:88: note: in C++11 destructors default to noexcept
In file included from NCConnect.h:42,
from Dnetcdf.h:40,
from Dputget.cc:53:
ClientParams.h: At global scope:
ClientParams.h:58:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
ClientParams(const string &url) throw(Error);
^~~~~
In file included from NCConnect.h:43,
from Dnetcdf.h:40,
from Dputget.cc:53:
nc_util.h:54:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
nc_util.h:59:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
In file included from Dnetcdf.h:40,
from Dputget.cc:53:
NCConnect.h:100:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
void init_remote_source(const string &ce) throw(Error);
^~~~~
NCConnect.h:128:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
BaseType *get_variable(int varid) throw(Error);
^~~~~
NCConnect.h:133:6: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(Error);
^~~~~
NCConnect.h:137:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
AttrTable &get_attribute_table(int varid) throw(Error);
^~~~~
NCConnect.h:140:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
nc_type *datatype) throw(Error);
^~~~~
NCConnect.h:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
Dputget.cc: In function 'int nc_get_rec(int, size_t, void**)':
Dputget.cc:86:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
cdf_routine_name = "nc_get_rec" ;
^~~~~~~~~~~~
Dputget.cc:88:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
NCadvise(NC_EPERM, "Record access is not supported yet, DODS") ;
^
Dputget.cc: In function 'int nc_inq_rec(int, size_t*, int*, size_t*)':
Dputget.cc:106:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
cdf_routine_name = "nc_inq_rec" ;
^~~~~~~~~~~~
Dputget.cc:107:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
NCadvise(NC_EPERM, "Record access is not supported yet, DODS") ;
^
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT Dputget.lo -MD -MP -MF .deps/Dputget.Tpo -c Dputget.cc -o Dputget.o >/dev/null 2>&1
mv -f .deps/Dputget.Tpo .deps/Dputget.Plo
make[2]: Leaving directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
make[2]: Entering directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT nc_util.lo -MD -MP -MF .deps/nc_util.Tpo -c -o nc_util.lo nc_util.cc
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT nc_util.lo -MD -MP -MF .deps/nc_util.Tpo -c nc_util.cc -fPIC -DPIC -o .libs/nc_util.o
In file included from /usr/include/libdap/HTTPConnect.h:50,
from /usr/include/libdap/Connect.h:82,
from Dnetcdf.h:39,
from nc_util.cc:51:
/usr/include/libdap/HTTPResponse.h: In destructor 'virtual libdap::HTTPResponse::~HTTPResponse()':
/usr/include/libdap/HTTPResponse.h:134:88: warning: throw will always call terminate() [-Wterminate]
if (res != 0) throw InternalErr(__FILE__, __LINE__, "!FAIL! " + long_to_string(res));
^
/usr/include/libdap/HTTPResponse.h:134:88: note: in C++11 destructors default to noexcept
In file included from NCConnect.h:42,
from Dnetcdf.h:40,
from nc_util.cc:51:
ClientParams.h: At global scope:
ClientParams.h:58:37: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
ClientParams(const string &url) throw(Error);
^~~~~
In file included from NCConnect.h:43,
from Dnetcdf.h:40,
from nc_util.cc:51:
nc_util.h:54:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
nc_util.h:59:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
In file included from Dnetcdf.h:40,
from nc_util.cc:51:
NCConnect.h:100:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
void init_remote_source(const string &ce) throw(Error);
^~~~~
NCConnect.h:128:39: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
BaseType *get_variable(int varid) throw(Error);
^~~~~
NCConnect.h:133:6: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(Error);
^~~~~
NCConnect.h:137:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
AttrTable &get_attribute_table(int varid) throw(Error);
^~~~~
NCConnect.h:140:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
nc_type *datatype) throw(Error);
^~~~~
NCConnect.h:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr);
^~~~~
In file included from nc_util.cc:55:
NCAccess.h:79:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const size_t *edges, const ptrdiff_t *stride) throw(Error);
^~~~~
NCAccess.h:88:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual nc_type get_nc_type() throw(InternalErr);
^~~~~
NCAccess.h:92:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const ClientParams &cp) throw(Error);
^~~~~
NCAccess.h:98:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual void set_source(BaseType *s) throw(InternalErr);
^~~~~
In file included from nc_util.cc:56:
NCGrid.h:62:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const size_t *edges, const ptrdiff_t *stride) throw(Error);
^~~~~
NCGrid.h:65:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual nc_type get_nc_type() throw(InternalErr);
^~~~~
NCGrid.h:68:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const ClientParams &cp) throw(Error);
^~~~~
In file included from nc_util.cc:57:
NCArray.h:71:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const size_t *edges, const ptrdiff_t *stride) throw(Error);
^~~~~
NCArray.h:76:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual nc_type get_nc_type() throw(InternalErr);
^~~~~
NCArray.h:79:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const ClientParams &/* cp */) throw(Error);
^~~~~
NCArray.h:81:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
virtual void set_source(BaseType *s) throw(InternalErr);
^~~~~
In file included from nc_util.cc:58:
NCSequence.h:71:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
const size_t *edges, const ptrdiff_t *stride) throw(Error);
^~~~~
nc_util.cc:101:1: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
throw(InternalErr)
^~~~~
libtool: compile: x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I./fortran -Df2cFortran -DLOCAL -I./lnetcdf -I/usr/include/libdap -I/usr/include/libxml2 -I./fortran -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT nc_util.lo -MD -MP -MF .deps/nc_util.Tpo -c nc_util.cc -o nc_util.o >/dev/null 2>&1
mv -f .deps/nc_util.Tpo .deps/nc_util.Plo
make[2]: Leaving directory '/tmp/B.sH6qKC/BUILD/libnc-dap-3.7.4'
make[1]: *** [Makefile:1089: all-recursive] Error 1
make: *** [Makefile:584: all] Error 2
error: Bad exit status from /tmp/B.sH6qKC/BUILD/tmp/rpm-tmp.89857 (%build)
RPM build errors:
Bad exit status from /tmp/B.sH6qKC/BUILD/tmp/rpm-tmp.89857 (%build)
ended at: Sun Feb 10 11:58:13 2019, done in 0:00:23.651231
error: No files produced.
+ chmod -R u+rwX /tmp/B.sH6qKC/BUILD
+ rm -rf /tmp/B.sH6qKC/tmp /tmp/B.sH6qKC/BUILD
+ rm -rf /tmp/B.sH6qKC
Begin-PLD-Builder-Info
Build-Time: user:64.69s sys:7.98s real:27.20s (faults io:0 non-io:2701333)
End-PLD-Builder-Info
|
|