RE error: illegal byte sequence
Hello, when building binaries on a Mac Mini with an M2 chip I got the error RE error: illegal byte sequence at the very end of the PHP build. There are no errors in the install.log file.
Can anyone solve my problem ?
Please show the arguments passed to compile.sh
Here is the command I sent: bash compile.sh -P 5 -t mac-arm64 -j 9
Try doing ./compile.sh instead of bash compile.sh
Also, leave out the -t option, you don't need it unless you're building for a different machine
same error: sed: RE error: illegal byte sequence
I'm not able to reproduce this on an M1 MacBook. Perhaps the path you're compiling in is the issue?
I tried with a new path, and it worked! I think I know where the problem comes from. Being French, I use words with accents, hence the error "sed: RE error: illegal byte sequence" which comes from RE (probably a character not accepted by one of the compilers). Here, the name of my folder was "Développement" I renamed it to "Developpement" and it worked.
Thanks, that makes sense. I'll probably flag this on the README as a pitfall issue.
Can I close the issue ?
Leave it for now. I'll see what can be done about it later.