Jump to content
30960 posts in this topic

Recommended Posts

@vector sigma

Please enter your choice: 1
[CHECK XCODE]

Status: gettext-0.20.1.tar.xz not found.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 9127k  100 9127k    0     0   382k      0  0:00:23  0:00:23 --:--:--  615k
- Creating new RAM disk

Initialized /dev/rdisk1 as a 300 MB case-insensitive HFS Plus volume
-  gettext-0.20.1 extract...
-  gettext-0.20.1 configure...
-  gettext-0.20.1 make...
-  gettext-0.20.1 installing...
-  gettext-0.20.1 installed in /Users/ellaosx/src/opt/local

- Ejecting RAM disk
"disk1" unmounted.
"disk1" ejected.
[BUILD CLOVER]
TOOLCHAIN_DIR: /Users/ellaosx/src/opt/local
MTOC_PREFIX: /usr/local/bin/

Status: nasm-2.14.02.tar.xz not found.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  808k  100  808k    0     0   108k      0  0:00:07  0:00:07 --:--:--  163k
- Creating new RAM disk

Initialized /dev/rdisk1 as a 300 MB case-insensitive HFS Plus volume
-  nasm-2.14.02 extract...
-  nasm-2.14.02 configure...
-  nasm-2.14.02 make...
-  nasm-2.14.02 installing...
-  nasm-2.14.02 installed in /Users/ellaosx/src/opt/local

- Ejecting RAM disk
"disk1" unmounted.
"disk1" ejected.
NASM_PREFIX: /Users/ellaosx/src/opt/local/bin/
NASM_VER: 2.14.02
Building from: /Users/ellaosx/src/CloverBootloader
./ebuild.sh: line 544: EDK_TOOLS_PATH: unbound variable
iMac:~ ellaosx$ 

 

1 hour ago, ellaosx said:

@vector sigma


Please enter your choice: 1
[CHECK XCODE]

Status: gettext-0.20.1.tar.xz not found.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 9127k  100 9127k    0     0   382k      0  0:00:23  0:00:23 --:--:--  615k
- Creating new RAM disk

Initialized /dev/rdisk1 as a 300 MB case-insensitive HFS Plus volume
-  gettext-0.20.1 extract...
-  gettext-0.20.1 configure...
-  gettext-0.20.1 make...
-  gettext-0.20.1 installing...
-  gettext-0.20.1 installed in /Users/ellaosx/src/opt/local

- Ejecting RAM disk
"disk1" unmounted.
"disk1" ejected.
[BUILD CLOVER]
TOOLCHAIN_DIR: /Users/ellaosx/src/opt/local
MTOC_PREFIX: /usr/local/bin/

Status: nasm-2.14.02.tar.xz not found.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  808k  100  808k    0     0   108k      0  0:00:07  0:00:07 --:--:--  163k
- Creating new RAM disk

Initialized /dev/rdisk1 as a 300 MB case-insensitive HFS Plus volume
-  nasm-2.14.02 extract...
-  nasm-2.14.02 configure...
-  nasm-2.14.02 make...
-  nasm-2.14.02 installing...
-  nasm-2.14.02 installed in /Users/ellaosx/src/opt/local

- Ejecting RAM disk
"disk1" unmounted.
"disk1" ejected.
NASM_PREFIX: /Users/ellaosx/src/opt/local/bin/
NASM_VER: 2.14.02
Building from: /Users/ellaosx/src/CloverBootloader
./ebuild.sh: line 544: EDK_TOOLS_PATH: unbound variable
iMac:~ ellaosx$ 

Just need to fix the line:


export WORKSPACE="$PWD"

to:


export WORKSPACE=${WORKSPACE:-}

 

ebuild.sh.zip

Edited by MakAsus

Hi @vector sigma

 

Can you make a change in your great script to backup user local Build script before update from source (SourceForge and Github version). It will very useful for those who add 'aptiomemoryfix R27' or others things... like personal theme for example.

 

Thanks a lot

46 minutes ago, Slice said:

WORKSPACE in this case will be imported from previous build.

Hi, changes to ebuild.sh prevent the compilation of BaseTools in a fresh workspace (if WORKSPACE is already defined), i.e. there's no need to manually call make on it as it will be done automatically.

29 minutes ago, Matgen84 said:

Hi @vector sigma

 

Can you make a change in your great script to backup user local Build script before update from source (SourceForge and Github version). It will very useful for those who add 'aptiomemoryfix R27' or others things... like personal theme for example.

 

Thanks a lot

How? 

Hi guys,

 

I guess I'm still missing something, cause I got the same error again... Not sure why. Yesterday it worked fine... Now it's back at:

build.py...
 : error C0DE: Unknown fatal error when processing [/Users/jimmy/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf]

This is what I'm using to build:

cd ~
mkdir src
cd src
git clone https://github.com/CloverHackyColor/edk2.git --depth 1
cd edk2
svn co https://svn.code.sf.net/p/cloverefiboot/code/ Clover
make -C BaseTools/Source/C
source edksetup.sh
cd Clover
./buildgettext.sh
./buildmtoc.sh
./buildnasm.sh
./ebuild.sh -fr
cd CloverPackage
./makepkg

 

  • Sad 1
43 minutes ago, vector sigma said:

Hi, changes to ebuild.sh prevent the compilation of BaseTools in a fresh workspace (if WORKSPACE is already defined), i.e. there's no need to manually call make on it as it will be done automatically.

 

I encounter a problem that I was compiled Clover from ~/src/EDK2/Clover. There is WORKSPACE=Edk2.

Then I switched to CloverBootloader from github and I can't compile because WORKSPACE is already defined to Edk2.

How it can be resolved?

O! Different bash windows for different projects!

2 minutes ago, Badruzeus said:

Plz refer to @fusion71au post here (to summarize):

.. hmmb, I don't think https://github.com/CloverHackyColor/edk2.git is exist #btw :)

And, not sure why `svn co` is executed later #LOL. I meant, yeah.. we have 2 repos on 2 diff locations #atm (which previously, was also confusing me.. though, seems normal on migration progress). Thanks.

 

Hi @Badruzeus

 

What do you mean: "I don't think https://github.com/CloverHackyColor/edk2.git is exist". I don't understand: I use it both SF script and Github script (replacing svn co by git checkout of course). I've made a mistake.

 

 

Hello.

Haiku (BeOS) is EFI capable since Beta 1 last year. Any idea how to load this OS via Clover?

Plz correct me if I'm wrong; BFS driver from grub has been exist since ancient Chameleon era with Legacy.

With UEFI, I tried placing bfs_x64.efi from here onto \efi\clover\drivers\uefi.. but once I chainload \efi\boot\bootx64.efi (Haiku Bootloader from separated ESP) via Clover, the machine got frozen. Guessing, I missed something.

 

Is there any special EFI FS which is Clover compatible or is not?

Or, you may wanna take a look BFS efi driver from this repo? Thanks.

Screen Shot 2019-09-09 at 18.03.12.jpg

Screen Shot 2019-09-09 at 19.07.57.jpg

Edited by Badruzeus
  • Like 1
26 minutes ago, Badruzeus said:

Plz refer to @fusion71au post here (to summarize):

.. hmmb, I don't think https://github.com/CloverHackyColor/edk2.git is exist #btw :)

And, not sure why `svn co` is executed later #LOL. I meant, yeah.. we have 2 repos on 2 diff locations #atm (which previously, was also confusing me.. though, seems normal on migration progress). Thanks.

 

 

Hi Badruzeus!

 

Thanks for the link. I'll check it out. :) 

 

https://github.com/CloverHackyColor/edk2.git definitely does exist. :) But I guess we shouldn't mix and match the new CloverHackyColor GIT repo with the old Clover SVN repo. Or if we do, as fusion said, we should probably use a specific edk2 revision from tianocore (with patches later on).

 

I'll try using "git clone https://github.com/CloverHackyColor/CloverBootloader.git" though and see if that works.

 

Funny thing is that, despite of that error, the build is actually completed successfully, and it works ok, for as far as I can tell. :))

 

Anyway, once again, thanks for the link.

Edited by arsradu
  • Haha 2
19 minutes ago, Matgen84 said:

 

Hi @Badruzeus

 

What do you mean: "I don't think https://github.com/CloverHackyColor/edk2.git is exist". I don't understand: I use it both SF script and Github script (replacing svn co by git checkout of course). I've made a mistake.

@arsradu @Matgen84 Oh my bad, it was mistake. Sorry for wrong comment; I thought he wanna clone CloverBootloader repo from github #LOL.. now I just realized it was EDKII. :lol: I have to correct that https://github.com/CloverHackyColor/edk2.git is exist. I deleted prev. confusing reply. Thanks anyway.

 

#EDIT: Though, not sure since when this EDKII was exist #LMAO.

Edited by Badruzeus
  • Like 1
6 minutes ago, arsradu said:

 

 

Hi Badruzeus!

 

Thanks for the link. I'll check it out. :) 

 

https://github.com/CloverHackyColor/edk2.git definitely does exist. :) But I guess we shouldn't mix and match the new CloverHackyColor GIT repo with the old Clover SVN repo. Or if we do, as fusion said, we should probably use a specific edk2 revision from tianocore (with patches later on).

 

I'll try using "git clone https://github.com/CloverHackyColor/CloverBootloader.git" though and see if that works.

 

Funny thing is that, despite of that error, the build is actually completed successfully, and it works ok, for as far as I can tell. :))

 

Anyway, once again, thanks for the link.

 

@Slice said: same EDK2 is already patched in the two repo, I think. Why re-patch?  

 

I use two script: one for SF repo and one for Github repo to avoid confusing specially with svn: all works fine.

 

 

1 hour ago, Matgen84 said:

 

@Slice said: same EDK2 is already patched in the two repo, I think. Why re-patch?  

 

I use two script: one for SF repo and one for Github repo to avoid confusing specially with svn: all works fine.

 

No, no. No need to rep-patch. But as Slice said above, and as I was trying to say myself (not successfully apparently :)), this only applies when using tianocore's EDK2. So not with CloverHackyColor.

 

I'll try using CloverBootloader on its own...see how that works.

 

That didn't quite work for me...

 

I'm getting this:

 

[XCODE]
================= Making all in boot1-install =================
	[XCODE] boot1-install
================= Making all in partutil =================
	[XCODE] partutil
================= Making all in bdmesg =================
	[XCODE] bdmesg
================= Making all in clover-genconfig =================
	[XCODE] clover-genconfig
================= Making all in espfinder =================
	[XCODE] espfinder
sed: package/../../Version.h: No such file or directory
Failed conversion of ``'' using format ``%Y-%m-%d %H:%M:%S''
date: illegal time format
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... 
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]

 

Edited by arsradu
1 hour ago, arsradu said:

 

No, no. No need to rep-patch. But as Slice said above, and as I was trying to say myself (not successfully apparently :)), this only applies when using tianocore's EDK2. So not with CloverHackyColor.

 

I'll try using CloverBootloader on its own...see how that works.

 

That didn't quite work for me...

 

I'm getting this:

 


[XCODE]
================= Making all in boot1-install =================
	[XCODE] boot1-install
================= Making all in partutil =================
	[XCODE] partutil
================= Making all in bdmesg =================
	[XCODE] bdmesg
================= Making all in clover-genconfig =================
	[XCODE] clover-genconfig
================= Making all in espfinder =================
	[XCODE] espfinder
sed: package/../../Version.h: No such file or directory
Failed conversion of ``'' using format ``%Y-%m-%d %H:%M:%S''
date: illegal time format
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... 
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]

 

 

You can use Vector Sigma's build script from Clover directory. He make two pre-script: one for SF and one for Github (files in attachment) for create structure and launch his script. Clean install of course.

clovergit

cloversvn

Edited by Matgen84
  • Like 1
58 minutes ago, Matgen84 said:

 

You can use Vector Sigma's build script from Clover directory. He make two pre-script: one for SF and one for Github (files in attachment) for create structure and launch his script. Clean install of course.

clovergit

cloversvn

 

Hmm... clovergit script shows an error in ebuild.sh.

 

Building from: /Users/jimmy/src/CloverBootloader
./ebuild.sh: line 544: EDK_TOOLS_PATH: unbound variable

I see ellaosx had the exact same issue.

 

Worked with the ebuild.sh provided by MakAsus.

Edited by arsradu
29 minutes ago, arsradu said:

 

Hmm... clovergit script shows an error in ebuild.sh.

 


Building from: /Users/jimmy/src/CloverBootloader
./ebuild.sh: line 544: EDK_TOOLS_PATH: unbound variable

I see ellaosx had the exact same issue.

 

Worked with the ebuild.sh provided by MakAsus.

 

Can you post ebuild.sh provided by MakAsus, please. :) 

Hi @vector sigma

 

I've new option in Buildme after I try to update Clover from script (there are no present in repo): <<<<<<< Updated upstream  and >>>>>>> Stashed changes. Syntax errors.

 

The script is broken in Terminal. I don't understand why

6 hours ago, Slice said:

O! Different bash windows for different projects!

Yep, a lot of enviroment variables are exported, not sure as I haven't tried but probably doing that (using the same terminal session) will causes 'make pkg' to build the package from the wrong and unexpected workspace as well. So I can revert the changes made?:angel:

Edited by vector sigma
typo
58 minutes ago, Matgen84 said:

Hi @vector sigma

 

I've new option in Buildme after I try to update Clover from script (there are no present in repo): <<<<<<< Updated upstream  and >>>>>>> Stashed changes. Syntax errors.

 

The script is broken in Terminal. I don't understand why

Not sure you can commit changes, so why not to not try to create a stash? :P

2 hours ago, arsradu said:

 

Hmm... clovergit script shows an error in ebuild.sh.

 


Building from: /Users/jimmy/src/CloverBootloader
./ebuild.sh: line 544: EDK_TOOLS_PATH: unbound variable

I see ellaosx had the exact same issue.

 

Worked with the ebuild.sh provided by MakAsus.

caused by this commit. Waiting Slice if He wants to revert changes to ebuild.sh

5 minutes ago, vector sigma said:

Not sure you can commit changes, so why not to not try to create a stash? :P

caused by this commit. Waiting Slice if He wants to revert changes to ebuild.sh

Everybody can commit changes to his local repo. He just can't push changes to github.

 

I don't know if I want to revert ebuild.sh. Both versions are wrong.

39 minutes ago, Slice said:

Everybody can commit changes to his local repo. He just can't push changes to github.

right, but I made it to pull keeping my changes. I'll remove that option as I can do it just by hand.

 

39 minutes ago, Slice said:

I don't know if I want to revert ebuild.sh. Both versions are wrong.

exporting WORKSPACE  from  ebuild.sh, from the gith version firstly, will cause $WORKSPACE to be the same in git if or when you will switch to the svn one from the same Terminal session. Unless you want to totally override Conf/BuildEnv.sh, but then you have to export EDK_TOOLS_PATH adding also Darwin-x86_64 to $PATH.

Edited by vector sigma
×
×
  • Create New...