The build error seems to arise from:
Code: Select all
cp: cannot stat '/home/build/installer-build/.staging/UBUNTU20_64-LIBERTY-1011-20240823175955-FOSS-4200000/zm-db-conf/src/db/migration/zmdbupgrade.pl': No such file or directory
A more complete log, this time from RHEL-7:
Code: Select all
#: ***
#: rsync -az --delete . /home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000/zm-build
Running [rsync -az --delete . /home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000/zm-build]...
#: ***
#: mkdir -p /home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000/zm-build/x86_64
Running [mkdir -p /home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000/zm-build/x86_64]...
#: ***
#: releaseNo='10.1.1' \
releaseCandidate='GA' \
branch='LIBERTY-1011' \
buildNo='4200000' \
os='RHEL7_64' \
PKG_OS_TAG='r7' \
buildType='FOSS' \
repoDir='/home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000' \
arch='x86_64' \
buildTimeStamp='20240823180042' \
buildLogFile='/home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000/logs/build.log' \
zimbraThirdPartyServer='files.zimbra.com' \
bash /home/build/installer-build/zm-build/instructions/bundling-scripts/zimbra-core.sh
Running [ releaseNo='10.1.1' \
releaseCandidate='GA' \
branch='LIBERTY-1011' \
buildNo='4200000' \
os='RHEL7_64' \
PKG_OS_TAG='r7' \
buildType='FOSS' \
repoDir='/home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000' \
arch='x86_64' \
buildTimeStamp='20240823180042' \
buildLogFile='/home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000/logs/build.log' \
zimbraThirdPartyServer='files.zimbra.com' \
bash /home/build/installer-build/zm-build/instructions/bundling-scripts/zimbra-core.sh
]...
cp: cannot stat '/home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000/zm-db-conf/src/db/migration/zmdbupgrade.pl': No such file or directory
=========================================================================================================
FAILURE MSG : cmd=' releaseNo='10.1.1' \
releaseCandidate='GA' \
branch='LIBERTY-1011' \
buildNo='4200000' \
os='RHEL7_64' \
PKG_OS_TAG='r7' \
buildType='FOSS' \
repoDir='/home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000' \
arch='x86_64' \
buildTimeStamp='20240823180042' \
buildLogFile='/home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000/logs/build.log' \
zimbraThirdPartyServer='files.zimbra.com' \
bash /home/build/installer-build/zm-build/instructions/bundling-scripts/zimbra-core.sh
'
END at ./build.pl line 1062.
EXTRA INFO : ' releaseNo='10.1.1' \
releaseCandidate='GA' \
branch='LIBERTY-1011' \
buildNo='4200000' \
os='RHEL7_64' \
PKG_OS_TAG='r7' \
buildType='FOSS' \
repoDir='/home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000' \
arch='x86_64' \
buildTimeStamp='20240823180042' \
buildLogFile='/home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000/logs/build.log' \
zimbraThirdPartyServer='files.zimbra.com' \
bash /home/build/installer-build/zm-build/instructions/bundling-scripts/zimbra-core.sh
' exited with value 1
=========================================================================================================
--Stack Trace-- (8666)
./build.pl:601 called from main::SysExec
./build.pl:1018 called from main::__ANON__
./build.pl:628 called from main::RunInDir
./build.pl:1080 called from main::Build
./build.pl:1086 called from main::main
=========================================================================================================
END at ./build.pl line 1062.
=========================================================================================================
FAILURE MSG : child 8666 died
EXTRA INFO : ret=255
=========================================================================================================
--Stack Trace-- (856)
./build.pl:628 called from main::RunInDir
./build.pl:1080 called from main::Build
./build.pl:1086 called from main::main
How this was built: Well, I cannot see the complete build command from before this fails from Github actions (something else to improve)... so... I guess... that we should trust that this should be using something similar to:
Code: Select all
git clone --depth 1 --branch 10.1.1 git@github.com:Zimbra/zm-build.git
cd zm-build
ENV_CACHE_CLEAR_FLAG=true ./build.pl --ant-options -DskipTests=true --git-default-tag=10.1.1,10.1.0 --build-release-no=10.1.1 --build-type=FOSS --build-release=LIBERTY --build-release-candidate=GA --build-no 5200011 --build-thirdparty-server=files.zimbra.com --no-interactive
Thank you for fixing it or advising for a workaround.