-
Notifications
You must be signed in to change notification settings - Fork 479
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
Support for clean build on Ubuntu 20.04 #595
Comments
I think when that script was made the ideas was that it could be downloaded and run on a Ubuntu system and just install panda. But when panda's already cloned, it definitely shouldn't clone it again. |
Thanks. I really don't want to mess with that file as it seems to support several OS versions and I don't want to test against all of them. Can I just add a new script, |
Update: Currently, in addition to disabling all werror, this requires disabling the The network plugin fails with 4 errors:
There are a bunch of version checking #if statements in network.cpp. Is anyone here familiar with this plugin? There are also other non-fatal build errors, such as
not sure yet what causes this. |
I've had some issues building the network plugin before but I always just disabled it instead of figuring out why it was failing. The (unmerged) changes in #530 might be relevant or maybe @jmcarter9t can help out with that. As for your issue with the python peripheral code (added in #550), you can try configuring with Thanks for working on this! |
Ok, I didn't really want to do this, but I did fix up the install_ubuntu.sh script to check for ubuntu 19 With the changes it works on 18.04 and 19.04 and the By 'works' I mean it builds without any errors when werror is disabled. The python problem appears in 20.04 - perhaps because python-pip has been deprecated? going to make a PR for the adjusted script.... |
Do you think it would make sense to merge it in with I hadn't heard about python-pip getting deprecated before. Once 20.04 comes out in 2 weeks I'll upgrade to it and give this a try. Ideally we could try pulling in patches from upstream (or just fix #570) to get rid of the build warnings, but we can do that after getting this merged in. |
Oops, I see now I misread your message. I like what you did with the PR, thanks just merged it. |
awesome. python-pip : https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1870878 |
I see, they still have python3-pip. That makes sense. One issue I anticipate with that is that we still need python2 to build the version of qemu we forked from. This is fixed somewhere upstream, but I haven't put the time in to figure out if we can backport the update to python3 of if it will have to wait for #570 |
Maybe I am misunderstanding the situation. I thought python-pip is essentially python2-pip. Why would they make python2 available, but not python2-pip? |
Yeah, it seems like a strange choice 🤷♂️ |
ok, I have the
works because I commented out the When commenting it out, the network plugin I have now produces the same output on 19.10 as 18.04 and 19.04 but leaks memory because of the missing cleanup. Ideas? |
Nice! I just looked through the wireshark source and was getting convinced that the init/cleanup code you posted should work, but then I found this. If that's correct, then it looks like you can just keep it as a variable on the stack and still use wtap_dump. Something like:
|
Awesome find! Thanks! Testing... |
Works on 19.10 |
Awesome! Looking forward to the PR :) |
got install script working on 20.04. Your |
The next LTS release of Ubuntu is just around the corner, and I think we should work to make sure panda builds on that out of the box. Right now, I think one has to suppress
Werror
at the least.I'm spinning up the latest daily of 20.04 to see what needs to be done, and I am hoping that we can discuss any issues that come up here.
First question: When running the
install_ubuntu.sh
script inpanda/panda/scripts
it downloads a complete second copy of panda. Is that intentional?The text was updated successfully, but these errors were encountered: