Jump to content

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


Micky1979
2,126 posts in this topic

Recommended Posts

All went well here too...

Remote revision: 3769 Local revision: 3769 
                          <----------------------------------------------------
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
#? 1
===============================================================================
SELF UPDATE
                          <----------------------------------------------------
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 52784  100 52784    0     0   151k      0 --:--:-- --:--:-- --:--:--  152k

a new Build_Clover.command is available,
do you want to overwrite the script? (Y/n)\n
Y
done!
re run the new script, and apply your changes (if any)
  • Like 1
Link to comment
Share on other sites

A picture, please.

 

I probably shouldn't have posted that last thing at night. Here's a screengrab of it.

 

I just built 3769 and it's doing the same thing. I know you probably need a buildlog but I can't find it. I'm just building a 64-bit version with the default settings (-x64 -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -t XCODE5 | -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -D USE_LOW_EBDA -a X64 -b RELEASE -t XCODE5 -n 5 | OS: 10.11.6 | XCODE: 7.3.1)

 

I rolled back to script version 4.0.3 and built 3769 to see if that would make any difference, but it didn't.

 

I've even deleted the src folder and started from scratch but still get this broken Clover menu.

  • Like 1
Link to comment
Share on other sites

where should gettext download from im getting this with latest script after deleting source folder

 

gettext check:

                          <----------------------------------------------------

gettext not found..

 

Status: gettext-latest.tar.gz not found.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:--  0:01:14 --:--:--     0curl: (7) Failed to connect to ftp.gnu.org port 80: Operation timed out

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

 

Link to comment
Share on other sites

Script SHOULD do this itself, "sudo apt-get install etc"

Obviously it doesn't do it, YET!

Thank you

 

Hello,

 

you must manually install uuid-dev, subversion and Nasm by typing in Terminal. And relaunch the script.

Can you give me the procedure

Command lines, I debute on ubuntu

Thank you

Link to comment
Share on other sites

Hello,

 

you must manually install uuid-dev, subversion and Nasm by typing in Terminal. And relaunch the script.

 

no Fljagd pose a question on what they are, just type "Y" to install

Script SHOULD do this itself, "sudo apt-get install etc"

Obviously it doesn't do it, YET!

same, just type "Y"

        echo "Build_Clover need these things to be installed:"
        echo "${tasksARRAY[@]}"
        echo "but they were not found."
        echo "would you allow to install it/them? (Y/N)"

        read answer

        case $answer in
        Y | y)

..

uuid-dev is the "Unic id library", needed by edk2

subversion is the "svn" command you usually have already installed in OS X

nasm is the assembler already have in OS X ..but that usually we don't use because is very old...so that we install again. In Ubuntu It is not even installed..

 

You type the "Y" on these questions or have performed a manually installation?

curl: (7) Failed to connect to ftp.gnu.org port 80: Operation timed out

 

sorry a timeout for your connection is not my fault

  • Like 1
Link to comment
Share on other sites

no Fljagd pose a question on what they are, just type "Y" to install

same, just type "Y"

        echo "Build_Clover need these things to be installed:"
        echo "${tasksARRAY[@]}"
        echo "but they were not found."
        echo "would you allow to install it/them? (Y/N)"

        read answer

        case $answer in
        Y | y)

uuid-dev is the "Unic id library", needed by edk2

subversion is the "svn" command you usually have already installed in OS X

nasm is the assembler already have in OS X ..but that usually we don't use because is very old...so that we install again. In Ubuntu is not even installed..

 

You type the "Y" on these questions or have performed a manually installation?

sorry a timeout for your connection is not my fault

Thank Micky

  • Like 2
Link to comment
Share on other sites

the script ask if you want to install something (sorry is in English only... but is only a script..), so the answer can be "Y" or "y" that mean "yes"... all other characters make the script fail voluntarily.

the script make the question because if you run the script from the "root" user account you have the possibility to not install those things. This because the root user does not wait for the password of root... since is already root, so the script ask anyway.

Link to comment
Share on other sites

the script ask if you want to install something (sorry is in English only... but is only a script..), so the answer can be "Y" or "y" that mean "yes"... all other characters make the script fail voluntarily.

the script make the question because if you run the script from the "root" user account you have the possibility to not install those things. This because the root user does not wait for the password of root... since is already root, so the script ask anyway.

right, but when i type my password nothing happends

I tried all possible combinations

and nothing, I'm bored

But such writings before the FTP connection is out

Link to comment
Share on other sites

only wonder how this can be happen without show any error:

 

        echo "Build_Clover need these things to be installed:"

        echo "${tasksARRAY[@]}"

        echo "but they were not found."

        echo "would you allow to install it/them? (Y/N)"

 

        read answer

 

        case $answer in

        Y | y)

            if [[ "$USER" != root ]]; then echo "type your password to install:" && sudo -s; fi

            apt-get update

            for stuff in "${tasksARRAY[@]}"

            do

                apt-get install $stuff

            done

            sudo -k

       ;;

       *)

            printError "Build_Clover cannot go ahead without it/them, process aborted!\n"

            exit 1

        ;;

        esac

 

..not sure, only bash can make this happen if is a lot buggie

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...