Jump to content

Build_Clover.command, another Script to build standard Clover (or customized)


Micky1979
2,126 posts in this topic

Recommended Posts

hi,

For information on ubuntu

Compressing DUETEFIMainFv.FV ...
Encoding
Compressing DxeCore.efi ...
Encoding
Compressing DxeIpl.efi ...
Encoding
Generate Loader Image ...
Created /home/fljagd/src/edk2/Build/Clover/RELEASE_GCC53/FV/Efildr64
879+0 records in
879+0 records out
450048 bytes (450 kB, 440 KiB) copied, 0.000739833 s, 608 MB/s
Copy CloverEFI:
  -> boot6
Changing byte at 0xa9 of boot6 to show 6 as init message:
1+0 records in
1+0 records out
1 byte copied, 1.6641e-05 s, 60.1 kB/s
  -> BOOTX64.efi
  -> CLOVERX64.efi
Copy Mandatory drivers:
  -> FSInject-64.efi
  -> FSInject-64.efi
  -> OsxFatBinaryDrv-64.efi
  -> VBoxHfs-64.efi
Copy Optional drivers:
  -> NvmExpressDxe-64.efi
  -> Ps2MouseDxe-64.efi
  -> UsbMouseDxe-64.efi
  -> VBoxExt2-64.efi
  -> VBoxExt4-64.efi
  -> VBoxIso9600-64.efi
  -> XhciDxe-64.efi
  -> GrubEXFAT-64.efi
  -> GrubISO9660-64.efi
  -> GrubNTFS-64.efi
  -> GrubUDF-64.efi
  -> CsmVideoDxe-64.efi
  -> DataHubDxe-64.efi
  -> EmuVariableUefi-64.efi
  -> OsxAptioFix2Drv-64.efi
  -> OsxAptioFixDrv-64.efi
  -> OsxLowMemFixDrv-64.efi
  -> PartitionDxe-64.efi
Copy Applications:
  -> bdmesg.efi
Done!

Generating BootSectors
make: Entering directory '/home/fljagd/src/edk2/Clover/BootHFS'
[NASM] boot0af.s -> /home/fljagd/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0af
[NASM] boot0ss.s -> /home/fljagd/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0ss
[NASM] boot0md.s -> /home/fljagd/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0md
[NASM] boot1h.s -> /home/fljagd/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1h
[NASM] boot1h2.s -> /home/fljagd/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1h2
[NASM] boot1f32.s -> /home/fljagd/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1f32
[NASM] boot1f32alt.s -> /home/fljagd/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1f32alt
[NASM] boot1x.s -> /home/fljagd/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1x
[NASM] boot1xalt.s -> /home/fljagd/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot1xalt
'Description.txt' -> '/home/fljagd/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/Description.txt'
'Installation.txt' -> '/home/fljagd/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/Installation.txt'
make: Leaving directory '/home/fljagd/src/edk2/Clover/BootHFS'
Done!

(nautilus:16445): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed

(nautilus:16445): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed

(nautilus:16445): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(nautilus:16445): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(nautilus:16445): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
===============================================================================
build started at:
Tue Oct  4 11:17:00 CEST 2016
finished at
Tue Oct  4 11:17:35 CEST 2016

Done!

Edit; "Little note"
In the file, it would be desirable to have the latest version of the script, if not for ubuntu, there is an error

Edited by Fljagd
Link to comment
Share on other sites

Hi Fljagd, if you refear to this:

(nautilus:16445): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed

(nautilus:16445): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed

(nautilus:16445): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(nautilus:16445): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(nautilus:16445): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

"nautilus" is a command line that comes with Ubuntu and does the same as "open" in OS X to open a folder in Finder (in this case open the CloverV2 directory after all is done). So the warnings comes from your Ubuntu, see here: http://askubuntu.com/questions/788182/nautilus-not-opening-up-showing-glib-error, solution here: https://ubuntuforums.org/showthread.php?t=2319175

and you have to solve by your self.. but IMHO they are a trascurable warnings (they are not errors), and anyway this does not affect Clover compilation ;).

i.e. all is Ok

Link to comment
Share on other sites

no, this  with 4.05

Sorry but than I can't understand why you show me a successfull log...


In the file, it would be desirable to have the latest version of the script, if not for ubuntu, there is an error

What do you mean here exactly, ..what file do you want? the latest script on my repo?

Please explain

Link to comment
Share on other sites

 

Sorry but than I can't understand why you show me a successfull log...

 

What do you mean here exactly, ..what file do you want? the latest script on my repo?

Please explain

 

Sorry not to be very clear, my english is poor

 

In fact, there are two things

1- the log I show you a picture is that the script v4.08

 

2- And as I am doing a new installation of Ubuntu

I ve uploaded the V4.05

which causes an error

This is why I suggested the update in the dowload,

  • Like 1
Link to comment
Share on other sites

Build_Clover-4.0.8.(UBUNTU-16.04)

I have some problems.

 

 

Buil_Clover4.0.8

Build_Clover script v4.0.8
                          <----------------------------------------------------
===============================================================================
By Micky1979 based on Slice, Zenith432, STLVNUB, JrCs, cecekpawon, Needy,
cvad, Rehabman, philip_petev

Supported OSes: macOS X, Ubuntu 16.04
                          <----------------------------------------------------
Remote revision: 3790 Local revision: 3790 
                          <----------------------------------------------------
Please enter your choice: 
 1) update Build_Clover.command
 2) update Clover only (no building)
 3) update & build Clover
 4) run my script on the source
 5) build existing revision (no update, for testing only)
 6) build existing revision for release (no update, standard build)
 7) build existing revision with custom macros enabled
 8) info and limitations about this script
 9) enter Developers mode (only for devs)
10) Exit
#? 6 

 

 

This does not works - BUILD_ISO="YES"  # YES if you want the iso

6)build existing revision for release-

Сompiled successfully.

post-617057-0-38231300-1475682005_thumb.jpg

7)build existing revision with custom macros enabled - 

Compiles not all directories Clover.

post-617057-0-60965000-1475680387_thumb.jpg

9)enter Developers mode

Working only points 1 and 2 menu.

 

 

Please enter your choice: 
1) build with ./ebuild.sh -nb
2) build with ./ebuild.sh --module=rEFIt_UEFI/refit.inf
3) build binaries (boot3, 6 and 7 also)
4) build binaries with FORCEREBUILD (boot3, 6 and 7 also)
5) build pkg
6) build iso
7) build pkg+iso
8) build all for Release
9) Back to Main Menu
10) Exit
#? 

 

 

 log3790UBU__item6.txt 

Item7_Bclover408_Clover3790.txt

Link to comment
Share on other sites

Hi droples. Looking at the log, drivers directories are not created because an error is encountered:

ENABLE_VBIOS_PATCH_CLOVEREFI

Generating BootSectors
make: Entering directory '/home/deep/src/edk2/Clover/BootHFS'
[NASM] boot0af.s -> /home/deep/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0af
nasm: fatal: unable to open output file `/home/deep/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0af'
Makefile:16: recipe for target '/home/deep/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0af' failed
make: *** [/home/deep/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0af] Error 1

but not sure why.

Link to comment
Share on other sites

Hi droples. Looking at the log, drivers directories are not created because an error is encountered:

ENABLE_VBIOS_PATCH_CLOVEREFI

Generating BootSectors
make: Entering directory '/home/deep/src/edk2/Clover/BootHFS'
[NASM] boot0af.s -> /home/deep/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0af
nasm: fatal: unable to open output file `/home/deep/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0af'
Makefile:16: recipe for target '/home/deep/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0af' failed
make: *** [/home/deep/src/edk2/Clover/CloverPackage/CloverV2/BootSectors/boot0af] Error 1
but not sure why.

Maybe the file is corrupted? Or the permissions are wrong?

 

@droples, could you, please, check if the above factors are implied?

 

Best regards.

  • Like 1
Link to comment
Share on other sites

:(  where

I updated with option 1 in builder_clover.command. The script is also up to date in: insanelymac/downloads  :)

 

 

or here: https://github.com/Micky1979/Build_Clover  ;)

Build_Clover.command-4.0.8.

Clover, which I compiled in Ubuntu works without problem on the desktop (Z77-ds3h).

attachicon.gif3807metal.jpg

attachicon.gifUbuntu_Build_Clover-4.0.8_Log.zip

Good droples! ..(here too) :lol:

Link to comment
Share on other sites

Hi Guys, take a look:

post-674334-0-89963900-1476457352_thumb.pngpost-674334-0-38170100-1476457379_thumb.png

The interface is almost ready... need a logo for Clover... adjusting the buttons at the window 2 (totally drawn in code like the rest of the app).

Will require time to finish.. but did you like?

  • Like 1
Link to comment
Share on other sites

Some help please as i tried many times with fresh build by deleting src folder but always i get this error

 

 

[XCODE]
================= Making all in fdisk440 =================
    [MKDIR] /Users/alex/src/edk2/Clover/CloverPackage/sym/build/fdisk440
    [CC32] auto.c
    [CC32] cmd.c
    [CC32] disk.c
    [CC32] fdisk.c
    [CC32] getrawpartition.c
    [CC32] mbr.c
    [CC32] misc.c
    [CC32] opendev.c
    [CC32] part.c
    [CC32] user.c
    [CC64] auto.c
    [CC64] cmd.c
    [CC64] disk.c
    [CC64] fdisk.c
    [CC64] getrawpartition.c
    [CC64] mbr.c
    [CC64] misc.c
    [CC64] opendev.c
    [CC64] part.c
    [CC64] user.c
    [LD32] fdisk440_32
ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/users/alex/src/edk2/Clover/CloverPackage/sym/utils/fdisk440] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [pkg] Error 2
===============================================================================
build started at:
Fri Oct 14 22:14:25 EEST 2016
finished at
Fri Oct 14 22:17:44 EEST 2016

Done!
                          <----------------------------------------------------
logout

[Process completed]
 

Link to comment
Share on other sites

×
×
  • Create New...