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

Bug 406249

Summary: app-office/abiword-2.8.6-r2 fails to build with glib-2.31
Product: Gentoo Linux Reporter: Alexandre Rostovtsev (RETIRED) <tetromino>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 406437    

Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-29 06:44:38 UTC
# emerge abiword
[...]
In file included from ../../../../src/af/util/xp/ut_go_file.h:34:0,
                 from ../../../../src/af/util/xp/ut_path.h:48,
                 from ut_path.cpp:21:
/usr/include/glib-2.0/glib/gerror.h:22:2: error: #error "Only <glib.h> can be included directly."
ut_unixAssert.cpp: In function ‘int UT_UnixAssertMsg(const char*, const char*, int)’:
ut_unixAssert.cpp:76:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
make[5]: *** [ut_path.lo] Error 1
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-08 01:57:55 UTC
Added upstream patch to fix this in cvs.

>  08 Apr 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  abiword-2.8.6-r2.ebuild, +files/abiword-2.8.6-glib-2.31.patch:
>  Fix building with >=glib-2.31 (bug #406249).