Build failed for board 'volteer' when running cros build-packages --board=volteer

33 views
Skip to first unread message

Anna Chen

unread,
Nov 30, 2023, 3:52:56 AM11/30/23
to ChromiumOS Development
Hello,

I followed the developer guild to build my chromiumos but got error when running  cros build-packages for board 'volteer'.

[steps]
repo sync
cros_sdk --create  
BOARD=volteer  
cros build-packages --board=${BOARD}

[build log]
 * ERROR: chromeos-base/chromeos-config-bsp-0.0.1-r22::volteer failed (compile phase):
 *   cros_config_schema failed for build config.
 *
 * Call stack:
 *               ebuild.sh, line  125:  Called src_compile
 *             environment, line 3552:  Called platform_json_compile
 *             environment, line 3349:  Called die
 * The specific snippet of code:
 *       cros_config_schema -o "${WORKDIR}/project-config.json" -m "${files[@]}" || die "cros_config_schema failed for build config."
 *
 * Build log: /build/volteer/tmp/portage/logs/chromeos-base:chromeos-config-bsp-0.0.1-r22:20231130-074221.log
 * Stable log symlink: /build/volteer/tmp/portage/chromeos-base/chromeos-config-bsp-0.0.1-r22/temp/build.log
 * CWD: /build/volteer/tmp/portage/chromeos-base/chromeos-config-bsp-0.0.1-r22/work/chromeos-config-bsp-0.0.1
 * S:   /build/volteer/tmp/portage/chromeos-base/chromeos-config-bsp-0.0.1-r22/work/chromeos-config-bsp-0.0.1
15:42:40: NOTICE: Tree Status: 🌲 is open! SDK version updates causing failures, retry
15:42:40: ERROR: return code: 1; command: sudo --preserve-env 'PKGDIR=/build/volteer/packages' 'PORTAGE_BINHOST=gs://chromeos-prebuilt/board/amd64-generic/postsubmit-R121-15694.0.0-59063-8763050072989073793/packages gs://chromeos-prebuilt/board/amd64-generic/postsubmit-R121-15694.0.0-59064-8763048109449427313/packages gs://chromeos-prebuilt/board/amd64-generic/postsubmit-R121-15694.0.0-59065-8763046208277601025/packages gs://chromeos-prebuilt/board/amd64-generic/postsubmit-R121-15694.0.0-59066-8763043945675458641/packages gs://chromeos-prebuilt/board/amd64-generic-kernel-5_15/cq-R121-15693.0.0-59020-8763115163980681441/packages gs://chromeos-prebuilt/board/amd64-generic-kernel-5_10/cq-R121-15693.0.0-59020-8763115163858604321/packages gs://chromeos-prebuilt/board/amd64-generic-kernel-4_19/cq-R121-15693.0.0-59020-8763115163732869313/packages gs://chromeos-prebuilt/board/amd64-generic-kernel-4_14/cq-R121-15693.0.0-59020-8763115163206801873/packages gs://chromeos-prebuilt/board/amd64-generic-kernel-6_1/cq-R121-15693.0.0-59020-8763115164459165185/packages gs://chromeos-prebuilt/board/amd64-generic-kernel-5_4/cq-R121-15693.0.0-59020-8763115164131507233/packages gs://chromeos-prebuilt/board/amd64-generic-vm-optimized/cq-R121-15693.0.0-59020-8763115172287668273/packages gs://chromeos-prebuilt/board/amd64-generic-asan/cq-R121-15693.0.0-59020-8763115172473229105/packages gs://chromeos-prebuilt/board/amd64-generic/cq-R121-15693.0.0-59020-8763115172355279185/packages gs://chromeos-prebuilt/board/amd64-generic-ubsan/cq-R121-15693.0.0-59020-8763115172303767857/packages gs://chromeos-prebuilt/board/amd64-generic/cq-R121-15693.0.0-59020-8763115172412130257/packages gs://chromeos-prebuilt/board/amd64-generic/cq-R121-15693.0.0-59020-8763115172390119441/packages gs://chromeos-prebuilt/board/amd64-generic/cq-R121-15693.0.0-59020-8763115172325574753/packages gs://chromeos-prebuilt/board/amd64-generic/cq-R121-15693.0.0-59020-8763115172276850705/packages' 'CROS_METRICS_DIR=/tmp/tmpw5__79wq' 'CROS_CACHEDIR=/mnt/host/source/.cache' -- /mnt/host/source/chromite/bin/parallel_emerge '--sysroot=/build/volteer' '--root=/build/volteer' -uDNv '--backtrack=10' --newrepo --with-test-deps y '--force-remote-binary=chromeos-base/chromeos-chrome' '--force-remote-binary=chromeos-base/chrome-icu' --getbinpkg --with-bdeps y --usepkg '--jobs=8' '--useoldpkg-atoms=dev-embedded/hps-sdk dev-lang/rust dev-lang/go sys-libs/glibc sys-devel/gcc' '--rebuild-exclude=dev-embedded/hps-sdk dev-lang/rust dev-lang/go sys-libs/glibc sys-devel/gcc' virtual/target-os virtual/target-os-dev virtual/target-os-factory virtual/target-os-factory-shim virtual/target-os-test chromeos-base/autotest-all
Merging board packages failed
Failed Packages: chromeos-base/chromeos-config-bsp-0.0.1-r22


I've cleaned, re-sync, re-build multiple times or even switching to main tree (repo init -b main), but still got the same error.

Could anyone help on this problem?

Anna Chen

unread,
Nov 30, 2023, 3:55:07 AM11/30/23
to ChromiumOS Development, Anna Chen
attached log

Anna Chen 在 2023年11月30日 星期四下午4:52:56 [UTC+8] 的信中寫道:
build.log
Reply all
Reply to author
Forward
0 new messages