[GH-ISSUE #18] Build error #14

Closed
opened 2026-10-26 16:39:12 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @dagbdagb on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/18

make install-deb fails for me. What did I forget?

This on debian 13.7 and with fc83321585

make[4]: Entering directory '/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0'
/usr/bin/make test ASSETS="/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0/debian/gpu-unlock-build/assets"
make[5]: Entering directory '/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0'
GPU_UNLOCK_ASSETS=/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0/debian/gpu-unlock-build/assets python3 -m unittest discover -s tests -v
test_compiled_payload_header_matches_generator (test_packaging.PackageTests.test_compiled_payload_header_matches_generator) ... ok
test_firmware_install_inventory (test_packaging.PackageTests.test_firmware_install_inventory) ... ok
test_install_uses_standard_paths (test_packaging.PackageTests.test_install_uses_standard_paths) ... install: cannot stat 'docs/STAGE1.md': No such file or directory
install: cannot stat 'docs/STAGE1-TAIL-REPLAY.json': No such file or directory
install: cannot stat 'docs/CMP-PORT-PLAN.md': No such file or directory
make[6]: *** [Makefile:71: install-dkms] Error 1
ERROR
test_native_versions_match (test_packaging.PackageTests.test_native_versions_match) ... ok
test_payload_file_is_opt_in (test_packaging.PackageTests.test_payload_file_is_opt_in) ... ok
test_pkgbuild_pins_match_manifest (test_packaging.PackageTests.test_pkgbuild_pins_match_manifest) ... ok
test_v67_payload_matches_pin (test_packaging.PackageTests.test_v67_payload_matches_pin) ... ok
test_components (test_release.ComponentTests.test_components) ... ok

======================================================================
ERROR: test_install_uses_standard_paths (test_packaging.PackageTests.test_install_uses_standard_paths)

Traceback (most recent call last):
File "/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0/tests/test_packaging.py", line 89, in test_install_uses_standard_paths
subprocess.run(["make", "-s", f"DESTDIR={directory}", "install-dkms",
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"install-mkinitcpio", "install-initramfs-tools",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"install-dracut"],
^^^^^^^^^^^^^^^^^^
cwd=ROOT, check=True)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['make', '-s', 'DESTDIR=/tmp/tmpbhvwifs2', 'install-dkms', 'install-mkinitcpio', 'install-initramfs-tools', 'install-dracut']' returned non-zero exit status 2.


Ran 8 tests in 18.150s

FAILED (errors=1)
make[5]: *** [Makefile:38: test] Error 1
make[5]: Leaving directory '/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0'
make[4]: *** [debian/rules:19: override_dh_auto_test] Error 2
make[4]: Leaving directory '/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0'
make[3]: *** [debian/rules:10: binary] Error 2
make[3]: Leaving directory '/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0'
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make[2]: *** [Makefile:128: deb] Error 2
make[2]: Leaving directory '/home/dagb/gits/gpu-unlock'
make[1]: *** [Makefile:133: install-deb] Error 2
make[1]: Leaving directory '/home/dagb/gits/gpu-unlock'
make: *** [Makefile:98: install] Error 2

Originally created by @dagbdagb on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/18 make install-deb fails for me. What did I forget? This on debian 13.7 and with fc83321585affa502436f19a9c512780ae5bad34 make[4]: Entering directory '/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0' /usr/bin/make test ASSETS="/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0/debian/gpu-unlock-build/assets" make[5]: Entering directory '/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0' GPU_UNLOCK_ASSETS=/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0/debian/gpu-unlock-build/assets python3 -m unittest discover -s tests -v test_compiled_payload_header_matches_generator (test_packaging.PackageTests.test_compiled_payload_header_matches_generator) ... ok test_firmware_install_inventory (test_packaging.PackageTests.test_firmware_install_inventory) ... ok test_install_uses_standard_paths (test_packaging.PackageTests.test_install_uses_standard_paths) ... install: cannot stat 'docs/STAGE1.md': No such file or directory install: cannot stat 'docs/STAGE1-TAIL-REPLAY.json': No such file or directory install: cannot stat 'docs/CMP-PORT-PLAN.md': No such file or directory make[6]: *** [Makefile:71: install-dkms] Error 1 ERROR test_native_versions_match (test_packaging.PackageTests.test_native_versions_match) ... ok test_payload_file_is_opt_in (test_packaging.PackageTests.test_payload_file_is_opt_in) ... ok test_pkgbuild_pins_match_manifest (test_packaging.PackageTests.test_pkgbuild_pins_match_manifest) ... ok test_v67_payload_matches_pin (test_packaging.PackageTests.test_v67_payload_matches_pin) ... ok test_components (test_release.ComponentTests.test_components) ... ok ====================================================================== ERROR: test_install_uses_standard_paths (test_packaging.PackageTests.test_install_uses_standard_paths) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0/tests/test_packaging.py", line 89, in test_install_uses_standard_paths subprocess.run(["make", "-s", f"DESTDIR={directory}", "install-dkms", ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "install-mkinitcpio", "install-initramfs-tools", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "install-dracut"], ^^^^^^^^^^^^^^^^^^ cwd=ROOT, check=True) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/subprocess.py", line 577, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['make', '-s', 'DESTDIR=/tmp/tmpbhvwifs2', 'install-dkms', 'install-mkinitcpio', 'install-initramfs-tools', 'install-dracut']' returned non-zero exit status 2. ---------------------------------------------------------------------- Ran 8 tests in 18.150s FAILED (errors=1) make[5]: *** [Makefile:38: test] Error 1 make[5]: Leaving directory '/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0' make[4]: *** [debian/rules:19: override_dh_auto_test] Error 2 make[4]: Leaving directory '/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0' make[3]: *** [debian/rules:10: binary] Error 2 make[3]: Leaving directory '/home/dagb/gits/gpu-unlock/build/deb/gpu-unlock-1.0.0' dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 make[2]: *** [Makefile:128: deb] Error 2 make[2]: Leaving directory '/home/dagb/gits/gpu-unlock' make[1]: *** [Makefile:133: install-deb] Error 2 make[1]: Leaving directory '/home/dagb/gits/gpu-unlock' make: *** [Makefile:98: install] Error 2
Author
Owner

@Zagitta commented on GitHub (Oct 23, 2026):

Sorry clanker brain farted, fixed in latest master

<!-- gh-comment-id:6375093686 --> @Zagitta commented on GitHub (Oct 23, 2026): Sorry clanker brain farted, fixed in latest master
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Zagitta/gpu-unlock#14
No description provided.