Forum > Other OS

Make build crashes


I was using fpc 3.0.4 on El Capitan, later, I installed fpc 3.2.0 on MacOS El Capitan successfully, but when I try to upgrade to 3.2.2 build doesn't work, it crashes.  Terminal shows this:

--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---    ·    ·    ·/bin/cp -fp ppc3 ppc3.tmp/bin/cp -fp ppcx64 ppcx64.tmpstrip -no_uuid ppc3.tmpstrip -no_uuid ppcx64.tmp/usr/bin/codesign --remove-signature ppc3.tmpppc3.tmp: invalid or unsupported format for signaturemake[3]: *** [cycle] Error 1make[2]: *** [compiler_cycle] Error 2make[1]: *** [build-stamp.x86_64-darwin] Error 2make: *** [fpcsrc/build-stamp.x86_64-darwin] Error 2bash-3.2#
Seems there is a problem with the signature on old macs, can anyone give me an idea how to solve this?  ( without buying a new MacBook Pro, ;) )

Found a solution, not orthodox but it works...

find on ./compiler/Makefile on lines 4919-4921 and put in comments with #
find on ./compiler/Makefile.fpc on lines 510-512 and put comments also.

compiled, installed... ok! :)

Starting to read about codesign on terminal...

Jonas Maebe:
You can also add CODESIGN=/bin/true to the command line. Although the error message is strange.

Maybe the MacOS fp developers are not working with El Capitan.  Probably with Big Sur, Catalina or Ventura... codesign on those versions changes on terminal parameters.

Jonas Maebe:
It's not complaining about the parameters though. Maybe it's complaining about the fact that the file is not actually codesigned, so that there's no signature to remove. That case indeed works fine at least on macOS 10.14.


[0] Message Index

Go to full version