Jump to content

Clover problems report & features request


ErmaC
953 posts in this topic

Recommended Posts

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 by Badruzeus
Link to comment
Share on other sites

Script should work as is with gcc8, no need to do anything.

 

 

Edited by STLVNUB
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

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 by Badruzeus
  • Like 1
Link to comment
Share on other sites

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.

 

Screenshot 3.png

Edited by Badruzeus
Link to comment
Share on other sites

3 hours ago, Badruzeus said:

Great, it works. So using Bash 5.0 I changed "set -u > set +u" on ../buildpkg.sh. Many thanks.

 

Screenshot 3.png

 

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 by Matgen84
Link to comment
Share on other sites

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 by Badruzeus
Link to comment
Share on other sites

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

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.

 

  • Sad 1
Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

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

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

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.

 

Screenshot 21.png

Edited by Badruzeus
Link to comment
Share on other sites

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.

Screenshot from 2019-03-08 15-43-13.png

Link to comment
Share on other sites

×
×
  • Create New...