You are not logged in.

#1 2015-10-03 16:19:30

nonfictive
Member
Registered: 2015-10-03
Posts: 19

Xen Build error

Hey Arch Members,

I'm new to the forum not arch been using this great distro for a 1 year now.+

Anyways I'm having a bit of a issue, if you guys have heard of qubes os I really like the idea of it using the Xen Hyper-visor under dom0.
Basically isolating your network, storage, and apps so that if the host is comprised then it will not affect the vm's. However they do not
support nvidia graphics that much, as in specifically nvidia geforce gtx 960, my issue is not the graphics everything has worked fine for me
on arch. I like the idea of arch being simple and have pretty minimal things for what i need. So I also want it secure, I mean my arch install
has encrypted lvm+luks using cryptsetup and the boot-loader is encrypted with the modules from the new grub. But I really want isolation
from reading, I was going to try to create qubes os on arch, since their source is it in python and could be made to work for arch.

I think if we qubes to work on arch that would be amazing, and so much better i dont like really like their wm's of choice, I prefer openbox.
So what my problem is in the aur their is a package for xen, so I did yaourt -S xen and that doesnt work which I dont get since yaourt will get
all of the aur's dependencies for that package Here is the output of compilation failure if any of you are willing to help me. Also I already enabled
the multilib repo in the /etc/pacman.conf


checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... i686-xen-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Makefile:83: recipe for target 'cross-root-i686/i686-xen-elf/lib/libc.a' failed
make[1]: *** [cross-root-i686/i686-xen-elf/lib/libc.a] Error 77
make[1]: Leaving directory '/tmp/yaourt-tmp-zz/aur-xen/src/xen-4.5.1/stubdom'
Makefile:73: recipe for target 'install-stubdom' failed
make: *** [install-stubdom] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build xen.
==> Restart building xen ? [y/N]
==> ----------------------------
==>

Last edited by nonfictive (2015-10-03 16:34:25)

Offline

#2 2015-10-03 16:22:23

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,901

Re: Xen Build error

try adding "unset CPPFLAGS" to the build function.

Offline

#3 2015-10-03 16:26:51

nonfictive
Member
Registered: 2015-10-03
Posts: 19

Re: Xen Build error

OK, I tried what you said and now have this for the output

Makefile:71: recipe for target 'newlib-1.16.0' failed
make[1]: *** [newlib-1.16.0] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-zz/aur-xen/src/xen-4.5.1/stubdom'
Makefile:73: recipe for target 'install-stubdom' failed
make: *** [install-stubdom] Error 2
==> ERROR: A failure occurred in build().

Offline

#4 2015-10-03 16:28:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,901

Re: Xen Build error

We need more of the log than that.

Offline

#5 2015-10-03 16:31:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,386
Website

Re: Xen Build error

Welcome to the forums nonfictive.  If you wouldn't mind, I'd suggest editing your thread title (which you can do by clicking "edit" on your first post).  Perhaps something like "Xen build error" would attract the right helpers.  As it is, I expected this to be some inappropriate rant, not a legitimate technical issue which it is.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2015-10-03 16:33:30

nonfictive
Member
Registered: 2015-10-03
Posts: 19

Re: Xen Build error

Ok here you go

https://pastee.org/9gxgv

Also reading up they said that it can be the target is trying to build for i686-xen-elf in your case
So I'm trying to see if gcc-multilib would make it work
I mean can i change the targe

http://lists.xenproject.org/archives/ht … 00108.html

Offline

#7 2015-10-03 16:35:10

nonfictive
Member
Registered: 2015-10-03
Posts: 19

Re: Xen Build error

Thanks Trilby,
I just did yeah I dont really rant.
I like to stay on topic.

Offline

#8 2015-10-03 16:37:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,901

Re: Xen Build error

Looks like an error while patching newlib. Not knowing much about Xen, I'm not sure where the patch comes from or why it's failing.

Offline

#9 2015-10-03 16:49:33

nonfictive
Member
Registered: 2015-10-03
Posts: 19

Re: Xen Build error

We'll thank you Scimmia I figured it out guess it turns out
it was gcc I needed gcc-multilib for compiling it, I will mention that
in the actual aur to help others.

Offline

#10 2015-10-05 11:21:15

folatt
Member
Registered: 2015-08-01
Posts: 96

Re: Xen Build error

What do you mean by "it was gcc". What exactly did you do?

Stuck on the same issue here.

[EDIT] Oh, you installed gcc-multilib with pacman. [/EDIT]

Last edited by folatt (2015-10-05 11:29:19)

Offline

#11 2015-10-05 12:02:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,386
Website

Re: Xen Build error

Please read the wiki when you run into issues.  Actually if you read it *first*, you wont run into issues:

wiki wrote:

The multilib repository needs to be enabled to install Xen.

https://wiki.archlinux.org/index.php/Xe … hypervisor


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2015-10-06 09:13:38

folatt
Member
Registered: 2015-08-01
Posts: 96

Re: Xen Build error

Trilby wrote:

Please read the wiki when you run into issues.  Actually if you read it *first*, you wont run into issues:

wiki wrote:

The multilib repository needs to be enabled to install Xen.

https://wiki.archlinux.org/index.php/Xe … hypervisor

It doesn't say you need gcc-multilib.

Offline

#13 2015-10-06 10:16:31

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,986

Re: Xen Build error

Tecnically you're right, it should probably state you need to install multilib-devel group instead of "need to enable multilib"

Last edited by Lone_Wolf (2015-10-06 10:18:56)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#14 2015-10-06 11:46:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,386
Website

Re: Xen Build error

Yes, it seems you are right.  That part is an error in the PKGBUILD which should list the proper makedepends.  It has a conditional to add lib32-glibc to the depends array, but it doesn't add lib32-gcc to the makedepends.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB