Bug 201033 - kde-misc/knetworkmanager-0.2_p20070831 build fails with dev-libs/libnl-1.0_pre6-r1
Bug#: 201033 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: rbu@gentoo.org Reported By: maggu2810@web.de
Component: Ebuilds
URL: 
Summary: kde-misc/knetworkmanager-0.2_p20070831 build fails with dev-libs/libnl-1.0_pre6-r1
Keywords:  
Status Whiteboard: 
Opened: 2007-12-02 23:27 0000
Description:   Opened: 2007-12-02 23:27 0000
We need to add a patch to compile kde-misc/knetworkmanager-0.2_p20070831 with
dev-libs/libnl-1.0_pre6-r1

Look at:
http://mail.kde.org/pipermail/kde-networkmanager/2007-October/000241.html
and following messages

That is the patch:
http://mail.kde.org/pipermail/kde-networkmanager/attachments/20071018/b8f1ad7a/attachment.bin


Reproducible: Always

Steps to Reproduce:
1. emerge =dev-libs/libnl-1.0_pre6-r1
2. emerge =kde-misc/knetworkmanager-0.2_p20070831

Actual Results:  
Build fails because of
"knetworkmanager-devicestore.cpp:455: error: 'nl_cache_destroy_and_free' was
not declared in this scope"

Expected Results:  
Completed build process

/usr/include/netlink/rtnetlink-kernel.h:768: error: '__u32' does not name a
type
/usr/include/netlink/rtnetlink-kernel.h:769: error: '__u32' does not name a
type
knetworkmanager-devicestore.cpp: In member function 'void
DeviceStore::getInterfaceStat()':
knetworkmanager-devicestore.cpp:455: error: 'nl_cache_destroy_and_free' was not
declared in this scope
make[3]: *** [knetworkmanager-devicestore.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/kde-misc/knetworkmanager-0.2_p20070831/work/knetworkmanager-0.2/knetworkmanager/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kde-misc/knetworkmanager-0.2_p20070831/work/knetworkmanager-0.2/knetworkmanager'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kde-misc/knetworkmanager-0.2_p20070831/work/knetworkmanager-0.2'
make: *** [all] Error 2
 * 
 * ERROR: kde-misc/knetworkmanager-0.2_p20070831 failed.
 * Call stack:
 *               ebuild.sh, line   35:  Called src_compile
 *             environment, line 4097:  Called kde_src_compile
 *             environment, line 2795:  Called kde_src_compile 'src_compile'
 *             environment, line 2916:  Called kde_src_compile 'src_compile'
'all' 'myconf'
 *             environment, line 2912:  Called die
 * The specific snippet of code:
 *                   emake || diefunc "$FUNCNAME" "$LINENO" "$?" "died running
emake, $FUNCNAME:make"
 *  The die message:
 *   died running emake, kde_src_compile:make

------- Comment #1 From Markus Rathgeb 2007-12-02 23:32:06 0000 -------
Because of the other error:
http://mail.kde.org/pipermail/kde-networkmanager/2007-February/000073.html

------- Comment #2 From Robert Buchholz 2007-12-03 00:38:39 0000 -------
Whoops, I compiled everything against that libnl but the old knm. Bumped to the
0.2.1 prerelease.

Thanks for the report! Please retry with
kde-misc/knetworkmanager-0.2.1_pre20071119.

------- Comment #3 From Markus Rathgeb 2007-12-11 21:43:26 0000 -------
Sorry for the quietness.
I synced today and build it without problems.
Thanks