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

Ignition-math6 build failing with LinuxBrew #1200

Closed
varunagrawal opened this issue Nov 13, 2020 · 6 comments
Closed

Ignition-math6 build failing with LinuxBrew #1200

varunagrawal opened this issue Nov 13, 2020 · 6 comments

Comments

@varunagrawal
Copy link

When trying to install sdformat8 via brew install sdformat8, I get the error Error: osrf/simulation/ignition-math6 6.6.0 did not build.

This does not happen when I build ignition-math from the Github source.

Here is the link to the error log.

@scpeters scpeters changed the title Ignition-math6 build failing Ignition-math6 build failing with LinuxBrew Nov 23, 2020
@scpeters
Copy link
Member

Thanks for the report. I've never tried using this tap with LinuxBrew since we support installation through debian packages on Linux. Out of curiosity, what is your reason for using LinuxBrew instead of our debian packages?

It looks like the problem is related to swig, which we added as a build dependency in #1121 to fix #1120. Can you try commenting out the depends_on "ruby" line? If that doesn't work, can you also comment out depends_on "swig"? We could potentially make that dependency OS-dependent

@varunagrawal
Copy link
Author

We use brew across Linux and MacOS to manage dependencies better, so it made sense to use brew to install this on Linux as well.

@scpeters
Copy link
Member

I just tested this, and I can't reproduce the failure. Can you confirm it is still failing? I believe it was caused by the depends on "swig" line that was removed in #1124

@varunagrawal
Copy link
Author

Works for me on Ubuntu 20.04, previously I was using 16.04 but I don't think that was the issue. Thanks for the update @scpeters and apologies for the late response. Happy holidays!

@varunagrawal
Copy link
Author

I am facing this issue again on Ubuntu 18.04 (as the environment on Github Actions). I'd really like to figure this out properly this time.

@varunagrawal varunagrawal reopened this Aug 3, 2021
@varunagrawal
Copy link
Author

Another issue is that I can't even use apt since our application depends on SDFormat8, which isn't available for Ubuntu.

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

2 participants