xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Minor bug in 4.0.0-rc2
@ 2010-02-03 21:55 M A Young
  2010-02-03 22:06 ` Pasi Kärkkäinen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: M A Young @ 2010-02-03 21:55 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Minor bug in 4.0.0-rc2
  2010-02-03 21:55 Minor bug in 4.0.0-rc2 M A Young
@ 2010-02-03 22:06 ` Pasi Kärkkäinen
  2010-02-03 22:29   ` M A Young
  2010-02-04  1:10   ` M A Young
  2010-02-03 22:13 ` Minor bug in 4.0.0-rc2 Daniel Stodden
  2010-02-04  9:01 ` Keir Fraser
  2 siblings, 2 replies; 7+ messages in thread
From: Pasi Kärkkäinen @ 2010-02-03 22:06 UTC (permalink / raw)
  To: M A Young; +Cc: 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Minor bug in 4.0.0-rc2
  2010-02-03 21:55 Minor bug in 4.0.0-rc2 M A Young
  2010-02-03 22:06 ` Pasi Kärkkäinen
@ 2010-02-03 22:13 ` Daniel Stodden
  2010-02-04  9:01 ` Keir Fraser
  2 siblings, 0 replies; 7+ messages in thread
From: Daniel Stodden @ 2010-02-03 22:13 UTC (permalink / raw)
  To: M A Young, xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Minor bug in 4.0.0-rc2
  2010-02-03 22:06 ` Pasi Kärkkäinen
@ 2010-02-03 22:29   ` M A Young
  2010-02-04  1:10   ` M A Young
  1 sibling, 0 replies; 7+ messages in thread
From: M A Young @ 2010-02-03 22:29 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: xen-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1725 bytes --]

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

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Minor bug in 4.0.0-rc2
  2010-02-03 22:06 ` Pasi Kärkkäinen
  2010-02-03 22:29   ` M A Young
@ 2010-02-04  1:10   ` M A Young
       [not found]     ` <alpine.LFD.2.00.1002162259110.9452@vega3.dur.ac.uk>
  1 sibling, 1 reply; 7+ messages in thread
From: M A Young @ 2010-02-04  1:10 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: xen-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 533 bytes --]

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

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Minor bug in 4.0.0-rc2
  2010-02-03 21:55 Minor bug in 4.0.0-rc2 M A Young
  2010-02-03 22:06 ` Pasi Kärkkäinen
  2010-02-03 22:13 ` Minor bug in 4.0.0-rc2 Daniel Stodden
@ 2010-02-04  9:01 ` Keir Fraser
  2 siblings, 0 replies; 7+ messages in thread
From: Keir Fraser @ 2010-02-04  9:01 UTC (permalink / raw)
  To: M A Young, xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 4.0.0-rc4 srpm
       [not found]     ` <alpine.LFD.2.00.1002162259110.9452@vega3.dur.ac.uk>
@ 2010-02-20 13:22       ` Pasi Kärkkäinen
  0 siblings, 0 replies; 7+ messages in thread
From: Pasi Kärkkäinen @ 2010-02-20 13:22 UTC (permalink / raw)
  To: M A Young; +Cc: 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-02-20 13:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-03 21:55 Minor bug in 4.0.0-rc2 M A Young
2010-02-03 22:06 ` Pasi Kärkkäinen
2010-02-03 22:29   ` M A Young
2010-02-04  1:10   ` M A Young
     [not found]     ` <alpine.LFD.2.00.1002162259110.9452@vega3.dur.ac.uk>
2010-02-20 13:22       ` 4.0.0-rc4 srpm Pasi Kärkkäinen
2010-02-03 22:13 ` Minor bug in 4.0.0-rc2 Daniel Stodden
2010-02-04  9:01 ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).