I cloned https://github.com/QubesOS/qubes-builder to C:\Qubes\qubes-builder
Copied windows-tools.conf as builder.conf. Changed with:
-----
NO_SIGN = 1
VERBOSE = 2
-----
Installed the latest wix and junctioned. Junction is c:\wix
Installed the latest vs2013pro and junctioned. Junction is c:\vs2013
Installed the latest python3 and junctioned. Junction is c:\py
Installed the latest mingw and installed to C:\Qubes\qubes-builder\cache\windows-prereqs\msys64
I ran mingw32.exe and installed the prerequisites: pacman -S git make p7zip diffutils tar.
I set up a .be-prepared file at C:\Qubes\qubes-builder\chroot-win7x64
-----
/c/Qubes/qubes-builder/cache/windows-prereqs/msys64/mingw32
/c/windows
/c/py
/c/wix
/c/windows/py
-----
I can download the sources: make get-sources
'make qubes' however throws the below. Appears related to wix however the error doesn't give me enough to work with. Any ideas?
-----
================================================================================
B U I L D I N F O
Items in red indicate it was automatically generated by configuration file(s)
Items in white indicate it was automatically removed by configuration file(s)
================================================================================
DISTS_VM:
win7x64,
DISTS_ALL:
win7x64,
DIST_DOM0:
win7x64,
BUILDER_PLUGINS:
builder-windows,
COMPONENTS:
builder-windows, vmm-xen-windows-pvdrivers, core-vchan-xen, windows-utils, core-qubesdb, core-agent-windows,
gui-common, gui-agent-windows, installer-qubes-os-windows-tools,
GIT_REPOS:
qubes-src/builder-windows, qubes-src/vmm-xen-windows-pvdrivers, qubes-src/core-vchan-xen,
qubes-src/windows-utils, qubes-src/core-qubesdb, qubes-src/core-agent-windows, qubes-src/gui-common,
qubes-src/gui-agent-windows, qubes-src/installer-qubes-os-windows-tools, .,
TEMPLATE:
TEMPLATE_FLAVOR_DIR:
TEMPLATE_ALIAS:
TEMPLATE_LABEL:
make[1]: Entering directory '/c/Qubes/qubes-builder'
-> Nothing to be done in builder-windows for win7x64 dom0
make[1]: Leaving directory '/c/Qubes/qubes-builder'
-> Nothing to be done in builder-windows for win7x64 vm
make[1]: Entering directory '/c/Qubes/qubes-builder'
-> Nothing to be done in vmm-xen-windows-pvdrivers for win7x64 dom0
make[1]: Leaving directory '/c/Qubes/qubes-builder'
Error: WriteFile failed => 0x3 (3)
Failed
PrivateCertStore
CertUtil: -exportPFX command FAILED: 0x80070002 (WIN32: 2)
CertUtil: The system cannot find the file specified.
make[1]: *** [/c/Qubes/qubes-builder/qubes-src/builder-windows/Makefile.windows:165: dist-prepare-chroot] Error 2
make: *** [Makefile:216: vmm-xen-windows-pvdrivers-vm] Error 1
-----