Matgen84 Posted March 22, 2020 Share Posted March 22, 2020 (edited) 16 minutes ago, arsradu said: Hi Pene! Yeah, that's how I always do it when I wanna build on a clean environment. Can't get any cleaner than that! :))) However, it still occurs. Do you use Xcode or GCC! For me, I use Xcode. What speed do you have for cloning repo? Yesterday, I've 235Kb/s and to day more 1,7Mb/s Edited March 22, 2020 by Matgen84 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713262 Share on other sites More sharing options...
arsradu Posted March 22, 2020 Share Posted March 22, 2020 4 minutes ago, Matgen84 said: Do you use Xcode or GCC! For me, I use Xcode. Uhm... I don't know. Which one is the default one? This is the list of commands I use: cd ~ mkdir src cd src git clone https://github.com/CloverHackyColor/CloverBootloader cd CloverBootloader ./buildme (select Option 3) Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713263 Share on other sites More sharing options...
Matgen84 Posted March 22, 2020 Share Posted March 22, 2020 (edited) 5 minutes ago, arsradu said: Uhm... I don't know. Which one is the default one? This is the list of commands I use: cd ~ mkdir src cd src git clone https://github.com/CloverHackyColor/CloverBootloader cd CloverBootloader ./buildme (select Option 3) I believe default is GCC53. But you must select Option 1 at first (scratch src) then option 3. Option 1 install nasm... Test in progress here with GCC53 command (new GCC9.3) Edited March 22, 2020 by Matgen84 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713264 Share on other sites More sharing options...
arsradu Posted March 22, 2020 Share Posted March 22, 2020 (edited) 23 minutes ago, Matgen84 said: I believe default is GCC53. But you must select Option 1 at first (scratch src) then option 3. Option 1 install nasm... I see. So this is what I was missing. But weird thing is that I don't remember having to do that before... Maybe because I usually used option 6 (build all)? Anyway, it does work fine now, with Option 1 first, then Option 3. Thank you! So which one is that? GCC or Xcode? Or do i need to do that for both? How do I use one or the other? Update: yeah, that's definitely what I was missing. I was using Option 6 before, which took care of everything. Now I tried clean source with only Option 3 which clearly needs some preparation to be done before being used. :)) Definitely my mistake. Sorry about that. Edited March 22, 2020 by arsradu Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713266 Share on other sites More sharing options...
Pene Posted March 22, 2020 Share Posted March 22, 2020 (edited) 1 hour ago, arsradu said: Hi Pene! Yeah, that's how I always do it when I wanna build on a clean environment. Can't get any cleaner than that! :))) However, it still occurs. Hi arsradu, Looking at your previously published log, it seems to me that the failure is somewhere earlier, as you have several files that should have been produced in first stage that are missing. Please post your complete log, as I cannot reproduce the error on my system. EDIT: Ah, yes, I was too late, so it is all clear now, no need to post anything But maybe it's not a bad idea to add some checks to buildme for option 3, to ensure some basic files exists. Edited March 22, 2020 by Pene Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713268 Share on other sites More sharing options...
Matgen84 Posted March 22, 2020 Share Posted March 22, 2020 7 minutes ago, arsradu said: I see. So this is what I was missing. But weird thing is that I don't remember having to do that before... Maybe because I usually used option 6 (build all)? Anyway, it does work fine now, with Option 1 first, then Option 3. Thank you! So which one is that? GCC or Xcode? Or do i need to do that for both? How do I use one or the other? The procedure is the same for Xcode and gcc for a first installation. Then, option 1 is only used for rebuild when there are problems, if I'm not mistaken. I believe that the developer of Clover use GCC, personally I prefer xcode. It's up to you. Theoretically, option 6 should do it all, rebuild, pkg, iso, app after first build option 1. I don't know if my reasoning is correct. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713269 Share on other sites More sharing options...
arsradu Posted March 22, 2020 Share Posted March 22, 2020 (edited) 8 minutes ago, Pene said: Hi arsradu, Looking at your previously published log, it seems to me that the failure is somewhere earlier, as you have several files that should have been produced in first stage that are missing. Please post your complete log, as I cannot reproduce the error on my system. Hi Pene! You're right. They should have. And they weren't, cause I went directly with Option 3 (make pkg) without using Option 1 first. My mistake. Usually, I was using Option 6 (build all) to build. That's why I didn't see this issue before. No need for a log. It's all good now. I understood where the error came from. My bad. 7 minutes ago, Matgen84 said: The procedure is the same for Xcode and gcc for a first installation. Then, option 1 is only used for rebuild when there are problems, if I'm not mistaken. I believe that the developer of Clover use GCC, personally I prefer xcode. It's up to you. Theoretically, option 6 should do it all, rebuild, pkg, iso, app after first build option 1. I don't know if my reasoning is correct. For as far as I can see, if you're using Option 6, you don't need Option 1 anymore. Option 6 includes everything. Edited March 22, 2020 by arsradu 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713270 Share on other sites More sharing options...
Matgen84 Posted March 22, 2020 Share Posted March 22, 2020 1 hour ago, arsradu said: For as far as I can see, if you're using Option 6, you don't need Option 1 anymore. Option 6 includes everything. For testing, I only use Option 1, only after cloning clover directory to src. I never use Option 6: for daily build, I use make pkg and make app, that's all. Right, Option 6 includes everything. Strange. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713273 Share on other sites More sharing options...
vector sigma Posted March 22, 2020 Share Posted March 22, 2020 (edited) What is strange? It is strange to do it step by step if you want all the step. if I'm working on the package, I build only the package. if I'm working on Clover, I build only Clover. if I'm working on the app, I build the app If I want everythings just select 6 P.S. also cloning into the ~src is no longer a requirement, unless you have more then one Clover source here and there (and so share the same opt directory) 6 hours ago, arsradu said: Which one is the default one? The default is GCC53 because is better. If some times the same code build with xcode and not with gcc is because Xcode (clang) is less aggressive finding potential errors. Or at least the settings defined for the GCC toolchain are actually better. ..and the LTO with GCC appear to do a great job, imho. Edited March 22, 2020 by vector sigma 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713294 Share on other sites More sharing options...
Sherlocks Posted March 22, 2020 Share Posted March 22, 2020 9 minutes ago, vector sigma said: What is strange? It is strange to do it step by step if you want all the step. if I'm working on the package, I build only the package. if I'm working on Clover, I build only Clover. if I'm working on the app, I build the app If I want everythings just select 6 P.S. also cloning into the ~src is no longer a requirement, unless you have more then one Clover source here and there The default is GCC53 because is better. If some times the same code build with xcode and not with gcc is because Xcode (clang) is less aggressive finding potential errors. Or at least the settings defined for the GCC toolchain are actually better. ..and the LTO with GCC appear to do a great job, imho. i'm not type sudo when using buildme. i added this #!/bin/bash version=1.1 cloverLink='https://github.com/CloverHackyColor/CloverBootloader.git' ask() { read -p "$1 [Y/n] " -n 1 -r if [[ ! $REPLY =~ ^[Yy]$ ]]; then echo && echo "sorry can't help!" exit 0 fi } echo && echo clovergit v$version if [[ ! -d "$HOME"/src/CloverBootloader ]]; then ask 'Do you want to checkout CloverBootloader?' mkdir -p "$HOME"/src cd "$HOME"/src #git clone --depth 1 $cloverLink git clone $cloverLink fi sudo "$HOME"/src/CloverBootloader/./buildme XCODE8 there is no problem. clovergit_v1.1.zip 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713295 Share on other sites More sharing options...
Matgen84 Posted March 22, 2020 Share Posted March 22, 2020 4 minutes ago, vector sigma said: What is strange? It is strange to do it step by step if you want all the step. if I'm working on the package, I build only the package. if I'm working on Clover, I build only Clover. if I'm working on the app, I build the app If I want everythings just select 6 P.S. also cloning into the ~src is no longer a requirement, unless you have more then one Clover source here and there Thanks for your great work @vector sigma I don't speak english fluently. I just answers to @arsradu questions on scratch cloverbootloader folder: so read his questions before. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713297 Share on other sites More sharing options...
vector sigma Posted March 22, 2020 Share Posted March 22, 2020 Just now, Sherlocks said: sudo "$HOME"/src/CloverBootloader/./buildme XCODE8 Using sudo the worst thing you can do. Please don't do that. Why you do that? 1 minute ago, Matgen84 said: so read his questions before. I did it, but I answered to you not to arsradu Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713298 Share on other sites More sharing options...
Sherlocks Posted March 22, 2020 Share Posted March 22, 2020 3 minutes ago, vector sigma said: Using sudo the worst thing you can do. Please don't do that. Why you do that? I did it, but I answered to you not to arsradu really? if there is no sudo, rm permission not work when build pkg. i don't know it exactly. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713299 Share on other sites More sharing options...
arsradu Posted March 22, 2020 Share Posted March 22, 2020 7 minutes ago, Sherlocks said: git clone --depth 1 $cloverLink Regarding this (cloning with --depth 1) I remember there were some issues, because it would not download everything. So...personally I don't use it anymore. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713300 Share on other sites More sharing options...
Matgen84 Posted March 22, 2020 Share Posted March 22, 2020 3 minutes ago, vector sigma said: I did it, but I answered to you not to arsradu Keep cool, bro I don't speak English fluently (I repeat), so I sometimes use words that are not the right ones. Yes I know the different stages, rest assured. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713302 Share on other sites More sharing options...
vector sigma Posted March 22, 2020 Share Posted March 22, 2020 Just now, Sherlocks said: really? if there is no sudo, rm permission not work when build pkg. i don't know it exactly. So you did something wrong because, unless your source is inside a volume that your account cannot access, no thing inside the source is setting root permissions other than yours. 2 minutes ago, arsradu said: Regarding this (cloning with --depth 1) I remember there were some issues, because it would not download everything. So...personally I don't use it anymore. Because having only last commit you don't have tags (used to retrieve the Clover revision). you can use --depth, but you should ensure to include the last tag 3 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713303 Share on other sites More sharing options...
arsradu Posted March 22, 2020 Share Posted March 22, 2020 23 minutes ago, vector sigma said: P.S. also cloning into the ~src is no longer a requirement, unless you have more then one Clover source here and there (and so share the same opt directory) Oh, cool. I didn't know that. I only have one source right now. So yeah, might not be necessary to keep it under /src anymore. I didn't know that. Good to know. 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713305 Share on other sites More sharing options...
vector sigma Posted March 22, 2020 Share Posted March 22, 2020 3 minutes ago, Matgen84 said: Keep cool, bro Yes , do you think I was mad? 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713306 Share on other sites More sharing options...
arsradu Posted March 22, 2020 Share Posted March 22, 2020 3 minutes ago, vector sigma said: Because having only last commit you don't have tags (used to retrieve the Clover revision). you can use --depth, but you should ensure to include the last tag Oh I see! I've learned something new today. Thank you! Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713307 Share on other sites More sharing options...
Matgen84 Posted March 22, 2020 Share Posted March 22, 2020 Just now, vector sigma said: Yes , do you think I was mad? Not at all Me I'm mad Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713308 Share on other sites More sharing options...
vector sigma Posted March 22, 2020 Share Posted March 22, 2020 Just now, Matgen84 said: Not at all Me I'm mad Why? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713310 Share on other sites More sharing options...
Sherlocks Posted March 22, 2020 Share Posted March 22, 2020 Latest Clover is still perfect on old macos.:) i tested it today on 2020 2 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713312 Share on other sites More sharing options...
arsradu Posted March 22, 2020 Share Posted March 22, 2020 3 minutes ago, vector sigma said: Yes , do you think I was mad? Yes, mad scientist. LOL 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713313 Share on other sites More sharing options...
Matgen84 Posted March 22, 2020 Share Posted March 22, 2020 3 minutes ago, vector sigma said: Why? Because Covid-19 restrictions in France where I live Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713315 Share on other sites More sharing options...
vector sigma Posted March 22, 2020 Share Posted March 22, 2020 1 minute ago, arsradu said: Yes, mad scientist. LOL see at my cat 3 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/848/#findComment-2713316 Share on other sites More sharing options...
Recommended Posts