=> Bootstrap dependency digest>=20211023: found digest-20211023 ===> 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 xfce4-cpugraph-plugin-1.2.5 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/usr/pkgsrc/sysutils/xfce4-cpugraph-plugin/work/xfce4-cpugraph-plugin-1.2.5' Making all in xfce4++ gmake[2]: Entering directory '/usr/pkgsrc/sysutils/xfce4-cpugraph-plugin/work/xfce4-cpugraph-plugin-1.2.5/xfce4++' CXX libxfce4_pp_la-dummy.lo cc1plus: warning: command line option '-Wold-style-definition' is valid for C/ObjC but not for C++ cc1plus: warning: command line option '-Wdeclaration-after-statement' is valid for C/ObjC but not for C++ cc1plus: warning: command line option '-Wnested-externs' is valid for C/ObjC but not for C++ In file included from ../xfce4++/util/rc.h:31:0, from ../xfce4++/util.h:31, from dummy.cc:24: ../xfce4++/util/memory.h:52:5: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] Ptr0() : std::shared_ptr(nullptr) {} ^ In file included from ../xfce4++/util.h:29:0, from dummy.cc:24: ../xfce4++/util/gtk.h:48:70: error: 'function' in namespace 'std' does not name a template type void connect(GtkColorButton *widget, const char *signal, const std::function &handler); ^ ../xfce4++/util/gtk.h:48:78: error: expected ',' or '...' before '<' token void connect(GtkColorButton *widget, const char *signal, const std::function &handler); ^ ../xfce4++/util/gtk.h:49:70: error: 'function' in namespace 'std' does not name a template type void connect(GtkComboBox *widget, const char *signal, const std::function &handler); ^ ../xfce4++/util/gtk.h:49:78: error: expected ',' or '...' before '<' token void connect(GtkComboBox *widget, const char *signal, const std::function &handler); ^ ../xfce4++/util/gtk.h:50:70: error: 'function' in namespace 'std' does not name a template type void connect(GtkEntry *widget, const char *signal, const std::function &handler); ^ ../xfce4++/util/gtk.h:50:78: error: expected ',' or '...' before '<' token void connect(GtkEntry *widget, const char *signal, const std::function &handler); ^ ../xfce4++/util/gtk.h:51:70: error: 'function' in namespace 'std' does not name a template type void connect(GtkSpinButton *widget, const char *signal, const std::function &handler); ^ ../xfce4++/util/gtk.h:51:78: error: expected ',' or '...' before '<' token void connect(GtkSpinButton *widget, const char *signal, const std::function &handler); ^ ../xfce4++/util/gtk.h:52:70: error: 'function' in namespace 'std' does not name a template type void connect(GtkToggleButton *widget, const char *signal, const std::function &handler); ^ ../xfce4++/util/gtk.h:52:78: error: expected ',' or '...' before '<' token void connect(GtkToggleButton *widget, const char *signal, const std::function &handler); ^ ../xfce4++/util/gtk.h:66:20: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 PluginSize() = delete; ^ ../xfce4++/util/gtk.h:71:21: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Propagation() = delete; ^ ../xfce4++/util/gtk.h:76:21: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 TooltipTime() = delete; ^ ../xfce4++/util/gtk.h:90:58: error: 'function' in namespace 'std' does not name a template type void connect_after_draw (GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:90:66: error: expected ',' or '...' before '<' token void connect_after_draw (GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:91:58: error: 'function' in namespace 'std' does not name a template type void connect_after_draw (GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:91:66: error: expected ',' or '...' before '<' token void connect_after_draw (GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:91:92: warning: redundant redeclaration of 'void xfce4::connect_after_draw(GtkWidget*, int)' in same scope [-Wredundant-decls] void connect_after_draw (GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:90:6: note: previous declaration of 'void xfce4::connect_after_draw(GtkWidget*, int)' void connect_after_draw (GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:92:58: error: 'function' in namespace 'std' does not name a template type void connect_button_press (GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:92:66: error: expected ',' or '...' before '<' token void connect_button_press (GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:93:58: error: 'function' in namespace 'std' does not name a template type void connect_destroy (GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:93:66: error: expected ',' or '...' before '<' token void connect_destroy (GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:94:58: error: 'function' in namespace 'std' does not name a template type void connect_query_tooltip(GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:94:66: error: expected ',' or '...' before '<' token void connect_query_tooltip(GtkWidget *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:95:58: error: 'function' in namespace 'std' does not name a template type void connect_response (GtkDialog *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:95:66: error: expected ',' or '...' before '<' token void connect_response (GtkDialog *widget, const std::function &handler); ^ ../xfce4++/util/gtk.h:101:67: error: 'function' in namespace 'std' does not name a template type void connect_about (XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:101:75: error: expected ',' or '...' before '<' token void connect_about (XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:102:67: error: 'function' in namespace 'std' does not name a template type void connect_configure_plugin(XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:102:75: error: expected ',' or '...' before '<' token void connect_configure_plugin(XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:103:67: error: 'function' in namespace 'std' does not name a template type void connect_free_data (XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:103:75: error: expected ',' or '...' before '<' token void connect_free_data (XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:104:67: error: 'function' in namespace 'std' does not name a template type void connect_mode_changed (XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:104:75: error: expected ',' or '...' before '<' token void connect_mode_changed (XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:105:67: error: 'function' in namespace 'std' does not name a template type void connect_save (XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:105:75: error: expected ',' or '...' before '<' token void connect_save (XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:106:67: error: 'function' in namespace 'std' does not name a template type void connect_size_changed (XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:106:75: error: expected ',' or '...' before '<' token void connect_size_changed (XfcePanelPlugin *plugin, const std::function &handler); ^ ../xfce4++/util/gtk.h:110:49: error: 'function' in namespace 'std' does not name a template type guint timeout_add(guint interval_ms, const std::function &handler); ^ ../xfce4++/util/gtk.h:110:57: error: expected ',' or '...' before '<' token guint timeout_add(guint interval_ms, const std::function &handler); ^ ../xfce4++/util/gtk.h:133:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 bool operator==(const RGBA&) const = delete; ^ ../xfce4++/util/gtk.h:134:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 bool operator!=(const RGBA&) const = delete; ^ ../xfce4++/util/gtk.h: In member function 'xfce4::RGBA::operator GdkRGBA() const': ../xfce4++/util/gtk.h:142:46: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 operator GdkRGBA() const { return GdkRGBA{R, G, B, A}; } ^ In file included from ../xfce4++/util/rc.h:31:0, from ../xfce4++/util.h:31, from dummy.cc:24: ../xfce4++/util/memory.h: At global scope: ../xfce4++/util/memory.h:31:8: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 struct Ptr final { ^ ../xfce4++/util/memory.h:32:10: error: 'shared_ptr' in namespace 'std' does not name a template type std::shared_ptr ptr; ^ ../xfce4++/util/memory.h:34:22: warning: variadic templates only available with -std=c++11 or -std=gnu++11 template ^ ../xfce4++/util/memory.h:35:28: error: expected ',' or '...' before '&&' token static Ptr make(Args&&... args) { ^ ../xfce4++/util/memory.h:35:38: error: parameter packs not expanded with '...': static Ptr make(Args&&... args) { ^ ../xfce4++/util/memory.h:35:38: note: 'Args' ../xfce4++/util/memory.h: In static member function 'static xfce4::Ptr xfce4::Ptr::make()': ../xfce4++/util/memory.h:37:17: error: 'make_shared' is not a member of 'std' p.ptr = std::make_shared(std::forward(args)...); ^ ../xfce4++/util/memory.h:37:35: error: expected primary-expression before '>' token p.ptr = std::make_shared(std::forward(args)...); ^ ../xfce4++/util/memory.h:37:37: error: 'forward' is not a member of 'std' p.ptr = std::make_shared(std::forward(args)...); ^ ../xfce4++/util/memory.h:37:54: error: expected primary-expression before '>' token p.ptr = std::make_shared(std::forward(args)...); ^ ../xfce4++/util/memory.h:37:56: error: 'args' was not declared in this scope p.ptr = std::make_shared(std::forward(args)...); ^ ../xfce4++/util/memory.h:37:61: error: expected ')' before '...' token p.ptr = std::make_shared(std::forward(args)...); ^ ../xfce4++/util/memory.h: In constructor 'xfce4::Ptr::Ptr(const xfce4::Ptr&)': ../xfce4++/util/memory.h:41:49: error: class 'xfce4::Ptr' does not have any field named 'ptr' template Ptr(const Ptr &p) : ptr(p.ptr) {} ^ ../xfce4++/util/memory.h: In member function 'T* xfce4::Ptr::operator->() const': ../xfce4++/util/memory.h:43:36: error: 'ptr' was not declared in this scope T* operator->() const { return ptr.get(); } ^ ../xfce4++/util/memory.h: At global scope: ../xfce4++/util/memory.h:51:8: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 struct Ptr0 final : std::shared_ptr { ^ ../xfce4++/util/memory.h:51:36: error: expected template-name before '<' token struct Ptr0 final : std::shared_ptr { ^ ../xfce4++/util/memory.h:51:36: error: expected '{' before '<' token ../xfce4++/util/memory.h:51:36: error: expected unqualified-id before '<' token ../xfce4++/util/memory.h:60:30: warning: variadic templates only available with -std=c++11 or -std=gnu++11 template ^ ../xfce4++/util/memory.h:61:24: error: expected ',' or '...' before '&&' token inline Ptr make(Args&&... args) { ^ ../xfce4++/util/memory.h:61:34: error: parameter packs not expanded with '...': inline Ptr make(Args&&... args) { ^ ../xfce4++/util/memory.h:61:34: note: 'Args' ../xfce4++/util/memory.h: In function 'xfce4::Ptr xfce4::make()': ../xfce4++/util/memory.h:62:43: error: 'forward' is not a member of 'std' return Ptr::template make(std::forward(args)...); ^ ../xfce4++/util/memory.h:62:60: error: expected primary-expression before '>' token return Ptr::template make(std::forward(args)...); ^ ../xfce4++/util/memory.h:62:62: error: 'args' was not declared in this scope return Ptr::template make(std::forward(args)...); ^ In file included from ../xfce4++/util.h:31:0, from dummy.cc:24: ../xfce4++/util/rc.h: At global scope: ../xfce4++/util/rc.h:35:8: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 struct Rc final { ^ In file included from ../xfce4++/util/string-utils.h:26:0, from ../xfce4++/util.h:32, from dummy.cc:24: ../xfce4++/util/optional.h:41:16: error: expected ',' or '...' before '&&' token Optional(T &&value) { exists = true; new (valuePtr()) T(std::move(value)); } ^ ../xfce4++/util/optional.h:44:23: error: expected ',' or '...' before '&&' token Optional(Optional &&o) { exists = false; *this = std::move(o); } ^ ../xfce4++/util/optional.h:44:26: error: invalid constructor; you probably meant 'xfce4::Optional (const xfce4::Optional&)' Optional(Optional &&o) { exists = false; *this = std::move(o); } ^ ../xfce4++/util/optional.h:72:34: error: expected ',' or '...' before '&&' token Optional& operator=(Optional &&o) { ^ ../xfce4++/util/optional.h:97:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 operator bool() const = delete; ^ ../xfce4++/util/optional.h: In constructor 'xfce4::Optional::Optional(T)': ../xfce4++/util/optional.h:41:66: error: 'move' is not a member of 'std' Optional(T &&value) { exists = true; new (valuePtr()) T(std::move(value)); } ^ In file included from /usr/pkgsrc/sysutils/xfce4-cpugraph-plugin/work/.buildlink/lib/glib-2.0/include/glibconfig.h:9:0, from /usr/pkgsrc/sysutils/xfce4-cpugraph-plugin/work/.buildlink/include/glib-2.0/glib/gtypes.h:32, from /usr/pkgsrc/sysutils/xfce4-cpugraph-plugin/work/.buildlink/include/glib-2.0/glib/galloca.h:32, from /usr/pkgsrc/sysutils/xfce4-cpugraph-plugin/work/.buildlink/include/glib-2.0/glib.h:30, from ../xfce4++/util/fixes.h:29, from dummy.cc:22: ../xfce4++/util/optional.h: In member function 'xfce4::Optional& xfce4::Optional::operator=(xfce4::Optional)': ../xfce4++/util/optional.h:73:30: error: 'o' was not declared in this scope if(G_LIKELY(this != &o)) { ^ /usr/pkgsrc/sysutils/xfce4-cpugraph-plugin/work/.buildlink/include/glib-2.0/glib/gmacros.h:1081:8: note: in definition of macro '_G_BOOLEAN_EXPR' if (expr) \ ^ ../xfce4++/util/optional.h:73:12: note: in expansion of macro 'G_LIKELY' if(G_LIKELY(this != &o)) { ^ In file included from ../xfce4++/util/string-utils.h:26:0, from ../xfce4++/util.h:32, from dummy.cc:24: ../xfce4++/util/optional.h:75:20: error: 'o' was not declared in this scope if(o.exists) { ^ ../xfce4++/util/optional.h:76:35: error: 'move' is not a member of 'std' *valuePtr() = std::move(*o.valuePtr()); ^ ../xfce4++/util/optional.h:86:20: error: 'o' was not declared in this scope if(o.exists) { ^ ../xfce4++/util/optional.h:88:40: error: 'move' is not a member of 'std' new (valuePtr()) T(std::move(*o.valuePtr())); ^ In file included from ../xfce4++/util.h:32:0, from dummy.cc:24: ../xfce4++/util/string-utils.h: At global scope: ../xfce4++/util/string-utils.h:45:64: error: 'nullptr' was not declared in this scope glong parse_long (gchar **s, unsigned base = 0, bool *error = nullptr); ^ ../xfce4++/util/string-utils.h:46:64: error: 'nullptr' was not declared in this scope gulong parse_ulong(gchar **s, unsigned base = 0, bool *error = nullptr); ^ gmake[2]: *** [Makefile:468: libxfce4_pp_la-dummy.lo] Error 1 gmake[2]: Leaving directory '/usr/pkgsrc/sysutils/xfce4-cpugraph-plugin/work/xfce4-cpugraph-plugin-1.2.5/xfce4++' gmake[1]: *** [Makefile:458: all-recursive] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/sysutils/xfce4-cpugraph-plugin/work/xfce4-cpugraph-plugin-1.2.5' gmake: *** [Makefile:390: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/sysutils/xfce4-cpugraph-plugin *** Error code 1 Stop. make: stopped in /usr/pkgsrc/sysutils/xfce4-cpugraph-plugin