~ # id uid=0(root) gid=0(root) ~ # nethogs wl0 creating socket failed while establishing local IP - are you root? ~ # this is fixed in nethogs 0.8.1 see: https://github.com/raboof/nethogs/issues/9
Created attachment 422870 [details, diff] nethogs-0.8.1.patch
Hi Jeroen Was there something wrong with my patch? Why did you mark it as obsolete?
Comment on attachment 422870 [details, diff] nethogs-0.8.1.patch >diff --git a/net-analyzer/nethogs/nethogs-0.8.1.ebuild b/net-analyzer/nethogs/nethogs-0.8.1.ebuild >index 8629980..0fe6a4b 100644 >--- a/net-analyzer/nethogs/nethogs-0.8.1.ebuild >+++ b/net-analyzer/nethogs/nethogs-0.8.1.ebuild >@@ -4,15 +4,13 @@ > > EAPI=5 > >-inherit eutils toolchain-funcs >- Why did you drop these? > DESCRIPTION="A small 'net top' tool, grouping bandwidth by process" >-HOMEPAGE="http://nethogs.sf.net/" >-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" >+HOMEPAGE="https://raboof.github.io/nethogs/" >+SRC_URI="https://github.com/raboof/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" OK. >-LICENSE="GPL-1" >+LICENSE="GPL-2" OK. > SLOT="0" >-KEYWORDS="amd64 ~arm ~ia64 x86" >+KEYWORDS="~amd64 ~x86" You dropped unstable keywords, why? > RDEPEND=" > net-libs/libpcap >@@ -23,11 +21,9 @@ DEPEND=" > virtual/pkgconfig > " > >-DOCS=( Changelog DESIGN README ) >- >-S=${WORKDIR}/${PN} >+DOCS=( Changelog DESIGN README.md ) > >-src_prepare() { >- epatch "${FILESDIR}"/${P}-gentoo.patch >- tc-export CC CXX PKG_CONFIG Now the wrong compiler is used and pkg-config is not used. This breaks cross-compiling and building against sys-libs/ncurses[tinfo], respectively (or whichever comes first).
0.8.1 in the tree. Thanks for the report!