chipyard icon indicating copy to clipboard operation
chipyard copied to clipboard

Failed to ./build-setup.sh at conda setup VerificationError on open_pdk packages.

Open trustfarm-dev opened this issue 2 years ago • 3 comments

Background Work

Chipyard Version and Hash

Release: 1.5.0 Hash: a6a6a6

OS Setup

Ubuntu 22.04.3 LTS - 5.15.167.4-microsoft-standard-WSL2 #1 SMP - X86_64 conda v24.11.0

Other Setup

install conda latest and did conda update -n base --all

Current Behavior

ERROR:root:CondaVerificationError: The package for open_pdks.sky130a located at /home/trustfarm/miniforge3/pkgs/open_pdks.sky130a-1.0.471_0_g97d0844-20240223_100318 ERROR:root:appears to be corrupted.:

Expected Behavior

Ignore package verification or Go well to next stage.

Other Information

No response

trustfarm-dev avatar Dec 06 '24 04:12 trustfarm-dev

same issues

BrainLyh avatar Dec 19 '24 08:12 BrainLyh

Had this same issue since migrating to new version. One temporary workaround has been to go to the lockfile referenced in the error, most likely:

chipyard/conda-reqs/conda-lock-reqs/conda-requirements-riscv-tools-linux-64.conda-lock.yml

Find the SKY130 requirement:

- name: open_pdks.sky130a
  version: 1.0.471_0_g97d0844
  manager: conda
  platform: linux-64
  dependencies: {}
  url: https://conda.anaconda.org/litex-hub/noarch/open_pdks.sky130a-1.0.471_0_g97d0844-20240223_100318.tar.bz2
  hash:
    md5: 3f9dab167b1bac3a6636f3f4311eb17e
    sha256: 37736ab56036733eaaff5f8f77a42c98caf75c82bc6b5dae59a727d24eabdd83
  category: main
  optional: false

And comment it out. (Marking optional: true does not work.)

There's probably a way to fix it as described in/chipyard/docs/VLSI/Sky130-Commercial-Tutorial.rst but haven't figured it out yet. x_x

Fi50 avatar Dec 27 '24 00:12 Fi50

This PR should've resolved this problem for now (https://github.com/ucb-bar/chipyard/pull/2219) but will free to reopen if issues continue!

Fi50 avatar Mar 30 '25 19:03 Fi50