I'm trying to build the gecko-dev [1] repository [2] on my Windows 10 [3] laptop [4].
Now, bear in mind that I'm all new to Shell Script [5] and Gecko [6]. I just started working with this stuff today. So, no matter how stupid my question may seem to you, please consider being helpful without treating this issue as an unimportant one.
I'm using the following Shell Script code:
echo -e "
e[34m[EnderKit]e[0m Downloading Gecko"
git clone https://github.com/mozilla/gecko-dev.git
echo -e "
e[34m[EnderKit]e[0m Downloading Git Cinnabar"
git clone https://github.com/glandium/git-cinnabar.git
echo -e "
e[34m[EnderKit]e[0m Setting The PATH Of Git Cinnabar"
export PATH=$PATH:/c/Users/win10/Desktop/EnderCommunity/EnderKit/git-cinnabar/
echo -e "
e[34m[EnderKit]e[0m Testing Git Cinnabar"
git cinnabar --version
echo -e "
e[34m[EnderKit]e[0m Redirecting to gecko-dev"
cd gecko-dev
echo -e "
e[34m[EnderKit]e[0m e[93m[NOTE]e[0m Make sure to choose option 1 (Firefox for Desktop Artifact Mode)"
echo -e "
e[34m[EnderKit]e[0m e[93m[NOTE]e[0m Make sure to always say yes (y) except for the last question"
sleep 3
echo -e "
e[34m[EnderKit]e[0m Running Mach Bootstrap"
./mach bootstrap
echo -e "
e[34m[EnderKit]e[0m Running Cat Mozconfig"
cat mozconfig
echo -e "
e[34m[EnderKit]e[0m Running Mach Build"
./mach build
Everything seems to be working just fine until the ./mach build
process.
Now, these are the full logs of the process in the main folder [7] of my project (minus the GitHub repository download process):
win10@DESKTOP-CT85CR1 ~/Desktop/EnderCommunity/EnderKit
$ ./build.sh
[EnderKit] Are you sure you wanna start setting up EnderKit? (y/n)
y
[EnderKit] Downloading Gecko
[EnderKit] Downloading Git Cinnabar
fatal: destination path 'git-cinnabar' already exists and is not an empty directory.
[EnderKit] Setting The PATH Of Git Cinnabar
[EnderKit] Testing Git Cinnabar
0.5.7a
module-hash: fe385120aaef298b69fecf1c343d735e9ed875ec
helper-hash: 2b4b1f756bd06c4d76dee7545764a62ad244b4e3
[EnderKit] Redirecting to gecko-dev
[EnderKit] [NOTE] Make sure to choose option 1 (Firefox for Desktop Artifact Mode)
[EnderKit] [NOTE] Make sure to always say yes (y) except for the last question
[EnderKit] Running Mach Bootstrap
Note on Artifact Mode:
Artifact builds download prebuilt C++ components rather than building
them locally. Artifact builds are faster!
Artifact builds are recommended for people working on Firefox or
Firefox for Android frontends, or the GeckoView Java API. They are unsuitable
for those working on C++ code. For more information see:
https://firefox-source-docs.mozilla.org/contributing/build/artifact_builds.html.
Please choose the version of Firefox you want to build:
1. Firefox for Desktop Artifact Mode
2. Firefox for Desktop
3. GeckoView/Firefox for Android Artifact Mode
4. GeckoView/Firefox for Android
Your choice: 1
Your version of Python 3 (3.7.4) is new enough.
Your version of Python 2 (2.7.16) is new enough.
Warning: the Firefox checkout directory is currently not in the Windows Defender exclusion list. This can cause the build process to be dramatically slowed or broken. To resolve this, follow the directions here: https://firefox-source-docs.mozilla.org/setup/windows_build.html#antivirus-performance
virtualenv at c:/Users/win10/.mozbuild\_virtualenvsmach is already up to date.
Requirement already satisfied: cffi==1.14.4 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildzstandard_requirements.txt (line 7)) (1.14.4)
Requirement already satisfied: pycparser==2.20 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildzstandard_requirements.txt (line 45)) (2.20)
Requirement already satisfied: zstandard==0.13.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildzstandard_requirements.txt (line 49)) (0.13.0)
Requirement already satisfied: pycparser==2.20 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildzstandard_requirements.txt (line 45)) (2.20)
Requirement already satisfied: cffi==1.14.4 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildzstandard_requirements.txt (line 7)) (1.14.4)
WARNING: You are using pip version 20.3.1; however, version 21.0 is available.
You should consider upgrading via the 'C:Userswin10.mozbuild\_virtualenvsmachScriptspython.exe -m pip install --upgrade pip' command.
Requirement already satisfied: psutil==5.7.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildpsutil_requirements.txt (line 7)) (5.7.0)
WARNING: You are using pip version 20.3.1; however, version 21.0 is available.
You should consider upgrading via the 'C:Userswin10.mozbuild\_virtualenvsmachScriptspython.exe -m pip install --upgrade pip' command.
Requirement already satisfied: appdirs==1.4.4 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 7)) (1.4.4)
Requirement already satisfied: attrs==20.3.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 11)) (20.3.0)
Requirement already satisfied: cffi==1.14.4 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 15)) (1.14.4)
Requirement already satisfied: click==7.1.2 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 53)) (7.1.2)
Requirement already satisfied: diskcache==5.1.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 57)) (5.1.0)
Requirement already satisfied: glean-parser==1.29.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 61)) (1.29.0)
Requirement already satisfied: glean_sdk==33.7.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 65)) (33.7.0)
Requirement already satisfied: importlib-metadata==3.3.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 72)) (3.3.0)
Requirement already satisfied: iso8601==0.1.13 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 76)) (0.1.13)
Requirement already satisfied: jinja2==2.11.2 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 81)) (2.11.2)
Requirement already satisfied: jsonschema==3.2.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 85)) (3.2.0)
Requirement already satisfied: markupsafe==1.1.1 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 89)) (1.1.1)
Requirement already satisfied: pathspec==0.8.1 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 124)) (0.8.1)
Requirement already satisfied: pycparser==2.20 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 128)) (2.20)
Requirement already satisfied: pyrsistent==0.17.3 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 132)) (0.17.3)
Requirement already satisfied: pyyaml==5.3.1 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 135)) (5.3.1)
Requirement already satisfied: six==1.15.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 150)) (1.15.0)
Requirement already satisfied: typing-extensions==3.7.4.3 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 154)) (3.7.4.3)
Requirement already satisfied: yamllint==1.25.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 159)) (1.25.0)
Requirement already satisfied: zipp==3.4.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 163)) (3.4.0)
Requirement already satisfied: pycparser==2.20 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 128)) (2.20)
Requirement already satisfied: diskcache==5.1.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 57)) (5.1.0)
Requirement already satisfied: yamllint==1.25.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 159)) (1.25.0)
Requirement already satisfied: jinja2==2.11.2 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 81)) (2.11.2)
Requirement already satisfied: pyyaml==5.3.1 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 135)) (5.3.1)
Requirement already satisfied: jsonschema==3.2.0 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 85)) (3.2.0)
Requirement already satisfied: click==7.1.2 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 53)) (7.1.2)
Requirement already satisfied: appdirs==1.4.4 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 7)) (1.4.4)
Requirement already satisfied: cffi==1.14.4 in c:userswin10.mozbuild\_virtualenvsmachlibsite-packages (from -r c:/Users/win10/Desktop/EnderCommunity/EnderKit/gecko-devuildglean_requirements.txt (line 15)) (1.14.4)
Requirement already satisfied: glean-parser==1.29.0 in c:userswin1
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…