=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for openwbem-3.2.2nb1
./create_replacement_script.sh replacement_script.sed config.status
Repeating evaluation loop until all out-of-order references are resolved.
Doing evaluation loop #1
Found 101 changes this iteration
Doing evaluation loop #2
Found 5 changes this iteration
Doing evaluation loop #3
Found 0 changes this iteration
Creating replacement script replacement_script.sed
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/scratch/net/openwbem/work/openwbem-3.2.2'
Making all in db
gmake[2]: Entering directory `/scratch/net/openwbem/work/openwbem-3.2.2/db'
Making all in include
gmake[3]: Entering directory `/scratch/net/openwbem/work/openwbem-3.2.2/db/include'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/scratch/net/openwbem/work/openwbem-3.2.2/db/include'
Making all in btree
gmake[3]: Entering directory `/scratch/net/openwbem/work/openwbem-3.2.2/db/btree'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_conv.o -MD -MP -MF ".deps/bt_conv.Tpo" -c -o bt_conv.o bt_conv.c; \
then mv -f ".deps/bt_conv.Tpo" ".deps/bt_conv.Po"; else rm -f ".deps/bt_conv.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_close.o -MD -MP -MF ".deps/bt_close.Tpo" -c -o bt_close.o bt_close.c; \
then mv -f ".deps/bt_close.Tpo" ".deps/bt_close.Po"; else rm -f ".deps/bt_close.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_debug.o -MD -MP -MF ".deps/bt_debug.Tpo" -c -o bt_debug.o bt_debug.c; \
then mv -f ".deps/bt_debug.Tpo" ".deps/bt_debug.Po"; else rm -f ".deps/bt_debug.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_delete.o -MD -MP -MF ".deps/bt_delete.Tpo" -c -o bt_delete.o bt_delete.c; \
then mv -f ".deps/bt_delete.Tpo" ".deps/bt_delete.Po"; else rm -f ".deps/bt_delete.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_get.o -MD -MP -MF ".deps/bt_get.Tpo" -c -o bt_get.o bt_get.c; \
then mv -f ".deps/bt_get.Tpo" ".deps/bt_get.Po"; else rm -f ".deps/bt_get.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_open.o -MD -MP -MF ".deps/bt_open.Tpo" -c -o bt_open.o bt_open.c; \
then mv -f ".deps/bt_open.Tpo" ".deps/bt_open.Po"; else rm -f ".deps/bt_open.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_overflow.o -MD -MP -MF ".deps/bt_overflow.Tpo" -c -o bt_overflow.o bt_overflow.c; \
then mv -f ".deps/bt_overflow.Tpo" ".deps/bt_overflow.Po"; else rm -f ".deps/bt_overflow.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_page.o -MD -MP -MF ".deps/bt_page.Tpo" -c -o bt_page.o bt_page.c; \
then mv -f ".deps/bt_page.Tpo" ".deps/bt_page.Po"; else rm -f ".deps/bt_page.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_put.o -MD -MP -MF ".deps/bt_put.Tpo" -c -o bt_put.o bt_put.c; \
then mv -f ".deps/bt_put.Tpo" ".deps/bt_put.Po"; else rm -f ".deps/bt_put.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_search.o -MD -MP -MF ".deps/bt_search.Tpo" -c -o bt_search.o bt_search.c; \
then mv -f ".deps/bt_search.Tpo" ".deps/bt_search.Po"; else rm -f ".deps/bt_search.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_seq.o -MD -MP -MF ".deps/bt_seq.Tpo" -c -o bt_seq.o bt_seq.c; \
then mv -f ".deps/bt_seq.Tpo" ".deps/bt_seq.Po"; else rm -f ".deps/bt_seq.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_split.o -MD -MP -MF ".deps/bt_split.Tpo" -c -o bt_split.o bt_split.c; \
then mv -f ".deps/bt_split.Tpo" ".deps/bt_split.Po"; else rm -f ".deps/bt_split.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT bt_utils.o -MD -MP -MF ".deps/bt_utils.Tpo" -c -o bt_utils.o bt_utils.c; \
then mv -f ".deps/bt_utils.Tpo" ".deps/bt_utils.Po"; else rm -f ".deps/bt_utils.Tpo"; exit 1; fi
rm -f libbtree.a
/scratch/net/openwbem/work/openwbem-3.2.2/db/btree/../../ow_ar.sh /usr/bin/ar -- cru libbtree.a bt_conv.o bt_close.o bt_debug.o bt_delete.o bt_get.o bt_open.o bt_overflow.o bt_page.o bt_put.o bt_search.o bt_seq.o bt_split.o bt_utils.o 
ranlib libbtree.a
gmake[3]: Leaving directory `/scratch/net/openwbem/work/openwbem-3.2.2/db/btree'
Making all in mpool
gmake[3]: Entering directory `/scratch/net/openwbem/work/openwbem-3.2.2/db/mpool'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT mpool.o -MD -MP -MF ".deps/mpool.Tpo" -c -o mpool.o mpool.c; \
then mv -f ".deps/mpool.Tpo" ".deps/mpool.Po"; else rm -f ".deps/mpool.Tpo"; exit 1; fi
rm -f libmpool.a
/scratch/net/openwbem/work/openwbem-3.2.2/db/mpool/../../ow_ar.sh /usr/bin/ar -- cru libmpool.a mpool.o 
ranlib libmpool.a
gmake[3]: Leaving directory `/scratch/net/openwbem/work/openwbem-3.2.2/db/mpool'
Making all in db
gmake[3]: Entering directory `/scratch/net/openwbem/work/openwbem-3.2.2/db/db'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -fno-web -MT db.o -MD -MP -MF ".deps/db.Tpo" -c -o db.o db.c; \
then mv -f ".deps/db.Tpo" ".deps/db.Po"; else rm -f ".deps/db.Tpo"; exit 1; fi
rm -f libowdb.a
/scratch/net/openwbem/work/openwbem-3.2.2/db/db/../../ow_ar.sh /usr/bin/ar -- cru libowdb.a db.o ../btree/libbtree.a ../mpool/libmpool.a
ranlib libowdb.a
rm -rf .libowdb.so.libs
mkdir .libowdb.so.libs
cd .libowdb.so.libs && \
/scratch/net/openwbem/work/openwbem-3.2.2/db/db/../../ow_ar.sh /usr/bin/ar -- x ../libowdb.a 
if [ "x" = "x1" ]; then nm -BCpg .libowdb.so.libs/*.o | /usr/bin/awk '{ if((($2 == "T") || ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' | sort -u > libowdb.exp; fi
c++ -pthread -shared -fPIC -Wl,-soname -Wl,libowdb.so.4 -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/pkg/lib -L/usr/pkg -o libowdb.so.4 .libowdb.so.libs/*.o 
rm -rf libowdb.so .libowdb.so.libs libowdb.exp
ln -s libowdb.so.4 libowdb.so
chmod +x libowdb.so.4
gmake[3]: Leaving directory `/scratch/net/openwbem/work/openwbem-3.2.2/db/db'
Making all in test
gmake[3]: Entering directory `/scratch/net/openwbem/work/openwbem-3.2.2/db/test'
if c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../db/include -I../../src/common  -I/usr/include -I/usr/pkg  -fno-enforce-eh-specs -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -MT dbtest.o -MD -MP -MF ".deps/dbtest.Tpo" -c -o dbtest.o dbtest.cpp; \
then mv -f ".deps/dbtest.Tpo" ".deps/dbtest.Po"; else rm -f ".deps/dbtest.Tpo"; exit 1; fi
c++ -pthread  -Wl,-Bdynamic -Wl,-E -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/pkg/lib  -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/pkg/lib -L/usr/pkg -lm -o dbtest dbtest.o -L../../db/db -lowdb  
gmake[3]: Leaving directory `/scratch/net/openwbem/work/openwbem-3.2.2/db/test'
gmake[3]: Entering directory `/scratch/net/openwbem/work/openwbem-3.2.2/db'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/scratch/net/openwbem/work/openwbem-3.2.2/db'
gmake[2]: Leaving directory `/scratch/net/openwbem/work/openwbem-3.2.2/db'
Making all in src
gmake[2]: Entering directory `/scratch/net/openwbem/work/openwbem-3.2.2/src'
Making all in cim
gmake[3]: Entering directory `/scratch/net/openwbem/work/openwbem-3.2.2/src/cim'
if c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/common -I../../src/ifcs  -I/usr/include -I/usr/pkg  -fno-enforce-eh-specs -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -MT OW_CIMValue.o -MD -MP -MF ".deps/OW_CIMValue.Tpo" -c -o OW_CIMValue.o OW_CIMValue.cpp; \
then mv -f ".deps/OW_CIMValue.Tpo" ".deps/OW_CIMValue.Po"; else rm -f ".deps/OW_CIMValue.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/common -I../../src/ifcs  -I/usr/include -I/usr/pkg  -fno-enforce-eh-specs -O2 -I/usr/include -fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -O3 -MT OW_CIMValueCast.o -MD -MP -MF ".deps/OW_CIMValueCast.Tpo" -c -o OW_CIMValueCast.o OW_CIMValueCast.cpp; \
then mv -f ".deps/OW_CIMValueCast.Tpo" ".deps/OW_CIMValueCast.Po"; else rm -f ".deps/OW_CIMValueCast.Tpo"; exit 1; fi
In file included from OW_CIMValue.cpp:41:
In file included from ../../src/common/OW_BinarySerialization.hpp:49:
In file included from ../../src/ifcs/OW_IfcsFwd.hpp:39:
../../src/common/OW_SharedLibraryReference.hpp:116:22: error: use 'template' keyword to treat 'cast_to' as a dependent template name
                rval.m_obj = m_obj.cast_to<U>();
                                   ^
                                   template 
In file included from OW_CIMValue.cpp:37:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<float, std::allocator<float> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:350:8: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<float, std::allocator<float> > >::operator->' requested here
        m_impl->clear(); 
              ^
OW_CIMValue.cpp:2656:5: note: in instantiation of member function 'OpenWBEM4::Array<float>::clear' requested here
        ra.clear();
           ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValue.cpp:37:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<double, std::allocator<double> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:350:8: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<double, std::allocator<double> > >::operator->' requested here
        m_impl->clear(); 
              ^
OW_CIMValue.cpp:2668:5: note: in instantiation of member function 'OpenWBEM4::Array<double>::clear' requested here
        ra.clear();
           ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValue.cpp:37:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned char, std::allocator<unsigned char> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:350:8: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned char, std::allocator<unsigned char> > >::operator->' requested here
        m_impl->clear(); 
              ^
OW_CIMValue.cpp:2629:5: note: in instantiation of member function 'OpenWBEM4::Array<unsigned char>::clear' requested here
        ra.clear();
           ^
OW_CIMValue.cpp:2714:5: note: in instantiation of function template specialization 'OpenWBEM4::readArray<OpenWBEM4::Array<unsigned char> >' requested here
                                readArray(istrm, *(reinterpret_cast<UInt8Array*>(&m_obj)), 0);
                                ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValue.cpp:37:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<signed char, std::allocator<signed char> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:350:8: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<signed char, std::allocator<signed char> > >::operator->' requested here
        m_impl->clear(); 
              ^
OW_CIMValue.cpp:2629:5: note: in instantiation of member function 'OpenWBEM4::Array<signed char>::clear' requested here
        ra.clear();
           ^
OW_CIMValue.cpp:2718:5: note: in instantiation of function template specialization 'OpenWBEM4::readArray<OpenWBEM4::Array<signed char> >' requested here
                                readArray(istrm, *(reinterpret_cast<Int8Array*>(&m_obj)), 0);
                                ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValue.cpp:37:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned short, std::allocator<unsigned short> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:350:8: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned short, std::allocator<unsigned short> > >::operator->' requested here
        m_impl->clear(); 
              ^
OW_CIMValue.cpp:2629:5: note: in instantiation of member function 'OpenWBEM4::Array<unsigned short>::clear' requested here
        ra.clear();
           ^
OW_CIMValue.cpp:2726:5: note: in instantiation of function template specialization 'OpenWBEM4::readArray<OpenWBEM4::Array<unsigned short> >' requested here
                                readArray(istrm, *(reinterpret_cast<UInt16Array*>(&m_obj)), 1);
                                ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValue.cpp:37:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<short, std::allocator<short> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:350:8: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<short, std::allocator<short> > >::operator->' requested here
        m_impl->clear(); 
              ^
OW_CIMValue.cpp:2629:5: note: in instantiation of member function 'OpenWBEM4::Array<short>::clear' requested here
        ra.clear();
           ^
OW_CIMValue.cpp:2730:5: note: in instantiation of function template specialization 'OpenWBEM4::readArray<OpenWBEM4::Array<short> >' requested here
                                readArray(istrm, *(reinterpret_cast<Int16Array*>(&m_obj)), 1);
                                ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValue.cpp:37:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned int, std::allocator<unsigned int> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:350:8: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned int, std::allocator<unsigned int> > >::operator->' requested here
        m_impl->clear(); 
              ^
OW_CIMValue.cpp:2629:5: note: in instantiation of member function 'OpenWBEM4::Array<unsigned int>::clear' requested here
        ra.clear();
           ^
OW_CIMValue.cpp:2734:5: note: in instantiation of function template specialization 'OpenWBEM4::readArray<OpenWBEM4::Array<unsigned int> >' requested here
                                readArray(istrm, *(reinterpret_cast<UInt32Array*>(&m_obj)), 2);
                                ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValue.cpp:37:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<int, std::allocator<int> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:350:8: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<int, std::allocator<int> > >::operator->' requested here
        m_impl->clear(); 
              ^
OW_CIMValue.cpp:2629:5: note: in instantiation of member function 'OpenWBEM4::Array<int>::clear' requested here
        ra.clear();
           ^
OW_CIMValue.cpp:2738:5: note: in instantiation of function template specialization 'OpenWBEM4::readArray<OpenWBEM4::Array<int> >' requested here
                                readArray(istrm, *(reinterpret_cast<Int32Array*>(&m_obj)), 2);
                                ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValue.cpp:37:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned long, std::allocator<unsigned long> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:350:8: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned long, std::allocator<unsigned long> > >::operator->' requested here
        m_impl->clear(); 
              ^
OW_CIMValue.cpp:2629:5: note: in instantiation of member function 'OpenWBEM4::Array<unsigned long>::clear' requested here
        ra.clear();
           ^
OW_CIMValue.cpp:2742:5: note: in instantiation of function template specialization 'OpenWBEM4::readArray<OpenWBEM4::Array<unsigned long> >' requested here
                                readArray(istrm, *(reinterpret_cast<UInt64Array*>(&m_obj)), 3);
                                ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValue.cpp:37:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<long, std::allocator<long> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:350:8: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<long, std::allocator<long> > >::operator->' requested here
        m_impl->clear(); 
              ^
OW_CIMValue.cpp:2629:5: note: in instantiation of member function 'OpenWBEM4::Array<long>::clear' requested here
        ra.clear();
           ^
OW_CIMValue.cpp:2746:5: note: in instantiation of function template specialization 'OpenWBEM4::readArray<OpenWBEM4::Array<long> >' requested here
                                readArray(istrm, *(reinterpret_cast<Int64Array*>(&m_obj)), 3);
                                ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
11 errors generated.
gmake[3]: *** [OW_CIMValue.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
In file included from OW_CIMValueCast.cpp:40:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned char, std::allocator<unsigned char> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:184:15: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned char, std::allocator<unsigned char> > >::operator->' requested here
        return m_impl->operator[](n);
                     ^
OW_CIMValueCast.cpp:300:7: note: in instantiation of member function 'OpenWBEM4::Array<unsigned char>::operator[]' requested here
                                ra[i] = strArray[i].toUInt8();
                                  ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValueCast.cpp:40:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<signed char, std::allocator<signed char> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:184:15: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<signed char, std::allocator<signed char> > >::operator->' requested here
        return m_impl->operator[](n);
                     ^
OW_CIMValueCast.cpp:310:7: note: in instantiation of member function 'OpenWBEM4::Array<signed char>::operator[]' requested here
                                ra[i] = strArray[i].toInt8();
                                  ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValueCast.cpp:40:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned short, std::allocator<unsigned short> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:184:15: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned short, std::allocator<unsigned short> > >::operator->' requested here
        return m_impl->operator[](n);
                     ^
OW_CIMValueCast.cpp:320:7: note: in instantiation of member function 'OpenWBEM4::Array<unsigned short>::operator[]' requested here
                                ra[i] = strArray[i].toUInt16();
                                  ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValueCast.cpp:40:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<short, std::allocator<short> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:184:15: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<short, std::allocator<short> > >::operator->' requested here
        return m_impl->operator[](n);
                     ^
OW_CIMValueCast.cpp:330:7: note: in instantiation of member function 'OpenWBEM4::Array<short>::operator[]' requested here
                                ra[i] = strArray[i].toInt16();
                                  ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValueCast.cpp:40:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned int, std::allocator<unsigned int> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:184:15: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned int, std::allocator<unsigned int> > >::operator->' requested here
        return m_impl->operator[](n);
                     ^
OW_CIMValueCast.cpp:340:7: note: in instantiation of member function 'OpenWBEM4::Array<unsigned int>::operator[]' requested here
                                ra[i] = strArray[i].toUInt32();
                                  ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValueCast.cpp:40:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<int, std::allocator<int> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:184:15: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<int, std::allocator<int> > >::operator->' requested here
        return m_impl->operator[](n);
                     ^
OW_CIMValueCast.cpp:350:7: note: in instantiation of member function 'OpenWBEM4::Array<int>::operator[]' requested here
                                ra[i] = strArray[i].toInt32();
                                  ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValueCast.cpp:40:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned long, std::allocator<unsigned long> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:184:15: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<unsigned long, std::allocator<unsigned long> > >::operator->' requested here
        return m_impl->operator[](n);
                     ^
OW_CIMValueCast.cpp:360:7: note: in instantiation of member function 'OpenWBEM4::Array<unsigned long>::operator[]' requested here
                                ra[i] = strArray[i].toUInt64();
                                  ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValueCast.cpp:40:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<long, std::allocator<long> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:184:15: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<long, std::allocator<long> > >::operator->' requested here
        return m_impl->operator[](n);
                     ^
OW_CIMValueCast.cpp:370:7: note: in instantiation of member function 'OpenWBEM4::Array<long>::operator[]' requested here
                                ra[i] = strArray[i].toInt64();
                                  ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValueCast.cpp:40:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<float, std::allocator<float> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:184:15: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<float, std::allocator<float> > >::operator->' requested here
        return m_impl->operator[](n);
                     ^
OW_CIMValueCast.cpp:393:7: note: in instantiation of member function 'OpenWBEM4::Array<float>::operator[]' requested here
                                ra[i] = strArray[i].toReal32();
                                  ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
In file included from OW_CIMValueCast.cpp:40:
In file included from ./OW_CIMValue.hpp:42:
In file included from ../../src/common/OW_Array.hpp:40:
../../src/common/OW_COWReference.hpp:148:12: error: call to function 'COWReferenceClone' that is neither visible in the template definition nor found by argument-dependent lookup
                T* tmp = COWReferenceClone(m_pObj);
                         ^
../../src/common/OW_COWReference.hpp:189:2: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<double, std::allocator<double> > >::getWriteLock' requested here
        getWriteLock();
        ^
../../src/common/OW_ArrayImpl.hpp:184:15: note: in instantiation of member function 'OpenWBEM4::COWReference<std::vector<double, std::allocator<double> > >::operator->' requested here
        return m_impl->operator[](n);
                     ^
OW_CIMValueCast.cpp:403:7: note: in instantiation of member function 'OpenWBEM4::Array<double>::operator[]' requested here
                                ra[i] = strArray[i].toReal64();
                                  ^
../../src/common/OW_vector.hpp:51:24: note: 'COWReferenceClone' should be declared prior to the call site
inline std::vector<T>* COWReferenceClone(std::vector<T>* obj)
                       ^
10 errors generated.
gmake[3]: *** [OW_CIMValueCast.o] Error 1
gmake[3]: Leaving directory `/scratch/net/openwbem/work/openwbem-3.2.2/src/cim'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/scratch/net/openwbem/work/openwbem-3.2.2/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/scratch/net/openwbem/work/openwbem-3.2.2'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/net/openwbem
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/openwbem
