Closed vitalz closed 4 years ago
@vitalz
As a workaround a user has to change Homebrew/Library/Homebrew/hardware.rb (a file also might depend on brew version) to use :core2 instead of :nehalem and then has to run brew install with --build-from-source or -s flag only.
And, further, it may be necessary to build dependencies from source; and build the dependencies of the dependencies from source, and so on and so forth.
Q: Do you know how to do build the "dependency hierarchy" from source in a more concise way than manually checking for dependencies and building?
@SolidStill If you have already improperly installed packages you need to run at least something like:
brew install -s $(brew list)
But as far as I remember there is also brew reinstall command option. Need to check docs.
Your issues with docker is because your CPU does not support newer virtualization CPU instruction sets.
Your comment has also been closed because it counts as off-topic according to the community guidelines which state that GitHub issues are for patcher code-related problems only.
@LogoiLab This issue is not about Docker/Homebrew. This is about README.md file of Catalina patch: at least, it should tell end-users like in one or two sentences that a user will need well-known workarounds for these popular software products.
@vitalz A user should be aware of their hardware's limits. This particular issue is seen across every operating system, on thousands of different devices. This is not a "just the patcher" issue. Most if not all virtualization applications tell you about this compatibility issue up front.
@SolidStill
brew example for MacBook Pro 2009 17":
brew install --build-bottle --bottle-arch=core2 docker
But it is a problem to maintain brew packages because when a being install package (a bottle) has dependences then these deps need to be built and installed before this package installation.
Use MacPorts instead of brew because it uses different architecture concept: it builds a package on a machine where it is being installed. As a matter of fact I have had much better experience with Ports on patched OSX.
Update patch manual: add instruction/mention on Homebrew and Docker.
Some Homebrew packages will not install normally: for example, popular python and pip will fail to install and even might cause os system failure. (Seems openssl package will be also broken.) As a workaround a user has to change Homebrew/Library/Homebrew/hardware.rb (a file also might depend on brew version) to use :core2 instead of :nehalem and then has to run brew install with --build-from-source or -s flag only.
Docker Desktop doesn't run CPU with no hypervisor (for example, Core 2 Duo). In this case users have to use docker-machine with virtualbox. This works.
Nothing of that is mentioned anyhow in OS Patch manual.