Description of problem: I wantedto build an rpm of terminatorX to Mageia 4 and everything works fine until I run make. [kristoffer@localhost terminatorX-3.84]$ make make all-recursive make[1]: Entering directory â/home/kristoffer/Skrivbord/terminatorX-3.84â Making all in src make[2]: Entering directory â/home/kristoffer/Skrivbord/terminatorX-3.84/srcâ gawk -f ./licmak.awk < ../COPYING > ./license.c make all-recursive make[3]: Entering directory â/home/kristoffer/Skrivbord/terminatorX-3.84/srcâ Making all in icons make[4]: Entering directory â/home/kristoffer/Skrivbord/terminatorX-3.84/src/iconsâ make[4]: Nothin needs to be done for âallâ. make[4]: Leaving directory â/home/kristoffer/Skrivbord/terminatorX-3.84/src/iconsâ make[4]: Entering directory â/home/kristoffer/Skrivbord/terminatorX-3.84/srcâ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -g -O2 -finput-charset=utf-8 -I/usr/include/raptor2 -DXML_MANUAL=\"/usr/local/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\" -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/directfb -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/libxml2 -g -O2 -finput-charset=utf-8 -I/usr/include/raptor2 -DXML_MANUAL=\"/usr/local/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\" -MT tX_endian.o -MD -MP -MF .deps/tX_endian.Tpo -c -o tX_endian.o tX_endian.c mv -f .deps/tX_endian.Tpo .deps/tX_endian.Po g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -g -O2 -finput-charset=utf-8 -I/usr/include/raptor2 -DXML_MANUAL=\"/usr/local/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\" -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/directfb -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2 -D_REENTRANT -g -O2 -MT tX_dialog.o -MD -MP -MF .deps/tX_dialog.Tpo -c -o tX_dialog.o tX_dialog.cc mv -f .deps/tX_dialog.Tpo .deps/tX_dialog.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -g -O2 -finput-charset=utf-8 -I/usr/include/raptor2 -DXML_MANUAL=\"/usr/local/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\" -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/directfb -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/libxml2 -g -O2 -finput-charset=utf-8 -I/usr/include/raptor2 -DXML_MANUAL=\"/usr/local/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\" -MT tX_widget.o -MD -MP -MF .deps/tX_widget.Tpo -c -o tX_widget.o tX_widget.c mv -f .deps/tX_widget.Tpo .deps/tX_widget.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -g -O2 -finput-charset=utf-8 -I/usr/include/raptor2 -DXML_MANUAL=\"/usr/local/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\" -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/directfb -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/libxml2 -g -O2 -finput-charset=utf-8 -I/usr/include/raptor2 -DXML_MANUAL=\"/usr/local/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\" -MT wav_write.o -MD -MP -MF .deps/wav_write.Tpo -c -o wav_write.o wav_write.c mv -f .deps/wav_write.Tpo .deps/wav_write.Po g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -g -O2 -finput-charset=utf-8 -I/usr/include/raptor2 -DXML_MANUAL=\"/usr/local/share/terminatorX/doc/terminatorX-manual/C/terminatorX-manual.xml\" -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/directfb -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2 -D_REENTRANT -g -O2 -MT tX_engine.o -MD -MP -MF .deps/tX_engine.Tpo -c -o tX_engine.o tX_engine.cc In file included from tX_engine.cc:41:0: tX_mouse.h:163:21: error: âGtkWidgetâ has not been declared void motion_notify(GtkWidget *widget, GdkEventMotion *eventMotion); ^ tX_mouse.h:164:20: error: âGtkWidgetâ has not been declared void button_press(GtkWidget *widget, GdkEventButton *eventButton); ^ tX_mouse.h:165:22: error: âGtkWidgetâ has not been declared void button_release(GtkWidget *widget, GdkEventButton *eventButton); ^ tX_mouse.h:166:17: error: âGtkWidgetâ has not been declared void key_press(GtkWidget *widget, GdkEventKey *eventKey); ^ tX_mouse.h:167:19: error: âGtkWidgetâ has not been declared void key_release(GtkWidget *widget, GdkEventKey *eventKey); ^ tX_mouse.h:169:37: error: âGtkWidgetâ has not been declared static gboolean motion_notify_wrap(GtkWidget *widget, GdkEventMotion *eventMotion, void *data); ^ tX_mouse.h:170:36: error: âGtkWidgetâ has not been declared static gboolean button_press_wrap(GtkWidget *widget, GdkEventButton *eventButton, void *data); ^ tX_mouse.h:171:38: error: âGtkWidgetâ has not been declared static gboolean button_release_wrap(GtkWidget *widget, GdkEventButton *eventButton, void *data); ^ tX_mouse.h:172:33: error: âGtkWidgetâ has not been declared static gboolean key_press_wrap(GtkWidget *widget, GdkEventKey *eventKey, void *data); ^ tX_mouse.h:173:35: error: âGtkWidgetâ has not been declared static gboolean key_release_wrap(GtkWidget *widget, GdkEventKey *eventKey, void *data); ^ Makefile:401: receipe for target âtX_engine.oâ failed make[4]: *** [tX_engine.o] Error 1 make[4]: Leaving directory â/home/kristoffer/Skrivbord/terminatorX-3.84/srcâ Makefile:421: recipe for target âall-recursiveâ failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory â/home/kristoffer/Skrivbord/terminatorX-3.84/srcâ Makefile:266: recipe for target âallâ failed make[2]: *** [all] Error 2 make[2]: Leaving directory â/home/kristoffer/Skrivbord/terminatorX-3.84/srcâ Makefile:352: recipe for target âall-recursiveâ failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory â/home/kristoffer/Skrivbord/terminatorX-3.84â Makefile:248: recipe for target âallâ failed make: *** [all] Error 2 Version-Release number of selected component (if applicable): 3.84 How reproducible: All the time Steps to Reproduce: 1. Open your webbrowser of choice. 2. Go to https://terminatorx.org/dist/terminatorX-3.84.tar.gz 3. Unpack the archive. 4. Make sure that you've got all these deps installed: libgtk+2.0-devel libxml2-devel ladspa-devel xorg-x11 xxf86dga-devel libcap-devel (optional) liblrdf-devel (optional) libaudiofile-devel (optional) libvorbis-devel (optional) libmad-devel (optional) 5. cd to terminatorX/ 6. Run ./configure --enable-debug (if you want to have a debug-package of terminatorX) 7. Now type make. 8. Voila! An error related to gtkWidget stops you from compiling & building the package. Reproducible: Steps to Reproduce:
CC: (none) => kristoffer.grundstrom1983
Here are patches made for Debian that might solve the issue: http://patch-tracker.debian.org/package/terminatorx/3.84-3
Summary: gtkWidget error prevents terminatorX to becompiled and built => gtkWidget error prevents terminatorX to be compiled and built
Mageia bugzilla is wrong place to report issues in some program you're trying to build by yourself. Correct place to report such issues is upstream. I'm closing this as INVALID. Side note: I've imported terminatorx to cauldron.
Status: NEW => RESOLVEDCC: (none) => jani.valimaaResolution: (none) => INVALID