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

Bug 412105

Summary: app-text/epdfview-0.1.8-r1 FTBFS w/dev-libs/glib-2.32.1
Product: Gentoo Linux Reporter: crabbed halo ablution <crabbedhaloablution>
Component: Current packagesAssignee: Daniel Pielmeier <billie>
Status: RESOLVED FIXED    
Severity: normal CC: printing, progman3k, vortexius
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 406437    

Description crabbed halo ablution 2012-04-15 15:21:00 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..    -DDATADIR='"/usr/share/epdfview"' -I../../src -pthread -D_REENTRANT -DQT_SHARED -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -pipe -Wall -ggdb -Wall -Wno-long-long -DNDEBUG -DG_DISABLE_ASSERT -c -o libshell_gtk_a-StockIcons.o `test -f 'StockIcons.cxx' || echo './'`StockIcons.cxx
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..    -DDATADIR='"/usr/share/epdfview"' -I../../src -pthread -D_REENTRANT -DQT_SHARED -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -O2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -pipe -Wall -ggdb -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 FindView.cxx:23:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
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 file included from StockIcons.h:21:0,
                 from MainView.cxx:24:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
Comment 1 crabbed halo ablution 2012-04-15 15:21:52 UTC
Patch available at:
http://trac.emma-soft.com/epdfview/changeset/369
Comment 2 Daniel Pielmeier gentoo-dev 2012-04-16 18:33:36 UTC
+  16 Apr 2012; Daniel Pielmeier <billie@gentoo.org> epdfview-0.1.8-r1.ebuild,
+  +files/epdfview-0.1.8-glib-2.31-build-fix.patch:
+  Fix bug building with glib-2.31. Thanks to Peter Alfredsen in bug #412105.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-28 12:50:01 UTC
*** Bug 417901 has been marked as a duplicate of this bug. ***
Comment 4 Willard Dawson 2012-05-28 18:40:18 UTC
(In reply to comment #2)
> +  16 Apr 2012; Daniel Pielmeier <billie@gentoo.org>
> epdfview-0.1.8-r1.ebuild,
> +  +files/epdfview-0.1.8-glib-2.31-build-fix.patch:
> +  Fix bug building with glib-2.31. Thanks to Peter Alfredsen in bug #412105.

The same issue exists with epdfview-0.1.8 and dev-libs/glib-2.32.3 (yes, I realize that is not a stable version)... glad to report that epdfview-0.1.8-r1 builds correctly on this glib version, also.

Thanks.
Comment 5 Pacho Ramos gentoo-dev 2012-07-21 14:25:15 UTC
*** Bug 425800 has been marked as a duplicate of this bug. ***