Jump to content
30960 posts in this topic

Recommended Posts

36 minutes ago, MakAsrock said:

I found and fixed all the errors that were known to me at the time of Slice's publication and I am not against your wonderful work. I just don't want to install this wonderful Homebrew because it broke my Steam Wine for Gothic and since then I have not used it. This is not an attack, but a bug report. All versions of buildmt fixed that I wrote for Slice, a new clean version of cbuildme, a version with pbuildme patches and just a spare pbuildme are posted on my github.

I am trying out your app with macOS Sequoia 15.6.1.

  • Like 2
9 hours ago, Max.1974 said:

 

I honestly feel very frustrated for not being able to figure this out. I analyzed six logs and the same system here with very similar hardware was already showing problems. But I want to make it clear that it’s not necessary to compile on your machine — this isn’t like a kext or other programs. Clover is in a different situation: the compilation from GitHub is superior to what we can build ourselves. No matter how advanced the hardware is, we don’t have control over what is or isn’t installed on your system.

 

If it’s a clean installation, let the tools chosen by the bash script install themselves. The Clover build available for download in the actions folder is much more advanced and comes with very high-end tools.

So I really can’t analyze it unless I know exactly how you installed it. And I’m sorry — honestly, I wouldn’t be able to help without you telling me the types of installers you used, the Python version, where you installed Homebrew, and whether you are replacing the build or not. Please test these versions. But they have already shown errors on other machines, maybe you can try another versions. Would you like to test? 

 

 

 

 

Clover Builder v8.zip 1.75 MB · 7 downloads

 

Fixes for some machines:

 

REPLY=""
SUDO_PASSWORD=""

 

if [ ! -d "$REPO_DIR/.git" ] || [ "${REPLY:-}" = "y" ]; then

 

if [ -n "$SUDO_PASSWORD" ] && echo "$SUDO_PASSWORD" | sudo -S ... 

 

"unbound variable" in line 279

 

 

 

@Max.1974 It works well, my friend.

Spoiler

2568-09-0122_49_32.thumb.png.c2e4ef08e66c4fc50d94f952b41b9a3a.png2568-09-0122_52_36.thumb.png.2eabb7a60231eb251044cc4cc987360e.png2568-09-0122_54_04.png.aae290b49e1c0185748ab3f6c0295891.png

 

Edited by naiclub
  • Thanks 1

Guys, how can I will choose between you? May be you will create 3-4-9-100 different scripts and let users to choose?

I should notice that @chris1111 has a priority in scripts writing and he has an access to Clover's github repository. 

  • Like 4
  • Thanks 2
5 hours ago, Alpha22 said:

@MakAsrock It won't fill in, it gives error. Can you check it?

Output di Terminale .txt.zip 15.55 kB · 2 downloads

And which buildme did you run? If you fulfilled the requirements and do not use third-party source file patchers, then it will not compile. Slice is aware. For now, I will advise compiling with pbuildme, which adds the necessary patches.
Here are also the requirements for compilation under the latest versions of MacOS:

1.Download Clover

cd ~
mkdir src
cd src
git clone --recurse-submodule https://github.com/CloverHackyColor/CloverBootloader.git
cd CloverBootloader

2. Download and install Python 3.13.7
3. Set a link for python

cd /Library/Frameworks/Python.framework/Versions/3.13/bin/
sudo ln -s python3.13 python
cd-

4.Install tools
pip3 install setuptools

pip3 install update

5. make -C BaseTools "BUILD_CC=clang"

6. ./buildme

Edited by MakAsrock
  • Like 2
2 hours ago, Slice said:

Guys, how can I will choose between you? May be you will create 3-4-9-100 different scripts and let users to choose?

I should notice that @chris1111 has a priority in scripts writing and he has an access to Clover's github repository. 

 

Thanks @Slice , @chris1111   is more qualified and experienced, we are just beginners. Surely, my friend, he would be ideal in these cases. Here we are just giving a small support. Thanks for the full effort, from MakAsrock and Chris1111.

4 hours ago, naiclub said:

@Max.1974 It works well, my friend.

  Hide contents

2568-09-0122_52_36.thumb.png.2eabb7a60231eb251044cc4cc987360e.png

 

 

@naiclub So glad to help you my friend, God bless you!! ;) 

  • Like 1

hi @MakAsrock You and @Max.1974 did a great job.

 

If this is the script cbuildme you want to use to replace buildme, adjust it without the CloverConfigPlistValidator, as it is obsolete.
Please make all the necessary adjustments, and I will replace buildme with your script in the clover source.

Make sure the script is fully operational as I don't want to make any more corrections.

Please telling me when its ready

Thank you

 

EDIT *****

@MakAsrock Why your not Fork the Clover and Fork the OpenCorePkg repos then apply all change you whant to correct then make a Pull Request

I will see and merge the PR 

 

THIS is more easy like this 

Thank you

Edited by chris1111
  • Like 5

 

 

@MakAsrock Why your not Fork the Clover and Fork the OpenCorePkg repos then apply all change you whant to correct then make a Pull Request

I will see and merge the PR 

 

THIS is more easy like this 

Thank you

 

 

Edited by chris1111
Fork
  • Like 4
2 hours ago, chris1111 said:

hi @MakAsrock You and @Max.1974 did a great job.

 

If this is the script cbuildme you want to use to replace buildme, adjust it without the CloverConfigPlistValidator, as it is obsolete.
Please make all the necessary adjustments, and I will replace buildme with your script in the clover source.

Make sure the script is fully operational as I don't want to make any more corrections.

Please telling me when its ready

Thank you

 

EDIT ****

@MakAsrock Why your not Clone the Clover and Clone the OpenCorePkg repos then apply all change you whant to correct then make a Pull Request

I will see and merge the PR 

 

THIS is more easy like this 

Thank you

I did what you asked. I won't do anything else today, because sometimes I need a rest too. I found that nothing compiles in the freshly downloaded CloverBootloader, but if you run pbuildme once and exit it, then critical patches are applied and everything goes fine. As for the errors, I think I fixed them earlier. Now I just deleted part of the code. But don't rush yet. I'm still testing. As for repositories, I haven't fully figured out how to make them work with a team yet.

  • Like 2
1 hour ago, MakAsrock said:

I did what you asked. I won't do anything else today, because sometimes I need a rest too. I found that nothing compiles in the freshly downloaded CloverBootloader, but if you run pbuildme once and exit it, then critical patches are applied and everything goes fine. As for the errors, I think I fixed them earlier. Now I just deleted part of the code. But don't rush yet. I'm still testing. As for repositories, I haven't fully figured out how to make them work with a team yet.

Ive test your fix then it work

To FORK the repos just do this

 

 

https://github.com/CloverHackyColor/CloverBootloader

 

image.thumb.png.e660a6dd4b3830f9c977d772c6350339.png

 

 

 

https://github.com/CloverHackyColor/OpenCorePkg

 

image.thumb.png.78cbac981b9ad738ca238999b05f8db7.png

 

Apply your change then make a pull request

 

image.thumb.png.58f9a93b540b00164aff5a8b0faa2261.png

 

 

image.thumb.png.aca4be6e59f22985e4b3ec4033659cd6.png

Edited by chris1111
  • Like 5
8 hours ago, MakAsrock said:

...I found that nothing compiles in the freshly downloaded CloverBootloader...

@MakAsrock

Hi

Are you sure ? Below builds without any of your edits or Max.1974 either. Only with components I use for years.

Spoiler

 

Capturedecran2025-09-02a10_35_30.png.39baad3446650835f34d51852249c4be.png

 

Capturedecran2025-09-02a10_39_04.png.58e8183e01116a20b1ab1eb4acc7da7c.png

Regards
  • Like 2
1 hour ago, matxpa said:

@MakAsrock

Hi

Are you sure ? Below builds without any of your edits or Max.1974 either. Only with components I use for years.

  Reveal hidden contents

 

Capturedecran2025-09-02a10_35_30.png.39baad3446650835f34d51852249c4be.png

 

Capturedecran2025-09-02a10_39_04.png.58e8183e01116a20b1ab1eb4acc7da7c.png

Regards

I can do it too. 😉

 

17 hours ago, Slice said:

Guys, how can I will choose between you? May be you will create 3-4-9-100 different scripts and let users to choose?

I should notice that @chris1111 has a priority in scripts writing and he has an access to Clover's github repository. 

It's up to you to decide. You're the author! 🙂

  • Like 3
17 hours ago, matxpa said:

@MakAsrock

Hi

Are you sure ? Below builds without any of your edits or Max.1974 either. Only with components I use for years.

  Hide contents

 

Capturedecran2025-09-02a10_35_30.png.39baad3446650835f34d51852249c4be.png

 

Capturedecran2025-09-02a10_39_04.png.58e8183e01116a20b1ab1eb4acc7da7c.png

Regards

@matxpa Can I have your script? I saw your picture showing 5164, but mine is 5163.
Thank you.

  • Like 2
37 minutes ago, Max.1974 said:

 

Version 5164 may contain local commits that the developer has not yet shared in the official repository. 

Since these are custom builds (note the _local in the name), they are not publicly available yet.

For the community to benefit, it would be great if the patches were published or at least a description of the implemented modifications...

The compilation was done with Xcode, and that’s why the size is 1.8MB, larger than with GCC, as in option 9. I can post for you a version that compiles fully with Xcode.

As I just tested, but it will keep the same 5163 version numbering and that won’t change until the official commits are made.

 

GCC (Option 2):

Size: ~1.6MB

Advantage: Smaller, faster

Use: Development/Production

 

Xcode (Option 9):

Size: ~1.8MB

Advantage: macOS integration, more features

Use: Specific tests, compatibility

 

Compiled version: Kept 5163 official, no modifications.

Commit: 2fa933ee6 (latest official)

 

Expected Differences:

GCC (option 2): ~1.5-1.6MB (more optimized)

Xcode (option 9): ~1.7-1.8MB (more features)

 

MD5 (sym/Clover_r5163.pkg) = dc15e5b4234581b605093eb49e6f59b9

 

CapturadeTela2025-09-03s05_26_51.thumb.png.8718d34b7822bb36ee323f907e5a4f59.png

 

 

Thank you very much, my dear friend. You are a very kind person, and you like to help many people. You answered my questions very clearly.

  • Like 2
38 minutes ago, naiclub said:

Thank you very much, my dear friend. You are a very kind person, and you like to help many people. You answered my questions very clearly.

Thanks my friend, God bless you!! ;) 

  • Like 4
19 hours ago, Max.1974 said:

Thanks my friend, God bless you!! ;) 

Thanks for the cool utility! Do you want it without Homebrew?
You can do it like this:
curl -sLq https://www.python.org/ftp/python/3.13.7/python-3.13.7-macos11.pkg -o python.pkg
Then:
sudo installer -pkg python.pkg -target /
This won't display any windows, it'll just ask for a password.

  • Like 2
  • Thanks 1
33 minutes ago, Max.1974 said:

Thanks my friend. I’m so glad to help. I’m trying understand better your point about it. I’m using Anaconda Python 3.9.6. 

My update version is v12 now. But another’s works good. 😊 Thanks 

I didn't like that I was asked to log in to download. I am paranoid about personal data. I don't even answer calls from people who aren't in my contacts. I trust only those sites and forums that I have been using for a long time. 😉

Edited by MakAsrock
  • Like 1
  • Haha 1
3 hours ago, Max.1974 said:

 

Here you can install without login ;) 

 

How to Download and Install Anaconda/Miniconda without Login
==============================================================

1. Download Anaconda (full distribution)
----------------------------------------
- Go to the official download page (no login required):
  https://www.anaconda.com/download

- Select your operating system (Windows, macOS, Linux).

- For macOS:
  Download the .pkg installer, for example:
  Anaconda3-2025.07-MacOSX-arm64.pkg

- For Linux:
  Download the .sh installer, for example:
  Anaconda3-2025.07-Linux-x86_64.sh

- Run the installer and follow the instructions.

2. Download Miniconda (lightweight version of Anaconda)
-------------------------------------------------------
- Go to the official Miniconda download page (no login required):
  https://docs.conda.io/en/latest/miniconda.html

- Example for macOS (ARM64 / Apple Silicon):
  curl -L -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
  bash Miniconda3-latest-MacOSX-arm64.sh

- Example for Linux (x86_64):
  curl -L -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
  bash Miniconda3-latest-Linux-x86_64.sh

3. Install Conda from GitHub (source code only)
-----------------------------------------------
- Clone the conda repository (this installs only the package manager, not Anaconda packages):
  git clone https://github.com/conda/conda.git
  cd conda
  python setup.py install

4. Alternative: Micromamba (fast conda-compatible package manager)
------------------------------------------------------------------
- On macOS with Homebrew:
  brew install micromamba

- Example of creating an environment:
  micromamba create -n test python=3.13
  micromamba activate test

==============================================================
Note:
- No login is required for Anaconda/Miniconda downloads.
- Login is only required if you want to access private packages from Anaconda Cloud.

 

image.png.93b1921a627f87e6e3f9e8316157c1d0.png

 

But you don’t need to install it — python.org already provides it. I’m just busy with other commissioned projects with Anaconda. ;)

 

 

  Reveal hidden contents

CapturadeTela2025-09-04s04_40_00.thumb.png.1ad6e32afc473dce4b5bacb5e8f21e2c.png

 

CapturadeTela2025-09-04s04_42_09.thumb.png.b3e350f246321a03b2fb5ac3985dec10.png

 

I didn't find any Python 3.13 or higher there. Not at all. And version 3.9.6 doesn't meet the minimum requirements as published in Slice's explanations. Minimum version according to the instructions - 3.12 and I will never use Homebrew and similar things if they cannot be downloaded through the App Store or other trusted distributors (https://www.python.org is a trusted platform). My hack doesn't have any critical information (It's just a fun toy), but the real MacBook does and I don't want to risk it. 🙂

Build_Clover_in_Sequoia.txt

Edited by MakAsrock
  • Like 3
22 minutes ago, Max.1974 said:

 

You’re absolutely right — for Clover it’s always safer to use pure Python (the “basic” one). The project only requires very simple libraries (setuptools, wheel, six, etc.), so there’s no real benefit in using conda for this purpose.

 

In my case, the script detected Anaconda first because conda init puts its paths before the system/Homebrew ones. I actually use Anaconda for other IT tasks and data-related work, so my apps need the full suite — that’s why it showed up during detection. It worked because Clover only needs the basics, but for your use case, the official Python from python.org is definitely the best and most secure choice.

 

I only thought you didn’t use conda because you mentioned not wanting to log in anywhere, so I assumed you avoided it. My mistake — you’re right: for Clover or any basic build, the simple and official Python is always the best option. 😉

Anyway, thanks to wawa for your wonderful utilities. They are very useful in some cases. 👍🤝

For Slice and chris1111, I have completely finished checking buildme and restored the functionality of the vintage xbuildme, both of them are in my repository on GitHub.

Edited by MakAsrock
  • Like 3
  • Thanks 1
On 9/4/2025 at 10:26 PM, MakAsrock said:

For Slice and chris1111, I have completely finished checking buildme and restored the functionality of the vintage xbuildme, both of them are in my repository on GitHub.

I see you have Fork Clover , do the same for CloverHackyColor/OpenCorePkg to include critical patches for fixing GCC15 build and make Pull requests for both repository

EDIT *** Workflow works good now, so i dont think CloverHackyColor/OpenCorePkg need some update.

Edited by chris1111
Workflow works good now
  • Like 5
On 9/5/2025 at 1:47 PM, chris1111 said:

I see you have Fork Clover , do the same for CloverHackyColor/OpenCorePkg to include critical patches for fixing GCC15 build and make Pull requests for both repository

EDIT *** Workflow works good now, so i dont think CloverHackyColor/OpenCorePkg need some update.

Made forks. The only thing I don't understand is why GitHub won't let me push changes to my forks? What needs to be done for this? I see that Clover macter compiles out of the box again. Thanks to all developers! 🤝

build.log.zip

Edited by MakAsrock
  • Like 3
1 hour ago, MakAsrock said:

Made forks. The only thing I don't understand is why GitHub won't let me push changes to my forks? What needs to be done for this? I see that Clover macter compiles out of the box again. Thanks to all developers! 🤝

build.log.zip 11.76 kB · 0 downloads

I know the build is correct now, not need to commit to OpenCorePKG

You have push the change on buildme to your fork then I have accecpt the PR you have done; So I don't really understand your question?

  • Like 2
4 hours ago, chris1111 said:

I know the build is correct now, not need to commit to OpenCorePKG

You have push the change on buildme to your fork then I have accecpt the PR you have done; So I don't really understand your question?

The question was not about this, but in general when I change something locally and want to push it to my https://github.com/YBronst/CloverBootloader, it does not want to push and I have to manually make all the changes through the github editor. Pull and fetch work fine. What am I doing wrong? Writes that: fatal: Authentication failed for 'https://github.com/YBronst/CloverBootloader.git/' But the password is correct...

Edited by MakAsrock
  • Like 1
1 hour ago, MakAsrock said:

The question was not about this, but in general when I change something locally and want to push it to my https://github.com/YBronst/CloverBootloader, it does not want to push and I have to manually make all the changes through the github editor. Pull and fetch work fine. What am I doing wrong? Writes that: fatal: Authentication failed for 'https://github.com/YBronst/CloverBootloader.git/' But the password is correct...

 

I don't know what's wrong. Maybe check your "Settings" on the GitHub website. Look at "Password and authentication" or "SSH and GPG keys". I have a signing key in "SSH and GPG keys". I use Fork.app to maintain my local repositories and to push changes to GitHub repositories. It's set to use the "OAuth" authentication method. I haven't changed it in a long time so I don't remember all the steps.

 

  • Like 3
×
×
  • Create New...