The recently ZCS 10.1.1 tag published in Github does not build for any of my targeted platforms: rhel-7 rhel-8 ubuntu-18.04 ubuntu-20.04 ubuntu-22.04 .
The build error seems to arise from:.
A more complete log, this time from RHEL-7:
Technical note: Affected repo zm-db-conf at the time this post was first published did not have any 10.1.1 tag, only a 10.1.0 tag.
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:.
Thank you for fixing it or advising for a workaround.
The build error seems to arise from:
Code:
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:
#: ***#: rsync -az --delete . /home/build/installer-build/.staging/RHEL7_64-LIBERTY-1011-20240823180042-FOSS-4200000/zm-buildRunning [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_64Running [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 diedEXTRA 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:
git clone --depth 1 --branch 10.1.1 git@github.com:Zimbra/zm-build.gitcd zm-buildENV_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.
Statistics: Posted by adrian.gibanel.btactic — Fri Aug 23, 2024 6:46 pm