Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201033 - kde-misc/knetworkmanager-0.2_p20070831 build fails with dev-libs/libnl-1.0_pre6-r1
Summary: kde-misc/knetworkmanager-0.2_p20070831 build fails with dev-libs/libnl-1.0_pr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robert Buchholz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 23:27 UTC by Markus Rathgeb
Modified: 2007-12-11 21:43 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rathgeb 2007-12-02 23:27:35 UTC
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 Markus Rathgeb 2007-12-02 23:32:06 UTC
Because of the other error:
http://mail.kde.org/pipermail/kde-networkmanager/2007-February/000073.html
Comment 2 Robert Buchholz (RETIRED) gentoo-dev 2007-12-03 00:38:39 UTC
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 Markus Rathgeb 2007-12-11 21:43:26 UTC
Sorry for the quietness.
I synced today and build it without problems.
Thanks