On Thursday, August 25, 2016 at 3:41:51 PM UTC+2, 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 -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_pci.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_pci.o libxl_pci.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_dom.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_dom.o libxl_dom.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_exec.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_exec.o libxl_exec.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_xshelp.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_xshelp.o libxl_xshelp.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_device.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_device.o libxl_device.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_internal.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_internal.o libxl_internal.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_utils.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_utils.o libxl_utils.c 
> > > > libxl_utils.c: In function ‘libxl__remove_directory’:
> > > > libxl_utils.c:480:9: error: ‘readdir_r’ is deprecated 
> > > > [-Werror=deprecated-declarations]
> > > >          int r = readdir_r(d, de_buf, &de);
> > > >          ^~~
> > > > In file included from libxl_internal.h:25:0,
> > > >                  from libxl_utils.c:20:
> > > > /usr/include/dirent.h:183:12: note: declared here
> > > >  extern int readdir_r (DIR *__restrict __dirp,
> > > >             ^~~~~~~~~
> > > > cc1: all warnings being treated as errors
> > > > make[3]: *** 
> > > > [/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl/../../tools/Rules.mk:107:
> > > >  libxl_utils.o] Error 1
> > > > make[3]: Leaving directory 
> > > > '/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/libxl'
> > > > make[2]: *** 
> > > > [/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/../tools/Rules.mk:123:
> > > >  subdir-install-libxl] Error 2
> > > > make[2]: Leaving directory 
> > > > '/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools'
> > > > make[1]: *** 
> > > > [/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools/../tools/Rules.mk:118:
> > > >  subdirs-install] Error 2
> > > > make[1]: Leaving directory 
> > > > '/home/user/qubes-src/vmm-xen/src/xen-4.6.1/tools'
> > > > make: *** [Makefile:102: install-tools] Error 2
> > > > ==> 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
> > > > 
> > > > Any helpful suggestions are appreciated.
> > > 
> > > At least a bunch of these errors are caused by invocation of incorrect 
> > > paths (specifically, as far as I can tell all instances of 
> > > /home/user/qubes-src/ should be replaced with 
> > > /home/user/qubes-builder/qubes-src/...)
> > > Having said that, even after addressing that, I still couldn't get the 
> > > thing to work, though I haven't tried Jovan's solution yet.
> > 
> > (I mean Richard's.)
> 
> 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.

Probably. I'm on 3.2rc2, and the template is working fine here, now that it's 
built.

For reference: besides Richard's fix, I also had to do this, to get the xen 
backend to compile during make qubes-os:

sudo chroot chroot-archlinux
pacman -S base-devel base-devel

so there is an issue with the repository, which I however don't know how to 
suggest a fix for because I don't know where during the whole process the 
archlinux packages are downloaded and installed.

(found the above suggestions here -> 
https://groups.google.com/forum/#!searchin/qubes-users/autoreconf|sort:relevance/qubes-users/Qppzj4RlrlU/TlVTzp7PDAAJ
 )

-- 
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/e2da48fa-2629-4dd9-9547-b351ada2810f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to