Bug 58871 - Hal won't build on Archlinux
Summary: Hal won't build on Archlinux
Status: NEW
Alias: None
Product: hal
Classification: Unclassified
Component: build (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-29 22:51 UTC by Mark C
Modified: 2012-12-29 22:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Mark C 2012-12-29 22:51:35 UTC
I'm trying to compile hal from git with
linux 3.6.10
util-linux 2.22.2
dbus 1.6.8
glib 2.34.3

I get:

Making all in addons
make[5]: Entering directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build/hald/linux/addons'
  CC       addon-generic-backlight.o
In file included from addon-generic-backlight.c:38:0:
/usr/include/glib-2.0/glib/gmain.h:21:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gpoll.h:27:0,
                 from /usr/include/glib-2.0/glib/gmain.h:27,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #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/gpoll.h:27,
                 from /usr/include/glib-2.0/glib/gmain.h:27,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gtypes.h:35:0,
                 from /usr/include/glib-2.0/glib/gpoll.h:27,
                 from /usr/include/glib-2.0/glib/gmain.h:27,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #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/gpoll.h:27,
                 from /usr/include/glib-2.0/glib/gmain.h:27,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gmain.h:28:0,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gslist.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gslist.h:34:0,
                 from /usr/include/glib-2.0/glib/gmain.h:28,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gmem.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gmem.h:34:0,
                 from /usr/include/glib-2.0/glib/gslist.h:34,
                 from /usr/include/glib-2.0/glib/gmain.h:28,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gslist.h:35:0,
                 from /usr/include/glib-2.0/glib/gmain.h:28,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gnode.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gnode.h:34:0,
                 from /usr/include/glib-2.0/glib/gslist.h:35,
                 from /usr/include/glib-2.0/glib/gmain.h:28,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gmem.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gmain.h:29:0,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gthread.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gthread.h:34:0,
                 from /usr/include/glib-2.0/glib/gmain.h:29,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gatomic.h:23:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gatomic.h:29:0,
                 from /usr/include/glib-2.0/glib/gthread.h:34,
                 from /usr/include/glib-2.0/glib/gmain.h:29,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gthread.h:35:0,
                 from /usr/include/glib-2.0/glib/gmain.h:29,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gerror.h:22:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gerror.h:30:0,
                 from /usr/include/glib-2.0/glib/gthread.h:35,
                 from /usr/include/glib-2.0/glib/gmain.h:29,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gquark.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gquark.h:34:0,
                 from /usr/include/glib-2.0/glib/gerror.h:30,
                 from /usr/include/glib-2.0/glib/gthread.h:35,
                 from /usr/include/glib-2.0/glib/gmain.h:29,
                 from addon-generic-backlight.c:38:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
make[5]: *** [addon-generic-backlight.o] Error 1
make[5]: Leaving directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build/hald/linux/addons'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build/hald/linux'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build/hald'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build/hald'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build'
make: *** [all] Error 2


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.