README of the client-qt references INSTALL.md and INSTALL.md says to start with ‘python build.py --dependencies’ (more precisely it says to start with ‘sh python build.py --dependencies’ (MSYS?)) but I’ve used just and elevated command prompt (cmd under admin):
python build.py --dependencies
which failed here:
git.install
By installing, you accept licenses for the packages.
[NuGet] One or more unresolved package dependency constraints detected in the Chocolatey lib folder. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'docker-toolbox 19.3.1 constraint: git.install (>= 2.5.0)', 'git 2.42.0 constraint: git.install (= 2.42.0)'
Unable to resolve dependency: Unable to resolve dependencies. 'git.install 2.10.2' is not compatible with 'git 2.42.0 constraint: git.install (= 2.42.0)'.
… but I already have git and other dependencies so modifying install-deps-windows.ps1 in a following way:
$choco_packages = @(
# [pscustomobject]@{pkg = "wget"; ver = "1.19.4" }
# [pscustomobject]@{pkg = "git.install"; ver = "2.10.2" }
# [pscustomobject]@{pkg = "7zip"; ver = "" }
# [pscustomobject]@{pkg = "unzip"; ver = "" }
# [pscustomobject]@{pkg = "cmake"; ver = "" }
# [pscustomobject]@{pkg = "pandoc"; ver = "" }
# [pscustomobject]@{pkg = "strawberryperl"; ver = "" }
[pscustomobject]@{pkg = "msys2"; ver = "" }
)
and repeating:
Q:\jami-dev\jami-client-qt>python build.py --dependencies
Installing jami-qt build dependencies for windows…
Chocolatey already installed
MSYS2 64 already installed
Getting installed package list from Chocolatey…
msys2 not found.
Installing msys2
Chocolatey v2.2.2
Installing the following packages:
msys2
By installing, you accept licenses for the packages.
msys2 v20231026.0.0 already installed. Forcing reinstall of version '20231026.0.0'.
Please use upgrade if you meant to upgrade to a new version.
Progress: Downloading msys2 20231026.0.0... 100%
msys2 v20231026.0.0 (forced) [Approved]
msys2 package files install completed. Performing other installation steps.
'C:\tools\msys64' already exists and will only be updated.
Invoking first run to setup things like bash profile, gpg etc...
Invoking msys2 shell command: -defterm -no-start -c "ps -ef | grep '[?]' | awk '{print $2}' | xargs -r kill"
Repeating system update until there are no more updates or max 5 iterations
Output is recorded in: C:\tools\msys64\update.log
================= SYSTEM UPDATE 1 =================
Invoking msys2 shell command: -defterm -no-start -c "pacman --noconfirm -Syuu --disable-download-timeout | tee -a /update.log; ps -ef | grep '[?]' | awk '{print $2}' | xargs -r kill"
Cannot find path 'C:\tools\msys64\update.log' because it does not exist.
================= SYSTEM UPDATE 2 =================
Invoking msys2 shell command: -defterm -no-start -c "pacman --noconfirm -Syuu --disable-download-timeout | tee -a /update.log; ps -ef | grep '[?]' | awk '{print $2}' | xargs -r kill"
Cannot find path 'C:\tools\msys64\update.log' because it does not exist.
================= SYSTEM UPDATE 3 =================
Invoking msys2 shell command: -defterm -no-start -c "pacman --noconfirm -Syuu --disable-download-timeout | tee -a /update.log; ps -ef | grep '[?]' | awk '{print $2}' | xargs -r kill"
Cannot find path 'C:\tools\msys64\update.log' because it does not exist.
================= SYSTEM UPDATE 4 =================
Invoking msys2 shell command: -defterm -no-start -c "pacman --noconfirm -Syuu --disable-download-timeout | tee -a /update.log; ps -ef | grep '[?]' | awk '{print $2}' | xargs -r kill"
Cannot find path 'C:\tools\msys64\update.log' because it does not exist.
================= SYSTEM UPDATE 5 =================
Invoking msys2 shell command: -defterm -no-start -c "pacman --noconfirm -Syuu --disable-download-timeout | tee -a /update.log; ps -ef | grep '[?]' | awk '{print $2}' | xargs -r kill"
Cannot find path 'C:\tools\msys64\update.log' because it does not exist.
Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
The install of msys2 was successful.
Software install location not explicitly set, it could be in package or
default install location of installer.
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Choco Packages Installation Succeeded
error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
error: mingw64: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
error: msys: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
make already installed
error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
error: mingw64: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
error: msys: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
gcc already installed
error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
error: mingw64: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
error: msys: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
error: package 'perl' was not found
error: mingw32: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
error: mingw64: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
error: msys: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
error: database 'mingw32' is not valid (invalid or corrupted database (PGP signature))
error: database 'mingw64' is not valid (invalid or corrupted database (PGP signature))
error: database 'msys' is not valid (invalid or corrupted database (PGP signature))
Pacman Packages Installation Failed
Last time I stopped exactly here and switched to daemon. Any hints on how to proceed further from this place? While I understand that most likely build.py will work on absolutely clean environment, I would like to build jami on my dev environment if possible