[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Missing /usr/lib64/xen/bin/qemu-dm in xen-4.0.1-0.2.fc13.src.rpm


  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Sat, 4 Sep 2010 08:01:13 -0700 (PDT)
  • Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>, M A Young <m.a.young@xxxxxxxxxxxx>
  • Delivery-date: Sat, 04 Sep 2010 08:02:44 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=yRZUnITzxgA/UixnrqgzlcwuFr9XUbRUKN0/7hXdGCnqH2OqBv2aITgdWlRMeU2wJJyoV1E38h/q4SC4Znbst/VFvHo7WT3kEM9NX0cTMXowNavgS+bgOAJXBM5iol7U+jK3Q08VFbqGot86xK7v0OasuyZ5RiRSWnpt9jXWi74=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Patch looks better

--- xen.spec.orig       2010-09-04 16:51:49.262465622 +0400
+++ xen.spec    2010-09-04 18:56:07.319465967 +0400
@@ -6,7 +6,7 @@
 Summary: Xen is a virtual machine monitor
 Name:    xen
 Version: 4.0.1
-Release: 0.2%{?dist}
+Release: 0.3%{?dist}
 Group:   Development/Libraries
 License: GPLv2+ and LGPLv2+ and BSD
 URL:     http://xen.org/
@@ -312,9 +312,6 @@
 %{_sbindir}/xm
 %{python_sitearch}/%{name}
 %{python_sitearch}/xen-*.egg-info
-%{_mandir}/man1/xm.1*
-%{_mandir}/man5/xend-config.sxp.5*
-%{_mandir}/man5/xmdomain.cfg.5*
 %{_datadir}/%{name}/create.dtd

 # Startup script
@@ -471,8 +468,6 @@
 %files doc
 %defattr(-,root,root)
 %doc docs/misc/
-%doc dist/install/usr/share/doc/xen/html
-%doc dist/install/usr/share/doc/xen/pdf/*.pdf

 %files devel
 %defattr(-,root,root)

Boris.

--- On Sat, 9/4/10, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] Missing /usr/lib64/xen/bin/qemu-dm in xen-4.0.1-0.2.fc13.src.rpm
To: "Pasi Kärkkäinen" <pasik@xxxxxx>
Cc: "John McDermott (U.S. Navy Employee)" <John.McDermott@xxxxxxxxxxxx>, "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>, "M A Young" <m.a.young@xxxxxxxxxxxx>
Date: Saturday, September 4, 2010, 9:46 AM

Testing on F14 i got same errors as trying to rebuild F13's version :-

RPM build errors:
    File not found by glob: /root/rpmbuild/BUILDROOT/xen-4.0.1-0.4.fc14.x86_64/usr/share/man/man1/xm.1*
    File not found by glob: /root/rpmbuild/BUILDROOT/xen-4.0.1-0.4.fc14.x86_64/usr/share/man/man5/xend-config.sxp.5*
    File not found by glob: /root/rpmbuild/BUILDROOT/xen-4.0.1-0.4.fc14.x86_64/usr/share/man/man5/xmdomain.cfg.5*


Fix has been already made for F13's version :-

[root@fedora14 ~]# diff -auNr xen.spec  xen.spec.orig
--- xen.spec    2010-09-04 16:52:23.266465470 +0400
+++ xen.spec.orig    2010-09-04 16:51:49.262465622 +0400
@@ -6,7 +6,7 @@
 Summary: Xen is a virtual machine monitor
 Name:    xen
 Version: 4.0.1
-Release: 0.3%{?dist}
+Release: 0.2%{?dist}
 Group:   Development/Libraries
 License: GPLv2+ and LGPLv2+ and BSD
 URL:     http://xen.org/
@@ -312,9 +312,9 @@
 %{_sbindir}/xm
 %{python_sitearch}/%{name}
 %{python_sitearch}/xen-*.egg-info
-# %{_mandir}/man1/xm.1*
-# %{_mandir}/man5/xend-config.sxp.5*
-# %{_mandir}/man5/xmdomain.cfg.5*
+%{_mandir}/man1/xm.1*
+%{_mandir}/man5/xend-config.sxp.5*
+%{_mandir}/man5/xmdomain.cfg.5*
 %{_datadir}/%{name}/create.dtd
 
 # Startup script
@@ -471,8 +471,8 @@
 %files doc
 %defattr(-,root,root)
 %doc docs/misc/
-# %doc dist/install/usr/share/doc/xen/html
-# %doc dist/install/usr/share/doc/xen/pdf/*.pdf
+%doc dist/install/usr/share/doc/xen/html
+%doc dist/install/usr/share/doc/xen/pdf/*.pdf

First to get rid of glob error i commented out
-# %{_mandir}/man1/xm.1*
-# %{_mandir}/man5/xend-config.sxp.5*
-# %{_mandir}/man5/xmdomain.cfg.5*

Then rpmbuild complained unable to stat  dist/install/usr/share/doc/xen/html.
I commented out two %doc lines and was able to build xen 4.0.1 rpms on F14.

Boris.
P.S. Yesterday , i was able to rebuilt F13 src.rpm with no problems in another
F14 environment .  I suspect that packages originally installed are different.
Just missing some package , been installed yesterday
Rpmbuild activation as on F13 :-

yum install transfig texi2html libaio-devel \
dev86 glibc-devel.i686 \
e2fsprogs-devel gitk iasl




--- On Sat, 9/4/10, Pasi Kärkkäinen <pasik@xxxxxx> wrote:

From: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Missing /usr/lib64/xen/bin/qemu-dm in xen-4.0.1-0.2.fc13.src.rpm
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "John McDermott (U.S. Navy Employee)" <John.McDermott@xxxxxxxxxxxx>, "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>, "M A Young" <m.a.young@xxxxxxxxxxxx>
Date: Saturday, September 4, 2010, 9:13 AM

On Sat, Sep 04, 2010 at 03:46:26PM +0300, Pasi Kärkkäinen wrote:
> On Sat, Sep 04, 2010 at 05:38:47AM -0700, Boris Derzhavets wrote:
> >    It might be reproduced.
> >    I just copy /usr/lib/xen/bin/qemu-dm  to   /usr/lib64/xen/bin
> >    to make virt-install happy.
> >
> >    Boris.
> >    P.S.
> >    # file /usr/lib/xen/bin/qemu-dm
> >    /usr/lib/xen/bin/qemu-dm: ELF 64-bit LSB executable, x86-64, version 1
> >    (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32,
> >    stripped
> >
>
> Ok.
>
> Did something change in virt-install (libvirt) or in xen rpms?
> Michael: Any ideas?
>

Also: Guys can you try the F14 version of the src.rpm:
ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/testing/14/SRPMS/xen-4.0.1-1.fc14.src.rpm

Or whatever Fedora mirror you use..

-- Pasi

>
> >
> >    --- On Sat, 9/4/10, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> >
> >      From: Pasi Kärkkäinen <pasik@xxxxxx>
> >      Subject: Re: [Xen-users] Missing /usr/lib64/xen/bin/qemu-dm in
> >      xen-4.0.1-0.2.fc13.src.rpm
> >      To: "John McDermott (U.S. Navy Employee)" <John.McDermott@xxxxxxxxxxxx>
> >      Cc: "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>, "M A Young"
> >      <m.a.young@xxxxxxxxxxxx>
> >      Date: Saturday, September 4, 2010, 8:20 AM
> >
> >      On Fri, Sep 03, 2010 at 08:41:52AM -0400, John McDermott (U.S. Navy
> >      Employee) wrote:
> >      > Xen Users,
> >      >
> >      > When trying to install a 64-bit Fedora 13 HVM on 64-bit Xen 4.0.1,
> >      built using the xen-4.0.1-0.2.fc13.src.rpm from
> >      [1]http://pasik.reaktio.net, virt-install complains that it cannot find
> >      /usr/lib64/xen/bin/qemu-dm. This is not surprising, since there is no
> >      corresponding emulator file in the BUILD/xen-4.0.1/dist directory
> >      structure, just the 32-bit lib/xen/bin/qemu-dm file. Has anyone else
> >      seen this problem, or should I tinker with the .spec file myself?
> >      >
> >
> >      Hello,
> >
> >      Are you sure the rpms got built/installed properly?
> >      Did you check the required packages from:
> >      [2]http://wiki.xensource.com/xenwiki/Xen4.0
> >
> >      that xen-4.0.1-0.2.fc13.src.rpm on my site is downloaded from Fedora
> >      koji.
> >
> >      -- Pasi
> >
> >      _______________________________________________
> >      Xen-users mailing list
> >      [3]Xen-users@xxxxxxxxxxxxxxxxxxx
> >      [4]http://lists.xensource.com/xen-users
> >
> > References
> >
> >    Visible links
> >    1. http://pasik.reaktio.net/
> >    2. http://wiki.xensource.com/xenwiki/Xen4.0
> >    3. file:///mc/compose?to=Xen-users@xxxxxxxxxxxxxxxxxxx
> >    4. http://lists.xensource.com/xen-users
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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


-----Inline Attachment Follows-----

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

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.