vector sigma Posted September 23, 2019 Share Posted September 23, 2019 11 hours ago, fusion71au said: PS: I can't reply in original thread since I am not a developer thank you, 11 hours ago, fusion71au said: Notice the buildme script in Linux is not fully automatic since I still need to run source edksetup.sh in order to set correct TOOLCHAIN_DIR in /usr... The only possible explanation is that the WORKSPACE enviromet variable is already set: if [[ -z "$WORKSPACE" ]]; then export EDK_TOOLS_PATH="${PWD}"/BaseTools set +u source ./edksetup.sh BaseTools set -u cd "$CLOVERROOT" WORKSPACE="${PWD}" fi 2 hours ago, ellaosx said: @vector sigma A suggestion to your buildme. If i made a typo: ./buildme XCODE9 build: : warning: Tool chain [XCODE9] is not defined build.py... : error 4000: Not available [XCODE9] not defined. No toolchain available for build! - Failed - Build end time: 16:20:41, Sep.23 2019 Build total time: 00:00:00 then the script goes back to main selection screen. ------------------------------------------------------------------------ buildme, Clover v2.5k r5089 (SHA: 0f1bca8) TOOLCHAIN: XCODE9 (override example: './buildme XCODE8') 1) build Clover 2) make pkg 3) make iso 4) build all 5) test build (no autogen, no boot files) 6) status 7) update Clover 8) update Clover (reset changes) 9) show diff 10) open drivers directory 11) clean BaseTools 12) quit Please enter your choice: but still, the typo (XCODE9) is still defined as the current flag. I think it's better to exit the script and start over again, isnt it? I'm sorry but even if this is possible to do, I want to keep buildme as clean as possible, it is just a wrapper... 2 Link to comment Share on other sites More sharing options...
vector sigma Posted September 23, 2019 Share Posted September 23, 2019 16 hours ago, artur_pt said: hello not here gettext 0.20.1 error compiling Catalina last beta with Xcode 11 anyway if I use opt folder from Mojave, works good thanks Hi, I'm only in beta 6 and I'll try to update Catalina as soon I have time. I the meantime ensure libtool used is the one from Apple, i.e. not from brew or alike. 1 hour ago, arsradu said: Could anyone, please, replace all ftp:// calls in buildgcc with https:// calls? I can't build Clover since I can't download GCC (port restricted). I'll test it after dinner. 2 Link to comment Share on other sites More sharing options...
Matgen84 Posted September 23, 2019 Share Posted September 23, 2019 On 9/22/2019 at 11:47 AM, Matgen84 said: Hi @vector sigma @Slice Thanks a lot for last commit on Clover Template It is possible to have: Clover v2.5 RELEASE (nb_commits-last-commits) both in Installer and Read Info (Version line). On 9/22/2019 at 12:42 PM, vector sigma said: No because breaks Clover updater @vector sigma Just my stupid request: Clover v2.5_RELEASE_LastCommits.pkg or Clover v2.5_RELEASE_DateLastCommits.pkg useful for those who want to keep several Clover pkg). If it isn't possible: how to do it in a postbuild script fo example. Thanks declare -r distributionFilename="${packagename// /}_${CLOVER_VERSION}_r${CLOVER_REVISION}_${CLOVER_SHA1}.pkg" Link to comment Share on other sites More sharing options...
Slice Posted September 23, 2019 Share Posted September 23, 2019 Why not rename the package manually? 1 1 Link to comment Share on other sites More sharing options...
vector sigma Posted September 23, 2019 Share Posted September 23, 2019 (edited) 39 minutes ago, Matgen84 said: how to do it in a postbuild script fo example. Thanks #!/bin/bash # $1 = path to Clover # $2 = toolchain (XCODE8, GCC53 etc.) # This script is an expansion for buildme, and require the above arguments to be functional if [[ ! -x "${1}"/ebuild.sh ]]; then echo "can't find Clover" exit 1 fi cd "${1}"/CloverPackage make pkg mv -f sym/*.pkg sym/"Clover_v2.5k_r$(cat ${1}/vers.txt)_$(git -C ${1} rev-parse --short HEAD).pkg" Edited September 23, 2019 by vector sigma 1 Link to comment Share on other sites More sharing options...
Pene Posted September 23, 2019 Share Posted September 23, 2019 (edited) On 9/22/2019 at 1:49 PM, artur_pt said: hello with new Xcode 11 buildme is giving me this error compiling gettext gettext.make.log.txt.zip thanks That is because my patch for that from r5074/sf didn't get to github. I committed that change now to github. Try again. Edited September 23, 2019 by Pene 2 1 Link to comment Share on other sites More sharing options...
artur_pt Posted September 23, 2019 Share Posted September 23, 2019 1 hour ago, Pene said: That is because my patch for that from r5074/sf didn't get to github. I committed that change now to github. Try again. hello pene and all clover dev that last commit to git solve the issue in Catalina thanks Link to comment Share on other sites More sharing options...
arsradu Posted September 23, 2019 Share Posted September 23, 2019 Trying to build Clover from home, I'm getting this error: make: *** [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/StartupSound.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit] build.py... : error F002: Failed to build module /Users/jimmy/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE] - Failed - Build end time: 20:58:21, Sep.23 2019 Build total time: 00:00:53 Link to comment Share on other sites More sharing options...
Slice Posted September 23, 2019 Share Posted September 23, 2019 4 minutes ago, arsradu said: Trying to build Clover from home, I'm getting this error: make: *** [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/StartupSound.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit] build.py... : error F002: Failed to build module /Users/jimmy/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE] - Failed - Build end time: 20:58:21, Sep.23 2019 Build total time: 00:00:53 Sorry but the error several lines before. - Done - Build end time: 20:19:52, Sep.23 2019 Build total time: 00:03:56 Link to comment Share on other sites More sharing options...
arsradu Posted September 23, 2019 Share Posted September 23, 2019 2 minutes ago, Slice said: Sorry but the error several lines before. - Done - Build end time: 20:19:52, Sep.23 2019 Build total time: 00:03:56 Hi Slice! Yeah, I wasn't sure where to copy from.... I think this should be better. If not, I can attach the entire log as txt and that should do it. Building ... /Users/jimmy/src/CloverBootloader/Drivers/AtaAtapi/AtaAtapiPassThru.inf [X64] [CC] AhciMode [CC] AtaAtapiPassThru [CC] AutoGen [CC] Settings [CC] ComponentName set-variable: In function 'StartupSoundPlay': set-variable:175:9: internal compiler error: Segmentation fault: 11 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. make: *** [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/StartupSound.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit] build.py... : error F002: Failed to build module /Users/jimmy/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE] - Failed - Build end time: 20:58:21, Sep.23 2019 Build total time: 00:00:53 Link to comment Share on other sites More sharing options...
Pene Posted September 23, 2019 Share Posted September 23, 2019 10 minutes ago, arsradu said: Trying to build Clover from home, I'm getting this error: make: *** [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/StartupSound.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit] build.py... : error F002: Failed to build module /Users/jimmy/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE] - Failed - Build end time: 20:58:21, Sep.23 2019 Build total time: 00:00:53 Until we sort the GCC issues, you can use: ./buildme XCODE8 that will work 2 Link to comment Share on other sites More sharing options...
arsradu Posted September 23, 2019 Share Posted September 23, 2019 12 minutes ago, Pene said: Until we sort the GCC issues, you can use: ./buildme XCODE8 that will work Ok, noted. ./buildme XCODE8 does work indeed. Thank you very much! Link to comment Share on other sites More sharing options...
n.d.k Posted September 24, 2019 Share Posted September 24, 2019 I got the same problem as Pene did, ./buildme XCODE8 works just fine. Thanks! Catalina Beta 8 and Xcode 11 final. 1 Link to comment Share on other sites More sharing options...
LockDown Posted September 24, 2019 Share Posted September 24, 2019 (edited) is this normal? take note of the: Not setting time of file PATCHES (time mismatch) - gmp-6.1.2 extracting... - gmp-6.1.2 extracted - gmp-6.1.2 configure... - gmp-6.1.2 make... - gmp-6.1.2 installed in /Users/ella/src/opt/local - mpfr-4.0.2 extracting... - mpfr-4.0.2 extracted % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1577 100 1577 0 0 577 0 0:00:02 0:00:02 --:--:-- 577 patching file PATCHES Not setting time of file PATCHES (time mismatch) patching file VERSION patching file src/mpfr-impl.h patching file src/mpfr.h patching file src/version.c Edited September 24, 2019 by ellaosx Link to comment Share on other sites More sharing options...
MakAsus Posted September 24, 2019 Share Posted September 24, 2019 9 hours ago, n.d.k said: I got the same problem as Pene did, ./buildme XCODE8 works just fine. Thanks! Catalina Beta 8 and Xcode 11 final. I had the same problem as Pene did, ./buildme until executed the command: cp -R "$HOME"/src/edk2/Clover/Patches_for_EDK2/* "$HOME"/src/edk2/ With macOS Mojave 10.14.6 (18G95) and Xcode 11 (11A420a) bat ./buildme XCODE8 works fine. Then I rewrote clovergit and cloversvn. Please try both batch files, maybe they will work correctly with Catalina Beta 8 and Xcode 11 final. clovergit.zip cloversvn.zip 1 Link to comment Share on other sites More sharing options...
artur_pt Posted September 24, 2019 Share Posted September 24, 2019 hello clovergit have problems selecting clover sources thanks good hack 1 Link to comment Share on other sites More sharing options...
vector sigma Posted September 24, 2019 Share Posted September 24, 2019 1 hour ago, MakAsus said: I had the same problem as Pene did, ./buildme until executed the command: cp -R "$HOME"/src/edk2/Clover/Patches_for_EDK2/* "$HOME"/src/edk2/ With macOS Mojave 10.14.6 (18G95) and Xcode 11 (11A420a) bat ./buildme XCODE8 works fine. Then I rewrote clovergit and cloversvn. Please try both batch files, maybe they will work correctly with Catalina Beta 8 and Xcode 11 final. clovergit.zip cloversvn.zip https://github.com/CloverHackyColor/edk2.git doesn't need patches, it is already patched. 2 Link to comment Share on other sites More sharing options...
MakAsus Posted September 24, 2019 Share Posted September 24, 2019 (edited) 33 minutes ago, vector sigma said: https://github.com/CloverHackyColor/edk2.git doesn't need patches, it is already patched. Fail Сlovergit does not contain any patches bat cp -R "$HOME"/src/edk2/Clover/Patches_for_EDK2/* "$HOME"/src/edk2/ applies only to cloversvn. I had problems with ./buildme only with the SVN branch. The choice are, I made XCODE8 or GCC53 in both branches just in case. Edited September 24, 2019 by MakAsus 1 Link to comment Share on other sites More sharing options...
vector sigma Posted September 24, 2019 Share Posted September 24, 2019 12 minutes ago, MakAsus said: Fail Сlovergit does not contain any patches bat cp -R "$HOME"/src/edk2/Clover/Patches_for_EDK2/* "$HOME"/src/edk2/ applies only to cloversvn. I had problems with ./buildme only with the SVN branch. The choice are, I made XCODE8 or GCC53 in both branches just in case. I didn't mentioned the CloverBootloader repository at github, but the edk version forked by Slice on github which is already patched, used by the script among Clover at source forge. 2 Link to comment Share on other sites More sharing options...
Matgen84 Posted September 24, 2019 Share Posted September 24, 2019 37 minutes ago, MakAsus said: Fail Сlovergit does not contain any patches bat cp -R "$HOME"/src/edk2/Clover/Patches_for_EDK2/* "$HOME"/src/edk2/ applies only to cloversvn. I had problems with ./buildme only with the SVN branch. The choice are, I made XCODE8 or GCC53 in both branches just in case. @vector sigma thank you for explaining again to those who did not understand well @MakAsus look at the summary below 1 1 Link to comment Share on other sites More sharing options...
n.d.k Posted September 24, 2019 Share Posted September 24, 2019 I am kinda new and just try to understand clover version in svn and git branches, which one will be the official one? Thanks! 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted September 24, 2019 Share Posted September 24, 2019 Hi dev Team I don't understand why this commit isn't synchronized (automatically) with GitHub Repo Thanks 1 Link to comment Share on other sites More sharing options...
chris1111 Posted September 24, 2019 Share Posted September 24, 2019 30 minutes ago, Matgen84 said: Hi dev Team I don't understand why this commit isn't synchronized (automatically) with GitHub Repo Thanks Source forge is up to date at 5091 1 Link to comment Share on other sites More sharing options...
Slice Posted September 24, 2019 Share Posted September 24, 2019 Done. 3 Link to comment Share on other sites More sharing options...
SavageAUS Posted September 25, 2019 Share Posted September 25, 2019 As i think this is a misconfiguration in my clover ill post here a link to my other thread. 1 Link to comment Share on other sites More sharing options...
Recommended Posts