[qubes-users] Re: Building Archlinux Template Error

2016-08-28 Thread 'Jovan Miloskovski' via qubes-users
On Thursday, August 25, 2016 at 1:41:51 PM UTC, richar...@gmail.com wrote:
> On Wednesday, August 24, 2016 at 3:15:09 PM UTC+1, Foppe de Haan wrote:
> > On Wednesday, August 24, 2016 at 4:14:12 PM UTC+2, Foppe de Haan wrote:
> > > On Thursday, August 18, 2016 at 6:40:42 PM UTC+2, Jovan Miloskovski wrote:
> > > > Hi,
> > > > I'm really learning all of this template building stuff right now but 
> > > > I've stumbled upon an error in the Archlinux qubes template building 
> > > > process I can't find a solution for.
> > > > Here is the segment of the error in my terminal output:
> > > > 
> > > > -> Building vmm-xen (archlinux) for archlinux vm (logfile: 
> > > > build-logs/vmm-xen-vm-archlinux.log)
> > > > --> build failed!
> > > > gcc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe 
> > > > -fstack-protector-strong -O2 -fomit-frame-pointer -m64 
> > > > -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
> > > > -Wdeclaration-after-statement -Wno-unused-but-set-variable 
> > > > -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer -m64 
> > > > -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
> > > > -Wdeclaration-after-statement -Wno-unused-but-set-variable 
> > > > -Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF 
> > > > .subdirs-install.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -O2 
> > > > -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall 
> > > > -Wstrict-prototypes -Wdeclaration-after-statement 
> > > > -Wno-unused-but-set-variable -Wno-unused-local-typedefs   
> > > > -D__XEN_TOOLS__ -MMD -MF .subdir-install-libxl.d -D_LARGEFILE_SOURCE 
> > > > -D_LARGEFILE64_SOURCE   -O2 -fomit-frame-pointer -m64 
> > > > -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
> > > > -Wdeclaration-after-statement -Wno-unused-but-set-variable 
> > > > -Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .libxl_create.o.d 
> > > > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -Werror 
> > > > -Wno-format-zero-length -Wmissing-declarations 
> > > > -Wno-declaration-after-statement -Wformat-nonliteral -I. -fPIC -pthread 
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/libxc/include
> > > >  
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include
> > > >  
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/libxc/include
> > > >  
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include
> > > >  
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/xenstore/include
> > > >  
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include
> > > >-Wshadow -include 
> > > > /home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/config.h
> > > >   -c -o libxl_create.o libxl_create.c 
> > > > gcc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe 
> > > > -fstack-protector-strong -O2 -fomit-frame-pointer -m64 
> > > > -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
> > > > -Wdeclaration-after-statement -Wno-unused-but-set-variable 
> > > > -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer -m64 
> > > > -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
> > > > -Wdeclaration-after-statement -Wno-unused-but-set-variable 
> > > > -Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF 
> > > > .subdirs-install.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -O2 
> > > > -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall 
> > > > -Wstrict-prototypes -Wdeclaration-after-statement 
> > > > -Wno-unused-but-set-variable -Wno-unused-local-typedefs   
> > > > -D__XEN_TOOLS__ -MMD -MF .subdir-install-libxl.d -D_LARGEFILE_SOURCE 
> > > > -D_LARGEFILE64_SOURCE   -O2 -fomit-frame-pointer -m64 
> > > > -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
> > > > -Wdeclaration-after-statement -Wno-unused-but-set-variable 
> > > > -Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .libxl_dm.o.d 
> > > > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -Werror 
> > > > -Wno-format-zero-length -Wmissing-declarations 
> > > > -Wno-declaration-after-statement -Wformat-nonliteral -I. -fPIC -pthread 
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/libxc/include
> > > >  
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include
> > > >  
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/libxc/include
> > > >  
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include
> > > >  
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/xenstore/include
> > > >  
> > > > -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include
> > > >-Wshadow -include 
> > > > /home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/config.h
> > > >   -c -o libxl_dm.o libxl_dm.c 
> > > > gcc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic 

[qubes-users] Re: Building Archlinux Template Error

2016-08-28 Thread 'Jovan Miloskovski' via qubes-users
> I have built Arch Linux (and Ubuntu) templates successfully (eventually!), 
> but they won't start as the error message: "The Dom0 GUI daemon do not 
> support protocol 1:1, requested by the VM" appears. It looks like the 
> templates are being built against Qubes 3.2, whereas I'm on 3.1 here.

I succesfully built the Archlinux template with the xen-4.7 branches being set 
on vmm-xen and core-vchan-xen with a few tweaks in the series.conf file of 
vmm-xen but now I'm getting the same error as Richard. I am on Qubes R3.1.

I will keep you updated with my progress (if there is any) until I succesfully 
get this template running in Qubes R3.1.

I will look into what is causing the error. If anyone knows what is causing the 
error, then please post here.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0befc0bb-5088-4521-9c08-177c57f9adc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Building Archlinux Template Error

2016-08-20 Thread 'Jovan Miloskovski' via qubes-users
UPDATE: I solved this problem by changing the builder.conf value 
"BRANCH_vmm_xen" to equal "xen-4.7".

The bad news is that I'm getting another error:

==> Starting build()...
+ patch -s -F0 -E -p1 --no-backup-if-mismatch -i ./patches.misc/qemu-tls-1.patch
patch:  Can't open patch file ./patches.misc/qemu-tls-1.patch : No such 
file or directory
++ echo '*** patch ./patches.misc/qemu-tls-1.patch failed ***'
*** patch ./patches.misc/qemu-tls-1.patch failed ***
==> ERROR: A failure occurred in build().
Aborting...
/home/user/qubes-builder/qubes-src/builder-archlinux/Makefile.archlinux:120: 
recipe for target 'dist-package' failed
make[2]: *** [dist-package] Error 2
Makefile.generic:139: recipe for target 'packages' failed
make[1]: *** [packages] Error 1
Makefile:208: recipe for target 'vmm-xen-vm' failed
make: *** [vmm-xen-vm] Error 1

Again, any help is appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/4ac7ff77-6001-4464-a372-6182ba2af69a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Building Archlinux Template Error

2016-08-18 Thread 'Jovan Miloskovski' via qubes-users
Hi,
I'm really learning all of this template building stuff right now but I've 
stumbled upon an error in the Archlinux qubes template building process I can't 
find a solution for.
Here is the segment of the error in my terminal output:

-> Building vmm-xen (archlinux) for archlinux vm (logfile: 
build-logs/vmm-xen-vm-archlinux.log)
--> build failed!
gcc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe 
-fstack-protector-strong -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing 
-std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement 
-Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2 
-fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable 
-Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .subdirs-install.d 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -O2 -fomit-frame-pointer -m64 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
-Wdeclaration-after-statement -Wno-unused-but-set-variable 
-Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .subdir-install-libxl.d 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -O2 -fomit-frame-pointer -m64 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
-Wdeclaration-after-statement -Wno-unused-but-set-variable 
-Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .libxl_create.o.d 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -Werror -Wno-format-zero-length 
-Wmissing-declarations -Wno-declaration-after-statement -Wformat-nonliteral -I. 
-fPIC -pthread 
-I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/libxc/include
 -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include 
-I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/libxc/include
 -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include 
-I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/xenstore/include
 -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include   
-Wshadow -include 
/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/config.h  -c 
-o libxl_create.o libxl_create.c 
gcc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe 
-fstack-protector-strong -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing 
-std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement 
-Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2 
-fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable 
-Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .subdirs-install.d 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -O2 -fomit-frame-pointer -m64 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
-Wdeclaration-after-statement -Wno-unused-but-set-variable 
-Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .subdir-install-libxl.d 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -O2 -fomit-frame-pointer -m64 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
-Wdeclaration-after-statement -Wno-unused-but-set-variable 
-Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .libxl_dm.o.d 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -Werror -Wno-format-zero-length 
-Wmissing-declarations -Wno-declaration-after-statement -Wformat-nonliteral -I. 
-fPIC -pthread 
-I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/libxc/include
 -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include 
-I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/libxc/include
 -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include 
-I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/xenstore/include
 -I/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/include   
-Wshadow -include 
/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/config.h  -c 
-o libxl_dm.o libxl_dm.c 
gcc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe 
-fstack-protector-strong -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing 
-std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement 
-Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2 
-fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable 
-Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .subdirs-install.d 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -O2 -fomit-frame-pointer -m64 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
-Wdeclaration-after-statement -Wno-unused-but-set-variable 
-Wno-unused-local-typedefs   -D__XEN_TOOLS__ -MMD -MF .subdir-install-libxl.d 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -O2 -fomit-frame-pointer -m64 
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes 
-Wdeclaration-after-statement -Wno-unused-but-set-variable 
-Wno-unused-local-typedefs