Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archero overlay not found when building #28

Open
sepotvin opened this issue Feb 16, 2024 · 1 comment
Open

archero overlay not found when building #28

sepotvin opened this issue Feb 16, 2024 · 1 comment

Comments

@sepotvin
Copy link

Hi, I'm trying to build the board rock5b-openfyde but I get the following error indicating that the archero overlay is not found during the setup_board step.

(cr) (release-R114-15437.B/(fbb4eabf...)) spotvin@gtr7pro ~/chromiumos/src/scripts $ setup_board --board=rock5b-openfyde
08:09:15.423: INFO: Updating chroot.
08:09:15.423: INFO: run: /mnt/host/source/src/scripts/update_chroot --toolchain_boards rock5b-openfyde '--backtrack=10' --usepkg
08:09:15.586 INFO    : Updating chroot
08:09:15.595 INFO    : Clearing shadow utils lockfiles under /
08:09:15.600 INFO    : Updating cross-compilers
08:09:15.603 INFO    : Running: sudo -E /mnt/host/source/chromite/bin/cros_setup_toolchains --include-boards=rock5b-openfyde
cros_setup_toolchains: Unhandled exception:
Traceback (most recent call last):
  File "/mnt/host/source/chromite/bin/cros_setup_toolchains", line 217, in <module>
    DoMain()
  File "/mnt/host/source/chromite/bin/cros_setup_toolchains", line 213, in DoMain
    commandline.ScriptWrapperMain(FindTarget)
  File "/mnt/host/source/chromite/lib/commandline.py", line 1390, in ScriptWrapperMain
    ret = target(argv[1:])
  File "/mnt/host/source/chromite/scripts/cros_setup_toolchains.py", line 1565, in main
    root=root,
  File "/mnt/host/source/chromite/scripts/cros_setup_toolchains.py", line 781, in UpdateToolchains
    targets.update(toolchain.GetToolchainsForBoard(board))
  File "/mnt/host/source/chromite/lib/toolchain.py", line 96, in GetToolchainsForBoard
    buildroot=buildroot,
  File "/mnt/host/source/chromite/lib/portage_util.py", line 259, in FindOverlays
    overlays = _ListOverlays(board=board, buildroot=buildroot)
  File "/mnt/host/source/chromite/lib/portage_util.py", line 236, in _ListOverlays
    found_pub = _AddRepo(board, optional=True)
  File "/mnt/host/source/chromite/lib/portage_util.py", line 220, in _AddRepo
    _AddRepo(master)
  File "/mnt/host/source/chromite/lib/portage_util.py", line 215, in _AddRepo
    raise MissingOverlayError("%s was not found" % repo)
chromite.lib.portage_util.MissingOverlayError: archero was not found
08:09:15.828: ERROR: Error occurred while updating the chroot. See the logs for more information.
@sepotvin
Copy link
Author

Hi, same error with R120

(cr) (release-R120-15662.B/(285d3f08...)) spotvin@gtr7pro /mnt/host/source/src/scripts $ setup_board --board=rock5b-openfyde
10:13:33.712: INFO: Updating chroot in /.
10:13:33.891: INFO: PORTAGE_BINHOST: gs://chromeos-prebuilt/host/amd64/amd64-host/chroot-2023.10.29.140059/packages/
10:13:33.892: INFO: Clearing shadow-utils lockfiles under /
10:13:33.893: INFO: Rebuilding Portage dependency cache.
10:13:33.893: INFO: run: parallel_emerge --regen --quiet
10:13:33.963: INFO: Running: emerge --regen --quiet --root-deps '--jobs=16'
10:13:35.502: INFO: Bootstrapping depot_tools
10:13:35.502: INFO: run: /mnt/host/source/src/chromium/depot_tools/ensure_bootstrap
10:13:36.877: INFO: run: /mnt/host/source/src/scripts/update_chroot.sh --script-is-run-only-by-chromite-and-not-users --usepkg --toolchain_boards rock5b-openfyde '--backtrack=10' --eclean
10:13:36.978 INFO    : Updating chroot
10:13:37: NOTICE: Installed packages in SDK: 963
10:13:37: NOTICE: Outdated packages in SDK: 0
10:13:37.450 INFO    : Updating cross-compilers
10:13:37.454 INFO    : Running: sudo -E /mnt/host/source/chromite/bin/cros_setup_toolchains --include-boards=rock5b-openfyde
cros_setup_toolchains: Unhandled exception:
Traceback (most recent call last):
  File "/mnt/host/source/chromite/bin/cros_setup_toolchains", line 213, in <module>
    DoMain()
  File "/mnt/host/source/chromite/bin/cros_setup_toolchains", line 209, in DoMain
    commandline.ScriptWrapperMain(FindTarget)
  File "/mnt/host/source/chromite/lib/commandline.py", line 1476, in ScriptWrapperMain
    ret = target(argv[1:])
  File "/mnt/host/source/chromite/scripts/cros_setup_toolchains.py", line 1571, in main
    UpdateToolchains(
  File "/mnt/host/source/chromite/scripts/cros_setup_toolchains.py", line 786, in UpdateToolchains
    toolchain.get_toolchains_for_build_target(build_target)
  File "/mnt/host/source/chromite/lib/toolchain.py", line 101, in get_toolchains_for_build_target
    toolchains = toolchain_list.ToolchainList(overlays=overlays)
  File "/mnt/host/source/chromite/lib/toolchain_list.py", line 41, in __init__
    for overlay_path in overlays:
  File "/mnt/host/source/chromite/lib/build_target_lib.py", line 109, in find_overlays
    for overlay in portage_util.FindOverlays(
  File "/mnt/host/source/chromite/lib/portage_util.py", line 265, in FindOverlays
    overlays = _ListOverlays(board=board, buildroot=buildroot)
  File "/mnt/host/source/chromite/lib/portage_util.py", line 238, in _ListOverlays
    found_pub = _AddRepo(board, optional=True)
  File "/mnt/host/source/chromite/lib/portage_util.py", line 222, in _AddRepo
    _AddRepo(master)
  File "/mnt/host/source/chromite/lib/portage_util.py", line 217, in _AddRepo
    raise MissingOverlayError("%s was not found" % repo)
chromite.lib.portage_util.MissingOverlayError: archero was not found
10:13:37.733 WARNING : Command failed in 0m 0s (rc=1)
10:13:37.737 ERROR   : Wed Jun 26 10:13:37 EDT 2024
10:13:37.743 ERROR   :    PGID    PPID     PID     ELAPSED     TIME %CPU COMMAND
10:13:37.743 ERROR   :      32       5      32       00:08 00:00:00  0.5 -bash
10:13:37.743 ERROR   :     236      32     236       00:05 00:00:00  7.6  \_ /usr/lib/python-exec/python3.8/python3 /mnt/host/source/chromite/bin/setup_board --board=rock5b-openfyde
10:13:37.743 ERROR   :     236     236     597       00:01 00:00:00  2.0      \_ /bin/bash /mnt/host/source/src/scripts/update_chroot.sh --script-is-run-only-by-chromite-and-not-users --usepkg --toolchain_boards rock5b-openfyde --backtrack=10 --eclean
10:13:37.743 ERROR   :     236     597     716       00:00 00:00:00  0.0          \_ /bin/bash /mnt/host/source/src/scripts/update_chroot.sh --script-is-run-only-by-chromite-and-not-users --usepkg --toolchain_boards rock5b-openfyde --backtrack=10 --eclean
10:13:37.743 ERROR   :     236     716     717       00:00 00:00:00  0.0              \_ ps f -o pgid,ppid,pid,etime,cputime,%cpu,command
10:13:37.746 ERROR   : Arguments of 597:  '--script-is-run-only-by-chromite-and-not-users' '--usepkg' '--toolchain_boards' 'rock5b-openfyde' '--backtrack=10' '--eclean'
10:13:37.748 ERROR   : Backtrace:  (most recent call is last)
10:13:37.752 ERROR   :  update_chroot.sh:98:main(), called: die_err_trap  
10:13:37.754 ERROR   : 
10:13:37.757 ERROR   : Command failed:
10:13:37.759 ERROR   :   Command 'return "${rc}"' exited with nonzero code: 1
10:13:37.762: INFO: run: generate_reclient_inputs
10:13:37.916: ERROR: Error occurred while updating the chroot. See the logs for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant