3.0.4 can't be compiled in Fedora 20

Bug #1184976 reported by Vascom
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Grub Customizer
Invalid
Undecided
Daniel Richter

Bug Description

Please help solve this problem

https://bugzilla.redhat.com/show_bug.cgi?id=831929#c10

Build failed:

Building CXX object CMakeFiles/grub-customizer.dir/src/View/Gtk/Element/PartitionChooser.cpp.o
/usr/lib/ccache/c++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng15 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -o CMakeFiles/grub-customizer.dir/src/View/Gtk/Element/PartitionChooser.cpp.o -c /builddir/build/BUILD/grub-customizer-3.0.4/src/View/Gtk/Element/PartitionChooser.cpp
In file included from /usr/include/gtkmm-2.4/gtkmm/main.h:33:0,
                 from /builddir/build/BUILD/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.h:24,
                 from /builddir/build/BUILD/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
In file included from /usr/include/gtkmm-2.4/gtkmm/main.h:33:0,
                 from /builddir/build/BUILD/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.h:24,
                 from /builddir/build/BUILD/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.cpp:19:
/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>
                                                   ^
In file included from /usr/include/gtkmm-2.4/gtkmm/main.h:33:0,
                 from /builddir/build/BUILD/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.h:24,
                 from /builddir/build/BUILD/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.cpp:19:
/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 /builddir/build/BUILD/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.h:24:0,
                 from /builddir/build/BUILD/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);
                                       ^
In file included from /builddir/build/BUILD/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.h:24:0,
                 from /builddir/build/BUILD/grub-customizer-3.0.4/src/Controller/GLib/ThreadController.cpp:19:
/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

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

Sorry for the late answer. Seems like launchpad changed bug notification :-(

I'll try...

Changed in grub-customizer:
assignee: nobody → Daniel Richter (danielrichter2007)
Revision history for this message
Daniel Richter (danielrichter2007) wrote :

It seems to work now. I tried both, the gtkmm 2.4 version as well as the gtkmm 3.0 version of Grub Customizer 4. Both are compiling without problems. Please confirm.

Revision history for this message
Vascom (vascom2) wrote :

Yes, now it work.
Ticket may be closed.

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

That's great. Thank you.

Changed in grub-customizer:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.