Failing to compile ubuntu vm

Details:
I followed the guide linked here

but when i issue ‘make qubes-vm’ I always get this:

The package has been created.
Attention, the package has been created in the current directory,
not in “…” as indicated by the message above!
Selecting previously unselected package qubes-core-qrexec-build-deps.
(Reading database … 39089 files and directories currently installed.)
Preparing to unpack qubes-core-qrexec-build-deps_4.1.24-1_all.deb …
Unpacking qubes-core-qrexec-build-deps (4.1.24-1) …
Reading package lists…
Building dependency tree…
Reading state information…
Correcting dependencies… Done
The following additional packages will be installed:
python3-setuptools
Suggested packages:
python-setuptools-doc
The following packages will be REMOVED:
qubes-core-qrexec-build-deps
The following NEW packages will be installed:
python3-setuptools
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 330 kB of archives.
After this operation, 1457 kB of additional disk space will be used.
Get:1 Index of /ubuntu focal/main amd64 python3-setuptools all 45.2.0-1 [330 kB]
Fetched 330 kB in 1s (491 kB/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
(Reading database … 39093 files and directories currently installed.)
Removing qubes-core-qrexec-build-deps (4.1.24-1) …
Selecting previously unselected package python3-setuptools.
(Reading database … 39089 files and directories currently installed.)
Preparing to unpack …/python3-setuptools_45.2.0-1_all.deb …
Unpacking python3-setuptools (45.2.0-1) …
Setting up python3-setuptools (45.2.0-1) …
mk-build-deps: Unable to install qubes-core-qrexec-build-deps at /usr/bin/mk-build-deps line 457.
mk-build-deps: Unable to install all build-dep packages
make[2]: *** [/home/user/qubes-builder/qubes-src/builder-debian//Makefile-legacy.debian:45: dist-build-dep] Error 1
make[1]: *** [Makefile.generic:197: packages] Error 1
make: *** [Makefile:265: core-qrexec-vm] Error 1

I tried ‘make distclean’ and running again but my issue was not solved, I could not find any information pertaining to my issue on the qubes forums so any help would be much appreciated

compiling on a fedora 37 vm with 70g of storage as well as 10g of ram

I just used a pre-built one