[MacPorts] #21241: net-snmp 5.4.2.1_1 Build Failed Under Mac OS X 10.6

MacPorts noreply at macports.org
Tue Sep 15 19:50:42 PDT 2009


#21241: net-snmp 5.4.2.1_1 Build Failed Under Mac OS X 10.6
--------------------------------------+-------------------------------------
 Reporter:  james.applemac@…          |       Owner:  opendarwin.org@…          
     Type:  defect                    |      Status:  new                       
 Priority:  Normal                    |   Milestone:                            
Component:  ports                     |     Version:  1.8.0                     
 Keywords:                            |        Port:  net-snmp                  
--------------------------------------+-------------------------------------

Comment(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

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21241#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list