=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ibus-libpinyin-1.12.0nb1 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0' Making all in data gmake[2]: Entering directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0/data' Making all in icons gmake[3]: Entering directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0/data/icons' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0/data/icons' gmake[3]: Entering directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0/data' GEN english.db GEN strokes.db GEN ibus-setup-libbopomofo.desktop sed -e 's|@libexecdir[@]|/usr/pkg/libexec|g' \ -e 's|@pkgdatadir[@]|/usr/pkg/share/ibus-libpinyin|g' ibus-setup-libbopomofo.desktop.tmp > ibus-setup-libbopomofo.desktop rm ibus-setup-libbopomofo.desktop.tmp GEN ibus-setup-libpinyin.desktop sed -e 's|@libexecdir[@]|/usr/pkg/libexec|g' \ -e 's|@pkgdatadir[@]|/usr/pkg/share/ibus-libpinyin|g' ibus-setup-libpinyin.desktop.tmp > ibus-setup-libpinyin.desktop rm ibus-setup-libpinyin.desktop.tmp GEN com.github.libpinyin.ibus-libpinyin.gschema.valid gmake[3]: Leaving directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0/data' gmake[2]: Leaving directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0/data' Making all in src gmake[2]: Entering directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0/src' /usr/pkg/bin/gmake all-am gmake[3]: Entering directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0/src' CXX ibus_engine_libpinyin-PYConfig.o CXX ibus_engine_libpinyin-PYEditor.o In file included from PYSignal.h:90:0, from PYEditor.h:24, from PYEditor.cc:21: /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/boost/bind.hpp:41:265: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. CXX ibus_engine_libpinyin-PYEngine.o In file included from PYSignal.h:90:0, from PYEditor.h:24, from PYEngine.h:28, from PYEngine.cc:21: /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/boost/bind.hpp:41:265: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. CXX ibus_engine_libpinyin-PYFallbackEditor.o In file included from PYSignal.h:90:0, from PYEditor.h:24, from PYFallbackEditor.h:24, from PYFallbackEditor.cc:20: /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/boost/bind.hpp:41:265: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. CXX ibus_engine_libpinyin-PYHalfFullConverter.o CXX ibus_engine_libpinyin-PYMain.o In file included from PYSignal.h:90:0, from PYEditor.h:24, from PYEngine.h:28, from PYMain.cc:28: /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/boost/bind.hpp:41:265: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. PYMain.cc: In function 'int main(gint, gchar**)': PYMain.cc:183:5: warning: 'void g_atexit(GVoidFunc)' is deprecated [-Wdeprecated-declarations] g_atexit (atexit_cb); ^ In file included from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gthread.h:34:0, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gasyncqueue.h:32, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib.h:32, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/ibus-1.0/ibusshare.h:40, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/ibus-1.0/ibus.h:30, from PYMain.cc:24: /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gutils.h:336:6: note: declared here void g_atexit (GVoidFunc func); ^ PYMain.cc:183:5: warning: 'void g_atexit(GVoidFunc)' is deprecated [-Wdeprecated-declarations] g_atexit (atexit_cb); ^ In file included from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gthread.h:34:0, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gasyncqueue.h:32, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib.h:32, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/ibus-1.0/ibusshare.h:40, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/ibus-1.0/ibus.h:30, from PYMain.cc:24: /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gutils.h:336:6: note: declared here void g_atexit (GVoidFunc func); ^ PYMain.cc:183:24: warning: 'void g_atexit(GVoidFunc)' is deprecated [-Wdeprecated-declarations] g_atexit (atexit_cb); ^ In file included from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gthread.h:34:0, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gasyncqueue.h:32, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib.h:32, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/ibus-1.0/ibusshare.h:40, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/ibus-1.0/ibus.h:30, from PYMain.cc:24: /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gutils.h:336:6: note: declared here void g_atexit (GVoidFunc func); ^ CXX ibus_engine_libpinyin-PYPinyinProperties.o In file included from PYSignal.h:90:0, from PYPinyinProperties.h:23, from PYPinyinProperties.cc:20: /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/boost/bind.hpp:41:265: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. CXX ibus_engine_libpinyin-PYPunctEditor.o In file included from PYSignal.h:90:0, from PYEditor.h:24, from PYPunctEditor.h:27, from PYPunctEditor.cc:23: /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/boost/bind.hpp:41:265: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. CXX ibus_engine_libpinyin-PYSimpTradConverter.o CXX ibus_engine_libpinyin-PYPConfig.o CXX ibus_engine_libpinyin-PYLibPinyin.o In file included from PYLibPinyin.cc:21:0: PYLibPinyin.h:78:34: error: 'FILE' has not been declared FILE * dictfile, ^ PYLibPinyin.h:81:36: error: 'FILE' has not been declared bool forwardNetworkDictionary (FILE * dictfile, ^ PYLibPinyin.h:84:39: error: 'FILE' has not been declared FILE * dictfile, ^ PYLibPinyin.h:96:17: error: 'unique_ptr' in namespace 'std' does not name a template type static std::unique_ptr m_instance; ^ PYLibPinyin.h: In static member function 'static PY::LibPinyinBackEnd& PY::LibPinyinBackEnd::instance()': PYLibPinyin.h:60:57: error: 'm_instance' was not declared in this scope static LibPinyinBackEnd & instance (void) { return *m_instance; } ^ PYLibPinyin.cc: At global scope: PYLibPinyin.cc:33:53: error: 'std::unique_ptr PY::LibPinyinBackEnd::m_instance' is not a static data member of 'class PY::LibPinyinBackEnd' std::unique_ptr LibPinyinBackEnd::m_instance; ^ In file included from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/lib/glib-2.0/include/glibconfig.h:9:0, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gtypes.h:32, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/galloca.h:32, from /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib.h:30, from PYLibPinyin.h:26, from PYLibPinyin.cc:21: PYLibPinyin.cc: In static member function 'static void PY::LibPinyinBackEnd::init()': PYLibPinyin.cc:177:23: error: 'm_instance' was not declared in this scope g_assert (NULL == m_instance.get ()); ^ /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gmacros.h:1018:8: note: in definition of macro '_G_BOOLEAN_EXPR' if (expr) \ ^ /scratch/work/inputmethod/ibus-libpinyin/work/.buildlink/include/glib-2.0/glib/gtestutils.h:232:49: note: in expansion of macro 'G_LIKELY' if G_LIKELY (expr) ; else \ ^ PYLibPinyin.cc:177:5: note: in expansion of macro 'g_assert' g_assert (NULL == m_instance.get ()); ^ PYLibPinyin.cc:179:5: error: 'm_instance' was not declared in this scope m_instance.reset (backend); ^ PYLibPinyin.cc: In static member function 'static void PY::LibPinyinBackEnd::finalize()': PYLibPinyin.cc:184:5: error: 'm_instance' was not declared in this scope m_instance.reset (); ^ PYLibPinyin.cc: In member function 'bool PY::LibPinyinBackEnd::readNetworkDictionary(pinyin_context_t*, const char*, time_t&, time_t&)': PYLibPinyin.cc:400:66: error: no matching function for call to 'PY::LibPinyinBackEnd::checkNetworkDictionary(pinyin_context_t*&, FILE*&, time_t&, time_t&)' if (!checkNetworkDictionary (context, dictfile, start, loaded)) { ^ In file included from PYLibPinyin.cc:21:0: PYLibPinyin.h:77:10: note: candidate: bool PY::LibPinyinBackEnd::checkNetworkDictionary(pinyin_context_t*, int*, time_t&, time_t&) bool checkNetworkDictionary (pinyin_context_t * context, ^ PYLibPinyin.h:77:10: note: no known conversion for argument 2 from 'FILE* {aka __sFILE*}' to 'int*' PYLibPinyin.cc:408:47: error: no matching function for call to 'PY::LibPinyinBackEnd::forwardNetworkDictionary(FILE*&, time_t&)' forwardNetworkDictionary (dictfile, loaded); ^ In file included from PYLibPinyin.cc:21:0: PYLibPinyin.h:81:10: note: candidate: bool PY::LibPinyinBackEnd::forwardNetworkDictionary(int*, time_t) bool forwardNetworkDictionary (FILE * dictfile, ^ PYLibPinyin.h:81:10: note: no known conversion for argument 1 from 'FILE* {aka __sFILE*}' to 'int*' PYLibPinyin.cc:411:73: error: no matching function for call to 'PY::LibPinyinBackEnd::importRestNetworkDictionary(pinyin_context_t*&, FILE*&, time_t&)' bool retval = importRestNetworkDictionary (context, dictfile, loaded); ^ In file included from PYLibPinyin.cc:21:0: PYLibPinyin.h:83:10: note: candidate: bool PY::LibPinyinBackEnd::importRestNetworkDictionary(pinyin_context_t*, int*, time_t&) bool importRestNetworkDictionary (pinyin_context_t * context, ^ PYLibPinyin.h:83:10: note: no known conversion for argument 2 from 'FILE* {aka __sFILE*}' to 'int*' PYLibPinyin.cc: At global scope: PYLibPinyin.cc:434:1: error: prototype for 'bool PY::LibPinyinBackEnd::checkNetworkDictionary(pinyin_context_t*, FILE*, time_t&, time_t&)' does not match any in class 'PY::LibPinyinBackEnd' LibPinyinBackEnd::checkNetworkDictionary (pinyin_context_t * context, ^ In file included from PYLibPinyin.cc:21:0: PYLibPinyin.h:77:10: error: candidate is: bool PY::LibPinyinBackEnd::checkNetworkDictionary(pinyin_context_t*, int*, time_t&, time_t&) bool checkNetworkDictionary (pinyin_context_t * context, ^ PYLibPinyin.cc:462:1: error: prototype for 'bool PY::LibPinyinBackEnd::forwardNetworkDictionary(FILE*, time_t)' does not match any in class 'PY::LibPinyinBackEnd' LibPinyinBackEnd::forwardNetworkDictionary (FILE * dictfile, ^ In file included from PYLibPinyin.cc:21:0: PYLibPinyin.h:81:10: error: candidate is: bool PY::LibPinyinBackEnd::forwardNetworkDictionary(int*, time_t) bool forwardNetworkDictionary (FILE * dictfile, ^ PYLibPinyin.cc:484:1: error: prototype for 'bool PY::LibPinyinBackEnd::importRestNetworkDictionary(pinyin_context_t*, FILE*, time_t&)' does not match any in class 'PY::LibPinyinBackEnd' LibPinyinBackEnd::importRestNetworkDictionary (pinyin_context_t * context, ^ In file included from PYLibPinyin.cc:21:0: PYLibPinyin.h:83:10: error: candidate is: bool PY::LibPinyinBackEnd::importRestNetworkDictionary(pinyin_context_t*, int*, time_t&) bool importRestNetworkDictionary (pinyin_context_t * context, ^ gmake[3]: *** [Makefile:935: ibus_engine_libpinyin-PYLibPinyin.o] Error 1 gmake[3]: Leaving directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0/src' gmake[2]: *** [Makefile:642: all] Error 2 gmake[2]: Leaving directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0/src' gmake[1]: *** [Makefile:503: all-recursive] Error 1 gmake[1]: Leaving directory '/scratch/work/inputmethod/ibus-libpinyin/work/ibus-libpinyin-1.12.0' gmake: *** [Makefile:433: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /tree/pkgsrc/inputmethod/ibus-libpinyin *** Error code 1 Stop. make: stopped in /tree/pkgsrc/inputmethod/ibus-libpinyin