Jump to content
ErmaC

Clover problems report & features request

946 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.

Announcements

  • Similar Content

    • By STLVNUB
      *Put the script into its own folder as it will create other folders*
      What is BTB?
      Script file to clone and help build Clover or Opencore repos
      Script will create link to itself in /usr/local/bin/bob
      Script SHOULD fix up any stray bobs you may have.
      Then you only need to type bob. and a parameter
      "a" for ACID repo, official
      "d" for ACID repo DUET build
      "c" for CLOVER
      "e" to erase UDK Folder
      Easier typing bob than.....usual stuff
      YOU WILL NEED TO cmod+x THE SCRIPT
      Enjoy
       
    • 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 ALGhackintosh
      Hi @chris1111 i have a tenda w311ma usb wireless adapter , i wanted to make it work with my catalina hackintosh so i installed the driver from the official site , the Rt2870driver.kext file and your wireless panel utility but i have a problem : The software dosent always connect to the acess points and when it does , and everything seems to be ok (even in network section of the system preferences ) when i go to safari for example it tells me that im not connected . I tried to connect the pc to my phone using hotspot , same problem in the pc it shows connected to network but in the phone the pc doesnt appear in the list of the connected devices . What to do ? Please help me !
       
×