[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Xen build - Debian vs Redhat layout patch options
Hi Guys I summarize all patches in one mail here because I am not certain each is the best way to go, more like a discussion on how to finally close all holes to support debian builds. Stefano provoked me to port all patches to unstable resulting in a big step forward: http://virtualusr.wordpress.com/2011/01/20/xen-4-x-testing-unstable-ubuntu/ Right! Almost all of the patches are already resolved in unstable repository. For building xen-unstable debian packeges in my last attempt, only one patch was absolutely necessary (debian-stubdom.Makefile.diff). Strangely, manual run of "rules" makefile “fakeroot debian/rules binary” builds everything even without this last patch applied, while using the official packaging command "dpkg-buildpackage -rfakeroot" which calls the above "rules" makefile fails without the patch. It might be even theoretically possible to avoid this last patch, if one could find which environment options applied by running dpkg-buildpackage break the “make stubdom” command inside the "rules" makefile; find and unset them. Unfortunately I have no time for this unsure guessing game now. I found one more bug (xen-watchdog-bug.diff) preventing the stopping of xen-watchdog and by that provoking errors during the install and debian packet management. While analyzing python patch (not on debian), I found out that it can be dropped if I use the newer recommended debhelper command dh_pysupport to pack python related parts. The issue however remains open (patch required) if somebody only wishes to build sources without using packaging to debian and dh_pysupport. Ian: - This special casing of Debian is pretty horrid. How about we provide a general way to pass arguments to setup.py install and setup.py build, with the variables set by default to the empty string? Sounds great Ian, but after looking into tools/python/setup.py, I feel this exceeds my current knowledge of your python tools. Summary of attached patches against xen-unstable.hg: 1. debian-stubdom.Makefile.diff - necessary for official packaging command "dpkg-buildpackage -rfakeroot", not needed for simple build without .deb packages 2. xen-watchdog-bug.diff - obvious bug on all platforms 3. debian-python-2.6.diff - only needed for simple build on debian with no .deb packaging *.err - describes the error resolved by the patch I would personally like 1. to be included in xen-unstable.hg, and of course bug 2. resolved. Personally, I don't find 3. critical any more, as I always avoid installing software which is not .deb packaged, but there might be other opinions out there. Otherwise, great work guys. I find xen-unstable.hg "almost fully debian-compatible". Best regards PS: Please note that there is an outstanding issue which prevents compiling from xen-unstable.hg with "export debug=n". I will summarize my latest experience regarding missing debian patches in xen-4.0-testing.hg in my next mail. On Tue, Jan 11, 2011 at 11:07 PM, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote: user virtual writes ("Re: [Xen-devel] Xen build - Debian vs Redhat layout patch options"): Attachment:
debian-stubdom.Makefile.diff Attachment:
xen-watchdog-bug.diff Attachment:
debian-python-2.6.diff Attachment:
debian-stubdom.Makefile.diff.err Attachment:
xen-watchdog-bug.diff.err Attachment:
debian-python-2.6.diff.err _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |