Gentoo's libnl is older than the one on the dev's page or the one of debian. Consequently some programs fail to compile, as some functions have changed. Reproducible: Always Steps to Reproduce: Use functions from the "new" lib and try to compile it with the one from gentoo. (for example int nl_recv(nl_handle*, sockaddr_nl*, unsigned char**)) Expected Results: Have the correct version.
Created attachment 134655 [details] Ebuild for libnl I took the original ebuild as basis as this is my first ebuild.
Could you clarify what do you mean here? There's nothing 'newer' than 1.0_pre6 anywhere.
(In reply to comment #2) > Could you clarify what do you mean here? There's nothing 'newer' than 1.0_pre6 > anywhere. > Unfortunately the developer of libnl did not change the version number. The one from gentoo seems to be older than the one on the dev's page (at least I think so, because how should gentoo get a newer "version" than the developer). What I can say, is that the dev's version differs from gentoo's version.
Created attachment 136704 [details] libnl ebuild dir the file contains the libnl directory to build the _pre8 version of libnl with the corrected patches and the Manifest for the files in the directory. for this to work, download, untar copy the ebuild and the files in the dev-libs/libnl/ directory and append the Manifest to the one in that directory. there you should override the md5sum for the patch files since they've been modified. the ebuild builds and installs and the apps compiling on it seem to compile. now you could for example build the knetworkmanager from source since the new functions called inside are now supported. be sure to download the libnl.tar.gz also from here, since it has to be untared and retared with the name modified to be able to use it without problems. adding it to the gentoo ftp sites could be a nice addon.
Created attachment 136705 [details] fixed tar.gz this is a fixed tar.gz for the libnl-1.0_pre8 i didn't had the time to fix the ebuild to work with the libnl-1.0-pre8 source from the site. i'll do it later if i'll have some spare time (maybe next week) for now i fixed it renaming the directory inside the tar.gz.
well, now i'm experiencing problems with networkmanager itself which doesn't start and compile anymore, so i had to downgrade both libnl, networkmanager and knetworkmanager. i think that there are still some problems with this stuff...
The pre6 ebuild does not install pre6, but some snapshot between pre5 and pre6. After that snapshot, API changes were introduced and programs recommending "pre6 or later" don't work with our provided "pre6". Please bump to a real pre6, and pre8 if appropriate.
Fixed the actual report in libnl-1.0_pre6-r1 by using the upstream tarball. Converting this to a version bump bug.
Thank you all for work here. libnl-1.1 was added to the tree. Fixed in CVS.