Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197450 - dev-libs/libnl-1.0_pre8 version bump
Summary: dev-libs/libnl-1.0_pre8 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Marcelo Goes (RETIRED)
URL: http://people.suug.ch/~tgr/libnl/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-29 19:40 UTC by Daniel Bahrdt
Modified: 2008-01-30 08:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for libnl (libnl-1.0_pre6.ebuild,977 bytes, text/plain)
2007-10-29 19:58 UTC, Daniel Bahrdt
Details
libnl ebuild dir (libnl.tar.gz,1.33 KB, text/plain)
2007-11-22 19:42 UTC, valentin
Details
fixed tar.gz (libnl-1.0_pre8.tar.gz,260.04 KB, text/plain)
2007-11-22 19:45 UTC, valentin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bahrdt 2007-10-29 19:40:54 UTC
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.
Comment 1 Daniel Bahrdt 2007-10-29 19:58:42 UTC
Created attachment 134655 [details]
Ebuild for libnl

I took the original ebuild as basis as this is my first ebuild.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-10-30 07:08:10 UTC
Could you clarify what do you mean here? There's nothing 'newer' than 1.0_pre6 anywhere.
Comment 3 Daniel Bahrdt 2007-10-30 18:39:09 UTC
(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.

Comment 4 valentin 2007-11-22 19:42:12 UTC
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.
Comment 5 valentin 2007-11-22 19:45:58 UTC
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.
Comment 6 valentin 2007-11-22 20:39:52 UTC
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...
Comment 7 Robert Buchholz (RETIRED) gentoo-dev 2007-12-01 17:38:21 UTC
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.
Comment 8 Robert Buchholz (RETIRED) gentoo-dev 2007-12-01 19:51:06 UTC
Fixed the actual report in libnl-1.0_pre6-r1 by using the upstream tarball.

Converting this to a version bump bug.
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2008-01-30 08:17:20 UTC
Thank you all for work here. libnl-1.1 was added to the tree. Fixed in CVS.