Any version of x11-misc/parcellite in the tree fails to build with >=dev-libs/glib-2.32.0. Reproducible: Always Steps to Reproduce: 1. Get >=dev-libs/glib-2.32.0 2. emerge x11-misc/parcellite Actual Results: Build failure Expected Results: Successful build
Created attachment 309281 [details] build.log of the failed build
I can reproduce the error building with glib-2.32.1 A simple fix in keybinder.h from <glib/gtypes.h> to <glib.h> was needed to make parcellite compile and install successfully.
Created attachment 309283 [details, diff] Patch that fixes the compilation issue with parcellite and >=glib-2.32.0
*** Bug 413459 has been marked as a duplicate of this bug. ***
Same problem trying to build epdfview-0.1.8 on x86 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -DDATADIR='"/usr/share/epdfview"' -I../../src -pthread -I/usr/include/gtk-2.0 -I/usr/lib/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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -Os -march=core2 -pipe -Wall -Wno-long-long -DNDEBUG -DG_DISABLE_ASSERT -c -o libshell_gtk_a-PrintView.o `test -f 'PrintView.cxx' || echo './'`PrintView.cxx In file included from StockIcons.h:21:0, from StockIcons.cxx:23: /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
(In reply to comment #5) > Same problem trying to build epdfview-0.1.8 on x86 > > i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. > -DDATADIR='"/usr/share/epdfview"' -I../../src -pthread > -I/usr/include/gtk-2.0 -I/usr/lib/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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 > -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -Os > -march=core2 -pipe -Wall -Wno-long-long -DNDEBUG -DG_DISABLE_ASSERT -c -o > libshell_gtk_a-PrintView.o `test -f 'PrintView.cxx' || echo > './'`PrintView.cxx > In file included from StockIcons.h:21:0, > from StockIcons.cxx:23: > /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can > be included directly." And why do you think this has anything do with parcellite? epdfview is a different application. file a new bug.
Patch is accepted upstream. http://sourceforge.net/tracker/?func=detail&atid=1097277&aid=3518845&group_id=235597
patch added to portage for version 1.0.2_rc5, thanks guys (one bug, one package)