[SM-Grimoire-Bugs] [Bug 15062] New: hal 0.5.12rc1 fails to compile using 2.6.28 sanitized headers

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Fri Feb 6 02:58:59 EST 2009


           Summary: hal 0.5.12rc1 fails to compile using 2.6.28 sanitized
           Product: Codex
           Version: stable grimoire
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: utils
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: sandalle at sourcemage.org
            Blocks: 15061

Ever since building glibc against 2.6.28 using sanitized headers, hal has been
failing (and I assume it's linked).

$ sorcery -v

Architectures: x86 and x86_64

cflags: -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC -O3 -Wall -Wchar-subscripts
-Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align

ldflags: -Wl,--as-needed -lz -z combreloc -s -Wl,-O1


# cast hal
Computing previously installed dependencies...
hal preparing environment...
hal running configuration...
[[ Enable SELinux support? -> n ]]
[[ Sony PIC support? -> n ]]
[[ ACPI support? -> y ]]
[[ APM support? -> n ]]
[[ PMU support? -> n ]]
Install init script hald? [y]
Enable init script hald? [y]
creating hald-probe-smbios
gcc -DHAVE_CONFIG_H -I. -I../../..  -DPACKAGE_SYSCONF_DIR=\""/etc"\"
-DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\"
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\"
-I../../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include       -march=nocona -fPIC -DPIC -pipe -DPIC -fPIC
-Os -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs
-Wpointer-arith -Wcast-align -Wsign-compare -MT probe-serial.o -MD -MP -MF
.deps/probe-serial.Tpo -c -o probe-serial.o probe-serial.c
In file included from probe-serial.c:32:
/usr/include/linux/serial.h:164: error: expected specifier-qualifier-list
before '__u32'
make[5]: *** [probe-serial.o] Error 1
make[4]: *** [all-recursive] Error 1
make[5]: Leaving directory `/usr/src/hal-0.5.12rc1/hald/linux/probing'
make[4]: Leaving directory `/usr/src/hal-0.5.12rc1/hald/linux'
make[3]: Leaving directory `/usr/src/hal-0.5.12rc1/hald'
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
make[2]: Leaving directory `/usr/src/hal-0.5.12rc1/hald'
make[1]: Leaving directory `/usr/src/hal-0.5.12rc1'

Compiling with GLIBC_HEADERS_DIR="/usr/src/glibc-2.9/linux-2.6.27" sanitized
headers compiles fine.

Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the SM-Grimoire-Bugs mailing list