Regards,
Elias
make[1]: Leaving directory '/home/emartenson/qubes-builder'
make[1]: Entering directory '/home/emartenson/qubes-builder'
-> Building core-admin-linux (rpm_spec/core-dom0-linux.spec) for fc23 dom0 (logfile: build-logs/core-admin-linux-dom0-fc23.log)
--> Done:
qubes-src/core-admin-linux/pkgs/fc23/x86_64/qubes-core-dom0-linux-3.2.12-1.fc23.x86_64.rpm
qubes-src/core-admin-linux/pkgs/fc23/x86_64/qubes-core-dom0-linux-debuginfo-3.2.12-1.fc23.x86_64.rpm
qubes-src/core-admin-linux/pkgs/fc23/x86_64/qubes-core-dom0-linux-kernel-install-3.2.12-1.fc23.x86_64.rpm
-> Building core-admin-linux (rpm_spec/core-dom0-vaio-fixes.spec) for fc23 dom0 (logfile: build-logs/core-admin-linux-dom0-fc23.log)
--> Done:
qubes-src/core-admin-linux/pkgs/fc23/x86_64/qubes-core-dom0-vaio-fixes-1.6.1-1.fc23.x86_64.rpm
make[1]: Leaving directory '/home/emartenson/qubes-builder'
make[1]: Entering directory '/home/emartenson/qubes-builder'
make[1]: Leaving directory '/home/emartenson/qubes-builder'
-> Building core-agent-linux (rpm_spec/core-vm.spec) for fc23 vm (logfile: build-logs/core-agent-linux-vm-fc23.log)
--> Done:
qubes-src/core-agent-linux/pkgs/fc23/x86_64/python2-dnf-plugins-qubes-hooks-3.2.16-1.fc23.x86_64.rpm
qubes-src/core-agent-linux/pkgs/fc23/x86_64/python3-dnf-plugins-qubes-hooks-3.2.16-1.fc23.x86_64.rpm
qubes-src/core-agent-linux/pkgs/fc23/x86_64/qubes-core-vm-3.2.16-1.fc23.x86_64.rpm
qubes-src/core-agent-linux/pkgs/fc23/x86_64/qubes-core-vm-debuginfo-3.2.16-1.fc23.x86_64.rpm
qubes-src/core-agent-linux/pkgs/fc23/x86_64/qubes-core-vm-systemd-3.2.16-1.fc23.x86_64.rpm
qubes-src/core-agent-linux/pkgs/fc23/x86_64/qubes-core-vm-sysvinit-3.2.16-1.fc23.x86_64.rpm
-> Building core-agent-linux (rpm_spec/core-vm-doc.spec) for fc23 vm (logfile: build-logs/core-agent-linux-vm-fc23.log)
--> Done:
qubes-src/core-agent-linux/pkgs/fc23/noarch/qubes-core-vm-doc-3.2.16-1.noarch.rpm
make[1]: Entering directory '/home/emartenson/qubes-builder'
-> Building linux-kernel (kernel.spec) for fc23 dom0 (logfile: build-logs/linux-kernel-dom0-fc23.log)
--> Done:
qubes-src/linux-kernel/pkgs/fc23/x86_64/kernel-4.4.55-11.pvops.qubes.x86_64.rpm
qubes-src/linux-kernel/pkgs/fc23/x86_64/kernel-devel-4.4.55-11.pvops.qubes.x86_64.rpm
qubes-src/linux-kernel/pkgs/fc23/x86_64/kernel-qubes-vm-4.4.55-11.pvops.qubes.x86_64.rpm
make[1]: Leaving directory '/home/emartenson/qubes-builder'
make[1]: Entering directory '/home/emartenson/qubes-builder'
-> Building artwork (qubes-artwork.spec) for fc23 dom0 (logfile: build-logs/artwork-dom0-fc23.log)
--> build failed!
make[2]: Entering directory '/home/emartenson/qubes-builder'
/home/emartenson/qubes-builder/qubes-src/builder-fedora//update-local-repo.sh fc23
sudo BACKEND_VMM=xen chroot /home/emartenson/qubes-builder/chroot-fc23 sh -c 'cd /home/user/qubes-src/artwork; dnf --refresh -y update'
Dependencies resolved.
Nothing to do.
Complete!
sudo BACKEND_VMM=xen chroot /home/emartenson/qubes-builder/chroot-fc23 sh -c 'cd /home/user/qubes-src/artwork; dnf builddep --allowerasing --best -y qubes-artwork.spec'
Package ImageMagick-6.9.2.7-1.fc23.x86_64 is already installed, skipping.
Package netpbm-progs-10.75.99-1.fc23.x86_64 is already installed, skipping.
No matching package to install: 'qubes-utils >= 3.9.0'
Not all dependencies satisfied
Error: Some packages could not be found.
/home/emartenson/qubes-builder/qubes-src/builder-fedora/Makefile.fedora:106: recipe for target 'dist-build-dep' failed
make[2]: *** [dist-build-dep] Error 1
make[2]: Leaving directory '/home/emartenson/qubes-builder'
Makefile.generic:147: recipe for target 'packages' failed
make[1]: *** [packages] Error 1
make[1]: Leaving directory '/home/emartenson/qubes-builder'
Makefile:221: recipe for target 'artwork-dom0' failed
make: *** [artwork-dom0] Error 1
How did you get your builder.conf file? The build order is important
and it looks as if you are trying to build artwork before you have
built qubes-utils.
You can either comment out artwork for the moment, build the rest and
then build artwork or rejig the order in builder.conf, and try the build
again.
Strange because the builder.conf there has linux-utils as entry before
artwork.
Did you succesfully build linux-utils?Â
There is a version issue here. The current qubes repo produces a qubes-utils-3.2.3 rpm (qubes-utils is built by the component 'linux-utils' which is indeed built before artwork gets built.
But somehow the artwork .spec file requires qubes-utils >= 3.9.0 (that arwork spec file is qubes-builder/qubes-src/artwork-qubes-artwork.spec)
So I changed that to >= 3.2.3 and started a fresh build. I'll post my results because I'm not sure if this fixes anything.
Sorry typo in the artwork spec filename, it should be qubes-builder/qubes-src/artwork/qubes-artwork.spec
Ok that build did not work. I'm getting the following error:
../../bin/mkpadlock.py -s 36 -c 0xcc0000 devices/appvm-red.png
Traceback (most recent call last):
File "../../bin/mkpadlock.py", line 25, in <module>
import qubesimgconverter
ImportError: No module named qubesimgconverter
../Makefile.common:39: recipe for target 'devices/appvm-red.png' failed
make[2]: *** [devices/appvm-red.png] Error 1
make[2]: Leaving directory '/home/user/qubes-src/artwork/icons/36x36'
Makefile:4: recipe for target 'all' failed
make[1]: *** [all] Error 1
Which tells us that we probably really do need version 3.9.0 of qubes-tools.
> Ok that build did not work. I'm getting the following error:
>
> ../../bin/mkpadlock.py -s 36 -c 0xcc0000 devices/appvm-red.png
> Traceback (most recent call last):
> File "../../bin/mkpadlock.py", line 25, in <module>
> import qubesimgconverter
> ImportError: No module named qubesimgconverter
> ../Makefile.common:39: recipe for target 'devices/appvm-red.png' failed
> make[2]: *** [devices/appvm-red.png] Error 1
> make[2]: Leaving directory '/home/user/qubes-src/artwork/icons/36x36'
> Makefile:4: recipe for target 'all' failed
> make[1]: *** [all] Error 1
>
> Which tells us that we probably really do need version 3.9.0 of qubes-tools.
Where can that version be found? Looking at the latest master of qubes-linux-utils, it only contains version 3.2.3:
https://github.com/QubesOS/qubes-linux-utils/blob/master/version
Regards,
Elias
Yes, and that is what surprises me as well. The relevant source has not been touched in a while. I've looked, but I don't know why the build breaks.
All I know for a fact is what you said, it asks for 3.9.0 and delivers 3.2.3 at the master branch. And that the relevant source files all have not been changed recently.
> Yes, and that is what surprises me as well. The relevant source has not been touched in a while. I've looked, but I don't know why the build breaks.
>
> All I know for a fact is what you said, it asks for 3.9.0 and delivers 3.2.3 at the master branch. And that the relevant source files all have not been changed recently.
The spec file was updated from 2.0.10 to 3.9.0 as of commit 9780a95a0ad20b63f2da401f108f2dcb3511554b. The interesting thing is that the commit was on the 17'th December 2015. This is more than half a year before the most recent ISO images were built.
I really have no idea what the cause for this could be.
Regards,
Elias
Ah okay, so all we have to do is specify 'releng3.2' into github or something to build the R3.2 branch?
Ah, problem solved. In the web build documentation it says to:
cp example-configs/qubes-os-master.conf builder.conf
if you instead do:
cp example-configs/qubes-os-r3.2.conf
you get a better branch. I'm currently trying to build that
I have now a new shiny ISO, so this works. Isn't it a bug in the website documentation that they recommend building from the master branch?
I'm building it myself at the moment. I'm wondering if what I'll be getting is something identical to the release image that you can download?
My goal with all of this is to build an image that contains the most recent release in the image, so that I might be able to escape the Catch-22 situation where I need the network in order to download the update so I can use the network.
The build procedure does not give an identical iso:
$ sha256sum ../Qubes-R3.2-x86_64.iso Qubes-DVD-x86_64-20170324.iso
6b998045a513dcdd45c1c6e61ace4f1b4e7eff799f381dccb9eb0170c80f678a ../Qubes-R3.2-x86_64.iso
b51b6aa9e468eacf279b6932d4a1b615495ae38fe458b92143be98ddd57c84ac Qubes-DVD-x86_64-20170324.iso
They won't be identical until we achieve reproducible builds:
https://github.com/QubesOS/qubes-issues/issues/816