Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414845 - mail-client/sylpheed-3.1.[34] - In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0, from defs.h:27, from folder.c:24: /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included
Summary: mail-client/sylpheed-3.1.[34] - In file included from /usr/lib64/glib-2.0/inc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Akinori Hattori
URL: http://sylpheed.sraoss.jp/redmine/iss...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: glib-2.32
  Show dependency tree
 
Reported: 2012-05-06 09:46 UTC by Darren Smith
Modified: 2012-05-26 11:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch defs.h to include glib.h instead of glibconfig.h (sylpheed-3.1.4-glib.patch,365 bytes, patch)
2012-05-06 09:49 UTC, Darren Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Smith 2012-05-06 09:46:45 UTC
Sylpheed will not build with the latest version of glib. Error from 3.1.3 is:

In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
                 from defs.h:27,
                 from folder.c:24:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."


Reproducible: Always
Comment 1 Darren Smith 2012-05-06 09:49:02 UTC
Created attachment 310943 [details, diff]
Patch defs.h to include glib.h instead of glibconfig.h

Patch was only tested against glib-2.32.2.
Comment 2 Sylvain Alain (RETIRED) gentoo-dev 2012-05-06 22:16:52 UTC
Same here :


In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
                 from defs.h:27,
                 from filter.c:24:
/usr/include/glib-2.0/glib/gmacros.h:32:2: erreur: #error "Only <glib.h> can be included directly."
filter.c: In function ‘filter_match_cond’:
filter.c:541:4: attention : format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘gsize’ [-Wformat]
make[3]: *** [filter.lo] Erreur 1
make[3] : on quitte le répertoire « /var/tmp/portage/mail-client/sylpheed-3.1.4/work/sylpheed-3.1.4/libsylph »
make[2]: *** [all] Erreur 2
make[2] : on quitte le répertoire « /var/tmp/portage/mail-client/sylpheed-3.1.4/work/sylpheed-3.1.4/libsylph »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /var/tmp/portage/mail-client/sylpheed-3.1.4/work/sylpheed-3.1.4 »
make: *** [all] Erreur 2
 * ERROR: mail-client/sylpheed-3.1.4 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =mail-client/sylpheed-3.1.4',
 * the complete build log and the output of 'emerge -pqv =mail-client/sylpheed-3.1.4'.
 * The complete build log is located at '/var/tmp/portage/mail-client/sylpheed-3.1.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/sylpheed-3.1.4/temp/environment'.
 * S: '/var/tmp/portage/mail-client/sylpheed-3.1.4/work/sylpheed-3.1.4'
Comment 3 Sylvain Alain (RETIRED) gentoo-dev 2012-05-06 22:18:01 UTC
# qlist -ICv glib
dev-libs/glib-2.32.2
sys-libs/glibc-2.13-r4
Comment 4 Paul Tomkiel 2012-05-18 21:27:10 UTC
I'm having same problem.
Comment 5 Akinori Hattori gentoo-dev 2012-05-26 11:33:44 UTC
Fixed in CVS.