SavageAUS Posted November 15, 2018 Share Posted November 15, 2018 build.py... /Users/shane/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf(350): error 000E: File/directory not found in workspace /Users/shane/src/edk2/MdePkg/Library/BaseLib/X64/Lfence.nasm - Failed - Build end time: 19:30:39, Nov.15 2018 Build total time: 00:00:02 o_Ops, ./ebuild.sh exited with error(s), aborting.. Link to comment Share on other sites More sharing options...
Matgen84 Posted November 15, 2018 Share Posted November 15, 2018 (edited) 55 minutes ago, SavageAUS said: build.py... /Users/shane/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf(350): error 000E: File/directory not found in workspace /Users/shane/src/edk2/MdePkg/Library/BaseLib/X64/Lfence.nasm - Failed - Build end time: 19:30:39, Nov.15 2018 Build total time: 00:00:02 o_Ops, ./ebuild.sh exited with error(s), aborting.. Do you change from -27956 to -28338 edk2 in the script before the next update 4.9.4 I do that and I can compile without issues (option 3 and option 6) Edited November 15, 2018 by Matgen84 Link to comment Share on other sites More sharing options...
Badruzeus Posted November 15, 2018 Share Posted November 15, 2018 53 minutes ago, SavageAUS said: build.py... /Users/shane/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf(350): error 000E: File/directory not found in workspace /Users/shane/src/edk2/MdePkg/Library/BaseLib/X64/Lfence.nasm - Failed - Build end time: 19:30:39, Nov.15 2018 Build total time: 00:00:02 o_Ops, ./ebuild.sh exited with error(s), aborting.. Line 1638: EDK2_REV="${EDK2_REV:-28338}" 1 Link to comment Share on other sites More sharing options...
Balamut Posted November 15, 2018 Share Posted November 15, 2018 Hi does anybody else getting this? Link to comment Share on other sites More sharing options...
Matgen84 Posted November 15, 2018 Share Posted November 15, 2018 12 minutes ago, Balamut said: Hi does anybody else getting this? Hi You must use v4.9.3 or later version. File attached Build_Clover.command.zip 2 Link to comment Share on other sites More sharing options...
MakAsus Posted December 8, 2018 Share Posted December 8, 2018 Hi, for a few days now, I get this: Link to comment Share on other sites More sharing options...
Matgen84 Posted December 8, 2018 Share Posted December 8, 2018 24 minutes ago, MakAsus said: Hi, for a few days now, I get this: Do you try to create new ~/src ? Link to comment Share on other sites More sharing options...
MakAsus Posted December 8, 2018 Share Posted December 8, 2018 (edited) 3 hours ago, Matgen84 said: Do you try to create new ~/src ? Yes, I did. Bat In this case, I get the following: Checked out revision 28338. DuetPkg: checking..svn: warning: W170000: URL 'https://svn.code.sf.net/p/edk2/code/trunk/edk2/DuetPkg' non-existent in revision 28473 svn: E200009: Could not display info for all targets because some targets don't exist checking..svn: warning: W170000: URL 'https://svn.code.sf.net/p/edk2/code/trunk/edk2/DuetPkg' non-existent in revision 28473 svn: E200009: Could not display info for all targets because some targets don't exist checking..svn: warning: W170000: URL 'https://svn.code.sf.net/p/edk2/code/trunk/edk2/DuetPkg' non-existent in revision 28473 svn: E200009: Could not display info for all targets because some targets don't exist checking..svn: warning: W170000: URL 'https://svn.code.sf.net/p/edk2/code/trunk/edk2/DuetPkg' non-existent in revision 28473 svn: E200009: Could not display info for all targets because some targets don't exist checking..svn: warning: W170000: URL 'https://svn.code.sf.net/p/edk2/code/trunk/edk2/DuetPkg' non-existent in revision 28473 svn: E200009: Could not display info for all targets because some targets don't exist Error: unable to access https://svn.code.sf.net/p/edk2/code/trunk/edk2/DuetPkg after 5 attempts. Build_Clover go to fail voluntarily to avoid problems, check your internet connection or retry later! svn: E160013: '/p/edk2/code/!svn/rvr/28473/trunk/edk2/DuetPkg' path not found An error was encountered syncing the repository: ------------------------------ svn: E160013: '/p/edk2/code/!svn/rvr/28473/trunk/edk2/DuetPkg' path not found ------------------------------ Can be temporarily, retry later or seek for help. logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Процесс завершен] If I try to open URL: https://svn.code.sf.net/p/edk2/code/trunk/edk2/DuetPkg/ in Safari manually, it gives an error message: Not Found The requested URL /p/edk2/code/trunk/edk2/DuetPkg/ was not found on this server. Edited December 8, 2018 by MakAsus Link to comment Share on other sites More sharing options...
vector sigma Posted December 8, 2018 Share Posted December 8, 2018 --> https://github.com/tianocore/edk2/commit/6e8cad49a09db38c309b19b930ba568d2953a901 No legacy, anymore 2 Link to comment Share on other sites More sharing options...
vector sigma Posted December 8, 2018 Share Posted December 8, 2018 UDK2019 will be the same. 1 Link to comment Share on other sites More sharing options...
MakAsus Posted December 8, 2018 Share Posted December 8, 2018 (edited) 25 minutes ago, vector sigma said: --> https://github.com/tianocore/edk2/commit/6e8cad49a09db38c309b19b930ba568d2953a901 No legacy, anymore I understood. 15 minutes ago, vector sigma said: UDK2019 will be the same. But when I use this script: #!/bin/bash # echo "================="; echo "make dir src"; echo "================="; cd ~; mkdir src; echo "================="; echo "download EDK2"; echo "================="; cd ~/src/; svn co -r 28338 svn://svn.code.sf.net/p/edk2/code/trunk/edk2 ~/src/edk2; echo "================="; echo "download Clover"; echo "================="; cd ~/src/edk2; svn checkout svn://svn.code.sf.net/p/cloverefiboot/code/ ~/src/edk2/Clover; echo "================="; echo "patch Edk2 Files"; echo "================="; cp -R ~/src/edk2/Clover/Patches_for_EDK2/* ~/src/edk2/; echo "================="; echo "End Updates"; echo "================="; Before running Build_Clover.command, everything is fine. Probably need to remake Build_Clover.command. Edited December 8, 2018 by MakAsus Link to comment Share on other sites More sharing options...
vector sigma Posted December 8, 2018 Share Posted December 8, 2018 Just don't checkout DuetPkg edk2array=( MdePkg MdeModulePkg CryptoPkg EdkCompatibilityPkg IntelFrameworkModulePkg IntelFrameworkPkg OvmfPkg OptionRomPkg PcAtChipsetPkg ShellPkg UefiCpuPkg BaseTools ) 1 Link to comment Share on other sites More sharing options...
MakAsus Posted December 8, 2018 Share Posted December 8, 2018 53 minutes ago, vector sigma said: Just don't checkout DuetPkg edk2array=( MdePkg MdeModulePkg CryptoPkg EdkCompatibilityPkg IntelFrameworkModulePkg IntelFrameworkPkg OvmfPkg OptionRomPkg PcAtChipsetPkg ShellPkg UefiCpuPkg BaseTools ) Did not help. Link to comment Share on other sites More sharing options...
Matgen84 Posted December 8, 2018 Share Posted December 8, 2018 (edited) 5 hours ago, MakAsus said: Yes, I did. Bat In this case, I get the following: Checked out revision 28338. DuetPkg: checking.. Hi Despite of DuetPkg checkout error: I can build Clover with Build_Clover.command 4.9.4 (EDK2 28338). Maybe the script will must be update Edited December 8, 2018 by Matgen84 1 Link to comment Share on other sites More sharing options...
Philip Petev Posted December 8, 2018 Share Posted December 8, 2018 (edited) 2 hours ago, vector sigma said: Just don't checkout DuetPkg edk2array=( MdePkg MdeModulePkg CryptoPkg EdkCompatibilityPkg IntelFrameworkModulePkg IntelFrameworkPkg OvmfPkg OptionRomPkg PcAtChipsetPkg ShellPkg UefiCpuPkg BaseTools ) That's not enough. That static array is being replaced by the data, obtained by downloading the update.sh script from the Clover repo. In order to succeed, DuetPkg should be removed from the array, but also line 903 must be commented out or removed. # if [[ "${#edk2ArrayOnline[@]}" -ge "1" ]]; then unset -v edk2array; edk2array=( "${edk2ArrayOnline[@]}" ); fi Edited December 8, 2018 by Philip Petev 1 Link to comment Share on other sites More sharing options...
Slice Posted December 8, 2018 Share Posted December 8, 2018 We still have Duet dependency in Clover DuetPkg/SmbiosGenDxe/SmbiosGen.inf I will remove it and we will can build Clover without Duet. 4 Link to comment Share on other sites More sharing options...
Slice Posted December 8, 2018 Share Posted December 8, 2018 Clover 4800 without Duet dependency. Check please! 4 Link to comment Share on other sites More sharing options...
Philip Petev Posted December 8, 2018 Share Posted December 8, 2018 Works like it should. Thank you, @Slice! 2 Link to comment Share on other sites More sharing options...
Matgen84 Posted December 8, 2018 Share Posted December 8, 2018 2 hours ago, Philip Petev said: That's not enough. That static array is being replaced by the data, obtained by downloading the update.sh script from the Clover repo. In order to succeed, DuetPkg should be removed from the array, but also line 903 must be commented out or removed. # if [[ "${#edk2ArrayOnline[@]}" -ge "1" ]]; then unset -v edk2array; edk2array=( "${edk2ArrayOnline[@]}" ); fi 46 minutes ago, Slice said: Clover 4800 without Duet dependency. Check please! Thanks you @Slice and @Philip Petev 1 Link to comment Share on other sites More sharing options...
Philip Petev Posted December 8, 2018 Share Posted December 8, 2018 BTW, just pushed a new version of the script and some little fix for update.sh in the Clover repo. Commenting out line 903 is not needed anymore. 3 Link to comment Share on other sites More sharing options...
vector sigma Posted December 8, 2018 Share Posted December 8, 2018 (edited) 1 hour ago, Slice said: Clover 4800 without Duet dependency. Check please! Clover is built, but ebuild.sh still tries to generate boot sectors and fail. That using the master at latest revision. Shouldn't ebuild.sh (and buildpkg.sh) be modified to be uefi only all the time now? ebuild.sh.zip buildpkg.sh.zip Edited December 8, 2018 by vector sigma 2 Link to comment Share on other sites More sharing options...
apianti Posted December 8, 2018 Share Posted December 8, 2018 (edited) The tools to build Duet were removed from the master branch as well so there is no possible way to generate the legacy firmware on the master branch anymore, you must use UDK2017 branch. EDIT: https://lists.01.org/pipermail/edk2-devel/2018-November/032746.html https://bugzilla.tianocore.org/show_bug.cgi?id=1322#c3 EDIT2: Or the last svn revision before Duet was removed which is r28457, or this commit from the git repo https://github.com/tianocore/edk2/commit/8efc6d84ca41e692cc60702e1f27276f7883b6db EDIT3: Or the tools need to be taken from BaseTools and added to the clover repository to be used. EDIT4: These were the removed tools: https://github.com/tianocore/edk2/commit/7702ceb8afa4f94b949eca4fbbc5dc84e550e082 Edited December 8, 2018 by apianti 4 Link to comment Share on other sites More sharing options...
vector sigma Posted December 8, 2018 Share Posted December 8, 2018 12 minutes ago, apianti said: EDIT3: Or the tools need to be taken from BaseTools and added to the clover repository to be used. Better option. Those tools needed: GnuGenBootSector BootSectImage EfiLdrImage GenPage ..and the DuetPkg.. 1 Link to comment Share on other sites More sharing options...
MakAsus Posted December 8, 2018 Share Posted December 8, 2018 I just managed to normally update the sources and compile Clover r4801. Everything worked without errors. Respect to the developers! Link to comment Share on other sites More sharing options...
apianti Posted December 8, 2018 Share Posted December 8, 2018 (edited) 3 hours ago, vector sigma said: Better option. Those tools needed: GnuGenBootSector BootSectImage EfiLdrImage GenPage ..and the DuetPkg.. No, the DuetPkg was only needed for one library which has now been moved into the clover repo. Only those tools are needed. 2 hours ago, MakAsus said: I just managed to normally update the sources and compile Clover r4801. Everything worked without errors. Respect to the developers! Then you either did not update edk2, or are using the UDK2018 branch. EDIT: Changed UDK2017 to UDK2018. Edited December 8, 2018 by apianti Link to comment Share on other sites More sharing options...
Recommended Posts