+++ This bug was initially created as a clone of Bug #448466 +++ Just a version bump request Hi, I filled a bug on gpodder tracker : https://bugs.gpodder.org/show_bug.cgi?id=1730#c24. Since update, gpodder always displays a message "No network connection". Here changes that i made to make it works: diff --git a/src/gpodder/util.py b/src/gpodder/util.py index 076f6aa..e9a80bf 100644 --- a/src/gpodder/util.py +++ b/src/gpodder/util.py @@ -1703,6 +1703,11 @@ def unix_get_active_interfaces(): if b: yield b.group(1) + # fix gentoo + for interface, state in re.findall('(\\w+):.*<([A-Z,]+)>', stdout): + if interface != 'lo' and 'UP' in state.split(','): + yield interface + def connection_available(): """Check if an Internet connection is available
Er, so is this about a patch against 3.6.0 or about a version bump to 3.6.1?
Yes, it's about a patch against 3.6.0. Currently, gpodder can't work. note: maybe it works with sys-apps/iproute2, as commented on bug 448466 comment 5.
So, gpodder starts working if you enable USE="old-output" in sys-apps/net-tools?
(In reply to Samuli Suominen from comment #3) > So, gpodder starts working if you enable USE="old-output" in > sys-apps/net-tools? asking because I'll propably end up adding a dependency like... || ( sys-apps/iproute2 sys-apps/net-tools[old-output] ) ...to the ebuild until the patch gets reviewed and applied by upstream and yes indeed, Gentoo's ifconfig has different output from eg. Debian's, there is no proper upstream for net-tools, so I guess you could call the net-tools package in Gentoo a fork the output changed slightly when a bug was fixed that involved it, the same bug is present in those other distributions ifconfig too, it's just unfixed there, and thus, you have different outputs
(In reply to Samuli Suominen from comment #3) > So, gpodder starts working if you enable USE="old-output" in > sys-apps/net-tools? Well, I added new flag for net-tools and re-emerge it, but gpodder still doesn't work. Now I have the same output on debian and gentoo, but it doesn't match with this pattern: (\\w+):.*status: active$ The only way to solve this issue on linux seems to add a dependency with sys-apps/iproute2 package.
added iproute2 dep to ebuild so now 'ip' is used could you share your test results in the upstream bug? provide him with different ifconfig outputs?
Ok, it works now with iproute2. Thank you.