-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on macOS on brew install: #6
Comments
Just replicated locally, it seems that at least on Sonoma, sdcc 4.2 fails to build autoconf tests. sdcc 4.4 is known to work [1], so I'll bump this dependency in ngdevkit. |
SDCC 4.2 doesn't build anymore on arm macOS Sonora. Bump dependency to a version that supports this OS combination. Ref dciabrin/homebrew-ngdevkit#6
ive the same problem on my new mac with proc M3 |
how i fix it this problem please ? |
Hmmm, there was a failed run in the azure CI, and dciabrin/ngdevkit-toolchain@24799d9 doesn't seem to have landed as expected in homebrew-ngdevkit. |
i work on the dev of ghost goblins with your framework : |
OK I relaunched the previously failing CI run, and a new homebrew version for ngdevkit-toolchain has just been pushed. Same limitation as before, there is no bottle for M1*, but when installing it locally on a Mac M1, the build done by brew is now passing:
@jeromeEzDATASolutions can you maybe check on your env and confirm that the latest version now builds correctly? |
I test |
Thanks @jeromeEzDATASolutions
I'll do another round of fixes and update the issue shortly... |
It turns out the compilation of gdb and gcc is also broken with Xcode 15.2. I have prepared a patch for both so it should be ready soon. |
Fix GDB compilation issue with Xcode 15.2 Fix GCC compilation issue with Xcide 15.2 Fix GCC compilation issue on Linux with gcc 14 Tweak SDCC 4.4 compilation to disable the new unwanted backends Ref dciabrin/homebrew-ngdevkit#6
Has there been any more progress on this? I've attempted to compile on my Intel iMac running Mac OS 15.2 and get the following result:
|
@dcssrc (and @jeromeEzDATASolutions for context) so it turns out that I added support for prebuilt brew bottles for M1 machines just a couple a weeks ago [1], the doc is not yet up-to-date. @dcssrc this has a side effect for you. In order to support M1, I had to switch the CI provider from azure pipeline to github actions. However, if I read [2] correctly, github actions does not plan to provide hosted runner for recent macOS version for intel. And keeping azure and github actions is too much of hassle. So I'm afraid you won't be able to consume prebuilt bottles for intel anymore. @dcssrc In your case though, the error you're reporting seems to be that curl did not finish downloaded the sdcc source code before it could build the toolchain. Is it something that you can consistently reproduce? [1] edd050b |
@dciabrin I tried re-running the brew command and ended up with the same results. However, since you mentioned that it looked like curl didn't download all of sdcc I installed it via brew with the following results:
After ensuring that it was installed I re-ran brew install ngdevkit and ended up with this output:
While I didn't see any errors list in the output above I went looking at the referenced 01.redhadsources.com log and discovered three Errors all related to curl partially downloading binutils-2.35.2, gcc-11.4.0, and gdb-9.2. I've attached the log file (I did rename it to a txt file so GitHub would let me upload it.) The binutils error starts on line 87 and the other two follow pretty closely. However, their line numbers are 97 and 105. It's rather odd that the downloads are the issue. Since I usually don't have any problems downloading anything. Out of curiosity I decided to see if I just could compile the devkit from the cloned GitHub repo. Following the included README-macos.md file allowed me to compile everything and it does let me compile and run some of the examples. So I assume it's an issue with how brew is attempting to download using curl and/or an issue related to the fact that I'm still on Intel vs the new M-series. |
Just following the instructions step by step gives me this on a Mac Studio (M2) after issuing brew install ngdevkit ngdevkit-gngeo:
The text was updated successfully, but these errors were encountered: