I encountered an issue while installing on Ubuntu 24.04.1 (and also Ubuntu 22). Without using the --version=22 flag, the installation failed with the error:
"Failed to apply Asterisk PR... this should be reported."
However, using the --version=22 flag, the installation was successful, even with additional options like --dahdi and --drivers.
Before discovering the solution with the --version=22 flag, I also tested on Debian 11 and Debian 12.
On Debian 11, installing without flags caused the same Asterisk PR error.
Adding the --dahdi flag on both Debian 11 and Debian 12 resulted in the error:
"Failed to apply patch modfinal.diff."
11/18/2024 8:52 PM — InterLinked
Also, are you able to post the rejects file, Makefile.modfinal.rej
?
11/18/2024 11:41 PM — sansthelavandil
https://filetransfer.io/data-package/p4asx7XG#link https://imgur.com/a/r9YIJi3
from debian11
And i just installed on ubuntu without --version flag, no errors
11/19/2024 9:02 AM — InterLinked
Thanks, that's interesting. There seem to be 3 different scenarios: one where we don't attempt the patch (as is the case with the CI), and then the case of attempting the patch and succeeding (as it does for me), and attempting and not (as it does for you).
I added some additional context in that area, are you able to rerun phreaknet update
and the install in the nonworking case with the Modfinal reject error? If you can paste the 10-20 lines leading up to that as well that would help!
11/19/2024 11:16 AM — sansthelavandil
I encountered an error when running the script initially, but after executing the phreaknet update command, the script runs without any issues. I've tested this on both Debian 11 and Debian 12. Here's the log showing the error before running phreaknet update: https://paste.interlinked.us/b4b54hqmj0.
11/19/2024 5:31 PM — InterLinked
Autoresolved by code commit on GitHub:
DAHDI Linux: Don't fail if kbuild Makefile can't be patched.
https://github.com/InterLinked1/phreakscript/commit/cb51037be7d85b6f31a1091c98edf987250e2473
You must be
11/18/2024 8:51 PM — InterLinked
I think in the latest version of PhreakScript, the first issue you encountered was resolved (if you can try
phreaknet update
and then rerun your install, that should confirm).The second issue is likely outstanding, will look into that.