fusion71au Posted September 20, 2017 Share Posted September 20, 2017 need test: - XCODE9... of course... - test script --> https://raw.githubusercontent.com/Micky1979/Build_Clover/master/Test_Script_dont_use.command - plus the change for the tools_def.txt ErmaC @ErmaC, The Test_Script works fine to build Clover r4212 with XCODE9 in 10.12.6 and 10.13_GM17A362a. Attached is the build log for the Standard Release but Custom Macros option also built OK. Tools_def.txt with @FredWst changes was installed in ~/src/edk2/Conf and ~/src/edk2/Clover/Patches_for_EDK2/Conf. Thanks to all the devs involved . @SavageAUS, [XCODE9] not defined. No toolchain available for build! You need to update your Tools_def.txt (in ~/src/edk2/Conf and ~/src/edk2/Clover/Patches_for_EDK2/Conf) with @FredWst changes. make: *** No rule to make target `tbuild'. Stop. Try running option 3) - update Clover + force edk2 update (no building)........ before running the build (option 6). Build Log Clover r4212_XCODE9.txt.zip tools_def.txt.zip 4 Link to comment Share on other sites More sharing options...
SavageAUS Posted September 20, 2017 Share Posted September 20, 2017 @ErmaC, The Test_Script works fine to build Clover r4212 with XCODE9 in 10.12.6 and 10.13_GM17A362a. Attached is the build log for the Standard Release but Custom Macros option also built OK. Tools_def.txt with @FredWst changes was installed in ~/src/edk2/Conf and ~/src/edk2/Clover/Patches_for_EDK2/Conf. Thanks to all the devs involved . @SavageAUS, [XCODE9] not defined. No toolchain available for build! You need to update your Tools_def.txt (in ~/src/edk2/Conf and ~/src/edk2/Clover/Patches_for_EDK2/Conf) with @FredWst changes.... Using the tools_def.txt you provided i am still unable to compile with xcode 9. Running from: macOS 10.12.6 Xcode 9.0 Build version 9A235 <-------------------------------------------------- ================================================================================ Compiler settings <-------------------------------------------------- Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1 Apple LLVM version 9.0.0 (clang-900.0.37) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin <-------------------------------------------------- ================================================================================ BUILDTOOL is XCODE9 <-------------------------------------------------- ================================================================================ nasm check: <-------------------------------------------------- NASM version 2.13.01 compiled on May 1 2017 ================================================================================ gettext check: <-------------------------------------------------- found gettext at /Users/shane/src/opt/local/bin ================================================================================ boot6 <-------------------------------------------------- TOOLCHAIN_DIR: /Users/shane/src/opt/local NASM_PREFIX: /Users/shane/src/opt/local/bin/ NASM_VER: 2.13.01 Initializing workspace Loading previous configuration from /Users/shane/src/edk2/Conf/BuildEnv.sh WORKSPACE: /Users/shane/src/edk2 EDK_TOOLS_PATH: /Users/shane/src/edk2/BaseTools CONF_PATH: /Users/shane/src/edk2/Conf Running edk2 build for CloverX64 using the command: build --skip-autogen -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -D USE_LOW_EBDA -p Clover/Clover.dsc -a X64 -b RELEASE -t XCODE9 -n 9 Build environment: Darwin-16.7.0-x86_64-i386-64bit Build start time: 19:36:13, Sep.20 2017 WORKSPACE = /Users/shane/src/edk2 ECP_SOURCE = /Users/shane/src/edk2/EdkCompatibilityPkg EDK_SOURCE = /Users/shane/src/edk2/EdkCompatibilityPkg EFI_SOURCE = /Users/shane/src/edk2/EdkCompatibilityPkg EDK_TOOLS_PATH = /Users/shane/src/edk2/BaseTools CONF_PATH = /Users/shane/src/edk2/Conf Architecture(s) = X64 Build target = RELEASE Toolchain = XCODE9 Active Platform = /Users/shane/src/edk2/Clover/Clover.dsc Flash Image Definition = /Users/shane/src/edk2/Clover/Clover.fdf Processing meta-data .. done! Building ... /Users/shane/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64] Building ... /Users/shane/src/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64] make: *** No rule to make target `tbuild'. Stop. build.py... : error 7000: Failed to execute command make tbuild [/Users/shane/src/edk2/Build/Clover/RELEASE_XCODE9/X64/MdePkg/Library/BasePcdLibNull/BasePcdLibNull] build.py... : error 7000: Failed to execute command make tbuild [/Users/shane/src/edk2/Build/Clover/RELEASE_XCODE9/X64/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull] build.py... : error F002: Failed to build module /Users/shane/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64, XCODE9, RELEASE] - Failed - Build end time: 19:36:16, Sep.20 2017 Build total time: 00:00:03 o_Ops, ./ebuild.sh exited with error(s), aborting. Edit: Never mind, chose wrong options. Link to comment Share on other sites More sharing options...
ErmaC Posted September 20, 2017 Share Posted September 20, 2017 @ErmaC, The Test_Script works fine to build Clover r4212 with XCODE9 in 10.12.6 and 10.13_GM17A362a. Attached is the build log for the Standard Release but Custom Macros option also built OK. Tools_def.txt with @FredWst changes was installed in ~/src/edk2/Conf and ~/src/edk2/Clover/Patches_for_EDK2/Conf. Thanks to all the devs involved . good... ...now we need first merge and update the tools_defs in the clover repo... then merge the test_script changes in the main script... for daily use... PS: I see few post ago... some error in the "VA_START (Args, Iso639Language);" few changes are needed in the library... but this is a point where start https://www.mail-archive.com/edk2-devel@lists.01.org/msg25740.html ... is a post made by Slice Cordially ErmaC 1 Link to comment Share on other sites More sharing options...
Badruzeus Posted September 20, 2017 Share Posted September 20, 2017 Well, what's going on..? 1 error generated. make: *** [/Users/badruzeus/src/edk2/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiLib/UefiLib/OUTPUT/UefiLib.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/badruzeus/src/edk2/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiLib/UefiLib] build.py... : error F002: Failed to build module /Users/badruzeus/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64, XCODE8, RELEASE] - Failed - Build end time: 06:00:54, Sep.21 2017 Build total time: 00:00:39 o_Ops, ./ebuild.sh exited with error(s), aborting.. Macintosh:~ badruzeus$ My tools are: OS: OS X 10.11.6 (15G1611)XCode: 8.2 Build 8C38NASM: 2.13.01Build_Clover script v4.5.4EDK2: r25373 Thanks. Build_Clover_v4.5.4_XCode8.2_r4213.txt.zip bash -x buildclover.txt Link to comment Share on other sites More sharing options...
fusion71au Posted September 20, 2017 Share Posted September 20, 2017 @Badruzeus, Try editing ~/src/edk2/MdePkg/Include/Library/UefiLib.h as @tluck suggests in post#14524. @Slice did sync with edk2-25373, and a few things still need to be ironed out between Clover/XCODE9 . Attached is edited file... UefiLib.h.zip Clover_v2.4k_r4213.zip 1 Link to comment Share on other sites More sharing options...
Badruzeus Posted September 20, 2017 Share Posted September 20, 2017 @Badruzeus, Try editing ~/src/edk2/MdePkg/Include/Library/UefiLib.h as @tluck suggests in post#14524. @Slice did sync with edk2-25373, and a few things still need to be ironed out between Clover/XCODE9 . Attached is edited file... Thanks @fusion71au: build started at: Thu Sep 21 06:30:19 WIB 2017 finished at Thu Sep 21 06:34:29 WIB 2017 Done! <-------------------------------------------------- Clover was built successfully! So, I should to correct there's no problem with Build_Clover.command v4.5.4, sorry. mod_UefiLib.h_Script_v4.5.4_XCode8.2_r4213.txt.zip 1 Link to comment Share on other sites More sharing options...
fantomas Posted September 21, 2017 Share Posted September 21, 2017 Build_Clover.command v4.5.4 + EDK2 v25373 + XCode 9 GM -------------------------- Building process complete! -------------------------- Build info. =========== Package name: Clover_v2.4k_r4214.pkg MD5: 753c8fa7a7c4e3457e467758f5b552df Version: v2.4k Stage: v2.4k Date/Time: 2017-09-21 10:36:16 Built by: fantomas Copyright 2012-2017 adding: Clover_v2.4k_r4214.pkg (deflated 1%) adding: Clover_v2.4k_r4214.pkg.md5 (stored 0%) total 47400 drwxr-xr-x 9 fantomas staff 306 Sep 21 10:39 . drwxr-xr-x 15 fantomas staff 510 Sep 21 10:39 .. -rw-r--r--@ 1 fantomas staff 11974887 Sep 21 10:39 Clover_v2.4k_r4214.pkg -rw-r--r-- 1 fantomas staff 68 Sep 21 10:39 Clover_v2.4k_r4214.pkg.md5 -rw-r--r-- 1 fantomas staff 11904776 Sep 21 10:39 Clover_v2.4k_r4214.zip drwxr-xr-x 3 fantomas staff 102 Sep 21 10:38 Resources drwxr-xr-x 7 fantomas staff 238 Sep 21 10:39 build drwxr-xr-x 3 fantomas staff 102 Sep 21 10:39 package drwxr-xr-x 7 fantomas staff 238 Sep 21 10:39 utils ================================================================================ build started at: Thu Sep 21 10:35:21 CEST 2017 finished at Thu Sep 21 10:39:26 CEST 2017 Done! <-------------------------------------------------- Clover was built successfully! Press any key to continue... 2 Link to comment Share on other sites More sharing options...
Philip Petev Posted September 21, 2017 Share Posted September 21, 2017 FYI: Xcode 9 seems to work with both XCODE5 and XCODE8 profiles. Tested them both, deleting the edk2 folder every time and I'm currently running Clover r4214, built with the XCODE5 profile. 2 Link to comment Share on other sites More sharing options...
Matgen84 Posted September 21, 2017 Share Posted September 21, 2017 FYI: Xcode 9 seems to work with both XCODE5 and XCODE8 profiles. Tested them both, deleting the edk2 folder every time and I'm currently running Clover r4214, built with the XCODE5 profile. If i unsterstand: it is not necessary to modify Uefilib file for example, to compile with Xcode 9. Just select "Xcode9" in the script. Right? Sorry for my bad english. Link to comment Share on other sites More sharing options...
ctich Posted September 21, 2017 Share Posted September 21, 2017 hello, I deleted the old "src" folder and ran the script again, but in the end I get an error, how do I fix it? OS X 10.12.6 Xcode Version 9.0 (9A235) Link to comment Share on other sites More sharing options...
Slice Posted September 21, 2017 Share Posted September 21, 2017 I also use 10.12.6 and Xcode 9A235. The problem is not here. Link to comment Share on other sites More sharing options...
Philip Petev Posted September 21, 2017 Share Posted September 21, 2017 hello, I deleted the old "src" folder and ran the script again, but in the end I get an error, how do I fix it? OS X 10.12.6 Xcode Version 9.0 (9A235) What kind of error? Post some log, we're not clairvoyants. 1 Link to comment Share on other sites More sharing options...
ctich Posted September 21, 2017 Share Posted September 21, 2017 What kind of error? Post some log, we're not clairvoyants. sorry did not attach log fail log.zip Link to comment Share on other sites More sharing options...
Slice Posted September 22, 2017 Share Posted September 22, 2017 sorry did not attach log build: : warning: Tool chain [XCODE9] is not defined build.py... : error 4000: Not available [XCODE9] not defined. No toolchain available for build! Use XCODE5 toolchain. 2 Link to comment Share on other sites More sharing options...
droples Posted September 22, 2017 Share Posted September 22, 2017 sorry did not attach log tools_def.txt #1104 PS Up Build_Clover.commandv4.5.5 - default TC XCODE8, everything is compiled without problems -OS X 10.12.6,Xcode9. 1 Link to comment Share on other sites More sharing options...
Badruzeus Posted September 22, 2017 Share Posted September 22, 2017 with script v4.5.5 & XCode 8.2 under 10.11.6; r4217 well built here.. output_v4.5.5_xcode8.2_10.11.6_r4217.txt.zip Link to comment Share on other sites More sharing options...
fantomas Posted September 26, 2017 Share Posted September 26, 2017 ================================================================================ Build_Clover script v4.5.5 No update available. ================================================================================ By Micky1979 based on Slice, Zenith432, STLVNUB, JrCs, cecekpawon, Needy, cvad, Rehabman, philip_petev, ErmaC Supported OSes: macOS X, Ubuntu (16.04/16.10), Debian Jessie and Stretch svn: E170013: Unable to connect to a repository at URL 'svn://svn.code.sf.net/p/cloverefiboot/code' svn: E000061: Can't connect to host 'svn.code.sf.net': Connection refused svn: E170013: Unable to connect to a repository at URL 'svn://svn.code.sf.net/p/edk2/code/trunk/edk2' svn: E000061: Can't connect to host 'svn.code.sf.net': Connection refused CLOVER Remote revision: unknown Local revision: 4214 EDK2 Remote revision: unknown Local revision: 25373 The current local EDK2 revision is the suggested one (25373). Please enter your choice: 1) run my script on the source 2) build existing revision (no update, for testing only) 3) build existing revision for release (no update, standard build) 4) build existing revision with custom macros enabled 5) info and limitations about this script 6) enter Developers mode (only for devs) 7) Exit ? Does anyone have the same issue with svn? 2 Link to comment Share on other sites More sharing options...
Cyberdevs Posted September 26, 2017 Share Posted September 26, 2017 Does anyone have the same issue with svn? Yes I do. I get the same error ================================================================================ Build_Clover script v4.5.5 No update available. <-------------------------------------------------- ================================================================================ By Micky1979 based on Slice, Zenith432, STLVNUB, JrCs, cecekpawon, Needy, cvad, Rehabman, philip_petev, ErmaC Supported OSes: macOS X, Ubuntu (16.04/16.10), Debian Jessie and Stretch <-------------------------------------------------- svn: E170013: Unable to connect to a repository at URL 'svn://svn.code.sf.net/p/cloverefiboot/code' svn: E000061: Can't connect to host 'svn.code.sf.net': Connection refused svn: E170013: Unable to connect to a repository at URL 'svn://svn.code.sf.net/p/edk2/code/trunk/edk2' svn: E000061: Can't connect to host 'svn.code.sf.net': Connection refused CLOVER Remote revision: unknown Local revision: 4222 EDK2 Remote revision: unknown Local revision: 25373 The current local EDK2 revision is the suggested one (25373). <-------------------------------------------------- Please enter your choice: 1) run my script on the source 2) build existing revision (no update, for testing only) 3) build existing revision for release (no update, standard build) 4) build existing revision with custom macros enabled 5) info and limitations about this script 6) enter Developers mode (only for devs) 7) Exit ? Link to comment Share on other sites More sharing options...
PMheart Posted September 26, 2017 Share Posted September 26, 2017 Well, here it claimed that sf.net is maintaining... (https://sourceforge.net/error-404.html) 4 Link to comment Share on other sites More sharing options...
bankkopf Posted September 27, 2017 Share Posted September 27, 2017 SourceForge is online again, but script can't load remote repo. ================================================================================ Build_Clover script v4.5.5 No update available. <-------------------------------------------------- ================================================================================ By Micky1979 based on Slice, Zenith432, STLVNUB, JrCs, cecekpawon, Needy, cvad, Rehabman, philip_petev, ErmaC Supported OSes: macOS X, Ubuntu (16.04/16.10), Debian Jessie and Stretch <-------------------------------------------------- svn: E170013: Unable to connect to a repository at URL 'svn://svn.code.sf.net/p/cloverefiboot/code' svn: E000061: Can't connect to host 'svn.code.sf.net': Connection refused svn: E170013: Unable to connect to a repository at URL 'svn://svn.code.sf.net/p/edk2/code/trunk/edk2' svn: E000061: Can't connect to host 'svn.code.sf.net': Connection refused CLOVER Remote revision: unknown Local revision: 4189 EDK2 Remote revision: unknown Local revision: 24933 The current local EDK2 revision is not the suggested one (25373)! It's recommended to change it to the suggested one, using the update Clover + force edk2 update option! <-------------------------------------------------- Please enter your choice: 1) run my script on the source 2) build existing revision (no update, for testing only) 3) build existing revision for release (no update, standard build) 4) build existing revision with custom macros enabled 5) info and limitations about this script 6) enter Developers mode (only for devs) 7) Exit Link to comment Share on other sites More sharing options...
fantomas Posted September 27, 2017 Share Posted September 27, 2017 The script works again: -------------------------- Building process complete! -------------------------- Build info. =========== Package name: Clover_v2.4k_r4222.pkg MD5: 2c8cf1c6ac8b4a07a5b263c2345e601c Version: v2.4k Stage: v2.4k Date/Time: 2017-09-27 13:35:18 Built by: fantomas Copyright 2012-2017 adding: Clover_v2.4k_r4222.pkg (deflated 0%) adding: Clover_v2.4k_r4222.pkg.md5 (stored 0%) total 47400 drwxr-xr-x 9 fantomas staff 306 Sep 27 13:38 . drwxr-xr-x 15 fantomas staff 510 Sep 27 13:38 .. -rw-r--r--@ 1 fantomas staff 11962726 Sep 27 13:38 Clover_v2.4k_r4222.pkg -rw-r--r-- 1 fantomas staff 68 Sep 27 13:38 Clover_v2.4k_r4222.pkg.md5 -rw-r--r-- 1 fantomas staff 11915894 Sep 27 13:38 Clover_v2.4k_r4222.zip drwxr-xr-x 3 fantomas staff 102 Sep 27 13:37 Resources drwxr-xr-x 7 fantomas staff 238 Sep 27 13:38 build drwxr-xr-x 3 fantomas staff 102 Sep 27 13:38 package drwxr-xr-x 7 fantomas staff 238 Sep 27 13:38 utils ================================================================================ build started at: Wed Sep 27 13:35:15 CEST 2017 finished at Wed Sep 27 13:38:25 CEST 2017 Done! Clover was built successfully! Press any key to continue... But is used XCODE8 Toolchain for building while I have XCODE9 Running from: macOS 10.13 Xcode 9.0 Build version 9A235 ================================================================================ Compiler settings Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1 Apple LLVM version 9.0.0 (clang-900.0.37) Target: x86_64-apple-darwin17.0.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ================================================================================ BUILDTOOL is XCODE8 Link to comment Share on other sites More sharing options...
Philip Petev Posted September 27, 2017 Share Posted September 27, 2017 SF is offline again. Until it gets back online, those svn errors will be seen often. Link to comment Share on other sites More sharing options...
RehabMan Posted September 27, 2017 Share Posted September 27, 2017 SF is offline again. Until it gets back online, those svn errors will be seen often. Glad I'm moving to github :-) 2 Link to comment Share on other sites More sharing options...
SavageAUS Posted September 28, 2017 Share Posted September 28, 2017 How do we stop the script from moving the terminal window? Link to comment Share on other sites More sharing options...
tluck Posted September 28, 2017 Share Posted September 28, 2017 How do we stop the script from moving the terminal window? if you mean the terminal resize? the 3 line is printf '\e[8;34;90t' which means change the terminal to 34x90 so edit/comment out. Link to comment Share on other sites More sharing options...
Recommended Posts