Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321701 - net-analyzer/mrtg-2.16.2 complains about redefined SNMP_Session::AF_INET6
Summary: net-analyzer/mrtg-2.16.2 complains about redefined SNMP_Session::AF_INET6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL: http://code.google.com/p/snmp-session...
Whiteboard:
Keywords:
: 331161 345007 (view as bug list)
Depends on:
Blocks: 509992
  Show dependency tree
 
Reported: 2010-05-27 15:29 UTC by Juergen Rose
Modified: 2014-05-10 18:35 UTC (History)
7 users (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 Juergen Rose 2010-05-27 15:29:58 UTC
Starting mrtg, it complains about redefined SNMP_Session::AF_INET6:

root@cheetah:/root(27)# /etc/init.d/mrtg restart
 * Caching service dependencies ...
 * Stopping mrtg ...
Constant subroutine SNMP_Session::AF_INET6 redefined at /usr/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::AF_INET6 () vs none at /usr/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Constant subroutine SNMP_Session::PF_INET6 redefined at /usr/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::PF_INET6 () vs none at /usr/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Constant subroutine SNMPv1_Session::AF_INET6 redefined at /usr/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604
Prototype mismatch: sub SNMPv1_Session::AF_INET6 () vs none at /usr/lib/perl5/5.10.1/Exporter.pm line 67.

I reremerge net-snmp, perl and mrtg, it does solved the problem.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604
Constant subroutine SNMPv1_Session::PF_INET6 redefined at /usr/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604
Prototype mismatch: sub SNMPv1_Session::PF_INET6 () vs none at /usr/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604
 * Starting mrtg ...


Reproducible: Always




root@cheetah:/root(31)# qlist -Iv dev-lang/perl mrtg net-snmp
dev-lang/perl-5.10.1
net-analyzer/mrtg-2.16.2
net-analyzer/net-snmp-5.4.2.1-r4

root@cheetah:/root(32)# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34-gentoo i686)
=================================================================
System uname: Linux-2.6.34-gentoo-i686-AMD_Athlon-tm-_XP_1800+-with-gentoo-2.0.1
Timestamp of tree: Thu, 27 May 2010 13:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.7.9-r2, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.7b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/n4g /var/lib/layman/science /var/lib/layman/zugaina /var/lib/layman/x11 /var/lib/layman/sunrise /usr/local/portage /var/lib/cpan"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac abiword acl acpi afs alsa ao apache2 applet archive arpack asf aspell assistant audacious audiofile automap automount bash-completion beagle berkdb blas blast bluetooth boo boost branding bzip2 cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib crypt css cups curl cxx daap db dbase dbi dbm dbus designer devhelp device-mapper dga dia djvu doc dri ds2490 dts dv dvb dvd dvdr dvi eds elf emacs emboss empathy encode epiphany evo examples exif expat extensions extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fts3 fuse galago garmin gd gdal gdbm gedit geoip geolocation geos gif gimp ginac git glade glib glitz gml gmp gmtsuppl gnokii gnome gnome-keyring gnome-print gnuplot gnutls gphoto2 gpm grammar graphics graphtft graphviz grass gs gsl gsm gstreamer gtk guile hal harness hddtemp hdf hdf5 hdri hlapi http httpd iconv icq icu id3 ide imagemagick imap innodb inotify ipod ipv6 irda ithreads jabber jadetex java java5 java6 jbig john jpeg jpeg2k kdrive kerberos kpathsea ladspa lame lapack latex latex3 lcms ldap lensfun libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo mad mail maildir mailwrapper mapnik math matroska matrox mikmod mkl mmx mmxext mng modules mono moonlight motif mozdevelop mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp overview pae pam pango pcre pda pdf perl plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio pymol python python-bindings qemu qhull qt3support qt4 quicktime readline reflection reiserfs rle romio rpc rrdcgi rrdtool samba sasl science sdl secure-delete semantic-desktop server session sip slang slp smbclient sms sndfile snmp soup sox speex spell spl sql sqlite sse ssl startup-notification stlport subtitles subversion suexec svg swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs theora threads thunderbird tidy tiff tk tntc tools truetype udev unicode usb userlocales utempter v4l2 virtualbox vorbis wav webdav webdav-serf webkit win32codecs wmf wxwidgets x264 x86 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                evdev               " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" LIRC_DEVICES="hauppauge" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="mga matrox vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-06-07 14:55:26 UTC
Thank you for repot. Please, try net-analyzer/mrtg-2.16.2-r1 this problem should be fixed there and if that's the case I'll ask to stabilize it asap.
Comment 2 Eric Westbrook 2010-07-27 20:08:18 UTC
I encountered this symptom with other perl packages depending on dev-perl/Socket6 (notably IO::Socket::INET6, and upgrading to =dev-perl/Socket6-0.23 removed the duplicate AF_INET6 and PF_INET6 definitions (and therefore the warnings) for me.

# echo '=dev-perl/Socket6-0.23 ~amd64' >> /etc/portage/package.keywords
# emerge -av1 dev-perl/Socket6

$0.02,
Eric
Comment 3 Juergen Rose 2010-11-04 10:11:16 UTC
With mrtg-2.16.2-r1:

root@cheetah:/root(3)# genlop -t mrtg | tail

     Sun May 30 04:38:34 2010 >>> net-analyzer/mrtg-2.16.2-r1
       merge time: 43 seconds.

     Tue Aug 10 04:37:02 2010 >>> net-analyzer/mrtg-2.16.4
       merge time: 53 seconds.

     Thu Nov  4 11:48:31 2010 >>> net-analyzer/mrtg-2.16.2-r1
       merge time: 1 minute and 9 seconds.

/etc/init.d/mrtg fails to start with:

root@cheetah:/root(4)# /etc/init.d/mrtg start
Bareword "P_DETACH" not allowed while "strict subs" in use at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 1172.
Compilation failed in require at /usr/bin/mrtg line 89.
BEGIN failed--compilation aborted at /usr/bin/mrtg line 89.
 * ERROR: mrtg failed to start

With mrtg-2.16.4 

root@cheetah:/root(8)# genlop -t mrtg | tail

     Tue Aug 10 04:37:02 2010 >>> net-analyzer/mrtg-2.16.4
       merge time: 53 seconds.

     Thu Nov  4 11:48:31 2010 >>> net-analyzer/mrtg-2.16.2-r1
       merge time: 1 minute and 9 seconds.

     Thu Nov  4 12:37:16 2010 >>> net-analyzer/mrtg-2.16.4
       merge time: 1 minute and 2 seconds.

/etc/init.d/mrtg complains again:
root@cheetah:/root(9)# /etc/init.d/mrtg start
 * Caching service dependencies ...
Constant subroutine SNMP_Session::AF_INET6 redefined at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::AF_INET6 () vs none at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 149
Constant subroutine SNMP_Session::PF_INET6 redefined at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::PF_INET6 () vs none at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 149
Constant subroutine SNMPv1_Session::AF_INET6 redefined at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 608
Prototype mismatch: sub SNMPv1_Session::AF_INET6 () vs none at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 608
Constant subroutine SNMPv1_Session::PF_INET6 redefined at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 608
Prototype mismatch: sub SNMPv1_Session::PF_INET6 () vs none at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 608
 * Starting mrtg ...                                                                                
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2010-11-09 14:10:38 UTC
*** Bug 331161 has been marked as a duplicate of this bug. ***
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-11-09 14:16:22 UTC
Thank you guys. I've added depend on >=dev-perl/Socket6-0.20 and this should fix this problem. If not, please, reopen, again.
Comment 6 Juergen Rose 2010-11-10 15:18:38 UTC
I still have the same issue. I recompiled all packages, where I assume that there are could be related to this issue:

rose@cheetah:/home/rose(1)$ genlop -t net-snmp | tail -n3
     Wed Nov 10 13:37:26 2010 >>> dev-perl/Net-SNMP-6.0.1
       merge time: 34 seconds.

rose@cheetah:/home/rose(2)$ genlop -t Net-SNMP | tail -n3
     Wed Nov 10 13:37:26 2010 >>> dev-perl/Net-SNMP-6.0.1
       merge time: 34 seconds.

rose@cheetah:/home/rose(3)$ genlop -t SNMP_Session | tail -n6
     Tue Nov  9 22:23:22 2010 >>> dev-perl/SNMP_Session-1.13
       merge time: 53 seconds.

     Wed Nov 10 13:20:59 2010 >>> dev-perl/SNMP_Session-1.13
       merge time: 44 seconds.

rose@cheetah:/home/rose(4)$ genlop -t mrtg | tail -n6
     Wed Nov 10 04:38:19 2010 >>> net-analyzer/mrtg-2.16.4-r1
       merge time: 1 minute and 1 second.

     Wed Nov 10 13:38:39 2010 >>> net-analyzer/mrtg-2.16.4-r1
       merge time: 1 minute and 12 seconds.

rose@cheetah:/home/rose(5)$ genlop -t Socket6 | tail -n6
     Tue Nov  9 22:39:21 2010 >>> dev-perl/Socket6-0.23
       merge time: 39 seconds.

     Wed Nov 10 13:21:44 2010 >>> dev-perl/Socket6-0.23
       merge time: 45 seconds.

Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-11 07:54:46 UTC
*** Bug 345007 has been marked as a duplicate of this bug. ***
Comment 8 Sergiy Borodych 2010-11-12 12:55:52 UTC
> Comment #5

What about use "use flag"
ipv6 - Adds support for IP version 6
for this new dep ?
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2010-11-16 09:41:11 UTC
Juergen, have you run perl-cleaner after perl update? Also could you post updated emerge --info? Personally I'm unable to reproduce this problem.

@perl, do you have any ideas what may cause this error?
Comment 10 Peter Volkov (RETIRED) gentoo-dev 2010-11-16 13:04:02 UTC
Yea, I've saw that bug reports. Thank you, Torsten. But what makes me wonder, how mrtg works here without any problems?... What triggers this issue?
Comment 11 Juergen Rose 2010-11-16 14:19:12 UTC
Yes I did 'perl-cleaner --a' (last time 20 minutes ago), then I rebooted the machine and I got again:
root@cheetah:/root(4)# cat /var/log/rc.log
...
  * Starting hddtemp daemon ...
 [ ok ]
Constant subroutine SNMP_Session::AF_INET6 redefined at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::AF_INET6 () vs none at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 149
Constant subroutine SNMP_Session::PF_INET6 redefined at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::PF_INET6 () vs none at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 149
Constant subroutine SNMPv1_Session::AF_INET6 redefined at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 608
Prototype mismatch: sub SNMPv1_Session::AF_INET6 () vs none at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 608
Constant subroutine SNMPv1_Session::PF_INET6 redefined at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 608
Prototype mismatch: sub SNMPv1_Session::PF_INET6 () vs none at /usr/lib/perl5/5.12.2/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.2/SNMP_Session.pm line 608
 * Starting mrtg ...
 [ ok ]
...
rc default logging stopped at Tue Nov 16 16:41:01 2010

root@cheetah:/root(4)# du -s /usr/lib/perl5/5* /usr/lib/perl5/site_perl/5* /usr/lib/perl5/vendor_perl/5*
48420   /usr/lib/perl5/5.12.2
2476    /usr/lib/perl5/site_perl/5.12.2
188476  /usr/lib/perl5/vendor_perl/5.12.2

And I have only /usr/lib//perl.../5.12.2 directories.
Comment 12 Juergen Rose 2010-11-16 14:23:07 UTC
Beside of this noise from "/etc/init.d/mrtg start" "/etc/init.d/mrtg status" says:
root@cheetah:/root(9)# /etc/init.d/mrtg status
 * status: started
Comment 13 Juergen Rose 2010-11-16 14:43:40 UTC
Could it be that the URL is not correct? I get always "Error: Not Found"
Should the URL perhaps: http://oss.oetiker.ch/mrtg-trac/ticket/45?
Comment 14 Peter Volkov (RETIRED) gentoo-dev 2010-11-16 15:51:39 UTC
(In reply to comment #13)
> Could it be that the URL is not correct? I get always "Error: Not Found"
> Should the URL perhaps: http://oss.oetiker.ch/mrtg-trac/ticket/45?

Works here...

Comment 15 Juergen Rose 2010-11-17 08:15:20 UTC
I wanted only to say, if I click on "URL:" I get "Not found". I suppose, because there are two links of the right sight of URL:. Both links:
Comment 16 Juergen Rose 2010-11-17 08:16:57 UTC
to continue the last posting:

http://oss.oetiker.ch/mrtg-trac/ticket/45
and
http://code.google.com/p/snmp-session/issues/detail?id=5
works.
Comment 17 Torsten Veller (RETIRED) gentoo-dev 2010-11-17 08:42:19 UTC
(In reply to comment #15)
> I wanted only to say, if I click on "URL:" 

I never tried to click on the URL link. I guess I always expected some bugzilla help behind it. 


(In reply to comment #10)
> Yea, I've saw that bug reports. Thank you, Torsten. But what makes me wonder,
> how mrtg works here without any problems?... What triggers this issue?

Don't know.

Which versions do you have installed?
emerge -pv dev-perl/Socket6 dev-perl/IO-Socket-INET6
Do you use IPv6? Do you enable ipv6 in your mrtg configfile?
Comment 18 Juergen Rose 2010-11-17 16:51:28 UTC
I find in my /etc/mrtg.conf:

EnableIPv6: no
Comment 19 Peter Volkov (RETIRED) gentoo-dev 2011-06-20 10:17:44 UTC
Could you try to reproduce this problem with mrtg-2.17.2, please?
Comment 20 Juergen Rose 2011-07-18 19:45:41 UTC
Hello Peter,

I still have the same issue with mrtg-2.17.1:

root@cheetah:/root(4)# /etc/init.d/mrtg start
Constant subroutine SNMP_Session::AF_INET6 redefined at /usr/lib/perl5/5.12.4/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.4/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::AF_INET6 () vs none at /usr/lib/perl5/5.12.4/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.4/SNMP_Session.pm line 149
Constant subroutine SNMP_Session::PF_INET6 redefined at /usr/lib/perl5/5.12.4/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.4/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::PF_INET6 () vs none at /usr/lib/perl5/5.12.4/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.4/SNMP_Session.pm line 149
Constant subroutine SNMPv1_Session::AF_INET6 redefined at /usr/lib/perl5/5.12.4/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.4/SNMP_Session.pm line 608
Prototype mismatch: sub SNMPv1_Session::AF_INET6 () vs none at /usr/lib/perl5/5.12.4/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.4/SNMP_Session.pm line 608
Constant subroutine SNMPv1_Session::PF_INET6 redefined at /usr/lib/perl5/5.12.4/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.4/SNMP_Session.pm line 608
Prototype mismatch: sub SNMPv1_Session::PF_INET6 () vs none at /usr/lib/perl5/5.12.4/Exporter.pm line 64.
 at /usr/lib/perl5/vendor_perl/5.12.4/SNMP_Session.pm line 608
 * Starting mrtg ...                                                                                                     [ ok ]
root@cheetah:/root(5)# qlist -Iv mrtg
net-analyzer/mrtg-2.17.2


root@cheetah:/root(7)# genlop -t mrtg | tail

     Wed Nov 10 04:38:19 2010 >>> net-analyzer/mrtg-2.16.4-r1
       merge time: 1 minute and 1 second.

     Wed Nov 10 13:38:39 2010 >>> net-analyzer/mrtg-2.16.4-r1
       merge time: 1 minute and 12 seconds.

     Mon Jun 20 20:34:12 2011 >>> net-analyzer/mrtg-2.17.2
       merge time: 42 seconds.
Comment 21 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-10 17:23:33 UTC
*** Bug 509986 has been marked as a duplicate of this bug. ***
Comment 22 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-10 17:24:52 UTC
Fixed in =net-analyzer/mrtg-2.17.4-r1.
Comment 23 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-10 17:56:17 UTC
Oh, it isn't fixed in SNMP_Session, it seems.
Comment 24 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-10 18:35:32 UTC
This should be fixed now that dev-perl/Socket6-0.20 is gone. I have added a properly versioned dependency in =net-analyzer/mrtg-2.17.4-r1.