Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66322 - apcupsd doesnt build snmp driver (ucd-snmp)
Summary: apcupsd doesnt build snmp driver (ucd-snmp)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-04 09:27 UTC by Georg Weiss
Modified: 2005-02-20 17:30 UTC (History)
0 users

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 Georg Weiss 2004-10-04 09:27:33 UTC
apcupsd does not build snmp driver with ucd-snmp package (net-snmp not tested).
this happens with apcupsd-1.3.10.13 and apcupsd-1.3.15-r1.

Reproducible: Always
Steps to Reproduce:
1. emerge apcupsd
2. apcupsd (with usbtype snmp)

Actual Results:  
looking at the logs:
patches are applied correctly.
snmp use flag is honored.
but somewhere during "./configure" it is reported:
=8<===
[...]
checking for EVP_DigestInit in -lcrypto... yes
  including crypto library for snmp.
checking for snmp_open in -lnetsnmp... no
  disabling NET-SNMP driver.
[...]
=8<===
...which results in the "snmp" driver not being build.

Expected Results:  
apcupsd should build snmp driver

calculon root # emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4,
glibc-2.3.3.20040420-r0,2.3.3.20040420-r1, 2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="YES"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://www.gigaload.org/gentoo.org/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.zie.pg.gda.pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://xxx/gentoo-portage"
USE="acl apm berkdb bitmap-fonts crypt foomaticdb gdbm imlib ldap libg++ libwww
mailwrapper ncurses nls pam pdflib perl python readline samba slang snmp spell
sse ssl tcpd unicode x86 xml2 xprint zlib"
====

calculon root # emerge -pv ucd-snmp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-analyzer/ucd-snmp-4.2.6-r2  -debug -ipv6 +ssl +tcpd  0 kB

Total size of downloads: 0 kB
====
Comment 1 Georg Weiss 2004-10-05 00:54:14 UTC
snmp driver built is ok using net-snmp.
Comment 2 Eldad Zack (RETIRED) gentoo-dev 2004-10-29 14:19:44 UTC
ucd-snmp is going away from the tree. (bug 69451)
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-02-20 17:30:40 UTC
going away very soon.