Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 408043

Summary: mail-filter/amavisd-new with snmp-use flag should check for net-analyzer/net-snmp perl use-flag
Product: Gentoo Linux Reporter: Oleg Gawriloff <barzog>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: minor CC: antivirus
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Oleg Gawriloff 2012-03-13 16:54:42 UTC
Without net-analyzer/net-snmp compiled with perl use flag we have following error when starting amavisd-snmp-subagent:

martin-cl2 ~ # amavisd-snmp-subagent --help
Can't locate NetSNMP/OID.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/s                                                              ite_perl/5.12.4/x86_64-linux /usr/lib64/perl5/site_perl/5.12.4 /usr/lib64/perl5/                                                              vendor_perl/5.12.4/x86_64-linux /usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/p                                                              erl5/site_perl /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.4/x86_64-linux                                                               /usr/lib64/perl5/5.12.4 /usr/local/lib/site_perl) at /usr/sbin/amavisd-snmp-sub                                                              agent line 125.
BEGIN failed--compilation aborted at /usr/sbin/amavisd-snmp-subagent line 125.


Reproducible: Always
Comment 1 Eray Aslan gentoo-dev 2012-03-14 09:34:24 UTC
+  14 Mar 2012; Eray Aslan <eras@gentoo.org> amavisd-new-2.7.0.ebuild:
+  Fix net-snmp DEPEND - bug #408043
+

Thanks for the report.