Should it take forever to install node.js using Homebrew? I've attempted several times, even leaving it running overnight, and it has never completed. I'm doing it again now in verbose mode, and it's printing endless 'clang' lines. It's not erroring out, but am I doing something wrong, or should I just use the package installer?
Running OS X 10.8 on a Retina MacBook Pro (2.4 GHz, 16 GB RAM)
Related
Recently with macos 12.6 - after running
homebrew upgrade
I was getting a prompt to install clang. I was not paying attention to the console and installed it. But it kept on happening and I kept on installing clang. As this issue might repeat I would like to share my solution
#1 - this is related to xcode unapplied update to OS 16 and it's packages. Launch Xcode and update everything requested
#2 -
xcodebuild -runFirstLaunch
You can also use this command.
Hopefully my steps will solve your issue. Couldn't find solution anywhere, so decided to share it here
After build finishes without issue, running Xcode 12.4 project's tests fail with message:
MyProject.app (10164) encountered an error (
Early unexpected exit,
operation never finished bootstrapping - no restart will be attempted. (
Underlying Error: The test runner exited with code -1 before checking in.
If you believe this error represents a bug,
please attach the result bundle at /Users/admin/Library/Developer/Xcode/DerivedData/MyApp-gczfeuobxydqjrfbdhwzpqjsseyr/Logs/Test/Test-MyApp-2021.09.29_23-12-38-+0430.xcresult
)
)
What is above message trying to mean?!
(parenthesis spacing is by me, to make human-readable)
About My System: macOS Catalina version 10.15.7 (19H2)
MacBook Pro (13-inch, Mid 2010)
Processor 2.4 GHz Intel Core 2 Duo
Memory 4 GB 1067 MHz DDR3
Graphics NVIDIA GeForce 320M 256 MB
TK;DR; Either update MacOS to latest, or downgrade Xcode to 11.7 version.
At last I found reason, seems Xcode 11.7 (or rather it's SDK), is the last version which supports running on Catalina version of MacOS
(without any manual extra effort).
But running tests for iOS device works (without macOS update).
Someone please tell Apple to improve their error messages :-(
I have installed Ubuntu Windows-Subsystem-for-Linux through Microsoft Store on my Windows 10 laptop, but it freezes randomly, for example when I run a command such as ls -l, gcc -o or even when the bash starts. What happens is that the whole bash just freezes, it doesn't run any command I type and many processes named bash, node and init appear in the Windows task manager which use close to 100% of the CPU. These processes can not be terminated through the Task Manager and they only close when I reboot the computer.
I have tried uninstalling and reinstalling Ubuntu WSL from the Microsoft Store, installing different Ubuntu WSL versions, updating Windows 10 and creating a new Windows User. This issue appeared suddenly, as some days ago everything was working fine.
When I install a .exe application in WineBottler,it shows an error "Prefix creation exited with error"
There is the error log:
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro15,2
Processor Name: Intel Core i5
Processor Speed: 2.3 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Hyper-Threading Technology: Enabled
Memory: 8 GB
Boot ROM Version: 1037.0.52.0.0 (iBridge: 17.16.10531.5.4,0)
Activation Lock Status: Enabled
###BOTTLING### Create .app...
###BOTTLING### Enabling CoreAudio, Colors, Antialiasing and flat
menus...
/Applications/WineBottler.app/Contents/Frameworks/WBottler.framework/Resources/bottler.sh: line 143:
/Applications/Wine.app/Contents/Resources/bin/wine: Bad CPU type in executable
### LOG ### Command '/Applications/Wine.app/Contents/Resources/bin/wine regedit /tmp/reg.reg' returned status 126.
###ERROR### Command '/Applications/Wine.app/Contents/Resources/bin/wine regedit /tmp/reg.reg' returned status 126.
Task returned with status 1.
EDIT (27.10.19) : It works also with Mojave but you still get a few errors. If you downgrade to High Sierra, it will work perfectly. Just be sure that you download the last STABLE Version of Wine (4.0.2) and also install winetricks.
I'm guessing you're using the last OS version (Catalina).
From what I've found so far, 32-bit program support is going away on the Mac with Catalina, and atm there is no viable solution for this issue.
RN, I'm facing the same issue.
Still, I've found some kind of a workaround. Install wine via brew, use a 64bit version of the .exe that you're trying to install, and run the following command:
wine64 <your_program.exe>
If that still doesn't work, try downgraiding to Mojave, since it's the last OS version that supports 32bit apps. (That's what I'm going to do in the next few days, and I'll come back with an update)
Hope it helps !
My application file works fine on my mac, the problem is when i try and install it on client's machine.
In the crash report I see that functions from libfreetype.dylib are causing the crash.
Is it because I have ported an incompatible dylib to client's machine? because when i compiled freetype using brew I used -universal flag.
Both the machines are Mountain Lion.
Your client machine is probably an older hardware.
Brew builds optimised code for your machine's processor by default.
This will result in occasional SIGILL when that code is run on older hardware that doesnt have the newer instruction set used for optimization.
For distrubution, you should:
brew install --build-bottle freetype
for that and any other libraries that you ship from brew