sysutils/hal fails to compile today

David Demelier demelier.david at gmail.com
Thu Aug 1 06:56:37 UTC 2013


2013/7/31 Kenta Suzumoto <kentas at hush.com>:
> Hi all. I'm doing what's mentioned in today's UPDATING and hal is failing to compile.
>
> I tried setting MAKE_JOBS_UNSAFE=yes in make.conf but it did not help.
>
> Snippet:
>
> 1 warning generated.
> mv -f .deps/probe-scsi.Tpo .deps/probe-scsi.Po
> clang -DHAVE_CONFIG_H -I. -I../../..  -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -I../../.. -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include   -I/usr/local/include  -O2 -pipe -Qunused-parameter -Qunused-arguments -march=native -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT probe-smbios.o -MD -MP -MF .deps/probe-smbios.Tpo -c -o probe-smbios.o probe-smbios.c
> probe-hiddev.c:43:10: fatal error: 'usbhid.h' file not found
> #include <usbhid.h>
>          ^
> 1 error generated.
> gmake[5]: *** [probe-hiddev.o] Error 1
> gmake[5]: *** Waiting for unfinished jobs....
> probe-smbios.c:213:61: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
>   for (i = len - 2; __sbistype((nbuf[i]), 0x00004000L) && i >= 0; --i)
>                                                           ~ ^  ~
> probe-smbios.c:83:1: warning: unused function 'copykeyval' [-Wunused-function]
> copykeyval (char *key, char *compat_key)
> ^
> 2 warnings generated.
> mv -f .deps/probe-smbios.Tpo .deps/probe-smbios.Po
> gmake[5]: Leaving directory `/ram/basejail/usr/ports/sysutils/hal/work/hal-0.5.14/hald/freebsd/probing'
> gmake[4]: *** [all-recursive] Error 1
> gmake[4]: Leaving directory `/ram/basejail/usr/ports/sysutils/hal/work/hal-0.5.14/hald/freebsd'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/ram/basejail/usr/ports/sysutils/hal/work/hal-0.5.14/hald'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/ram/basejail/usr/ports/sysutils/hal/work/hal-0.5.14/hald'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/ram/basejail/usr/ports/sysutils/hal/work/hal-0.5.14'
> gmake: *** [all] Error 2
> ===> Compilation failed unexpectedly.
>
> Full build log can be seen here: http://dpaste.com/1325248/plain/
>

Do you have a restricting /etc/src.conf? I'm surprised to see the code
does not find usbhid.h.

Which version of FreeBSD?

Cheers,

-- 
Demelier David


More information about the freebsd-gnome mailing list