Not able to do the "make" process for TrueNAS Scale

Hi,

When I try to do the “make“ after clone the TrueNAS Scale code on my VM, I always get this problem:

2024-12-18 14:15:39] Updating of git repo ‘python3’ (using branch ‘master’) complete
[2024-12-18 14:15:40] Updating of git repo ‘truenas_audit_rules’ (using branch ‘master’) complete

[2024-12-18 14:18:40] Failed cmd ‘git clone --recurse
./sources/truenas’ with error ‘’ with returncode ‘128’. Check ‘git/truenas’ for details.
[2024-12-18 14:18:40] Retrying to checkout git repo ‘truenas’ (using branch ‘master’) (./logs/git/truenas.log)
[2024-12-18 14:19:13] Failed cmd ‘git clone --recurse ./sources/truenas’ with error ‘’ with returncode ‘128’. Check ‘git/truenas’ for details.
[2024-12-18 14:19:13] Retrying to checkout git repo ‘truenas’ (using branch ‘master’) (./logs/git/truenas.log)
[2024-12-18 14:24:01] Failed cmd 'git clone --recurse

./sources/kernel’ with error ‘’ with returncode ‘128’. Check ‘git/kernel’ for details.
[2024-12-18 14:24:01] Retrying to checkout git repo ‘kernel’ (using branch ‘truenas/linux-6.12’) (./logs/git/kernel.log)

And if I try to use the master branch, it shows like this:

bowen

18 hours ago

root@debian:/home/admin123/文档/test/scale-build# TRUENAS_BRANCH_OVERRIDE=“master” make iso
. ./venv-af1435d/bin/activate && scale_build iso
[2024-12-18 14:57:58] System state Validated
[2024-12-18 14:57:58] Manifest Validated
[2024-12-18 14:57:58] Dataset schema Validated
[2024-12-18 14:57:58] Data directory schema Validated
Traceback (most recent call last):
File “/home/admin123/文档/test/scale-build/venv-af1435d/bin/scale_build”, line 33, in
sys.exit(load_entry_point(‘scale-build==0.0.0’, ‘console_scripts’, ‘scale_build’)())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/admin123/文档/test/scale-build/venv-af1435d/lib/python3.11/site-packages/scale_build-0.0.0-py3.11.egg/scale_build/main.py”, line 92, in main
build_iso()
File “/home/admin123/文档/test/scale-build/venv-af1435d/lib/python3.11/site-packages/scale_build-0.0.0-py3.11.egg/scale_build/iso.py”, line 20, in build_iso
return build_impl()
^^^^^^^^^^^^
File “/home/admin123/文档/test/scale-build/venv-af1435d/lib/python3.11/site-packages/scale_build-0.0.0-py3.11.egg/scale_build/iso.py”, line 30, in build_impl
if not os.path.exists(update_file_path()):
^^^^^^^^^^^^^^^^^^
File “/home/admin123/文档/test/scale-build/venv-af1435d/lib/python3.11/site-packages/scale_build-0.0.0-py3.11.egg/scale_build/image/manifest.py”, line 79, in update_file_path
return os.path.join(RELEASE_DIR, f’TrueNAS-SCALE-{version or get_image_version()}.update’)
^^^^^^^^^^^^^^^^^^^
File “/home/admin123/文档/test/scale-build/venv-af1435d/lib/python3.11/site-packages/scale_build-0.0.0-py3.11.egg/scale_build/image/manifest.py”, line 71, in get_image_version
raise CallError(f’{RELEASE_MANIFEST!r} does not exist’)
scale_build.exceptions.CallError: ‘./tmp/release/manifest.json’ does not exist
make: *** [Makefile:33:iso] 错误 1
root@debian:/home/admin123/文档/test/scale-build#

Could someone help me about this?

Thanks and BR,

Bowen

1st of all, why are you trying to do this?

This is mostly a forum for TrueNAS users… or developers trying to contribute code.

Hi, yes, I want to do some contribute for the code. Firstly, I need to run the code on my own VM, then I can do some change to the code. I am not sure how to run the TrueNAS Scale. So I just follow the readme file. Do you know how to run the code on VM? I do need some help about this. Thanks.

What contributions do you want to make?

No matter what I want to do, I need to try and I also need to make the code run successfully on my VM. Do you know how to do this?

WE do help contributors… we don’t help pirates.

If we can’t tell the difference, what should we do?

This software is opensource right? What I do is just follow the readme file and ask questions.

Did you get a successful run of make checkout first? The formatting here is difficult, and it looks like that failed to do git checkouts originally.

If that passes, then make packages next, you don’t run make iso until the very last steps.

no. When I try make checkout, it usually stacked in the middle. The log shows this:
[2024-12-22 20:08:11] Checkout of git repo ‘openzfs’ (using branch ‘truenas/zfs-2.3-release’) complete
[2024-12-22 20:08:54] Failed cmd ‘git clone --recurse ****git hub. com /truenas/samba ./sources/truenas_samba’ with error ‘’ with returncode ‘128’. Check ‘git/truenas_samba’ for details.
[2024-12-22 20:08:54] Retrying to checkout git repo ‘truenas_samba’ (using branch ‘SCALE-v4-20-stable’)
Do you know how to solve this problem?
Thanks