-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
No such device (os error 19) #263
Comments
Same issue here upon installing with cargo. On Manjaro 5.15 |
Same issue here, also installed with cargo on Ubuntu 22.04LTS. |
I've run into this while fixing the build on Void Linux. The old binary from our repos still works just fine, the new one doesn't. The only things that changed between then:
I've got https://pastebin.com/A8bJuafj and https://pastebin.com/aKLfRb9Z, which are strace logs from both of the binaries. The first one is the broken one, the second is the older, working binary. The critical bit seems to be the diff --git a/old b/new
index 479c50e..69c3a0f 100644
--- a/old
+++ b/new
@@ -1 +1 @@
-setsockopt(3, SOL_PACKET, PACKET_ADD_MEMBERSHIP, {mr_ifindex=if_nametoindex("lo"), mr_type=PACKET_MR_PROMISC, mr_alen=0, mr_address=ff:ff:ff:ff:ff:ff}, 16) = 0
+setsockopt(3, SOL_PACKET, PACKET_ADD_MEMBERSHIP, {mr_ifindex=0, mr_type=PACKET_MR_MULTICAST, mr_alen=0, mr_address=ff:ff:ff:ff:ff:ff}, 16) = -1 ENODEV (No such device) I haven't gotten any further yet, but maybe this motivates someone else to take a deeper look here :) |
Sounds like rust-lang/rust#78802 to me |
That's the build issue resolved by updating |
I'll be opening a PR later with the dependencies upgraded, but I can already report some success: With |
same on ubuntu 23.04 |
After doing git remote add jcgruenhage https://github.com/jcgruenhage/bandwhich
git fetch jcgruenhage
git checkout upgrades-2023-04-11 I was able to do cargo build succesfully. |
I have try downgrade rust version to 1.62.1 and rebuild, bandwhich run succesfully. |
Is this project still active? |
Hi!
I am having problems with bandwhich compiled by myself.
On the other hand, the binary version available on github is working perfectly. The same error happens in Linux x64 and Linux armv7 that I crosscompiled.
The text was updated successfully, but these errors were encountered: