Badruzeus Posted March 1, 2019 Share Posted March 1, 2019 (edited) Another stupid questions; When preparing Clover build under Linux (eg. Ubuntu) after `$ cd ~/src/UDK2018/Clover` we don't need these right? ./buildgettext.sh ./buildmtoc.sh And my Ubuntu 18.04.2 comes with GCC 8.2.0; but on ./ebuild.sh: TOOLCHAIN=GCC53 ..so (correct me if I'm wrong) I installed gcc-5: $ sudo apt-get install gcc-5 g++-5 $ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 Just, not sure.. do I need configure (and use) gcc-5 or keeping gcc-8 with these? $ sudo update-alternatives --config gcc There are 3 choices for the alternative gcc (providing /usr/bin/gcc). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/bin/gcc-8 800 auto mode 1 /usr/bin/gcc-5 60 manual mode 2 /usr/bin/gcc-7 700 manual mode * 3 /usr/bin/gcc-8 800 manual mode Press <enter> to keep the current choice[*], or type selection number: Thanks. Edited March 1, 2019 by Badruzeus Link to comment Share on other sites More sharing options...
STLVNUB Posted March 1, 2019 Share Posted March 1, 2019 (edited) Script should work as is with gcc8, no need to do anything. Edited March 1, 2019 by STLVNUB 1 1 Link to comment Share on other sites More sharing options...
Badruzeus Posted March 1, 2019 Share Posted March 1, 2019 (edited) 2 hours ago, STLVNUB said: Script should work as is with gcc8, no need to do anything. OK, no issue with Clover build (UDK2018) under Ubuntu and it seems boot just fine. Now on macOS; using GNU Bash 5.0 I got these when.. `cd ~/src/UDK2018/Clover/CloverPackage && ./makepkg --nothemes` ------------------------------- Building Clover Install Package ------------------------------- Excluded packages: Clover Themes ====================== Preinstall ====================== package/buildpkg.sh: line 265: allSubst: unbound variable package/buildpkg.sh: line 1596: pkgrefs: unbound variable MacBook-Pro:CloverPackage badruzeus$ bash --version GNU bash, version 5.0.0(1)-release (x86_64-apple-darwin15.6.0) Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. MacBook-Pro:CloverPackage badruzeus$ Not a big deal though, I could rolling back to Apple Default Bash version 3.2.57. Edited March 1, 2019 by Badruzeus 1 Link to comment Share on other sites More sharing options...
Zenith432 Posted March 1, 2019 Share Posted March 1, 2019 unbound variable could be because of "set -u" instruction in the script. The default is "set +u" so $unbound expands to empty string, but with "set -u", $unbound breaks with an error. 1 Link to comment Share on other sites More sharing options...
Badruzeus Posted March 1, 2019 Share Posted March 1, 2019 (edited) 24 minutes ago, Zenith432 said: unbound variable could be because of "set -u" instruction in the script. The default is "set +u" so $unbound expands to empty string, but with "set -u", $unbound breaks with an error. Great, it works. So using Bash 5.0 I changed "set -u > set +u" on ../buildpkg.sh. Many thanks. Edited March 1, 2019 by Badruzeus Link to comment Share on other sites More sharing options...
Matgen84 Posted March 1, 2019 Share Posted March 1, 2019 (edited) 3 hours ago, Badruzeus said: Great, it works. So using Bash 5.0 I changed "set -u > set +u" on ../buildpkg.sh. Many thanks. Hi Where i can find a tuto to install and use batch 5.0. There is a special script to build Clover. Please Thanks Edited March 1, 2019 by Matgen84 Link to comment Share on other sites More sharing options...
Badruzeus Posted March 1, 2019 Share Posted March 1, 2019 (edited) 30 minutes ago, Matgen84 said: Where i can find a tuto to install and use batch 5.0. Here is (but it' s out of Clover topic #btw) 30 minutes ago, Matgen84 said: There is a special script to build Clover. Yeah, Micky1976's Build_Clover.command is also working fine under Ubuntu 18.04.. but on my last build (EDK2, which I didn't remember which rev exactly) I got a really strange behaviour when booting; frozen on boot with UEFI, and Red Screen of Death with Legacy (boot6, boot7) < not related to vector theme / AudioPkg; it probably happenned only on specific Clover rev and or buggy EDK2 changes on that time, or my bad build configs.. not sure, could be fixed now. No longer using EDK2 at the moment (on both macOS or Ubuntu). Edited March 1, 2019 by Badruzeus Link to comment Share on other sites More sharing options...
camillionario Posted March 1, 2019 Share Posted March 1, 2019 10 minutes ago, Badruzeus said: Aquí está (pero está fuera del tema de Clover #btw) Sí, Build_Clover.command de Micky1976 también funciona bien en Ubuntu 18.04 ... pero en mi última compilación (EDK2, que no recuerdo exactamente qué revolución) tuve un comportamiento realmente extraño al arrancar; congelado en el arranque con UEFI, y Red Screen of Death with Legacy (boot6, boot7) <no relacionado con el tema vectorial / AudioPkg; es probable que solo ocurriera con cambios específicos de Clover rev y / o Buggy EDK2 en ese momento, o mis configuraciones incorrectas de construcción ... no estoy seguro, podrían arreglarse ahora. Ya no utilizo EDK2 en este momento (tanto en macOS como en Ubuntu). link not work Link to comment Share on other sites More sharing options...
Badruzeus Posted March 1, 2019 Share Posted March 1, 2019 5 minutes ago, camillionario said: link not work Could be temporary, otherwise.. try this GNU-bash-mac-installer. Sorry, out of Clover discussion. 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted March 1, 2019 Share Posted March 1, 2019 20 minutes ago, Badruzeus said: Could be temporary, otherwise.. try this GNU-bash-mac-installer. Sorry, out of Clover discussion. Thanks a lot sorry for out of clover discussion Link to comment Share on other sites More sharing options...
apianti Posted March 1, 2019 Share Posted March 1, 2019 You're both banned for off topic. Someone will be by your home shortly to remove clover from your devices.... lol. 2 Link to comment Share on other sites More sharing options...
STLVNUB Posted March 1, 2019 Share Posted March 1, 2019 Don't bash the bash 3 Link to comment Share on other sites More sharing options...
Badruzeus Posted March 4, 2019 Share Posted March 4, 2019 (edited) ..and how to Build Clover using gcc8 on 10.11.6 with Xcode8 installed? Edited March 4, 2019 by Badruzeus Link to comment Share on other sites More sharing options...
STLVNUB Posted March 4, 2019 Share Posted March 4, 2019 @badruzeus I'm attempting to set up an El Capitan HD, will let you know when I'm done. 1 Link to comment Share on other sites More sharing options...
STLVNUB Posted March 5, 2019 Share Posted March 5, 2019 Bug Bug Bug, it's got me bugged. Trying to run El Capitano... Config plist change from menu does NOT update Binary patching, specifically CPU FakeID. 1 Link to comment Share on other sites More sharing options...
STLVNUB Posted March 6, 2019 Share Posted March 6, 2019 On 3/4/2019 at 6:34 PM, STLVNUB said: @badruzeus I'm attempting to set up an El Capitan HD, will let you know when I'm done. All setup, Xcode 8.2.1 works no problem 21 hours ago, STLVNUB said: Bug Bug Bug, it's got me bugged. Trying to run El Capitano... Config plist change from menu does NOT update Binary patching, specifically CPU FakeID. Bug can stay there, Fixed by using Mojave config and kexts. SMBios iMac18,3 1 Link to comment Share on other sites More sharing options...
BlackPilot Posted March 6, 2019 Share Posted March 6, 2019 (edited) Hey guys Take a look at this I made a post in this thread. Sorry If I didn't post first here. It's a very interesting feature request You can use Clover WITH Secure Boot https://github.com/ValdikSS/Super-UEFIinSecureBoot-Disk Edited March 6, 2019 by BlackPilot 1 Link to comment Share on other sites More sharing options...
Badruzeus Posted March 7, 2019 Share Posted March 7, 2019 On 3/6/2019 at 12:45 PM, STLVNUB said: All setup, Xcode 8.2.1 works no problem OK, this is my setup. Now tell me how to build Clover using gcc under OS X 10.11.6 plz. Thanks. Link to comment Share on other sites More sharing options...
Badruzeus Posted March 7, 2019 Share Posted March 7, 2019 Ah wait, I just built subversion 1.11.1 from Tarball under mac: $ curl -O https://www-us.apache.org/dist/subversion/subversion-1.11.1.tar.gz $ tar xf subversion-1.11.1.tar.gz $ cd subversion-1.11.1 $ ./configure --with-lz4=internal -lutf8proc $ make $ sudo make install ..but weird is, why I'm still having this? $ svn --version svn, version 1.9.9 (r1835931) compiled Aug 4 2018, 23:26:51 on x86_64-apple-darwin15.2.0 Link to comment Share on other sites More sharing options...
apianti Posted March 7, 2019 Share Posted March 7, 2019 Where did it install /usr/local/bin? Is that in your PATH environment variable before /usr/bin? 1 Link to comment Share on other sites More sharing options...
STLVNUB Posted March 7, 2019 Share Posted March 7, 2019 6 hours ago, Badruzeus said: OK, this is my setup. Now tell me how to build Clover using gcc under OS X 10.11.6 plz. Thanks. I just copied my src folder from Mojave to El Capitan, no need to setup anything. Link to comment Share on other sites More sharing options...
Badruzeus Posted March 7, 2019 Share Posted March 7, 2019 (edited) 2 hours ago, apianti said: Where did it install /usr/local/bin? Is that in your PATH environment variable before /usr/bin? OK, got it.. it was "/opt/subversion/bin", but now is "/usr/local/bin". Sorry my bad, .bash_profile had this till it removed lol: export PATH="/opt/subversion/bin:$PATH" It's working now, thanks. Edited March 7, 2019 by Badruzeus Link to comment Share on other sites More sharing options...
STLVNUB Posted March 8, 2019 Share Posted March 8, 2019 GCC is now at 8.3.0 plus a few depends updated as well. Link to comment Share on other sites More sharing options...
Badruzeus Posted March 8, 2019 Share Posted March 8, 2019 5 hours ago, STLVNUB said: GCC is now at 8.3.0 plus a few depends updated as well. I tried building Clover using GCC 8.3.0 under Ubuntu 18.04.2 last night, but it failed. Not sure, but if I still remember got these error messages: ... [many~Lib]...generated with LTO version 7.0 instead of the expected 7.1 lto-wrapper: fatal error: /usr/bin/gcc returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed ... So, I just removed it. Guessing, things were wrong on my build env which I did't get them well. Link to comment Share on other sites More sharing options...
STLVNUB Posted March 8, 2019 Share Posted March 8, 2019 I'll give it a try on Ubuntu 14.4, which I've just installed. 1 Link to comment Share on other sites More sharing options...
Recommended Posts