Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176378 - please stabilize net-analyzer/bmon-2.1.0-r3
Summary: please stabilize net-analyzer/bmon-2.1.0-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: STABLEREQ
: 191124 191126 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-28 17:30 UTC by Avuton Olrich
Modified: 2008-01-06 13:27 UTC (History)
7 users (show)

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


Attachments
bmon-2.1.0-r2.ebuild.patch (bmon-2.1.0-r2.ebuild.patch,390 bytes, patch)
2007-09-03 22:03 UTC, Bjoern Olausson
Details | Diff
bmon-2.1.0.patch (bmon-2.1.0.patch,487 bytes, patch)
2007-09-03 22:03 UTC, Bjoern Olausson
Details | Diff
bmon-2.1.0-libnl-1.0.patch (bmon-2.1.0-libnl-1.0.patch,487 bytes, patch)
2007-09-03 22:16 UTC, Bjoern Olausson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Avuton Olrich 2007-04-28 17:30:17 UTC
I just tried to emerge bmon-2.1.0-r2 (new emerge) and found out that the libnl update (from 0.5.0->1.0_pre6) broke this package since the headers below aren't on the system anymore.

The error starts out like this, and there's much more past this.
in_netlink.c:47:29: error: netlink/helpers.h: No such file or directory
in_netlink.c:51:34: error: netlink/route/filter.h: No such file or directory
in_netlink.c:55: error: variable 'nl_h' has initializer but incomplete type
in_netlink.c:56: error: variable 'link_cache' has initializer but incomplete type
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2007-04-29 17:00:40 UTC
Indeed... That's why it was masked before.
See bug 140207 for more information.

Anyway, that means now we have to fix bmon ;-).
Comment 2 Claudinei Matos 2007-08-24 21:17:52 UTC
libnl-1.0_pre6 still broken with bmon-2.1.0-r2 as bmon still need some missing C headers from libnl-0.5.0
Shouldn't libnl-1.0_pre6 still masked as this problem is not solved yet and even bmon is not patched to look at the right *new files*?
Add packages to /etc/portage/package.mask is not the way things should be.

Right now I'm masking libnl onto some servers as it's easier than make a patch for bmon.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-03 07:25:21 UTC
*** Bug 191124 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-03 08:21:02 UTC
*** Bug 191126 has been marked as a duplicate of this bug. ***
Comment 5 Bjoern Olausson 2007-09-03 21:41:51 UTC
Here's a workaround...

http://www.linuxquestions.org/questions//showthread.php?t=494468

if test $ac_cv_lib_nl_nl_connect = yes; then

If someone knows how to modifie this if statement so it will check for the libnl-1.0 version, so it can be disabled.

Or maybe just check in the ebuild for >=  libnl-1.0 and than just patch away
the if statement... so bmon compiles without libnl...

(configure Line 7328)

cat >>confdefs.h <<_ACEOF
#define HAVE_NL "1"
_ACEOF

        LIBNL="-lnl"
        NL="Yes"

else

        case ${target_os} in
            *linux*)
                echo
                echo "*** Warning: Building bmon on Linuxx w/o libnl ***"
                echo
            ;;
        esac

fi

Comment 6 Bjoern Olausson 2007-09-03 21:43:38 UTC
Sry I missed some line:

if test $ac_cv_lib_nl_nl_connect = yes; then


cat >>confdefs.h <<_ACEOF
#define HAVE_NL "1"
_ACEOF

        LIBNL="-lnl"
        NL="Yes"

else

        case ${target_os} in
            *linux*)
                echo
                echo "*** Warning: Building bmon on Linuxx w/o libnl ***"
                echo
            ;;
        esac

fi
Comment 7 Bjoern Olausson 2007-09-03 22:03:10 UTC
Created attachment 129942 [details, diff]
bmon-2.1.0-r2.ebuild.patch

Okay, here's a very very very _very_ dirty and quick, _very quick_
patch for the current ebuild
Comment 8 Bjoern Olausson 2007-09-03 22:03:47 UTC
Created attachment 129944 [details, diff]
bmon-2.1.0.patch

Okay, here's a very very very _very_ dirty and quick, _very quick_
patch for bmon
Comment 9 Bjoern Olausson 2007-09-03 22:16:35 UTC
Created attachment 129947 [details, diff]
bmon-2.1.0-libnl-1.0.patch

Sry, wrong patch attached...
Comment 10 Markus Ullmann (RETIRED) gentoo-dev 2007-09-05 20:22:19 UTC
builds sanely for me with this patch
applied as -r3 though. please test
Comment 11 Mihai Moldovan 2007-09-07 20:08:18 UTC
Hmm... well, it works, yeah, but uhm...

I'd rather set it to UNRESOLVED and wait for a *real* fix (i.e. a working libnl implementation)

My two cent

-Ionic
Comment 12 Matthias Langer 2007-11-06 21:08:50 UTC
net-analyzer/bmon-2.1.0-r3  USE="-dbi -rrdtool" seems to be fine on both amd64 and x86 while the current stable version does not even build out of the box (see comment 0).
Comment 13 Dawid Węgliński (RETIRED) gentoo-dev 2007-11-06 23:22:19 UTC
Stable on x86
Comment 14 Alex Howells (RETIRED) gentoo-dev 2007-11-14 03:13:13 UTC
seems to work fine on amd64, stabled
Comment 15 Markus Ullmann (RETIRED) gentoo-dev 2008-01-06 13:27:32 UTC
This is done long ago