Jump to content
30960 posts in this topic

Recommended Posts

1 hour ago, MakAsrock said:

I encountered the same error with the original makeiso, makepkg, and makeV2 on Sequoia, so I rewrote all three files, slightly changing the algorithms.
This line is to blame:
revision=$(git describe --tags $(git rev-list --tags --max-count=1))

There's an invisible character (ZERO WIDTH SPACE or similar Unicode garbage) in there. Git interprets it as part of the argument, and instead of --max-count=1 , it actually gets something like --max-count=1<invisible_character> . As a result, the strange argument "1…" is substituted, and Git complains that it's not a number.

The old script is "like the original" and only works in the "correct" environment (called from Make, macOS, with a configured PATH, in a tagged Git repository).
My new script is more self-contained and robust:
it automatically finds the repo and toolchain;
it doesn't crash without tags;
it also works on Linux;
it monitors errors more accurately.
I could have limited myself to cleaning the old scripts of invisible characters, but I decided that the new algorithms were more reliable.
Slice shouldn't be harassing me. I've been programming since the days of punch cards. It's just that with age, I've lost my concentration in large volumes of program lines. If I don't write everything at once, as I used to, I rarely make mistakes.

Снимок экрана 2025-10-03 в 06.45.11.jpg

Снимок экрана 2025-10-03 в 06.48.13.jpg

My revised makepkg includes the following changes:
PATH has been expanded to include the local toolchain/bin
Pre-build checks for all critical tools (git, msgfmt, xgettext, make, xcode-select) have been added.
Revision is now set to the safe value unknown if there are no tags.
Otherwise, the structure and style are identical to the original.
With this script, you can run the build from anywhere, and it correctly picks up the necessary tools without manually tinkering with the PATH.
In addition, I wrote a utility that does the following:
 

================ Simple File Utility ================

What would you like to do?

1) Make a file executable

2) Remove quarantine from a file

3) Clean invisible symbols (BOM / Zero-width) in a file

4) Run a script or program

5) Exit

Choose an option (1/2/3/4/5): 

MacFileHelper.zip makepkg.zip

  • Like 3

 

13 minutes ago, MakAsrock said:

My revised makepkg includes the following changes:
PATH has been expanded to include the local toolchain/bin
Pre-build checks for all critical tools (git, msgfmt, xgettext, make, xcode-select) have been added.
Revision is now set to the safe value unknown if there are no tags.
Otherwise, the structure and style are identical to the original.
With this script, you can run the build from anywhere, and it correctly picks up the necessary tools without manually tinkering with the PATH.
In addition, I wrote a utility that does the following:
 

================ Simple File Utility ================

What would you like to do?

1) Make a file executable

2) Remove quarantine from a file

3) Clean invisible symbols (BOM / Zero-width) in a file

4) Run a script or program

5) Exit

Choose an option (1/2/3/4/5): 

MacFileHelper.zip 2.61 kB · 0 downloads makepkg.zip 1.76 kB · 0 downloads

 

BOM (Byte Order Mark) - It's a special sequence of bytes at the beginning of a text file that indicates:

The file's encoding (UTF-8, UTF-16, UTF-32)

The byte order (little-endian or big-endian)

BOM Examples:

UTF-8 BOM: EF BB BF (3 bytes)

UTF-16 LE: FF FE (little-endian)

UTF-16 BE: FE FF (big-endian)

UTF-32 LE: FF FE 00 00

Why It Causes Problems:

Unix/Linux scripts expect text files without BOM. When a BOM is present:

# File with UTF-8 BOM hexdump -C file.txt 00000000 ef bb bf 31 0a |...1.| ^^^^^^^^ BOM ^^ "1"

The system reads EF BB BF 31 instead of just 31 (which is "1" in ASCII).

Result: fatal: '1': not an integer because it's trying to interpret 1 (BOM + 1) as a number.

How to Check if a File Has BOM:

# Method 1 file filename.txt # Shows: "UTF-8 Unicode (with BOM) text" # Method 2 hexdump -C filename.txt | head -1 # If it starts with "ef bb bf" = has UTF-8 BOM # Method 3 head -c 3 filename.txt | xxd

How to Remove BOM:

# Remove BOM from a file sed -i '' '1s/^\xEF\xBB\xBF//' filename.txt

In your case, some file related to Clover's version/revision likely has this invisible BOM, causing the error.

Edited by Max.1974
  • Like 2
25 minutes ago, Max.1974 said:

 

 

BOM (Byte Order Mark) - It's a special sequence of bytes at the beginning of a text file that indicates:

The file's encoding (UTF-8, UTF-16, UTF-32)

The byte order (little-endian or big-endian)

BOM Examples:

UTF-8 BOM: EF BB BF (3 bytes)

UTF-16 LE: FF FE (little-endian)

UTF-16 BE: FE FF (big-endian)

UTF-32 LE: FF FE 00 00

Why It Causes Problems:

Unix/Linux scripts expect text files without BOM. When a BOM is present:

# File with UTF-8 BOM hexdump -C file.txt 00000000 ef bb bf 31 0a |...1.| ^^^^^^^^ BOM ^^ "1"

The system reads EF BB BF 31 instead of just 31 (which is "1" in ASCII).

Result: fatal: '1': not an integer because it's trying to interpret 1 (BOM + 1) as a number.

How to Check if a File Has BOM:

# Method 1 file filename.txt # Shows: "UTF-8 Unicode (with BOM) text" # Method 2 hexdump -C filename.txt | head -1 # If it starts with "ef bb bf" = has UTF-8 BOM # Method 3 head -c 3 filename.txt | xxd

How to Remove BOM:

# Remove BOM from a file sed -i '' '1s/^\xEF\xBB\xBF//' filename.txt

In your case, some file related to Clover's version/revision likely has this invisible BOM, causing the error.

No longer contains. I did it. Clone the repository again.

Edited by MakAsrock
  • Like 2
  • Thanks 1
9 minutes ago, MakAsrock said:

No longer contains. I did it. Clone the repository again.

 

 

Hi @MakAsrock It still persists, but I believe there’s no problem using it on Tahoe Beta, as it can compile on previous macOS versions as well. If it’s only a cosmetic issue, then it’s fine. It’s running normally for me, with less than 10 seconds of boot time. ;) 

image.png.93365eeb15463da108f91c160326fe07.png

 

Captura de Tela 2025-10-03 às 02.02.55.png

Captura de Tela 2025-10-03 às 02.03.27.png

I make clean installer git 

  • Like 2
1 hour ago, Max.1974 said:

 

 

Hi @MakAsrock It still persists, but I believe there’s no problem using it on Tahoe Beta, as it can compile on previous macOS versions as well. If it’s only a cosmetic issue, then it’s fine. It’s running normally for me, with less than 10 seconds of boot time. ;) 

image.png.93365eeb15463da108f91c160326fe07.png

 

Captura de Tela 2025-10-03 às 02.02.55.png

Captura de Tela 2025-10-03 às 02.03.27.png

I make clean installer git 

Try with this.

makeV2.zip

  • Like 2

With buildme directly, compile with python 3.13.5, same warning appears. 

 

image.thumb.png.a4cc6c352b0db71f7d1429d46a35c2bd.png

 

I will show my compiler Builder in Ventura soon 

 

 

Edited by Max.1974
  • Like 2
25 minutes ago, MakAsrock said:

Friends, aren't you concerned that this error is in builder.sh? I don't have that file, and I can't reproduce the error on any macOS. This isn't a glitch with Taha or my buildme. Perhaps it doesn't reproduce for me because I don't allow HomeBrew on my computer. Ошибка исчезла после ручного удаления Python 3.13.5, HomeBrew и испорченного ими Python 3.13.7 а затем последующей установкой Python 3.13.7 с официального сайта. I haven't been able to stand HomeBrew for about 10 years now. I myself use MacPort for two programs: 7zz and Midnight Commander. So I consider this Issue closed for the time being. If anything happens, open it in the repo on GitHub and we'll figure it out.

 

Edited by MakAsrock
  • Like 2
3 hours ago, Stefanalmare said:


I had this error in Sequoia with Xcode 26.0.1.

I can’t test it on Xcode 26.1 because my Tahoe is not connected to the network. There is physically nowhere to insert a network cable.

 

Edited by MakAsrock
  • Like 2
4 hours ago, Stefanalmare said:


I had this error in Sequoia with Xcode 26.0.1.

Ok great I have also Xcode 16 in Tahoe I will test then let you know

 

EDIT*** Culprit is Xcode 26

 

Using Command Line Tools Xcode 16.4 no issue

image.png.c72c0ce6b59b26963b101258c4036729.png

 

image.png.6b552028c9f90d521c2b16c38421bfbb.png

image.png.dee06af4140be7925793ce0956d61d5d.png

 

My Xcode 16 is locate here

image.png.269a2de28af3e4e22c9740478747fe38.png

 

Edited by chris1111
  • Like 3
5 hours ago, Max.1974 said:

With buildme directly, compile with python 3.13.5, same warning appears. 

 

image.thumb.png.a4cc6c352b0db71f7d1429d46a35c2bd.png

 

I will show my compiler Builder in Ventura soon 

 

 

Thanks @Max.1974 take a look here

the culprit is Xcode 26

 

  • Like 2
  • Thanks 1
45 minutes ago, chris1111 said:

Thanks @Max.1974 take a look here

the culprit is Xcode 26

 

Please pay attention to dependency: Tahoe Xcode 26.1 requires Python 3.13.7, not 3.13.5, and not 3.13.6. I managed to use a borrowed iPhone to connect Tahu to the Router and, as always, everything is fine without errors or warnings. I used the command line tools that came with Xcode 26.1 (xcode-select version 2410) and Python 3.13.7 Well, I don’t have a network outlet in my apartment.
image.thumb.jpeg.0812b66d043fa50254bddb18dc19b77a.jpeg

Снимок экрана 2025-10-03 в 14.40.25.jpg

Снимок экрана 2025-10-03 в 15.04.22.jpg

Edited by MakAsrock
  • Like 2
  • Thanks 1

There are no problems with the command line tool 26.01 and I don't have any others!!!

Hi friends and respected author of Clover Builder v14 Tahoe version,

I wanted to provide some feedback regarding the current buildme script on macOS Tahoe:

  1. The current buildme does not support Xcode versions below 16.x and Python versions below 3.13.7.

  2. It strongly conflicts with Homebrew. Homebrew changes system paths, which buildme does not expect. The script looks for toolchain binaries only inside its own repository or two levels above in /opt/bin, ignoring Homebrew locations.

  3. I was able to reproduce the issue on Tahoe, but simply removing Homebrew and reinstalling Xcode and Python was not sufficient to fix it. The only way I managed to eliminate the errors was by reinstalling macOS 26.1.

These restrictions make the current buildme quite rigid regarding environment setup.

I would be happy if I could adapt buildme to make it work more flexibly in different environments.

Best regards, Yitzhak Bronstein.

Снимок экрана 2025-10-03 в 18.59.49.jpg

Edited by MakAsrock
  • Like 3
6 hours ago, chris1111 said:

Thanks @Max.1974 take a look here

the culprit is Xcode 26

 

 

Thanks @chris1111 my friend, you are absolutely right, using Xcode 16.4 everething compile without warnings! Thanks a lot !! 

 

https://download.developer.apple.com/Developer_Tools/Xcode_16.4/Xcode_16.4.xip

 

image.thumb.png.d030e140457bae27f36fb3efabe3b25e.png

 

CapturadeTela2025-10-03s14_40_34.thumb.png.3c1b538f1fc524792b892f4a93e94e13.png

 

CapturadeTela2025-10-03s14_38_51.png.970fdf2cc2d89e1a6ec0c8d2101fc163.png

 

 

 

@MakAsrock using basic python like Slice said on AppleLifeRu working fine too my friend. Thanks for your hard work too!! 

image.thumb.jpeg.756aaa5ec179c8500057821026ae576d.jpeg

  • Like 4
  • Thanks 1
4 hours ago, MakAsrock said:

There are no problems with the command line tool 26.01 and I don't have any others!!!

Hi friends and respected author of Clover Builder v14 Tahoe version,

I wanted to provide some feedback regarding the current buildme script on macOS Tahoe:

  1. The current buildme does not support Xcode versions below 16.x and Python versions below 3.13.7.

  2. It strongly conflicts with Homebrew. Homebrew changes system paths, which buildme does not expect. The script looks for toolchain binaries only inside its own repository or two levels above in /opt/bin, ignoring Homebrew locations.

  3. I was able to reproduce the issue on Tahoe, but simply removing Homebrew and reinstalling Xcode and Python was not sufficient to fix it. The only way I managed to eliminate the errors was by reinstalling macOS 26.1.

These restrictions make the current buildme quite rigid regarding environment setup.

I would be happy if I could adapt buildme to make it work more flexibly in different environments.

Best regards, Yitzhak Bronstein.

 

 

Thanks my friend, I will make tests as possible and report feedback here!! Thanks!! 

  • Like 2
4 hours ago, miliuco said:

@chris1111

 

OT. If I understand you well, can Xcode 16.4 be installed on Tahoe? The normal installer? Thanks. 

 

 

 

Yes you can use both Xcode

Xcode 26 and Xcode 16

see my images

Edited by chris1111
  • Like 3

Hi @chris1111 

 

Hello my dear friend, the Clover Builder was designed to update Python and also reuse binaries, avoiding the time-consuming process of downloading and reconfiguring GCC. But thank God the Git from Clover was updated — that makes things much easier for everyone. I’d like to emphasize that the tool doesn’t change the essence of Clover; it simply gives us options to update, refresh, or re-clone the Clover folder from scratch, and helps prevent common errors that occur with each Xcode or macOS change. Thank you for keeping Clover up to date. Everything compiled perfectly here.

 

:thumbsup_anim:

 

 

 

image.png.27664d0a0ae55b1fa6289fd8f172bce6.pngimage.thumb.png.935e50aaaf505fd762be9767b7c66373.png

 

CapturadeTela2025-10-04s12_16_54.thumb.png.1345c6181b3da10760d5d315dff34b2e.png

Edited by Max.1974
×
×
  • Create New...