--On Thursday, August 07, 2003 13:46:28 +0200 Michael Schloh von Bennewitz <[EMAIL PROTECTED]> wrote:
On Thu, Aug 07, 2003, Steffen Weinreich wrote:Hello Steffen,I am currently upgrading OpenPKG from 1.2 to 1.3 and I stumbled over a build error in snmp-5.0.8-1.3.0 on my Sol8 maschine
<--snip --> /bin/sh ../libtool --silent --mode=link /opt/ic3s/bin/cc -I/opt/ic3s/include/rpm -O2 -pipe -Dsolaris 2 -I/opt/ic3s/include/rpm -o snmpd snmpd.lo -L/opt/ic3s/lib -L/opt/ic3s/lib -L/opt/ic3s/lib libne tsnmpagent.la libnetsnmpmibs.la helpers/libnetsnmphelpers.la ../snmplib/libnetsnmp.la -ldl -lkvm -l rpm -lrpmio -lrpmpopt -lrpmbz2 -lrpmz -lrpmio -lrpmpopt -lrpmbz2 -lrpmz -lrpmpopt -lbz2 -lcrypto -l kstat -lelf -lm -lfsl -lsocket -lnsl -ladm /opt/ic3s/lib/librpmio.a(stubs.o)(.text+0x3e4): In function `setenv': : multiple definition of `setenv' ../snmplib/.libs/libnetsnmp.a(system.o)(.text+0x1f8): first defined here /opt/ic3s/bin/ld: Warning: size of symbol `setenv' changed from 124 in
Although I can't test this to be sure, I believe that the snmp build is mismatching the link symbols from librpmio with its compile definitions. As you see, you have both librpmio.a in /opt/ic3s/lib (the software companion?), and the lib directory of your OpenPKG instance.
/opt/ic3s is the OpenPKG instance :-)
Today's package should take care of that, so please build it on your machine and then report your results. If it turns out to solve the problem then I'll roll an release 1.3 update package and upload it. For now I've only made a current package to ensure that the new logic solves the problem. Get it?
rpm --rebuild ftp://ftp.openpkg.org/current/SRC/snmp-5.0.8-20030807.src.rpm
Despite the fact I have to change the BuildPreReq and PreReq to OpenPKG => 1.3.0, the package builds fine.
cheerio Steve
--
______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
