FS#8527 - xorg-server won't build with dbus and hal installed

Attached to Project: Arch Linux
Opened by Val L. (onestep_ua) - Tuesday, 06 November 2007, 10:34 GMT
Last edited by Jan de Groot (JGC) - Monday, 04 February 2008, 21:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Alexander Baldeck (kth5)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


New xorg-server tries to utilize the features of dbus and hal for hardware autodetection, if they were found installed in system. Unfortunately, due to lack of maintainer, xorg-server makefiles and sources are broken. This can be fixed with a patch, that is present in freedesktop mailing lists.

Additional info:
* package version(s): xorg-server 1.4-4
* config and/or log files etc.: see http://lists.freedesktop.org/archives/xorg/2007-September/027933.html
* page, where the patch was found: http://lists.freedesktop.org/archives/xorg/2007-September/027935.html

Steps to reproduce:
Install dbus and hal, then try to build xorg-server.
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 04 February 2008, 21:22 GMT
Reason for closing:  Won't implement
Additional comments about closing:  We won't include patches for features we disable. Patching is up to the user that wants this feature.
Comment by Jan de Groot (JGC) - Tuesday, 06 November 2007, 13:27 GMT
The other solution is to build xorg-server with --disable-hal-config or whatever the switch is called. As hal support isn't complete yet I don't think adding the patch to fix this while we disable it is a good thing to do.
Comment by Val L. (onestep_ua) - Wednesday, 07 November 2007, 14:39 GMT
The other solution is to disable DMX as well (http://lists.freedesktop.org/archives/xorg/2007-September/027934.html). But, personally, I don't think that disabling of xprint and DMX is a good idea. As far as I understand, dbus and hal config backends are complete.

BTW, it'd be nice, if you enable build of xorgcfg. This utility is very handy.
Comment by Alexander Baldeck (kth5) - Wednesday, 07 November 2007, 14:43 GMT
New xorg-server is on it's way very soon and I'll see how to disable hal/dbus for now as there's a few other bigger issues in my queue. Sorry. :(
Comment by Xavier (shining) - Wednesday, 07 November 2007, 15:47 GMT
I suppose that hal isn't installed on the machine where xorg-server is built, right?
So I guess using --disable-config-hal would only make it explicit, so that it's still possible to build xorg-server
on a system where hal is installed.
Comment by Xavier (shining) - Monday, 17 December 2007, 20:40 GMT
--disable-config-hal was added to package, so it works now.
But I wonder if the version couldn't have fixed this problem.
I didn't check yet.
Comment by Xavier (shining) - Monday, 17 December 2007, 21:24 GMT
Hm, no, the --disable-config-hal flag is still needed with indeed.
In any cases, this bug is fixed and can be closed now.
Comment by Val L. (onestep_ua) - Sunday, 23 December 2007, 12:23 GMT
Why don't you just add the patch? As you can see, it's only related to link problems and missing dummy stubs. No harm at all, but users, who have installed hal/dbus will be able to use its advantages.

While I use xorg-server built with hal support I can report that I don't have problems at all.
Comment by Jan de Groot (JGC) - Sunday, 23 December 2007, 12:37 GMT
Not everyone wants to use hal/dbus on their system. Though it's an accepted part of gnome and kde, minimalist users with other desktops don't use it. For something that is broken by default, I don't think it's good to enable it.