I have been trying to put 4.0.0-rc2 into an RPM, and I got the error "canonicalization unexpectedly shrank by one character" when it was creating files for the debuginfo package. This is because this bit of rpm doesn''t like // in paths to file names, and the // comes from the makefile xen-4.0.0/tools/blktap2/drivers/Makefile which sets XEN_ROOT=../../../ and then uses it like $(XEN_ROOT)/tools/libaio/src . XEN_ROOT=../../../ be replaced by XEN_ROOT=../../.. to keep rpm happy please (eg. with the following patch)? Michael Young --- xen-4.0.0/tools/blktap2/drivers/Makefile.orig 2010-02-02 20:43:00.000000000 +0000 +++ xen-4.0.0/tools/blktap2/drivers/Makefile 2010-02-03 20:55:14.000000000 +0000 @@ -1,4 +1,4 @@ -XEN_ROOT=../../../ +XEN_ROOT=../../.. BLKTAP_ROOT= .. include $(XEN_ROOT)/tools/Rules.mk _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, Feb 03, 2010 at 09:55:02PM +0000, M A Young wrote:> I have been trying to put 4.0.0-rc2 into an RPM, and I got the error > "canonicalization unexpectedly shrank by one character" when it was > creating files for the debuginfo package. This is because this bit of rpm > doesn''t like // in paths to file names, and the // comes from the > makefile xen-4.0.0/tools/blktap2/drivers/Makefile which sets > XEN_ROOT=../../../ and then uses it like $(XEN_ROOT)/tools/libaio/src . > XEN_ROOT=../../../ be replaced by XEN_ROOT=../../.. to keep rpm happy > please (eg. with the following patch)? >Please share the .src.rpm :) -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, 2010-02-03 at 16:55 -0500, M A Young wrote:> I have been trying to put 4.0.0-rc2 into an RPM, and I got the error > "canonicalization unexpectedly shrank by one character" when it was > creating files for the debuginfo package. This is because this bit of rpm > doesn''t like // in paths to file names, and the // comes from the makefile > xen-4.0.0/tools/blktap2/drivers/Makefile which sets XEN_ROOT=../../../ and > then uses it like $(XEN_ROOT)/tools/libaio/src . XEN_ROOT=../../../ be > replaced by XEN_ROOT=../../.. to keep rpm happy please (eg. with the > following patch)? > > Michael Young > > --- xen-4.0.0/tools/blktap2/drivers/Makefile.orig 2010-02-02 20:43:00.000000000 +0000 > +++ xen-4.0.0/tools/blktap2/drivers/Makefile 2010-02-03 20:55:14.000000000 +0000 > @@ -1,4 +1,4 @@ > -XEN_ROOT=../../../ > +XEN_ROOT=../../.. > BLKTAP_ROOT= .. > include $(XEN_ROOT)/tools/Rules.mk >Yes please. Daniel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Thu, 4 Feb 2010, Pasi Kärkkäinen wrote:> On Wed, Feb 03, 2010 at 09:55:02PM +0000, M A Young wrote: >> I have been trying to put 4.0.0-rc2 into an RPM, and I got the error >> "canonicalization unexpectedly shrank by one character" when it was >> creating files for the debuginfo package. This is because this bit of rpm >> doesn''t like // in paths to file names, and the // comes from the >> makefile xen-4.0.0/tools/blktap2/drivers/Makefile which sets >> XEN_ROOT=../../../ and then uses it like $(XEN_ROOT)/tools/libaio/src . >> XEN_ROOT=../../../ be replaced by XEN_ROOT=../../.. to keep rpm happy >> please (eg. with the following patch)? >> > > Please share the .src.rpm :)I am still tidying up to get it to finish, though I think I am almost there, as I have reached the unpackaged files stage. The list, if you are interested, is /etc/sysconfig/xend /usr/bin/remus /usr/lib/xen/bin/qemu-dm /usr/lib/xen/bin/stubdompath.sh /usr/lib64/libconfig.la /usr/lib64/pkgconfig/libconfig.pc /usr/sbin/flask-getenforce /usr/sbin/flask-setenforce /usr/sbin/gtracestat /usr/sbin/gtraceview /usr/sbin/lock-util /usr/sbin/tapdisk-client /usr/sbin/tapdisk-diff /usr/sbin/tapdisk-stream /usr/sbin/tapdisk2 /usr/sbin/td-util /usr/sbin/vhd-update /usr/sbin/vhd-util /usr/sbin/xen-hvmctx /usr/sbin/xen-tmem-list-parse /usr/sbin/xenlockprof /usr/sbin/xenpaging /usr/sbin/xl /usr/share/create.dtd /usr/share/info/dir /usr/share/info/libconfig.info.gz Some clearly need to be deleted and others included, but others like /usr/share/create.dtd are less obvious. Michael Young _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Thu, 4 Feb 2010, Pasi Kärkkäinen wrote:> Please share the .src.rpm :)It is at http://myoung.fedorapeople.org/dom0/src/xen-4.0.0-0.1.rc2.fc12.src.rpm I haven''t had a chance to do more than build it so I have no idea if it actually works. It is basically xen-3.4.2-1.fc12.src.rpm with the necessary changes to adapt to 4.0.0-rc2 plus an included copy of http://xenbits.xensource.com/git-http/qemu-xen-unstable.git 4.0.0-rc2 to stop it downloading that whole git repository each time it builds. Michael Young _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks. Actually a trailing slash was appended in quite a few places, so I will fix them all at the same time. -- Keir On 03/02/2010 21:55, "M A Young" <m.a.young@durham.ac.uk> wrote:> I have been trying to put 4.0.0-rc2 into an RPM, and I got the error > "canonicalization unexpectedly shrank by one character" when it was > creating files for the debuginfo package. This is because this bit of rpm > doesn''t like // in paths to file names, and the // comes from the makefile > xen-4.0.0/tools/blktap2/drivers/Makefile which sets XEN_ROOT=../../../ and > then uses it like $(XEN_ROOT)/tools/libaio/src . XEN_ROOT=../../../ be > replaced by XEN_ROOT=../../.. to keep rpm happy please (eg. with the > following patch)? > > Michael Young > > --- xen-4.0.0/tools/blktap2/drivers/Makefile.orig 2010-02-02 > 20:43:00.000000000 +0000 > +++ xen-4.0.0/tools/blktap2/drivers/Makefile 2010-02-03 20:55:14.000000000 > +0000 > @@ -1,4 +1,4 @@ > -XEN_ROOT=../../../ > +XEN_ROOT=../../.. > BLKTAP_ROOT= .. > include $(XEN_ROOT)/tools/Rules.mk > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Tue, Feb 16, 2010 at 11:00:59PM +0000, M A Young wrote:> On Thu, 4 Feb 2010, M A Young wrote: > >> On Thu, 4 Feb 2010, Pasi Kärkkäinen wrote: >> >>> Please share the .src.rpm :) >> >> It is at >> http://myoung.fedorapeople.org/dom0/src/xen-4.0.0-0.1.rc2.fc12.src.rpm > > That has now been removed and replaced by > http://myoung.fedorapeople.org/dom0/src/xen-4.0.0-0.2.rc4.fc12.src.rpm >This rc4 src.rpm seems to work (=build) for me on Fedora 12 host. Also it seems to boot OK using custom 2.6.31.6 xen/master dom0 kernel. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel