[ 40%] Building CXX object CMakeFiles/grub-customizer.dir/src/Controller/GLib/ThreadController.cpp.o
In file included from /usr/include/gtkmm-2.4/gtkmm/main.h:33:0,
from /tmp/pacaurtmp-kjernigan/grub-customizer/src/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.h:24,
from /tmp/pacaurtmp-kjernigan/grub-customizer/src/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.cpp:19:
/usr/include/gdkmm-2.4/gdkmm/types.h:92:7: error: ‘Value’ is not a class template
class Value<Gdk::ByteOrder> : public Glib::Value_Enum<Gdk::ByteOrder>
^
/usr/include/gdkmm-2.4/gdkmm/types.h:92:54: error: expected template-name before ‘<’ token
class Value<Gdk::ByteOrder> : public Glib::Value_Enum<Gdk::ByteOrder>
^
/usr/include/gdkmm-2.4/gdkmm/types.h:92:54: error: expected ‘{’ before ‘<’ token
/usr/include/gdkmm-2.4/gdkmm/types.h:92:54: error: expected unqualified-id before ‘<’ token
/usr/include/gdkmm-2.4/gdkmm/types.h:174:7: error: ‘Value’ is not a class template
class Value<Gdk::ModifierType> : public Glib::Value_Flags<Gdk::ModifierType>
^
/usr/include/gdkmm-2.4/gdkmm/types.h:174:30: error: ‘Glib::Value’ is not a template type
class Value<Gdk::ModifierType> : public Glib::Value_Flags<Gdk::ModifierType>
^
/usr/include/gdkmm-2.4/gdkmm/types.h:174:58: error: expected template-name before ‘<’ token
class Value<Gdk::ModifierType> : public Glib::Value_Flags<Gdk::ModifierType>
^
/usr/include/gdkmm-2.4/gdkmm/types.h:207:7: error: ‘Value’ is not a class template
class Value<Gdk::Status> : public Glib::Value_Enum<Gdk::Status>
^
/usr/include/gdkmm-2.4/gdkmm/types.h:207:24: error: ‘Glib::Value’ is not a template type
class Value<Gdk::Status> : public Glib::Value_Enum<Gdk::Status>
^
/usr/include/gdkmm-2.4/gdkmm/types.h:207:51: error: expected template-name before ‘<’ token
class Value<Gdk::Status> : public Glib::Value_Enum<Gdk::Status>
^
/usr/include/gdkmm-2.4/gdkmm/types.h:274:7: error: ‘Value’ is not a class template
class Value<Gdk::InputCondition> : public Glib::Value_Flags<Gdk::InputCondition>
^
/usr/include/gdkmm-2.4/gdkmm/types.h:274:32: error: ‘Glib::Value’ is not a template type
class Value<Gdk::InputCondition> : public Glib::Value_Flags<Gdk::InputCondition>
^
/usr/include/gdkmm-2.4/gdkmm/types.h:274:60: error: expected template-name before ‘<’ token
class Value<Gdk::InputCondition> : public Glib::Value_Flags<Gdk::InputCondition>
^
/usr/include/gdkmm-2.4/gdkmm/types.h:357:9: error: ‘ArrayHandle’ in namespace ‘Glib’ does not name a type
typedef Glib::ArrayHandle<std::string,AtomStringTraits> ArrayHandle_AtomString;
^
/usr/include/gdkmm-2.4/gdkmm/types.h:358:9: error: ‘ListHandle’ in namespace ‘Glib’ does not name a type
typedef Glib::ListHandle<std::string,AtomStringTraits> ListHandle_AtomString;
^
In file included from /tmp/pacaurtmp-kjernigan/grub-customizer/src/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.h:24:0,
from /tmp/pacaurtmp-kjernigan/grub-customizer/src/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.cpp:19:
/usr/include/gtkmm-2.4/gtkmm/main.h:151:39: error: ‘Glib::OptionContext’ has not been declared
Main(int& argc, char**& argv, Glib::OptionContext& option_context);
^
/usr/include/gtkmm-2.4/gtkmm/main.h:204:42: error: ‘Glib::OptionContext’ has not been declared
static void add_gtk_option_group(Glib::OptionContext& option_context, bool open_default_display = true);
^
make[2]: *** [CMakeFiles/grub-customizer.dir/src/Controller/GLib/ThreadController.cpp.o] Error 1
make[1]: *** [CMakeFiles/grub-customizer.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
According to the AUR repository, I have all dependecies installed. Any thoughts?
***********************************************
Update:
Fixed this by downgrading gtkmm from version 2.24.3-1 to version 2.24.2-2. From there, the build worked.
]]>