Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2013 08:56:35 +0200
From:      David Demelier <demelier.david@gmail.com>
To:        Kenta Suzumoto <kentas@hush.com>
Cc:        gnome@freebsd.org, ports@freebsd.org
Subject:   Re: sysutils/hal fails to compile today
Message-ID:  <CAO%2BPfDcv58BKk8wfuJSk=-_24KFKjiHf71uzZdk9s%2BriyNr=5w@mail.gmail.com>
In-Reply-To: <20130731210103.C6EB7200AF@smtp.hushmail.com>
References:  <20130731210103.C6EB7200AF@smtp.hushmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2013/7/31 Kenta Suzumoto <kentas@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=3Dyes 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=3D\""/usr/loc=
al/etc"\" -DPACKAGE_DATA_DIR=3D\""/usr/local/share"\" -DPACKAGE_BIN_DIR=3D\=
""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=3D\""/usr/local/share/locale"\" -D=
PACKAGE_LOCALSTATEDIR=3D\""/var"\" -I../../.. -I/usr/local/include/dbus-1.0=
 -I/usr/local/include/dbus-1.0/include   -I/usr/local/include  -O2 -pipe -Q=
unused-parameter -Qunused-arguments -march=3Dnative -fno-strict-aliasing -W=
all -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-ari=
th -Wcast-align -Wsign-compare -MT probe-smbios.o -MD -MP -MF .deps/probe-s=
mbios.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 >=3D 0 =
is always true [-Wtautological-compare]
>   for (i =3D len - 2; __sbistype((nbuf[i]), 0x00004000L) && i >=3D 0; --i=
)
>                                                           ~ ^  ~
> probe-smbios.c:83:1: warning: unused function 'copykeyval' [-Wunused-func=
tion]
> 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/ha=
l-0.5.14/hald/freebsd/probing'
> gmake[4]: *** [all-recursive] Error 1
> gmake[4]: Leaving directory `/ram/basejail/usr/ports/sysutils/hal/work/ha=
l-0.5.14/hald/freebsd'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/ram/basejail/usr/ports/sysutils/hal/work/ha=
l-0.5.14/hald'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/ram/basejail/usr/ports/sysutils/hal/work/ha=
l-0.5.14/hald'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/ram/basejail/usr/ports/sysutils/hal/work/ha=
l-0.5.14'
> gmake: *** [all] Error 2
> =3D=3D=3D> 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,

--=20
Demelier David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO%2BPfDcv58BKk8wfuJSk=-_24KFKjiHf71uzZdk9s%2BriyNr=5w>