Jump to content

Clover General discussion


ErmaC
29,868 posts in this topic

Recommended Posts

11 hours ago, fusion71au said:

PS:  I can't reply in original thread since I am not a developer ;)

thank you, 

 

11 hours ago, fusion71au said:

Notice the buildme script in Linux is not fully automatic since I still need to run source edksetup.sh in order to set correct TOOLCHAIN_DIR in /usr...

The only possible explanation is that the WORKSPACE enviromet variable is already set:

 

if [[ -z "$WORKSPACE" ]]; then

  export EDK_TOOLS_PATH="${PWD}"/BaseTools

  set +u

  source ./edksetup.sh BaseTools

  set -u

  cd "$CLOVERROOT"

  WORKSPACE="${PWD}"

fi

2 hours ago, ellaosx said:

@vector sigma

A suggestion to your buildme.

 

If i made a typo: ./buildme XCODE9


build: : warning: Tool chain [XCODE9] is not defined

build.py...
 : error 4000: Not available
	[XCODE9] not defined. No toolchain available for build!

- Failed -
Build end time: 16:20:41, Sep.23 2019
Build total time: 00:00:00

then the script goes back to main selection screen.


------------------------------------------------------------------------
buildme, Clover v2.5k r5089 (SHA: 0f1bca8)
TOOLCHAIN: XCODE9 (override example: './buildme XCODE8')

 1) build Clover
 2) make pkg
 3) make iso
 4) build all
 5) test build (no autogen, no boot files)
 6) status
 7) update Clover
 8) update Clover (reset changes)
 9) show diff
10) open drivers directory
11) clean BaseTools
12) quit
Please enter your choice:

but still, the typo (XCODE9) is still defined as the current flag.

 

I think it's better to exit the script and start over again, isnt it?

I'm sorry but even if this is possible to do, I want to keep buildme as clean as possible, it is just a wrapper...

  • Like 2
Link to comment
Share on other sites

16 hours ago, artur_pt said:

hello

 

not here

 

gettext 0.20.1 error compiling

 

Catalina last beta with Xcode 11

 

anyway if I use opt folder from Mojave, works good

 

thanks

 

Hi, I'm only in beta 6 and I'll try to update Catalina as soon I have time. I the meantime ensure libtool used is the one from Apple, i.e. not from brew or alike.

1 hour ago, arsradu said:

Could anyone, please, replace all ftp:// calls in buildgcc with https:// calls? I can't build Clover since I can't download GCC (port restricted).

I'll test it after dinner.

  • Like 2
Link to comment
Share on other sites

On 9/22/2019 at 11:47 AM, Matgen84 said:

Hi @vector sigma @Slice

 

Thanks a lot for last commit on Clover Template :)

 

It is possible to have: Clover v2.5 RELEASE (nb_commits-last-commits) both in Installer and Read Info (Version line).

 

On 9/22/2019 at 12:42 PM, vector sigma said:

No because breaks Clover updater

 

@vector sigma

 

Just my stupid request: Clover v2.5_RELEASE_LastCommits.pkg or Clover v2.5_RELEASE_DateLastCommits.pkg useful for those who want to keep several Clover pkg). 

 

If it isn't possible: how to do it in a postbuild script fo example. Thanks :worried_anim:

 

 declare -r distributionFilename="${packagename// /}_${CLOVER_VERSION}_r${CLOVER_REVISION}_${CLOVER_SHA1}.pkg"

 

 

Capture d’écran 2019-09-23 à 13.18.16.png

Link to comment
Share on other sites

39 minutes ago, Matgen84 said:

how to do it in a postbuild script fo example. Thanks :worried_anim:

#!/bin/bash

# $1 = path to Clover
# $2 = toolchain (XCODE8, GCC53 etc.)

# This script is an expansion for buildme, and require the above arguments to be functional

if [[ ! -x "${1}"/ebuild.sh ]]; then
  echo "can't find Clover"
  exit 1
fi

cd "${1}"/CloverPackage
make pkg

mv -f sym/*.pkg sym/"Clover_v2.5k_r$(cat ${1}/vers.txt)_$(git -C ${1} rev-parse --short HEAD).pkg"

 

Edited by vector sigma
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, Pene said:

That is because my patch for that from r5074/sf didn't get to github.

 

I committed that change now to github. Try again.

 

hello pene and all clover dev

 

that last commit to git solve the issue in Catalina

 

thanks

Link to comment
Share on other sites

Trying to build Clover from home, I'm getting this error:

 

make: *** [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/StartupSound.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/jimmy/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE]

- Failed -
Build end time: 20:58:21, Sep.23 2019
Build total time: 00:00:53

 

Link to comment
Share on other sites

4 minutes ago, arsradu said:

Trying to build Clover from home, I'm getting this error:

 


make: *** [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/StartupSound.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/jimmy/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE]

- Failed -
Build end time: 20:58:21, Sep.23 2019
Build total time: 00:00:53

 

Sorry but the error several lines before.

- Done -
Build end time: 20:19:52, Sep.23 2019
Build total time: 00:03:56

 

Link to comment
Share on other sites

2 minutes ago, Slice said:

Sorry but the error several lines before.


- Done -
Build end time: 20:19:52, Sep.23 2019
Build total time: 00:03:56

 

 

Hi Slice!

 

Yeah, I wasn't sure where to copy from....

 

I think this should be better.

 

If not, I can attach the entire log as txt and that should do it.

Building ... /Users/jimmy/src/CloverBootloader/Drivers/AtaAtapi/AtaAtapiPassThru.inf [X64]
[CC] AhciMode
[CC] AtaAtapiPassThru
[CC] AutoGen
[CC] Settings
[CC] ComponentName
set-variable: In function 'StartupSoundPlay':
set-variable:175:9: internal compiler error: Segmentation fault: 11
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make: *** [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/StartupSound.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/jimmy/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE]

- Failed -
Build end time: 20:58:21, Sep.23 2019
Build total time: 00:00:53

 

Link to comment
Share on other sites

10 minutes ago, arsradu said:

Trying to build Clover from home, I'm getting this error:

 


make: *** [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/StartupSound.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/jimmy/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/jimmy/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE]

- Failed -
Build end time: 20:58:21, Sep.23 2019
Build total time: 00:00:53

 

 

Until we sort the GCC issues, you can use:

./buildme XCODE8

that will work

  • Like 2
Link to comment
Share on other sites

is this normal?

take note of the: Not setting time of file PATCHES (time mismatch)

- gmp-6.1.2 extracting...
- gmp-6.1.2 extracted
- gmp-6.1.2 configure...
- gmp-6.1.2 make...
- gmp-6.1.2 installed in /Users/ella/src/opt/local
- mpfr-4.0.2 extracting...
- mpfr-4.0.2 extracted
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1577  100  1577    0     0    577      0  0:00:02  0:00:02 --:--:--   577
patching file PATCHES
Not setting time of file PATCHES (time mismatch)
patching file VERSION
patching file src/mpfr-impl.h
patching file src/mpfr.h
patching file src/version.c

 

Edited by ellaosx
Link to comment
Share on other sites

9 hours ago, n.d.k said:

I got the same problem as Pene did, ./buildme XCODE8 works just fine. Thanks!

 

Catalina Beta 8 and Xcode 11 final.

I had the same problem as Pene did, ./buildme until executed the command: cp -R "$HOME"/src/edk2/Clover/Patches_for_EDK2/* "$HOME"/src/edk2/

With macOS Mojave 10.14.6 (18G95) and Xcode 11 (11A420a) bat ./buildme XCODE8 works fine. Then I rewrote clovergit and cloversvn. Please try both batch files, maybe they will work correctly with Catalina Beta 8 and Xcode 11 final.

clovergit.zip

cloversvn.zip

  • Like 1
Link to comment
Share on other sites

1 hour ago, MakAsus said:

I had the same problem as Pene did, ./buildme until executed the command: cp -R "$HOME"/src/edk2/Clover/Patches_for_EDK2/* "$HOME"/src/edk2/

With macOS Mojave 10.14.6 (18G95) and Xcode 11 (11A420a) bat ./buildme XCODE8 works fine. Then I rewrote clovergit and cloversvn. Please try both batch files, maybe they will work correctly with Catalina Beta 8 and Xcode 11 final.

clovergit.zip

cloversvn.zip

https://github.com/CloverHackyColor/edk2.git doesn't need patches, it is already patched.

  • Like 2
Link to comment
Share on other sites

33 minutes ago, vector sigma said:

https://github.com/CloverHackyColor/edk2.git doesn't need patches, it is already patched.

Fail Сlovergit does not contain any patches bat  cp -R "$HOME"/src/edk2/Clover/Patches_for_EDK2/* "$HOME"/src/edk2/ applies only to cloversvn. I had problems with ./buildme only with the SVN branch. The choice are, I made XCODE8 or GCC53 in both branches just in case.

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

12 minutes ago, MakAsus said:

Fail Сlovergit does not contain any patches bat  cp -R "$HOME"/src/edk2/Clover/Patches_for_EDK2/* "$HOME"/src/edk2/ applies only to cloversvn. I had problems with ./buildme only with the SVN branch. The choice are, I made XCODE8 or GCC53 in both branches just in case.

I didn't mentioned the CloverBootloader repository at github, but the edk version forked by Slice on github which is already patched, used by the script among Clover at source forge. 

  • Like 2
Link to comment
Share on other sites

37 minutes ago, MakAsus said:

Fail Сlovergit does not contain any patches bat  cp -R "$HOME"/src/edk2/Clover/Patches_for_EDK2/* "$HOME"/src/edk2/ applies only to cloversvn. I had problems with ./buildme only with the SVN branch. The choice are, I made XCODE8 or GCC53 in both branches just in case.

 

@vector sigma  thank you for explaining again to those who did not understand well

 

@MakAsus look at the summary below

 

 

Capture d’écran 2019-09-24 à 14.00.36.png

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

×
×
  • Create New...