Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#39348 - [libopensync] build fails
Attached to Project:
Community Packages
Opened by Joel Teichroeb (klusark) - Tuesday, 11 March 2014, 15:03 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 30 May 2014, 12:32 GMT
Opened by Joel Teichroeb (klusark) - Tuesday, 11 March 2014, 15:03 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 30 May 2014, 12:32 GMT
|
DetailsDescription:
[ 15%] Building C object opensync/CMakeFiles/opensync.dir/common/opensync_list.o In file included from /build/libopensync/src/libopensync-0.39/opensync/common/opensync_list.c:33:0: /usr/include/glib-2.0/glib/gmem.h:31:2: error: #error "Only <glib.h> can be included directly." #error "Only <glib.h> can be included directly." ^ In file included from /usr/include/glib-2.0/glib/gmem.h:34:0, from /build/libopensync/src/libopensync-0.39/opensync/common/opensync_list.c:33: /usr/include/glib-2.0/glib/gtypes.h:31:2: error: #error "Only <glib.h> can be included directly." #error "Only <glib.h> can be included directly." ^ In file included from /usr/lib/glib-2.0/include/glibconfig.h:9:0, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/gmem.h:34, from /build/libopensync/src/libopensync-0.39/opensync/common/opensync_list.c:33: /usr/include/glib-2.0/glib/gmacros.h:35:2: error: #error "Only <glib.h> can be included directly." #error "Only <glib.h> can be included directly." ^ In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0, from /usr/include/glib-2.0/glib/gmem.h:34, from /build/libopensync/src/libopensync-0.39/opensync/common/opensync_list.c:33: /usr/include/glib-2.0/glib/gversionmacros.h:31:2: error: #error "Only <glib.h> can be included directly." #error "Only <glib.h> can be included directly." ^ [ 16%] Building C object opensync/CMakeFiles/opensync.dir/common/opensync_marshal.o opensync/CMakeFiles/opensync.dir/build.make:264: recipe for target 'opensync/CMakeFiles/opensync.dir/common/opensync_list.o' failed make[2]: *** [opensync/CMakeFiles/opensync.dir/common/opensync_list.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:111: recipe for target 'opensync/CMakeFiles/opensync.dir/all' failed make[1]: *** [opensync/CMakeFiles/opensync.dir/all] Error 2 Makefile:136: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/chroots/4/build Build step 'Execute shell' marked build as failure Finished: FAILURE Steps to reproduce: sudo extra-x86_64-build |
This task depends upon
Comment by John Babiak (JohnB316) -
Wednesday, 26 March 2014, 05:10 GMT
As I researched this error for a build I just completed, I found that a change was committed to the opensync SVN repository that fixes the glib.h errors. The URL to the patchset is http://www.opensync.org/changeset/6005. The patch is attached to this report as a unified diff.
changeset_6005.diff
(1.9 KiB)