Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413045 - 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:18 UTC by Tiziano Müller (RETIRED)
Modified: 2012-04-22 10:23 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:18:48 UTC
[...]
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

Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =x11-libs/gtkhotkey-0.2.1:0::dev-zero --destination installed --replacing =x11-libs/gtkhotkey-0.2.1:0::installed --x-of-y 2 of 7:
  * When installing 'x11-libs/gtkhotkey-0.2.1:0::dev-zero' replacing { 'x11-libs/gtkhotkey-0.2.1:0::installed' }:
  * When running an ebuild command on 'x11-libs/gtkhotkey-0.2.1:0::dev-zero':
  * Install failed for 'x11-libs/gtkhotkey-0.2.1:0::dev-zero' (paludis::ActionFailedError)

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]: Leaving directory `/var/tmp/paludis/x11-libs-gtkhotkey-0.2.1/work/gtkhotkey-0.2.1'
make[1]: *** [all-recursive] Error 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.

Failed install to / for x11-libs/gtkhotkey-0.2.1:0::dev-zero replacing 0.2.1:0::ins

patch is given in the upstream bug report.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-04-22 10:23:06 UTC

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