Jump to content

Build_Clover.command, another Script to build standard Clover (or customized)


Micky1979
2,126 posts in this topic

Recommended Posts

So what version of Python is required?

19 hours ago, Pene said:

xcode-select --install

I already did that prior.

I have installed python 3.7.3 from homebrew and i can build again.

Edited by SavageAUS
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

Last login: Sun Jun 30 11:04:14 on ttys000

sherlocks@SherloccBookPro ~ % /Users/sherlocks/Desktop/Build_Clover.command 

xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.

Unknown Xcode version format, exiting!

sherlocks@SherloccBookPro ~ % /Users/sherlocks/Desktop/Build_Clover.command 

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Unknown Xcode version format, exiting!

sherlocks@SherloccBookPro ~ % /Users/sherlocks/Desktop/Build_Clover.command 

Unknown Xcode version format, exiting!

 

temporary for xcode beta on catalina

 

changed extract Xcode_11_Beta_2.xip

then change name from xcode_beta to xcode in Applications folder.

Build_Clover.command

  • Like 1
Link to comment
Share on other sites

3 hours ago, Sherlocks said:

Last login: Sun Jun 30 11:04:14 on ttys000

sherlocks@SherloccBookPro ~ % /Users/sherlocks/Desktop/Build_Clover.command 

xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.

Unknown Xcode version format, exiting!

sherlocks@SherloccBookPro ~ % /Users/sherlocks/Desktop/Build_Clover.command 

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Unknown Xcode version format, exiting!

sherlocks@SherloccBookPro ~ % /Users/sherlocks/Desktop/Build_Clover.command 

Unknown Xcode version format, exiting!

 

temporary for xcode beta on catalina

 

changed extract Xcode_11_Beta_2.xip

then change name from xcode_beta to xcode in Applications folder.

Build_Clover.command

 

Thanks a lot :)  I do the same change to compile under Catalina / Xcode 11 Beta, except that below (but I don't know if it is correct): 

 

case "$xcversion" in
        [4-7] | [4-6].* | 7.[0-2]*) XCODE="XCODE5"; LTO_FLAG="--no-lto";;
        7.[34]*) XCODE="XCODE5";;
        [8-10]* | 11*) XCODE="XCODE8";;
        *) printError "Unknown Xcode version format, exiting!\n"; exit 1;;
    esac

 

 

Sorry about my bad english

  • Like 1
Link to comment
Share on other sites

38 minutes ago, Matgen84 said:

 

Thanks a lot :)  I do the same change to compile under Catalina / Xcode 11 Beta, except that below (but I don't know if it is correct): 

 

case "$xcversion" in
        [4-7] | [4-6].* | 7.[0-2]*) XCODE="XCODE5"; LTO_FLAG="--no-lto";;
        7.[34]*) XCODE="XCODE5";;
        [8-10]* | 11*) XCODE="XCODE8";;
        *) printError "Unknown Xcode version format, exiting!\n"; exit 1;;
    esac

 

 

Sorry about my bad english

 

thanks.i also don't know it exactly. just temporary solution to resolve now problem. :)

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

I've recently update to Catalina beta 4 build 19A512f, and Build_Clover.command with Xcode 11 beta 2 has stopped working, this is the log of error:

 

In file included from /Users/emiliociccone/src/edk2/Clover/rEFIt_UEFI/Platform/BdsConnect.c:15:

/Users/user/src/edk2/Clover/rEFIt_UEFI/Platform/Platform.h:50:10: fatal error: 'IndustryStandard/AppleFeature.h' file not found

#include <IndustryStandard/AppleFeature.h>

         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[CC] OsxLowMemFixDrv

1 error generated.

make: *** [/Users/user/src/edk2/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/BdsConnect.obj] Error 1

 

 

build.py...

: error 7000: Failed to execute command

make tbuild [/Users/user/src/edk2/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit]

 

 

build.py...

: error F002: Failed to build module

/Users/user/src/edk2/Clover/rEFIt_UEFI/refit.inf [X64, XCODE8, RELEASE]

 

- Failed -

Build end time: 17:22:15, Jul.17 2019

Build total time: 00:00:12

 

 

o_Ops, ./ebuild.sh exited with error(s), aborting..

Link to comment
Share on other sites

21 minutes ago, mick3lson said:

I've recently update to Catalina beta 4 build 19A512f, and Build_Clover.command with Xcode 11 beta 2 has stopped working, this is the log of error:

 

In file included from /Users/emiliociccone/src/edk2/Clover/rEFIt_UEFI/Platform/BdsConnect.c:15:

/Users/user/src/edk2/Clover/rEFIt_UEFI/Platform/Platform.h:50:10: fatal error: 'IndustryStandard/AppleFeature.h' file not found

#include <IndustryStandard/AppleFeature.h>

         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[CC] OsxLowMemFixDrv

1 error generated.

make: *** [/Users/user/src/edk2/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/BdsConnect.obj] Error 1

 

 

build.py...

: error 7000: Failed to execute command

make tbuild [/Users/user/src/edk2/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit]

 

 

build.py...

: error F002: Failed to build module

/Users/user/src/edk2/Clover/rEFIt_UEFI/refit.inf [X64, XCODE8, RELEASE]

 

- Failed -

Build end time: 17:22:15, Jul.17 2019

Build total time: 00:00:12

 

 

o_Ops, ./ebuild.sh exited with error(s), aborting..

 

It seems to be a Clover commit issue (r5020). Just my opinion.

 

Post your problem in Clover discussion topic.

  • Thanks 1
Link to comment
Share on other sites

3 hours ago, xiyue said:

Clover renew of the package installer since r4983, The builder when can adapter be good?

 

Build_Clover.command is already up to date for the newest Clover package.

Capture d’écran 2019-07-23 à 07.41.44.png

Link to comment
Share on other sites

On 7/23/2019 at 1:46 PM, Matgen84 said:

 

Build_Clover.command is already up to date for the newest Clover package.

Capture d’écran 2019-07-23 à 07.41.44.png

 

I enabled the hfsplus(HFSPlus.efi) driver in the configuration file, But did not pack it into the installation package. And the AppleUISupport-64.efi and AptioMemoryFix-64.efi that have been in use for a long time have not been found in the installation package. Are they no longer supported, or are they better alternatives?

Link to comment
Share on other sites

1 hour ago, xiyue said:

 

I enabled the hfsplus(HFSPlus.efi) driver in the configuration file, But did not pack it into the installation package. And the AppleUISupport-64.efi and AptioMemoryFix-64.efi that have been in use for a long time have not been found in the installation package. Are they no longer supported, or are they better alternatives?

 

You're right. I don't see, sorry

 

Since Clover 2.5k directories and sub-directories are changing. So Build_Clover.command must be update.

Edited by Matgen84
Link to comment
Share on other sites

  • 3 weeks later...
54 minutes ago, camillionario said:

Thanks but I receive this error:

 

Captura de pantalla 2019-08-09 a las 20.01.10.png

 

Please read carefully my answer 

You'r not using 'buildme'

that error is only given by cloverbuild.command since it still have it stored into 3rd party drivers....

to avoid it USE  'buildme'   <-- find it (and Double click on it, you'll see the magic )

or edit the command and unlink the repository

Find

https://github.com/acidanthera/AptioFixPkg

Replace

https://github.com/acidanthera/AptioFixPkg

Edited by LAbyOne
Link to comment
Share on other sites

1 hour ago, LAbyOne said:

 

Por favor lea cuidadosamente mi respuesta 

No estás usando 'buildme'

ese error solo lo da cloverbuild.command ya que todavía lo tiene almacenado en controladores de terceros ...

para evitarlo USE   'buildme' <- encuéntrelo (y haga doble clic en él, verá la magia)

o edite el comando y desvincule el repositorio

Encontrar

https://github.com/acidanthera/AptioFixPkg

Reemplazar

https://github.com/acidanthera/AptioFixPkg

Thanks, but now I receive this error

455406803_Capturadepantalla2019-08-09alas22_35_26.png.9e72250b85949c8e192c20aa3e9caa1c.png

 

Link to comment
Share on other sites

12 hours ago, camillionario said:

Thanks but I receive this error:

 

Captura de pantalla 2019-08-09 a las 20.01.10.png

 

AptioFix repo is no longer available since is include in OC. The only possibility is to add directly the file to Clover (before it make PKG). I do that and it works in Build_Clover.command script.

Edited by Matgen84
  • Thanks 1
Link to comment
Share on other sites

3 hours ago, Matgen84 said:

 

El repositorio de AptioFix ya no está disponible, ya que se incluye en OC. La única posibilidad es agregar directamente el archivo a Clover (antes de que haga PKG). Hago eso y funciona en el script Build_Clover.command.

Thanks, but I was referring to this error

 

Captura de pantalla 2019-08-10 a las 11.26.06.png

  • Sad 1
Link to comment
Share on other sites

1 hour ago, camillionario said:

the error persists, even renamed the folder

 

Captura de pantalla 2019-08-10 a las 12.47.55.png

 

Try to rename po file instead

 

sorry for my bad english

Capture d’écran 2019-08-10 à 13.49.02.png

Edited by Matgen84
Link to comment
Share on other sites

2 hours ago, camillionario said:

Could you take a look at Build_clover that I use?

 

 

Build_Clover.command

 

You can try my personal Build_Clover.command script (with new Clover directories v2.5k) and BuildCloverConfig (with USEAPTIOMEMORY in it). Normally, you have AptioFixPkg repo in SRC/EDK2. 

 

Test and report

 

 

Build_Clover_Aptio.command

BuildCloverConfig.txt

  • Thanks 1
Link to comment
Share on other sites

×
×
  • Create New...