Jump to content
ErmaC

Clover problems report & features request

932 posts in this topic

Recommended Posts

16 minutes ago, Matgen84 said:

Hi Clover Team @vit9696  @savvas and others users

 

I can't build Clover r4678  because AppleSupportPkg/Apfsdriverloader files problem. Take a look, please: build.py error 7000

 

I've same error when I use macbuild.tool from AppleSupportPkg-master folder

 

Sorry for my bad english


Building ... /Users/mathieu/src/EXT_PACKAGES/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader.inf [X64]
[CC] AppleImageLoader
/Users/mathieu/src/EXT_PACKAGES/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader.c:532:36: error: operand of type 'EFI_GUID' (aka 'GUID') where arithmetic or pointer type is required
        if (CompareMem((EFI_GUID *)(ApplePartitionInfo->PartitionType),
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[CC] FirmwareVolumeInject
1 error generated.
make: *** [/Users/mathieu/src/UDK2018/Build/AppleSupportPkg/RELEASE_XCODE8/X64/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader/OUTPUT/ApfsDriverLoader.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/mathieu/src/UDK2018/Build/AppleSupportPkg/RELEASE_XCODE8/X64/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader]


build.py...
 : error F002: Failed to build module
	/Users/mathieu/src/EXT_PACKAGES/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader.inf [X64, XCODE8, RELEASE]

- Failed -

 

 

Update efipkg

Share this post


Link to post
Share on other sites
Advertisement
5 minutes ago, savvas said:

applesupportpkg depends on https://github.com/acidanthera/EfiPkg

Build script should update dependencies before build like our macbuild.tool

 

Dids Build script use clover ".ebuild.sh --ext-co" How to update dependencies in this case? I've same problem with macbuid.tool from git clone ApplesupportPkg...

 

Some solutions.

"clang" -target x86_64-pc-win32-macho -c -g -Os -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS  -Wno-varargs -D DISABLE_NEW_DEPRECATED_INTERFACES  -o /Users/mathieu/Desktop/AppleSupportPkg-master/UDK/Build/AppleSupportPkg/DEBUG_XCODE5/X64/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader/OUTPUT/./ApfsDriverLoader.obj -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg/Platform/ApfsDriverLoader -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/Build/AppleSupportPkg/DEBUG_XCODE5/X64/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader/DEBUG -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg/Include -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/MdePkg -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/MdePkg/Include -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/MdePkg/Include/X64 -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/IntelFrameworkModulePkg -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/IntelFrameworkModulePkg/Include -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/EfiPkg -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/EfiPkg/Include -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/EfiPkg/Include/X64 /Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader.c
/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader.c:532:36: error: operand of type 'EFI_GUID' (aka 'GUID') where arithmetic or pointer type is required
        if (CompareMem((EFI_GUID *)(ApplePartitionInfo->PartitionType),
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/Build/AppleSupportPkg/DEBUG_XCODE5/X64/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader/OUTPUT/ApfsDriverLoader.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/Build/AppleSupportPkg/DEBUG_XCODE5/X64/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader]


build.py...
 : error F002: Failed to build module
	/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader.inf [X64, XCODE5, DEBUG]

- Failed -

 

Share this post


Link to post
Share on other sites
8 minutes ago, Matgen84 said:

 

Dids Build script use clover ".ebuild.sh --ext-co" How to update dependencies in this case? I've same problem with macbuid.tool from git clone ApplesupportPkg...

 

Some solutions.


"clang" -target x86_64-pc-win32-macho -c -g -Os -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS  -Wno-varargs -D DISABLE_NEW_DEPRECATED_INTERFACES  -o /Users/mathieu/Desktop/AppleSupportPkg-master/UDK/Build/AppleSupportPkg/DEBUG_XCODE5/X64/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader/OUTPUT/./ApfsDriverLoader.obj -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg/Platform/ApfsDriverLoader -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/Build/AppleSupportPkg/DEBUG_XCODE5/X64/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader/DEBUG -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg/Include -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/MdePkg -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/MdePkg/Include -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/MdePkg/Include/X64 -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/IntelFrameworkModulePkg -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/IntelFrameworkModulePkg/Include -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/EfiPkg -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/EfiPkg/Include -I/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/EfiPkg/Include/X64 /Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader.c
/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader.c:532:36: error: operand of type 'EFI_GUID' (aka 'GUID') where arithmetic or pointer type is required
        if (CompareMem((EFI_GUID *)(ApplePartitionInfo->PartitionType),
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/Build/AppleSupportPkg/DEBUG_XCODE5/X64/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader/OUTPUT/ApfsDriverLoader.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/Build/AppleSupportPkg/DEBUG_XCODE5/X64/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader]


build.py...
 : error F002: Failed to build module
	/Users/mathieu/Desktop/AppleSupportPkg-master/UDK/AppleSupportPkg/Platform/ApfsDriverLoader/ApfsDriverLoader.inf [X64, XCODE5, DEBUG]

- Failed -

 

Wow, I see, I forgot about master branch. Sorry I'll merge them

Check this out

Edited by savvas

Share this post


Link to post
Share on other sites
41 minutes ago, Matgen84 said:

Gracias  :) , no entiendo tu respuesta. ¿Puedes explicar? Por favor


Download the folder that says savvas and copy it in src / edk2 /. Before you have to rename it to Efipkg.
It worked for me in this way.

https://github.com/acidanthera/EfiPkg

Edited by camillionario

Share this post


Link to post
Share on other sites
7 minutes ago, savvas said:

I fixed this problem, no need to do this steps

 

Thanks a lot. All works fine again with macbuild.tool and Dids Build script :)

Edited by Matgen84

Share this post


Link to post
Share on other sites

Hi,

 

tried 4674 pkg installer from sourceforge yesterday, it installed well and seems to have worked.

However it reported back to be 4658 in the bottom right corner.

Never ever had this happen before.


Haven't seen somebody else report this, so there you go.

 

Rolled back to 4658 (which runs flawlessly so far). It's probably only irrelevant cosmetics, but eh… :rolleyes:

Share this post


Link to post
Share on other sites

Mojave installer refuses installation and wants a firmware update on MacPro5,1 SMBIOS. I'm using Clover revision 4674 with bios version MP51.88Z.F000.B00.1807300628 and with bios release date 07/30/18. Boot-ROM-Version is reported as MP51.F000.B00. Workaround (found here, german posting): If I manually change boot ROM version to 138.0.0.0.0 in clover boot options, then I'm able to install Mojave. Boot-ROM-Version then is reported correctly as 138.0.0.0.0, like on real Macs.

Share this post


Link to post
Share on other sites

@chris1111

To my understanding if using FV, use VirtualSmc.efi on VirtualSMC.kext or SMCHelper.efi on FakeSMC.

Remove both if not using FV.

 

Correct me if im wrong :)

 

Update: I saw you have updated your post. It seems you're correct that SMCHelper/VirtualSmc is NOT part of FV.

Edited by ellaosx
post updated

Share this post


Link to post
Share on other sites
3 hours ago, ellaosx said:

@chris1111

To my understanding if using FV, use VirtualSmc.efi on VirtualSMC.kext or SMCHelper.efi on FakeSMC.

Remove both if not using FV.

 

Correct me if im wrong :)

 

Update: I saw you have updated your post. It seems you're correct that SMCHelper/VirtualSmc is NOT part of FV.

 

In Virtualsmc FAQ: "VirtualSMC.efi module is recommended for boot.efi compatibility when FileVault 2 is enabled. SMCHelper-64.efi is not compatible with VirtualSMC.efi and must be removed."  FAQ   SMCHelper efi driver is not a replacement for FakeSMC.kext, it is a helper for it. Slice

 

For AptioInpuFix, "Reference driver to shim AMI APTIO proprietary mouse & keyboard protocols for File Vault 2 GUI input support" Read.md In my case, I don't use FV2 but this kext efi is the only way to have mouse for Clover GUI 'Asus Z77 mobo). 

 

If I Understand well, for no FV2 users: in EFI/Kexts/XX

 

  • FakeSMC + SMCHelper.efi (this efi in EFI/Drivers64UEFI)
  • or VirtualSMC
Edited by Matgen84

Share this post


Link to post
Share on other sites
50 minutes ago, Matgen84 said:

I don't use FV2 but this kext is the only way to have mouse for Clover GUI 'Asus Z77 mobo). 

you mean efi instead of kext.

 

"I don't use FV2 but this efi is the only way to have mouse for Clover GUI"

Edited by ellaosx

Share this post


Link to post
Share on other sites
1 minute ago, ellaosx said:

you mean efi instead of kext.

 

"I don't use FV2 but this efi is the only way to have mouse for Clover GUI 'Asus Z77 mobo). "

 

That's right, sorry

Share this post


Link to post
Share on other sites
8 hours ago, ellaosx said:

@chris1111

To my understanding if using FV, use VirtualSmc.efi on VirtualSMC.kext or SMCHelper.efi on FakeSMC.

Remove both if not using FV.

 

Correct me if im wrong :)

 

Update: I saw you have updated your post. It seems you're correct that SMCHelper/VirtualSmc is NOT part of FV.

Not sure because now the mistake is correct to r4690 SMCHelper is back to Mandatory :)

Share this post


Link to post
Share on other sites
3 minutes ago, WinstonAce said:

Well, calling it "Mandatory" is obviously wrong. :)

Since the introduce this drivers is mandatory 

Share this post


Link to post
Share on other sites
49 minutes ago, chris1111 said:

Dado que la introducción de este controlador es obligatoria 

I start with the laptop and the tower without SMC helper.efi without problems, so I do not think it is mandatory.

1633772446_Capturadepantalla2018-10-01alas14_26_53.png.66dfd01818f7364c0e6738360acefd2d.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By cvad
      View File Bootdisk Utility
      Make bootable USB Flash Disk for MAC OS X with Latest Clover bootloader revision fast and easy by one click! under OS Windows.
      Special utility from cvad & russian MAC community for new hackintosh users.
       
      Enjoy...
       
      For more information and complete instructions please see this topic.
       
      Anyone who likes the program, please support its Community Score.
       
       
      Feel free to "Rate File"
      Submitter cvad Submitted 04/28/2013 Category Bootloaders  
    • By cvad
      Make bootable USB Flash Disk for MAC OS X with Latest Clover bootloader revision fast and easy by one click! under OS Windows.
      Special utility from cvad & russian MAC community for new hackintosh users.
       
      Enjoy...
       
      For more information and complete instructions please see this topic.
       
      Anyone who likes the program, please support its Community Score.
       
       
      Feel free to "Rate File"
    • By mavifree
      Sir 
      I am new in this, i try to make my hp laptop in hackintosh but i facing some error in clover boot manager while installing but unable to understand it. I really try hard but not able to get there, something i noticed that i facing same kind of error every time. I just watched youtube and visitied so forum like tonymac86, InsanelyMac, Noobsplanate and so on but nothing solved. So Please Please I Request All of You If you can help me to resolve my problem.
      Here Is my Laptop Specs:
      --------------------------------------------------------------------
      Laptop : HP cs2082tx
      Mobo : HP84C1
      Southbridge : Coffee Lake-U/Y PCH
      CPU : Intel Core i5 8265U @ 1.60GHz Kaby Lake- U/Y
      Ram : 8 Gb
      HDD : 256GB SSD & 1TB HDD
      Graphics : Intel UHD Graphic 620 with nvidia MX250
      ----------------------------------------------------------------------
       
      I even don't is my laptop is compatible or not, and don't have MacBook or Mac Desktop so if you can provide important driver and other stuff for installation. I really be very thankful to you.
      Please Reply me if any other information about my laptop hardware i will attached it i only have this info right now. 
       
      and i here attached my screenshot while installation error in clover.
      Sorry for my English.
       
      Please Help Me 
       



×