Opened 15 years ago
Closed 10 years ago
#21241 closed defect (fixed)
net-snmp +ksm variant fails
Reported by: | james.applemac@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | nonstop.server@… | |
Port: | net-snmp |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
OS: OS X 10.6
xcode 3.2
macport 1.8.0_0 for Snow Leopard
following is the error messages:
=====================
port install net-snmp Port command started with PID 11004 ---> Computing dependencies for net-snmp ---> Fetching net-snmp ---> Verifying checksum(s) for net-snmp ---> Extracting net-snmp ---> Applying patches to net-snmp ---> Configuring net-snmp Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_net-snmp/work/net-snmp-5.4.2.1" && ./configure --prefix=/opt/local --with-defaults --disable-agent --with-sys-contact=nobody@no.where --with-persistent-directory=/opt/local/var/net-snmp --mandir=/opt/local/share/man --infodir=/opt/local/share/info --with-logfile=/opt/local/var/log --with-openssl=/opt/local --with-zlib=/opt/local --with-install-prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_net-snmp/work/destroot --without-kmem-usage --enable-ipv6 --with-out-mib-modules=mibII/ipv6 " returned error 1 Command output: checking for netinet6/nd6.h... no checking for netinet6/tcp6_timer.h... no checking for netinet6/tcp6_var.h... no checking for dlfcn.h... (cached) yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking for netinet/in_pcb.h... yes checking for sys/disklabel.h... no checking openssl/hmac.h usability... yes checking openssl/hmac.h presence... yes checking for openssl/hmac.h... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes checking openssl/des.h usability... yes checking openssl/des.h presence... yes checking for openssl/des.h... yes checking openssl/dh.h usability... yes checking openssl/dh.h presence... yes checking for openssl/dh.h... yes checking security/cryptoki.h usability... no checking security/cryptoki.h presence... no checking for security/cryptoki.h... no checking for lpstat... /usr/bin/lpstat checking for cgetnext... yes checking for authentication support... configure: error: Asked to use OpenSSL but I couldn't find it. Error: Status 1 encountered during processing. ---> Executing: /opt/local/bin/port install net-snmp
Attachments (2)
Change History (17)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to opendarwin.org@… |
comment:2 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 Changed 15 years ago by tobypeterson
Priority: | High → Normal |
---|
comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:5 Changed 15 years ago by james.applemac@…
Hi,
I have uninstalled every package build under OS X 10.5.8 and rebuild under OS X 10.6 with xCode 3.2.
It show me the following message when I run lipo -info /opt/local/lib/libssl.dylib
Non-fat file: /opt/local/lib/libssl.dylib is architecture: x86_64
Following are the error messages:
port install net-snmp +bzip2 +ksm +server Port command started with PID 423 Portfile changed since last build; discarding previous state. ---> Computing dependencies for net-snmp ---> Fetching net-snmp ---> Verifying checksum(s) for net-snmp ---> Extracting net-snmp ---> Applying patches to net-snmp ---> Configuring net-snmp ---> Building net-snmp Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_net-snmp/work/net-snmp-5.4.2.1" && /usr/bin/make all " returned error 2 Command output: snmpUDPDomain.c: In function 'netsnmp_sock_buffer_set': snmpUDPDomain.c:500: warning: passing argument 5 of 'getsockopt' from incompatible pointer type snmpUDPDomain.c:535: warning: passing argument 5 of 'getsockopt' from incompatible pointer type /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpUDPDomain.c -o snmpUDPDomain.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c -o snmpTCPDomain.lo snmpTCPDomain.c /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpTCPDomain.c -fno-common -DPIC -o .libs/snmpTCPDomain.o /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpTCPDomain.c -o snmpTCPDomain.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c -o snmpUnixDomain.lo snmpUnixDomain.c /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpUnixDomain.c -fno-common -DPIC -o .libs/snmpUnixDomain.o /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpUnixDomain.c -o snmpUnixDomain.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c -o snmpCallbackDomain.lo snmpCallbackDomain.c /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpCallbackDomain.c -fno-common -DPIC -o .libs/snmpCallbackDomain.o /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpCallbackDomain.c -o snmpCallbackDomain.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c -o snmp_secmod.lo snmp_secmod.c /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmp_secmod.c -fno-common -DPIC -o .libs/snmp_secmod.o /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmp_secmod.c -o snmp_secmod.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c -o snmpusm.lo snmpusm.c /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpusm.c -fno-common -DPIC -o .libs/snmpusm.o /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpusm.c -o snmpusm.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c -o snmpksm.lo snmpksm.c /usr/bin/gcc-4.2 -I../include -I. -I../snmplib -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch x86_64 -Udarwin10 -Ddarwin10=darwin10 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE -c snmpksm.c -fno-common -DPIC -o .libs/snmpksm.o snmpksm.c: In function 'ksm_rgenerate_out_msg': snmpksm.c:493: error: 'params' undeclared (first use in this function) snmpksm.c:493: error: (Each undeclared identifier is reported only once snmpksm.c:493: error: for each function it appears in.) snmpksm.c:693: error: 'krb5_enctype_array' undeclared (first use in this function) snmpksm.c: In function 'ksm_process_in_msg': snmpksm.c:1684: error: 'krb5_enctype_array' undeclared (first use in this function) make[1]: *** [snmpksm.lo] Error 1 make: *** [subdirs] Error 1 Error: Status 1 encountered during processing. ---> Executing: /opt/local/bin/port install net-snmp +bzip2 +ksm +server
comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Ok, so that's a totally different error now than before. I see that problem too.
comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | net-snmp 5.4.2.1_1 Build Failed Under Mac OS X 10.6 → net-snmp +ksm variant fails |
---|
...with the +ksm variant. If you omit that variant, and the +server variant, it should build.
comment:8 Changed 14 years ago by jmroot (Joshua Root)
Owner: | changed from opendarwin.org@… to ryandesign@… |
---|
Changed 12 years ago by nonstop.server@…
comment:10 Changed 12 years ago by nonstop.server@…
Error 1 also occurs on OSX 10.5 durin the make of snmpksm.lo.
The main.log is attached.
Version Information:
Mac OS Version: Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 Xcode Version: Xcode 3.1.4 Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0 BuildVersion: 9M2809 Macports Version: Version: 2.1.2
comment:11 Changed 12 years ago by nonstop.server@…
FYI, just tried to install updated version @5.7.2 of net-snmp without success.
Building object snmpksm.o returns the same error message.
See main_r98914.log for additional information.
Changed 12 years ago by nonstop.server@…
Attachment: | main_r98914.log added |
---|
comment:12 follow-up: 13 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Yes, I see that as well. Would you report the problem to the developers of net-snmp so that they could fix it?
comment:13 Changed 12 years ago by nonstop.server@…
Replying to ryandesign@…:
A bug report has been filed for this issue, see bug report 2421 for more information.
comment:15 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
The upstream fix is in 5.7.3, to which the port was updated in r129760.
What is the output of
lipo -info /opt/local/lib/libssl.dylib
?