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

local build fails #2775

Open
harshitbabeley opened this issue Feb 4, 2025 · 7 comments
Open

local build fails #2775

harshitbabeley opened this issue Feb 4, 2025 · 7 comments
Assignees

Comments

@harshitbabeley
Copy link

Subject

[Build] for compilation-related issues.

Describe the bug

after i run setup.sh the following error occurs. it did not occur previously when i tried to install openroad 3 week sago. also i have tried to set all the permissions and everything. its correct.

Expected Behavior

setup completed successfully

Environment

Git commit: 357ef5e4aac85df064f31d120d691daa2b271ef2
kernel: Linux 6.5.0-21-generic
os: Ubuntu 22.04.4 LTS (Jammy Jellyfish)
./etc/Env.sh: line 57: cmake: command not found

To Reproduce

proper output

Relevant log output

Screenshots

Image

Image

Image

Image

Additional Context

No response

@maliberty
Copy link
Member

Are you using sudo?

@jeffng-or
Copy link
Contributor

I'm able to repro using a70d32c:

  1. git clone --recursive http://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
  2. cd OpenROAD-flow-scripts/
  3. sudo ./setup.sh

@jeffng-or
Copy link
Contributor

It looks like we used to install bison either through brew (darwin), yum (RHEL) or apt-get (ubuntu/debian). Were we unable to get the newer version of bison through those mechanisms?

@vvbandeira
Copy link
Member

It looks like we used to install bison either through brew (darwin), yum (RHEL) or apt-get (ubuntu/debian). Were we unable to get the newer version of bison through those mechanisms?

We had issues during a sta update and were able to get CI to pass by using a newer version of bison. Some versions of the OSes you mentioned did not have it available, so we install bison from the source if the system version is not the one we require.

@harshitbabeley
Copy link
Author

Are you using sudo?

Yes

@vvbandeira
Copy link
Member

vvbandeira commented Feb 5, 2025

@harshitbabeley
It is hard to tell what the error is from the screenshots alone, as the messages shown could not be the first error.
Could you upload a file containing all the relevant logs?

Also, from the error message ./etc/Env.sh: line 57: cmake: command not found you do not have cmake, which is a dependency we require to build ORFS. Could you point us to the URL of the documentation you are following and what the commands you ran other than the setup.sh?

@vvbandeira
Copy link
Member

@harshitbabeley Could you try with the latest version? We have merged a couple of PRs that might fix your issue.

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

4 participants