Closed AdamKearn closed 5 years ago
Add >sys-devel/llvm-7.0.1
in profiles/base/package.mask
I managed to fix it just by emerging sys-devel/llvm
However, I getting problems with GOMA
I think.
I am not sure how to disable it? Do you know??
Starting fast-emerge.
Building package virtual/target-os virtual/target-os-dev virtual/target-os-factory virtual/target-os-factory-shim virtual/target-os-test chromeos-base/autotest-all on /build/amd64-generic_vmware
Calculating deps...
parallel_emerge: Unhandled exception:
Traceback (most recent call last):
File "/mnt/host/source/chromite/bin/parallel_emerge", line 175, in <module>
DoMain()
File "/mnt/host/source/chromite/bin/parallel_emerge", line 171, in DoMain
commandline.ScriptWrapperMain(FindTarget)
File "/mnt/host/source/chromite/lib/commandline.py", line 961, in ScriptWrapperMain
ret = target(argv[1:])
File "/mnt/host/source/chromite/scripts/parallel_emerge.py", line 29, in main
PARALLEL_EMERGE_OLD.main(argv)
File "/mnt/host/source/chromite/scripts/parallel_emerge_old.py", line 1899, in main
return real_main(argv)
File "/mnt/host/source/chromite/scripts/parallel_emerge_old.py", line 1943, in real_main
deps_tree, deps_info = deps.GenDependencyTree()
File "/mnt/host/source/chromite/scripts/parallel_emerge_old.py", line 533, in GenDependencyTree
assert pkg.root == root
AssertionError
ERROR : Sun Aug 11 15:02:50 PDT 2019
ERROR : PGID PPID PID ELAPSED TIME %CPU COMMAND
ERROR : 7 4 7 43:55 00:00:00 0.0 -bash
ERROR : 67591 7 67591 04:08 00:00:00 0.0 \_ /bin/bash ./build_packages --board=amd64-generic_vmware --nousepkg
ERROR : 67591 67591 119081 00:00 00:00:00 0.0 \_ /bin/bash ./build_packages --board=amd64-generic_vmware --nousepkg
ERROR : 67591 119081 119082 00:00 00:00:00 0.0 \_ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command
ERROR : Arguments of 67591: ./build_packages '--board=amd64-generic_vmware' '--nousepkg'
ERROR : Backtrace: (most recent call is last)
ERROR : build_packages:368:main(), called: die_err_trap
ERROR :
ERROR : Command failed:
ERROR : Command '( if [[ "${FLAGS_run_goma}" -eq "${FLAGS_TRUE}" ]]; then
ERROR : info "Starting goma compiler_proxy."; goma_ctl="${GOMA_DIR:-${HOME}/goma}/goma_ctl.py"; "${goma_ctl}" restart; trap "'${goma_ctl}' stop" EXIT;
ERROR : fi; GOMA_WRAPPER=(); if [[ "${FLAGS_build_all_with_goma}" -eq "${FLAGS_TRUE}" ]]; then
ERROR : warn "The build_all_with_goma feature is still under development."; warn "This feature is experimental and may potentially break your build."; GOMA_WRAPPER=("${GOMA_DIR:-${HOME}/goma}/goma-wrapper" -j600 -l100);
ERROR : fi; sudo -E "${GOMA_WRAPPER[@]}" "${EMERGE_CMD[@]}" "${EMERGE_FLAGS[@]}" "${PACKAGES[@]}" )' exited with nonzero code: 1
There is a workaround, insert one line before /mnt/host/source/chromite/ scripts/parallel_emerge_old.py line:533
, pkg.root = root
On Mon, Aug 12, 2019 at 6:07 AM Adam Kearn notifications@github.com wrote:
I managed to fix it just by emerging sys-devel/llvm However, I getting problems with GOMA I think.
I am not sure how to disable it? Do you know??
Starting fast-emerge. Building package virtual/target-os virtual/target-os-dev virtual/target-os-factory virtual/target-os-factory-shim virtual/target-os-test chromeos-base/autotest-all on /build/amd64-generic_vmware Calculating deps... parallel_emerge: Unhandled exception: Traceback (most recent call last): File "/mnt/host/source/chromite/bin/parallel_emerge", line 175, in
DoMain() File "/mnt/host/source/chromite/bin/parallel_emerge", line 171, in DoMain commandline.ScriptWrapperMain(FindTarget) File "/mnt/host/source/chromite/lib/commandline.py", line 961, in ScriptWrapperMain ret = target(argv[1:]) File "/mnt/host/source/chromite/scripts/parallel_emerge.py", line 29, in main PARALLEL_EMERGE_OLD.main(argv) File "/mnt/host/source/chromite/scripts/parallel_emerge_old.py", line 1899, in main return real_main(argv) File "/mnt/host/source/chromite/scripts/parallel_emerge_old.py", line 1943, in real_main deps_tree, deps_info = deps.GenDependencyTree() File "/mnt/host/source/chromite/scripts/parallel_emergeold.py", line 533, in GenDependencyTree assert pkg.root == root AssertionError ERROR : Sun Aug 11 15:02:50 PDT 2019 ERROR : PGID PPID PID ELAPSED TIME %CPU COMMAND ERROR : 7 4 7 43:55 00:00:00 0.0 -bash ERROR : 67591 7 67591 04:08 00:00:00 0.0 \ /bin/bash ./build_packages --board=amd64-genericvmware --nousepkg ERROR : 67591 67591 119081 00:00 00:00:00 0.0 \ /bin/bash ./build_packages --board=amd64-genericvmware --nousepkg ERROR : 67591 119081 119082 00:00 00:00:00 0.0 \ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command ERROR : Arguments of 67591: ./build_packages '--board=amd64-generic_vmware' '--nousepkg' ERROR : Backtrace: (most recent call is last) ERROR : build_packages:368:main(), called: die_err_trap ERROR : ERROR : Command failed: ERROR : Command '( if [[ "${FLAGS_run_goma}" -eq "${FLAGS_TRUE}" ]]; then ERROR : info "Starting goma compiler_proxy."; goma_ctl="${GOMA_DIR:-${HOME}/goma}/goma_ctl.py"; "${goma_ctl}" restart; trap "'${goma_ctl}' stop" EXIT; ERROR : fi; GOMA_WRAPPER=(); if [[ "${FLAGS_build_all_with_goma}" -eq "${FLAGS_TRUE}" ]]; then ERROR : warn "The build_all_with_goma feature is still under development."; warn "This feature is experimental and may potentially break your build."; GOMA_WRAPPER=("${GOMA_DIR:-${HOME}/goma}/goma-wrapper" -j600 -l100); ERROR : fi; sudo -E "${GOMA_WRAPPER[@]}" "${EMERGE_CMD[@]}" "${EMERGE_FLAGS[@]}" "${PACKAGES[@]}" )' exited with nonzero code: 1 — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FydeOS/overlay-variant-amd64-generic-vmware/issues/1?email_source=notifications&email_token=ABUP73CLUZ4YVJ6LUYR4YLTQECESFA5CNFSM4IKOY7P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4BJ26Q#issuecomment-520265082, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUP73EPPGHBT6LLMC6THT3QECESFANCNFSM4IKOY7PQ .
That solved that problem. However, I am still getting the Goma issues
ERROR : Tue Aug 13 12:13:09 PDT 2019
ERROR : PGID PPID PID ELAPSED TIME %CPU COMMAND
ERROR : 7 4 7 21:52:01 00:00:00 0.0 -bash
ERROR : 80532 7 80532 01:05:11 00:00:00 0.0 \_ /bin/bash ./build_packages --board=amd64-generic_vmware --nousepkg
ERROR : 80532 80532 93983 00:00 00:00:00 0.0 \_ /bin/bash ./build_packages --board=amd64-generic_vmware --nousepkg
ERROR : 80532 93983 93984 00:00 00:00:00 0.0 \_ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command
ERROR : Arguments of 80532: ./build_packages '--board=amd64-generic_vmware' '--nousepkg'
ERROR : Backtrace: (most recent call is last)
ERROR : build_packages:368:main(), called: die_err_trap
ERROR :
ERROR : Command failed:
ERROR : Command '( if [[ "${FLAGS_run_goma}" -eq "${FLAGS_TRUE}" ]]; then
ERROR : info "Starting goma compiler_proxy."; goma_ctl="${GOMA_DIR:-${HOME}/goma}/goma_ctl.py"; "${goma_ctl}" restart; trap "'${goma_ctl}' stop" EXIT;
ERROR : fi; GOMA_WRAPPER=(); if [[ "${FLAGS_build_all_with_goma}" -eq "${FLAGS_TRUE}" ]]; then
ERROR : warn "The build_all_with_goma feature is still under development."; warn "This feature is experimental and may potentially break your build."; GOMA_WRAPPER=("${GOMA_DIR:-${HOME}/goma}/goma-wrapper" -j600 -l100);
ERROR : fi; sudo -E "${GOMA_WRAPPER[@]}" "${EMERGE_CMD[@]}" "${EMERGE_FLAGS[@]}" "${PACKAGES[@]}" )' exited with nonzero code: 1
# --run_goma option is designed to be used on bots.
# If you're trying to build pacakges with goma in your local dev env, this is
# *not* the option you're looking for. Please see comments below.
# This option; 1) starts goma, 2) builds packages (expecting that goma is
# used), then 3) stops goma explicitly.
# 3) is a request from the goma team, so that stats/logs can be taken.
# Note: GOMA_DIR and GOMA_SERVICE_ACCOUNT_JSON_FILE are expected to be passed
# via env var.
#
# In local dev env cases, compiler_proxy is expected to keep running.
# In such a case;
# $ python ${GOMA_DIR}/goma_ctl.py ensure_start
# $ ./build_packages (... and options without --run_goma ...)
# is an expected commandline sequence. If you set --run_goma flag while
# compiler_proxy is already running, the existing compiler_proxy will be
# stopped.
DEFINE_boolean run_goma "${FLAGS_FALSE}" \
"If set to true, (re)starts goma, builds packages, and then stops goma."
# The above --run_goma option is a configuration flag meant for build bots. It
# only ensures that goma is running and stops goma when build_packages
# completes. This step is to ensure that goma is functional for Chrome's build
# and does *not* cause all packages to be built using goma.
# If you are trying to build packages locally with goma, the option below is
# what you want to use. You must either ensure that goma is running before you
# invoke build_packages with this option by running:
# $ python ${GOMA_DIR}/goma_ctl.py ensure_start
# OR you may run build_packages with --run_goma in addition to this option.
# Please see the following link for instructions on how to install goma in your
# local dev environment:
# https://g3doc.corp.google.com/devtools/goma/g3doc/how-to-use-goma/how-to-use-goma-chromeos.md#how-to-install-goma-in-host-environment-recommended
DEFINE_boolean build_all_with_goma "${FLAGS_FALSE}" \
"If set to true, tries to use goma to build all packages. (experimental)"
So, check your script file ~/trunck/src/scripts/build_packages
, these flags should be set to false as default.
Hmmmm, I wonder why they were set to true
.
Later tonight I’ll have a look at that script and check those values.
Do you think I should just delete my VM and build a fresh checkout, as I have never changed anything in the build scripts?
Thanks for your help. -Adam
You never mentioned your compiling environment. The best practice is repo init
with release-R75-12105.B
, and repo sync
.
Oh I’ve been using the TOT (Top Of the Tree) release.
I thought if I use the release-R75-12105.B
I wouldn’t get the latest updates and would have to download new releases every time. Is this correct ?
Per README, this overlay was only tested under release-R75-12105.B
. If you are using it under ToT, you'll then have to resolve any build issue that may have come up. Closing this one now.
While compiling this overlay I experienced this error: What do you think is going on??
-Adam
I also get this: