Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413049 - x11-libs/gtkhotkey-0.2.1 build fails with dev-libs/glib-2.32.1
Summary: x11-libs/gtkhotkey-0.2.1 build fails with dev-libs/glib-2.32.1
Status: RESOLVED DUPLICATE of bug 404397
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Serkan Kaba (RETIRED)
URL: https://bugs.launchpad.net/gtkhotkey/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-22 10:26 UTC by Tiziano Müller (RETIRED)
Modified: 2012-04-22 10:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Müller (RETIRED) gentoo-dev 2012-04-22 10:26:44 UTC
... and the patch in the upstream bug report fixes it.

[...]
/usr/include/glib-2.0/glib/gquark.h:28:2: error: #error "Only <glib.h> can be included directly."
gtk-hotkey-key-file-registry.c: In function 'gtk_hotkey_key_file_registry_real_get_hotkey':
gtk-hotkey-key-file-registry.c:87:28: warning: variable 'self' set but not used [-Wunused-but-set-variable]
gtk-hotkey-key-file-registry.c: In function 'gtk_hotkey_key_file_registry_real_get_application_hotkeys':
gtk-hotkey-key-file-registry.c:116:29: warning: variable 'self' set but not used [-Wunused-but-set-variable]
gtk-hotkey-key-file-registry.c: In function 'gtk_hotkey_key_file_registry_real_get_all_hotkeys':
gtk-hotkey-key-file-registry.c:134:28: warning: variable 'self' set but not used [-Wunused-but-set-variable]
gtk-hotkey-key-file-registry.c: In function 'gtk_hotkey_key_file_registry_real_store_hotkey':
gtk-hotkey-key-file-registry.c:214:28: warning: variable 'self' set but not used [-Wunused-but-set-variable]
gtk-hotkey-key-file-registry.c: In function 'gtk_hotkey_key_file_registry_real_delete_hotkey':
gtk-hotkey-key-file-registry.c:321:28: warning: variable 'self' set but not used [-Wunused-but-set-variable]
gtk-hotkey-key-file-registry.c: In function 'gtk_hotkey_key_file_registry_real_has_hotkey':
gtk-hotkey-key-file-registry.c:458:28: warning: variable 'self' set but not used [-Wunused-but-set-variable]
make[2]: *** [gtk-hotkey-registry.lo] Error 1
make[2]: *** [gtk-hotkey-info.lo] Error 1
make[2]: *** [gtk-hotkey-key-file-registry.lo] Error 1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_SRC_DIR=\".\" -DPACKAGE_DATA_DIR=\"/usr/share\" -DG_LOG_DOMAIN=\"GtkHotkey\" -DGTK_HOTKEY_COMPILATION=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -Wall -g -mtune=native -O2 -pipe -MT gtk-hotkey-listener.lo -MD -MP -MF .deps/gtk-hotkey-listener.Tpo -c gtk-hotkey-listener.c -o gtk-hotkey-listener.o >/dev/null 2>&1
mv -f .deps/gtk-hotkey-marshal.Tpo .deps/gtk-hotkey-marshal.Plo
mv -f .deps/gtk-hotkey-listener.Tpo .deps/gtk-hotkey-listener.Plo
In file included from x11/tomboykeybinder.h:5:0,
                 from x11/tomboykeybinder.c:12:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
make[2]: *** [tomboykeybinder.lo] Error 1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DPACKAGE_SRC_DIR=\".\" -DPACKAGE_DATA_DIR=\"/usr/share\" -DG_LOG_DOMAIN=\"GtkHotkey\" -DGTK_HOTKEY_COMPILATION=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -Wall -g -mtune=native -O2 -pipe -MT eggaccelerators.lo -MD -MP -MF .deps/eggaccelerators.Tpo -c x11/eggaccelerators.c -o eggaccelerators.o >/dev/null 2>&1
mv -f .deps/eggaccelerators.Tpo .deps/eggaccelerators.Plo
make[2]: Leaving directory `/var/tmp/paludis/x11-libs-gtkhotkey-0.2.1/work/gtkhotkey-0.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/paludis/x11-libs-gtkhotkey-0.2.1/work/gtkhotkey-0.2.1'
make: *** [all] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in x11-libs/gtkhotkey-0.2.1::dev-zero:
!!! In default_src_compile at line 27
!!! emake failed

!!! Call stack:
!!!    * default_src_compile (/usr/libexec/paludis/2/src_compile.bash:27)
!!!    * src_compile (/usr/libexec/paludis/2/src_compile.bash:33)
!!!    * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:56)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:640)
!!!    * main (/usr/libexec/paludis/ebuild.bash:663)

diefunc: making ebuild PID 57155 exit with error
die trap: exiting with error.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-04-22 10:33:51 UTC

*** This bug has been marked as a duplicate of bug 404397 ***