Hey, I was trying to build an iso, and I followed the steps in the qubes-builder guide, but I’m still unable to get past this … I’m not entirely sure where to insert the --releasever flag, as stated by the output log.
(Unrelated) I tried running the public alpha image on the ftp servers, but the xserver doesn’t start on this hardware. It works just fine on my other laptop tho. (I’m running a ryzen 4900h with amd integrated graphics, if that’s helpful)
[user@localhost qubes-builder]$ make qubes
Currently installed dependencies:
createrepo_c-0.15.11-4.fc33.x86_64
createrepo_c-0.15.11-4.fc33.x86_64
debootstrap-1.0.123-1.fc33.noarch
devscripts-2.20.4-2.fc33.x86_64
dialog-1.3-27.20200327.fc33.x86_64
dpkg-dev-1.19.7-7.fc33.noarch
git-2.28.0-1.fc33.x86_64
perl-Digest-MD5-2.55-458.fc33.x86_64
perl-Digest-SHA-6.02-458.fc33.x86_64
python3-pyyaml-5.3.1-4.fc33.x86_64
python3-sh-1.13.1-2.fc33.noarch
rpm-build-4.16.0-1.fc33.x86_64
rpmdevtools-9.2-1.fc33.noarch
make[1]: Entering directory ‘/home/user/source/qubes-builder’
[sudo] password for user:
-> Preparing fc32 build environment
Unable to detect release version (use ‘–releasever’ to specify release version)
Error: Failed to download metadata for repo ‘fedora-modular’: Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-$releasever&arch=x86_64
make[1]: *** [/home/user/source/qubes-builder/qubes-src/builder-rpm/Makefile-legacy.rpmbuilder:44: /home/user/source/qubes-builder/chroot-dom0-fc32/home/user/.prepared_base] Error 1
make[1]: Leaving directory ‘/home/user/source/qubes-builder’
make: *** [Makefile:254: vmm-xen-dom0] Error 1
I’m having no luck at all building Qubes 4.1 from main Qubes repository. Getting the same error. I’m trying to do a simple build to test compatibility (fc32 dom0 with master kernel - no other templates). After about an hour, at what I suspect is the final stage of the build, it fails.
I’ve tried building on fc32 and fc33. Same outcome.
I can confirm that I’m still getting this issue today (after running make get-sources). I also had never even downloaded qubes-builder before I cloned the repository yesterday, so my code must be fresh.
I am getting the error using the default qubes-os-r4.1.conf and running make qubes-os-iso. It seems to be triggered by any target which requires the target template-local-fcXX though.
I can also confirm that I checked the relevant file at qubes-builder/qubes-src/builder-rpm/prepare-chroot-builder for the change listed in that commit that supposedly fixed the problem, and can confirm that my line 31 says YUM_OPTS="$YUM_OPTS --releasever=${DIST_VER}"