maintainer-feedback requested: [Bug 246261] x11-servers/xorg-server: 1.18.4 -> 1.20.8, no keyboard & mouse, config/hal: couldn't initialise context

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 6 18:18:45 UTC 2020


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-x11 mailing list
<x11 at FreeBSD.org> for maintainer-feedback:
Bug 246261: x11-servers/xorg-server: 1.18.4 -> 1.20.8, no keyboard & mouse,
config/hal: couldn't initialise context
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246261



--- Description ---
FreeBSD 11.4/stable.  xorg-server-1.2.8,1.  Xorg.0.log shows this:

[ 62574.196] (EE) config/hal: couldn't initialise context: unknown error (null)

And there's no keyboard or mouse.

Rebuilding xorg-server with --disable-config-hal fixes that.


Is there any reason we don't just always use --disable-config-hal these days? 
I suspect r526589 should have probably left --disable-config-hal instead of
allowing the configure script to use the default auto-detect mechanism (some
ports still depend on sysutils/hal, so if hal is installed, it will get turned
on for xorg-server).

Maybe restore it as a default-off option, but that would be backwards progress.

Also running hald fixes that as well, although that was not necessary for
1.18.4 (with HAL off), probably because HAL=off explicitly set
--disable-config-hal.

The attached patch explicitly sets --disable-config-hal.  I don't think a
PORTREVISION bump is necessary (poudriere-built pkgs will get built without hal
support since xorg-server does not currently pull in ports that depend on hal),
but it could help for users (possibly just non-evdev 11.x users?) who built
from ports.


More information about the freebsd-x11 mailing list