HAL make distcheck fails on edgy

Richard Hughes hughsient at gmail.com
Tue Oct 10 15:09:49 PDT 2006


On my server, I have Ubuntu Edgy installed.

It would appear that debian does not let you write and then delete
random files into the src directory when doing make distcheck:

hald_marshal.h: hald_marshal.list
	cd $(srcdir) \
	&& glib-genmarshal --prefix=hald_marshal hald_marshal.list --header >> xgen-gmh \
	&& (cmp -s xgen-gmh hald_marshal.h || cp xgen-gmh hald_marshal.h) \
	&& rm -f xgen-gmh xgen-gmh~

This means the xgen-gmh file cannot be written, and the build fails. I'm
not sure why we use xgen-gmh even, because hald_marshal.h and
hald_marshal.c are not even in source control and ignored.

The attached patch is taken from gnome-power-manager and has been
working reliably on all distros to my knowledge. The attached patch
fixes the build for me using Ubuntu Edgy.

Richard.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-make-distckeck-read-only-source-tree.patch
Type: text/x-patch
Size: 874 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20061010/ac311eae/hal-fix-make-distckeck-read-only-source-tree.bin


More information about the hal mailing list