You are not logged in.

#1 2013-08-11 22:28:39

diablostar
Member
From: France
Registered: 2013-08-11
Posts: 2

[Solved] Xen 4.4 (xen-git) Failed to prepare()

Hi,

I've got an issue with the xen-git package.

Here the whole stdout :

[me@Arch-Xen-Dom0 tmp]$ yaourt -S xen-git

==> Downloading xen-git PKGBUILD from AUR...
x PKGBUILD
x archlinux.patch
x qxl.patch
x qemu.patch
x seabios.patch
x oxen.patch
x xen.conf
x rtc.patch
x rc.status
x texi2html.patch
x lrt.patch
x proc-xen.mount
x xenconsoled.service
x xendomains.service
x xendomU.service
x xenstored.service
x var-lib-xenstored.mount
x xen-git.conf
x 09_xen
x hotfix.patch
x bios_workaround.patch
x bios_vtd_workaround.patch
[...]

xen-git 20130713-1  (Mon Apr 29 03:09:14 CEST 2013)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> xen-git dependencies:
 - xz (already installed)
 - nss (already installed)
 - libpng (already installed)
 - bzip2 (already installed)
 - iproute (already installed)
 - libgl (already installed)
 - bridge-utils (already installed)
 - python2 (already installed)
 - sdl (already installed)
 - zlib (already installed)
 - urlgrabber (already installed)
 - e2fsprogs (already installed)
 - bin86 (already installed)
 - libaio (already installed)
 - pkgconfig (already installed)
 - gnutls (already installed)
 - lzo2 (already installed)
 - glibc (already installed)
 - yajl (already installed)
 - inetutils (already installed)
 - python (already installed)
 - iasl (already installed)
 - spice (already installed)
 - spice-protocol (already installed)
 - usleep (already installed)
 - libiscsi (already installed)
 - bluez-libs (already installed)
 - usbredir (already installed)
 - dev86 (already installed)
 - texi2html (already installed)
 - git (already installed)
 - libgl (already installed)
 - ghostscript (already installed)
 - markdown (already installed)
 - ocaml-findlib (already installed)
 - spice (already installed)
 - libiscsi (already installed)
 - libcacard (already installed)
 - libaio (already installed)
 - usbredir (already installed)
 - spice-protocol (already installed)


==> Continue building xen-git ? [Y/n]
==> ---------------------------------
==>
==> Building and installing package
==> Making package: xen-git 20130713-1 (Mon Aug 12 00:03:58 CEST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found archlinux.patch
  -> Found qxl.patch
  -> Found qemu.patch
  -> Found seabios.patch
  -> Found oxen.patch
  -> Found xen.conf
  -> Found rtc.patch
  -> Found rc.status
  -> Found texi2html.patch
  -> Found lrt.patch
  -> Found proc-xen.mount
  -> Found xenconsoled.service
  -> Found xendomains.service
  -> Found xendomU.service
  -> Found xenstored.service
  -> Found var-lib-xenstored.mount
  -> Found xen-git.conf
  -> Found 09_xen
  -> Found hotfix.patch
  -> Found bios_workaround.patch
  -> Found bios_vtd_workaround.patch
==> Validating source files with md5sums...
    archlinux.patch ... Passed
    qxl.patch ... Passed
    qemu.patch ... Passed
    seabios.patch ... Passed
    oxen.patch ... Passed
    xen.conf ... Passed
    rtc.patch ... Passed
    rc.status ... Passed
    texi2html.patch ... Passed
    lrt.patch ... Passed
    proc-xen.mount ... Passed
    xenconsoled.service ... Passed
    xendomains.service ... Passed
    xendomU.service ... Passed
    xenstored.service ... Passed
    var-lib-xenstored.mount ... Passed
    xen-git.conf ... Passed
    09_xen ... Passed
    hotfix.patch ... Passed
    bios_workaround.patch ... Passed
    bios_vtd_workaround.patch ... Passed
==> Extracting sources...
==> Starting pkgver()...
==> Updated version: xen-git 20130812-1
==> Starting prepare()...
==> Git checkout:  Retrieving sources
Cloning into 'xen'...
remote: Counting objects: 274068, done.
remote: Compressing objects: 100% (56729/56729), done.
remote: Total 274068 (delta 215833), reused 270300 (delta 212700)
Receiving objects: 100% (274068/274068), 53.80 MiB | 1.73 MiB/s, done.
Resolving deltas: 100% (215833/215833), done.
Checking connectivity... done
patching file Config.mk
patching file Makefile
patching file README
patching file config/StdGNU.mk
patching file configure
patching file tools/Makefile
patching file tools/blktap/drivers/blktapctrl.c
patching file tools/blktap/lib/blktaplib.h
patching file tools/blktap2/include/blktap2.h
patching file tools/blktap2/include/blktaplib.h
patching file tools/configure
patching file tools/console/daemon/main.c
patching file tools/examples/xl.conf
patching file tools/examples/xl.conf.orig
patching file tools/hotplug/Linux/init.d/xencommons
patching file tools/hotplug/Linux/init.d/xendomains
patching file tools/hotplug/Linux/init.d/xendomains.orig
patching file tools/hotplug/Linux/locking.sh
patching file tools/libxl/libxl_internal.h
patching file tools/libxl/libxl_pci.c
patching file tools/libxl/xl.c
patching file tools/misc/xenpm.c
patching file tools/misc/xenpvnetboot
patching file tools/ocaml/libs/xs/xs.ml
patching file tools/ocaml/xenstored/define.ml
patching file tools/ocaml/xenstored/disk.ml
patching file tools/ocaml/xenstored/oxenstored.conf
patching file tools/ocaml/xenstored/xenstored.ml
Hunk #1 succeeded at 59 (offset 1 line).
Hunk #2 succeeded at 74 (offset 1 line).
Hunk #3 succeeded at 255 (offset 1 line).
Hunk #4 succeeded at 281 (offset 1 line).
Hunk #5 succeeded at 390 (offset 1 line).
patching file tools/pygrub/Makefile
patching file tools/pygrub/src/pygrub
Hunk #1 succeeded at 769 (offset 1 line).
patching file tools/python/xen/util/fileuri.py
patching file tools/xenbackendd/xenbackendd.c
patching file tools/xenmon/xenbaked.c
patching file tools/xenmon/xenmon.py
patching file tools/xenstore/Makefile
patching file tools/xenstore/xs_lib.c
patching file xen/Makefile
patching file xen/arch/x86/domain.c
patching file xen/arch/x86/hvm/hvm.c
patching file xen/arch/x86/i387.c
patching file xen/arch/x86/time.c
patching file xen/arch/x86/xstate.c
Hunk #1 succeeded at 229 (offset 25 lines).
patching file xen/drivers/cpufreq/utility.c
patching file xen/drivers/passthrough/amd/iommu_cmd.c
patching file xen/drivers/passthrough/amd/iommu_guest.c
patching file xen/drivers/passthrough/amd/iommu_init.c
Hunk #1 succeeded at 335 (offset -9 lines).
Hunk #2 succeeded at 401 (offset -9 lines).
Hunk #3 succeeded at 410 (offset -9 lines).
Hunk #4 succeeded at 430 (offset -9 lines).
Hunk #5 succeeded at 602 (offset -9 lines).
Hunk #6 succeeded at 672 (offset -9 lines).
Hunk #7 succeeded at 724 (offset -9 lines).
patching file xen/include/asm-x86/hvm/svm/amd-iommu-defs.h
patching file xen/include/asm-x86/xstate.h
patching file xen/include/xen/grant_table.h
patching file Config.mk
patching file tools/Makefile
patching file tools/libxl/libxl_dm.c
patching file tools/firmware/Makefile
patching file tools/firmware/seabios-config
patching file tools/firmware/seabios-mac-20130223.patch
patching file docs/man/xl.pod.1
patching file tools/libxc/xc_domain_save.c
Hunk #2 succeeded at 802 (offset 7 lines).
Hunk #3 succeeded at 812 (offset 7 lines).
Hunk #4 succeeded at 913 (offset 7 lines).
Hunk #5 succeeded at 1537 (offset 7 lines).
patching file tools/libxc/xc_nomigrate.c
patching file tools/libxc/xc_private.h
patching file tools/libxc/xenguest.h
patching file tools/libxl/libxl.c
patching file tools/libxl/libxl.h
Hunk #1 succeeded at 578 (offset 26 lines).
patching file tools/libxl/libxl_dom.c
Hunk #1 succeeded at 1306 (offset 1 line).
patching file tools/libxl/libxl_internal.h
Hunk #1 succeeded at 2257 (offset 7 lines).
patching file tools/libxl/libxl_save_callout.c
patching file tools/libxl/libxl_save_helper.c
patching file tools/libxl/xl_cmdimpl.c
Hunk #1 succeeded at 3307 with fuzz 1 (offset 37 lines).
Hunk #2 succeeded at 3471 (offset 41 lines).
Hunk #3 succeeded at 3481 (offset 41 lines).
Hunk #4 succeeded at 3506 (offset 41 lines).
Hunk #5 succeeded at 3907 (offset 45 lines).
Hunk #6 succeeded at 3935 (offset 45 lines).
Hunk #7 succeeded at 3962 (offset 45 lines).
patching file tools/libxl/xl_cmdtable.c
Hunk #1 succeeded at 149 (offset 1 line).
patching file tools/python/xen/lowlevel/checkpoint/libcheckpoint.c
patching file tools/python/xen/xend/XendCheckpoint.py
patching file tools/python/xen/xend/XendDomain.py
patching file tools/python/xen/xend/XendDomainInfo.py
patching file tools/python/xen/xm/migrate.py
patching file tools/xcutils/xc_restore.c
patching file tools/xcutils/xc_save.c
patching file xen/arch/x86/mm/mem_event.c
patching file xen/common/domain.c
patching file Config.mk
patching file extras/mini-os/lib/math.c
patching file extras/mini-os/minios.mk
patching file tools/Rules.mk
patching file tools/blktap/drivers/Makefile
patching file tools/blktap/drivers/block-cdrom.c
patching file tools/blktap/drivers/tapdisk.c
patching file tools/blktap/drivers/tapdisk.h
patching file tools/blktap/lib/blktaplib.h
patching file tools/blktap2/drivers/Makefile
patching file tools/debugger/gdbsx/Rules.mk
patching file tools/debugger/gdbsx/xg/xg_main.c
patching file tools/examples/Makefile
patching file tools/examples/xend-config.sxp
patching file tools/examples/xmexample.disks
patching file tools/examples/xmexample.hvm
patching file tools/firmware/Makefile
Hunk #1 succeeded at 18 with fuzz 3.
patching file tools/firmware/etherboot/Config
patching file tools/firmware/hvmloader/config.h
patching file tools/hotplug/Linux/network-bridge
patching file tools/hotplug/Linux/network-openvswitch
patching file tools/hotplug/Linux/vif-bridge
patching file tools/hotplug/Linux/vif-route-ifup
patching file tools/hotplug/Linux/xend.rules
patching file tools/libaio/harness/Makefile
patching file tools/libfsimage/Rules.mk
patching file tools/libxc/Makefile
Hunk #1 succeeded at 85 (offset 5 lines).
patching file tools/libxc/xc_suspend.c
patching file tools/libxen/src/xen_common.c
patching file tools/libxl/Makefile
patching file tools/libxl/libxl_dm.c
Hunk #1 succeeded at 220 (offset -2 lines).
Hunk #2 succeeded at 513 (offset -13 lines).
patching file tools/libxl/libxl_types.idl
Hunk #1 succeeded at 335 with fuzz 2 (offset 3 lines).
patching file tools/libxl/xl_cmdimpl.c
Hunk #1 succeeded at 1400 (offset 6 lines).
patching file tools/misc/serial-split/Makefile
patching file tools/misc/serial-split/serial-split.c
patching file tools/misc/xend
patching file tools/pygrub/src/pygrub
Hunk #8 succeeded at 817 (offset 9 lines).
patching file tools/python/README.XendConfig
patching file tools/python/README.sxpcfg
patching file tools/python/xen/util/pci.py
patching file tools/python/xen/xend/XendAPI.py
patching file tools/python/xen/xend/XendAPIConstants.py
patching file tools/python/xen/xend/XendCheckpoint.py
Hunk #1 succeeded at 188 (offset 16 lines).
patching file tools/python/xen/xend/XendConfig.py
patching file tools/python/xen/xend/XendDomain.py
Hunk #3 succeeded at 1849 with fuzz 2 (offset 14 lines).
patching file tools/python/xen/xend/XendDomainInfo.py
Hunk #2 succeeded at 1482 with fuzz 2 (offset 16 lines).
Hunk #3 succeeded at 2281 (offset 16 lines).
Hunk #4 succeeded at 2920 (offset 16 lines).
Hunk #5 succeeded at 2955 (offset 16 lines).
Hunk #6 succeeded at 2982 (offset 16 lines).
Hunk #7 succeeded at 3068 (offset 16 lines).
Hunk #8 succeeded at 3199 (offset 16 lines).
Hunk #9 succeeded at 3216 (offset 16 lines).
Hunk #10 succeeded at 3954 (offset 16 lines).
patching file tools/python/xen/xend/image.py
patching file tools/python/xen/xend/server/BlktapController.py
patching file tools/python/xen/xend/server/DevController.py
patching file tools/python/xen/xm/cpupool.py
patching file tools/python/xen/xm/create.py
patching file tools/python/xen/xm/main.py
patching file tools/python/xen/xm/xenapi_create.py
patching file tools/tests/mce-test/tools/Makefile
patching file tools/tests/mem-sharing/Makefile
patching file tools/tests/xen-access/Makefile
patching file tools/xenstat/xentop/Makefile
patching file tools/xenstore/xenstore.h
patching file tools/xenstore/xenstore_client.c
patching file tools/xenstore/xs.c
patching file unmodified_drivers/linux-2.6/Module.supported
patching file unmodified_drivers/linux-2.6/platform-pci/evtchn.c
patching file unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
patching file unmodified_drivers/linux-2.6/platform-pci/platform-pci.h
patching file xen/Makefile
Hunk #2 FAILED at 48.
1 out of 2 hunks FAILED -- saving rejects to file xen/Makefile.rej
patching file xen/arch/arm/Rules.mk
patching file xen/arch/arm/gic.c
patching file xen/arch/x86/Rules.mk
patching file xen/arch/x86/hvm/stdvga.c
patching file xen/arch/x86/io_apic.c
patching file xen/arch/x86/io_apic.c.orig
patching file xen/arch/x86/platform_hypercall.c
patching file xen/arch/x86/x86_64/entry.S
patching file xen/include/Makefile
patching file xen/include/public/io/blkif.h
Hunk #1 succeeded at 444 (offset 5 lines).
patching file xen/include/public/io/cdromif.h
patching file xen/include/public/platform.h
==> ERROR: A failure occurred in prepare().
    Aborting...
==> ERROR: Makepkg was unable to build xen-git.
==> Restart building xen-git ? [y/N]
==> --------------------------------

The error seems to be :
patching file xen/Makefile
Hunk #2 FAILED at 48.
1 out of 2 hunks FAILED -- saving rejects to file xen/Makefile.rej

But honestly I don't really understand what It means. hmm
I've searched on Google a while but subject don't applies to Xen or Archlinux.

I'm using yaourt as AUR repository tool, with Intel(R) Xeon(R) CPU E3-1225 v2 on 3.10.5-1-ARCH x86_64 kernel.

Anyone know how can I fix It ?

Last edited by diablostar (2013-08-12 09:23:20)

Offline

#2 2013-08-12 04:36:55

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,788

Re: [Solved] Xen 4.4 (xen-git) Failed to prepare()

It means one of the dozen or so patches being applied didn't work. The maintainer needs to update the patch, report it in the AUR comments.

Online

#3 2013-08-12 09:22:53

diablostar
Member
From: France
Registered: 2013-08-11
Posts: 2

Re: [Solved] Xen 4.4 (xen-git) Failed to prepare()

Ok I'll do It !

Thanks wink

Offline

Board footer

Powered by FluxBB