[qubes-users] Can't build Qubes 4.0 ISO

Hello,

I got a new laptop, so new that 5.4 kernel says “unknown processor” and panics being unable to initialise APIC. I then tried a 4.1 build that uses latest kernel and it boots and installs just fine. So I’m on a quest to build Qubes 4.0 ISO that uses kernel-latest instead of the default 5.4.

Steps I’m taking:

  1. Install vanilla fedora-32 (also tried fedora-30) template

  2. sudo dnf install git createrepo rpm-build rpm-sign make python3-sh rpmdevtools rpm-sign dialog perl-open python3-pyyaml perl-Digest-MD5 perl-Digest-SHA

  3. git clone git://github.com/QubesOS/qubes-builder.git

  4. Create builder.conf that builds ISO using pre-compiled packages from repository:

VERBOSE ?= 2
BACKEND_VMM ?= xen
GIT_BASEURL ?= https://github.com
GIT_PREFIX ?= QubesOS/qubes-
RELEASE ?= 4.0
DIST_DOM0 ?= fc25
DISTS_VM ?=
BRANCH_installer_qubes_os = release4.0
USE_QUBES_REPO_TESTING=1
COMPONENTS =
installer-qubes-os
linux-yum
builder-rpm
BUILDER_PLUGINS ?= builder-rpm
USE_QUBES_REPO_VERSION = $(RELEASE)
INSTALLER_KICKSTART=/home/user/qubes-src/installer-qubes-os/conf/iso-full-online.ks

  1. make install-deps ; make get-sources

  2. In qubes-src/installer-qubes-os/conf/comps-qubes.xml I made kernel and kernel-qubes optional and kernel-latest mandatory

  3. make qubes ; make iso
    Now, whtever I do, this always fails at the same point:

2021-06-03 05:27:15,662: (600/690) kbd-2.0.3-3.fc24.x86_64
(600/690) kbd-2.0.3-3.fc24.x86_64
2021-06-03 05:27:15,709: (601/690) anaconda-tui-1000:25.20.9-17.fc25.x86_64
(601/690) anaconda-tui-1000:25.20.9-17.fc25.x86_64
2021-06-03 05:27:15,727: (602/690) anaconda-core-1000:25.20.9-17.fc25.x86_64
(602/690) anaconda-core-1000:25.20.9-17.fc25.x86_64
2021-06-03 05:27:15,910: (603/690) anaconda-gui-1000:25.20.9-17.fc25.x86_64
(603/690) anaconda-gui-1000:25.20.9-17.fc25.x86_64
2021-06-03 05:27:15,951: (604/690) anaconda-1000:25.20.9-17.fc25.x86_64
(604/690) anaconda-1000:25.20.9-17.fc25.x86_64
2021-06-03 05:27:16,182: (605/690) metacity-3.12.0-4.fc24.x86_64
(605/690) metacity-3.12.0-4.fc24.x86_64
2021-06-03 05:27:16,832: (606/690) nfs-utils-1:2.1.1-5.rc4.fc25.x86_64
(606/690) nfs-utils-1:2.1.1-5.rc4.fc25.x86_64
FATAL ERROR: python callback ??? failed, aborting!

Makefile:58: recipe for target ‘iso-installer’ failed
make[1]: *** [iso-installer] Error 1
→ build failed!
make: *** [Makefile:564: iso] Error 1

The order of the packages might be different but if always fails right after nfs-utils package. I checked and this is not a problem of memory or disk space, fedora-30 and fedora-32 produce the same result.

Am I missing something obvious or is it time to file a bug report on github?

Kind regards,
Alex