Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 611104

Summary: app-arch/engrampa-1.16.0-r1 : eggdesktopfile.c:34:22: fatal error: gdk/gdkx.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo MATE Desktop <mate>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-arch:engrampa-1.16.0-r1:20170227-135830.log
config.log.tbz2
emerge-history.txt
environment
etc.portage.tbz2
require [X] for gtk+

Description Toralf Förster gentoo-dev 2017-02-27 14:02:03 UTC
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -UGETTEXT_PACKAGE  -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall  -Wall -Wcast-align -Wtype-limits -Wclobbered -Wempty-body -Wignored-qualifiers -c -o libeggsmclient_la-eggdesktopfile.lo `test -f 'eggdesktopfile.c' || echo './'`eggdesktopfile.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -UGETTEXT_PACKAGE -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -Wall -Wcast-align -Wtype-limits -Wclobbered -Wempty-body -Wignored-qualifiers -c eggdesktopfile.c  -fPIC -DPIC -o .libs/libeggsmclient_la-eggdesktopfile.o
eggdesktopfile.c:34:22: fatal error: gdk/gdkx.h: No such file or directory
compilation terminated.
make[2]: *** [Makefile:454: libeggsmclient_la-eggdesktopfile.lo] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-arch/engrampa-1.16.0-r1/work/engrampa-1.16.0/copy-n-paste'

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named 13.0_20170224-122708) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
Comment 1 Toralf Förster gentoo-dev 2017-02-27 14:02:05 UTC
Created attachment 465396 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-27 14:02:08 UTC
Created attachment 465398 [details]
app-arch:engrampa-1.16.0-r1:20170227-135830.log
Comment 3 Toralf Förster gentoo-dev 2017-02-27 14:02:11 UTC
Created attachment 465400 [details]
config.log.tbz2
Comment 4 Toralf Förster gentoo-dev 2017-02-27 14:02:14 UTC
Created attachment 465402 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-02-27 14:02:17 UTC
Created attachment 465404 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-02-27 14:02:20 UTC
Created attachment 465406 [details]
etc.portage.tbz2
Comment 7 kuzetsa CatSwarm (kuza for short) 2017-02-28 13:39:26 UTC
based on the USE flag...

x11 VS wayland seems likely to have caused this issue.

Really is valid to build gtk+ for wayland rather than wayland these days, but gdkx.h might go missing in the process. That's my best theory for now.
Comment 8 kuzetsa CatSwarm (kuza for short) 2017-02-28 14:07:27 UTC
Created attachment 465514 [details, diff]
require [X] for gtk+

git send-email (same version for -9999) in case this fix looks suitable.

I'm really not able to test any other possible fix locally since I'm on x11 not wayland and don't want to break my otherwise stable toolchain. The ebuild does still manage to compile.

If engrampa can be made to work on wayland, I don't know what's involved.
Comment 9 Ettore Di Giacinto (RETIRED) gentoo-dev 2017-03-16 11:23:55 UTC
Merged in https://github.com/gentoo/gentoo-mate/pull/2