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

Special trick(s) to repeatably generate bindings? #63

Closed
tobz opened this issue Feb 22, 2021 · 2 comments
Closed

Special trick(s) to repeatably generate bindings? #63

tobz opened this issue Feb 22, 2021 · 2 comments

Comments

@tobz
Copy link
Contributor

tobz commented Feb 22, 2021

I've searched high and low through issues and PRs and I've struggled to identify an answer, so figured I'd reach out here...

Is there a special trick to repeatably generating bindings? I'm able to run the command locally, using Ubuntu 20.04 and a system-managed installation of the BCC suite. That's on a local development machine where I've installed countless packages/dependencies over time, though.

However, attempting the same thing on a clean Ubuntu install, following the same steps as the CI scripts, results in a useless error from bindgen about missing layout information, which I'm lead to believe indicates that I'm missing a dependency, either directly or indirectly by having a fubar'd library/package path.

I tried looking at the latest clean run of the CI for this repo itself, but it was so long ago that Github Actions doesn't even have the logs anymore. Thus, I'm here. :)

@brayniac
Copy link
Contributor

Guessing you figured out that we had no special tricks. I was just doing binding generation on a relatively clean VM.

Is this closed by #64?

@tobz
Copy link
Contributor Author

tobz commented Mar 24, 2021

Indeed!

@tobz tobz closed this as completed Mar 24, 2021
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