Summary: | 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 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Darren Smith <nerevar> |
Component: | Current packages | Assignee: | Akinori Hattori <hattya> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pawel.tomkiel, v_2e |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://sylpheed.sraoss.jp/redmine/issues/53 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 406437 | ||
Attachments: | Patch defs.h to include glib.h instead of glibconfig.h |
Description
Darren Smith
2012-05-06 09:46:45 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.
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' # qlist -ICv glib dev-libs/glib-2.32.2 sys-libs/glibc-2.13-r4 I'm having same problem. Fixed in CVS. |