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

Re: [Xen-users] Cannot install xen 4.7



Hallo George,

I was following the guide "Xen compiling from source" and modifying some packets in order to be installed in my system. Also I checked that option for the patch package (2.7.5-1), and the others "patch -d ****" are working, but just that one returns an error. No idea yet why.

The version I'm installing is 4.7, but is also the same error while I'm installing 4.6 or 4.4 downloading from the webpage. When I'm using the apt-get install xen-linux-system-amd64 with the tools.

The distro I'm using is Debian 8 with Linux 4.1.21.

Thanks in advance.

2016-09-14 15:14 GMT+02:00 George Dunlap <george.dunlap@xxxxxxxxxx>:
On Tue, Sep 13, 2016 at 5:32 PM, Manuel R. Campos <manurcr@xxxxxxxxx> wrote:
> Hello people.
>
> I was using Xen 4.4 with 2 Windows until I had to do a VGA and USB
> passthrough. I couldn't do it following the steps and guides from here and
> Xen Project. Because a HVM didn't get a VGA passthrough trying different
> ways, I wanted to update. But I cannot do for an error during the
> compilation. Is the same error and it doesn't matter which version I tried
> to install. For me, I don't want to update yet, because I installed
> everything from Xen with xen-linux-system-amd64 and xen-tools, but it didn't
> work for me.
>
> So, I have here the final step with the installation and the problem of the
> make world. I think the problem comes from the tools.
>
> Resolving xenbits.xen.org (xenbits.xen.org)... ***.***.***.***
>
> Connecting to xenbits.xen.org (xenbits.xen.org)|***.***.***.***|:80...
> connected.
>
> HTTP request sent, awaiting response... 200 OK
>
> Length: 2867999 (2.7M) [application/x-gzip]
>
> Saving to: '_ipxe.tar.gz'
>
>
>
> _ipxe.tar.gz
> 100%[==================================================>]   2.73M   664KB/s
> in 4.8s
>
>
>
> 2016-09-13 12:54:15 (582 KB/s) - '_ipxe.tar.gz' saved [2867999/2867999]
>
>
>
> mv _ipxe.tar.gz ipxe.tar.gz
>
> rm -rf ipxe
>
> gzip -dc ipxe.tar.gz | tar xf -
>
> for i in $(cat patches/series) ; do                 \
>
>     patch -d ipxe -p1 --quiet <patches/$i || exit 1 ; \
>
> done
>
> patch: invalid option -- 'd'
>
> BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) multi-call binary.
>
>
>
> Usage: patch [OPTIONS] [ORIGFILE [PATCHFILE]]
>
>
>
>                 -p,--strip N                          Strip N leading
> components from file names
>
>                 -i,--input DIFF                    Read DIFF instead of
> stdin
>
>                 -R,--reverse                       Reverse patch
>
>                 -N,--forward                      Ignore already applied
> patches
>
>                 -E,--remove-empty-files              Remove output files if
> they become empty

The answer is here -- the makefile tries to run "patch" with the "-d"
option, but your version of "patch" doesn't support that option.

I took a look at the Makefile, and that line (patch -d) has been there
since 2008, well before 4.4.

So did you actually build Xen 4.4 in your current system, or has that changed?


> My system is a i7 4700EQ with 16GB RAM and enough free space in HDD.

The important question for build failures is what distro and version
you're using; and in this case what version of 'patch'.  It looks like
it might be BusyBox, in which case you probably need to build in a
different environment.

 -George



--
Un saludo. Best regards. Viele Grüße. 

Manuel R. Campos Roldán
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

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