-
-
Notifications
You must be signed in to change notification settings - Fork 7k
IDE hangs on compile Mac OSX Mojave #8626
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
Comments
@gvarisco any idea? Could it be due to some Mojave security policy? |
Ouch, nothing sec/policy-related that I'm familiar with. @timwilson235 hi there! Could you please open the Console application (from the Utilities folder inside your Applications folder) and check if there's anything reported after pressing 'Verify'? The utility should open to All Messages, showing the log entries for everything that's happened recently on your Mac. |
I spent most of Sunday tracking this down - and SUCCEEDED! (much to my surprise). The problem was this old LaunchAgent in /Library/LaunchAgents: com.sourceforge.macgpg2.gpg-agent.plist. In fact, it seems that if this LaunchAgent is loaded, then NO 32-bit apps will run - they just silently hang - and all the Arduino tools (avr-g++, ctags, etc.) are 32-bit (that's gonna have to get fixed soon!). I don't know the exactly how gpg-agent messes up the system; I only know that if it's loaded, Arduino won't compile, and if it's not loaded (ie moved out of the LaunchAgents folder) then Arduino works fine. So I guess this issue can be closed...although, I hope you guys are planning on making Arduino tools 64-bit, because soon they won't run at all (I expect you know this). |
We already have a bunch of open issues on 64 bit only binaries on osx and we are porting all the tools (which are a lot, btw) to the new target. Until your report, however, it was only a small annoyance (some popup window here and there, just the first time you lauched a 32 bit tool). |
@facchinm we definitely need to start working on that, but we've got still quite some time. According to Apple: The 64-bit transition for macOS and macOS apps is still underway, so final transition dates have not yet been established. But now is a good time to check with the software developer to see if 64-bit versions of your favorite titles are available. |
Maybe it's another bug then... But I'm hit by it as well. MacOS 10.14.3, Arduino 1.8.9, AVR Boards 1.6.23. Trying to compile the minimal "default sketch": void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
} Following appears in the Arduino console window:
There it gets stuck. Looking at the syslog, following entries might be of interest:
|
@fabianonline did you look to see if your Mac is running the gpg-agent LaunchAgent that was causing the problem for me? |
I have no gpg-agent running neither did I ever install one. I've unloaded all LaunchAgents in ~/Library/LaunchAgents and /Library/LaunchAgents. Now the compiling reaches the "Sketch is being compiled..." phase before hanging... |
Try compiling after booting into Safe mode, see what happens. |
Booting in safe mode led to successful compiling. Booting normally after that also led to successful compiling. Interesting. I did reboot normally in the meantime; that didn't work. Apparently there is something fixing itself by trying to compile in safe mode or something... |
Yeah, I saw some very strange behavior also when debugging this. But since compile works in safe mode, then it's probably down to SOME LaunchAgent or LaunchDaemon. Is there anything in /Library/LaunchAgents, /Library/LaunchDaemons, or ~/Library/LaunchAgents that looks particularly old? The one that was causing my problem was dated 2009 - that should've been a red flag right away. |
@gvarisco @sandeepmistry as OSX gurus, do you have any idea of what is possibly going on 🙂 ? |
Have you made sure that you dragged the app to disk? I am asking because of App Translocation, which can cause a ton of problems, and is in fact mentioned in @fabianonline's log. Here is a good explanation. However I don't have even the slightest clue how GPG could interfere with any of this, so I could be totally wrong. Plus, it seems that @timwilson235 had already moved the app out of translocation. Anyway it is worth seeing that, if you can reproduce the issue, whether dragging the app to |
Yes, the app was in /Applications. |
With 10.14.6 beta 1, I'm getting occasional serial port not found error messages from 1.8.9. |
Hey @newkton1, we're aware of it and are tracking this internally. Once I have an ETA to share I'll get back to you. |
MacOS 10.15 beta user here. I am now getting |
Same here. I need to be able to run the 10.15 beta for development but also need aurduino compiling capability. I would definitely love to help beta test 64 but OS X Arduino tools. |
Mee Tooo!! |
I got trigger happy and went the for 10.15 beta as well - |
👋 |
@facchinm thanks for sharing. It works for me on Catalina 10.15 Beta (19A512f) |
Just bought MKR 1010 Wifi and the MacOS Catalina / Arduino IDE Beta (64bit) does not find it. Board not found |
File / device "/dev/ttys000" changes to the same date & time as when the Arduino MKR 1010 Wifi is plugged in to the USB port |
@sgreensides the board not being recognized is another kind of issue. Could you try changing USB port / cable ? On OSX the board should appear as something like |
Mac OS 10.15.6, Arduino 1.8.13, ESP32 based board - seems to work. |
Closing as resolved by the completion of the transition to 64 bit binaries for macOS hosts. |
MacOS Mojave 10.14.3, Arduino IDE 1.8.8.
Can't compile ("verify") anything, as compile hangs at point "detecting libraries used". Happens with all my programs, including the simplest possible:
Tried several target boards, including the most basic Arduino/Genuino Uno.
Here is the verbose output:
The text was updated successfully, but these errors were encountered: