[MacPorts] #20981: net-snmp fails to build if parallel builds are enabled

MacPorts noreply at macports.org
Mon Aug 31 13:58:05 PDT 2009


#20981: net-snmp fails to build if parallel builds are enabled
---------------------------------+------------------------------------------
 Reporter:  macport@…            |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.8.0                                
 Keywords:                       |        Port:  net-snmp                             
---------------------------------+------------------------------------------
 Running on OSX 10.5.8 on Powermac G5 dual 2.5, the net-snmp build fails in
 the "helper" directory due to out-of-order completion dependency problems.
 Setting macports.conf to run in single file allowed the build to complete
 successfully.

 Error text:

 --->  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
 -j2 all " returned error 2
 Command output: /bin/sh ../../libtool  --mode=compile /usr/bin/gcc-4.0
 -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib
 -I/opt/local/include -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch
 ppc -Udarwin9 -Ddarwin9=darwin9  -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 table_data.lo table_data.c
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_container.c
 -fno-common -DPIC -o .libs/table_container.o
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_data.c  -fno-
 common -DPIC -o .libs/table_data.o
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_container.c -o
 table_container.o >/dev/null 2>&1
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_data.c -o
 table_data.o >/dev/null 2>&1
 /bin/sh ../../libtool  --mode=compile /usr/bin/gcc-4.0 -I../../include -I.
 -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/local/include
 -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9
 -Ddarwin9=darwin9  -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 table_dataset.lo table_dataset.c
 /bin/sh ../../libtool  --mode=compile /usr/bin/gcc-4.0 -I../../include -I.
 -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/local/include
 -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9
 -Ddarwin9=darwin9  -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 table_iterator.lo table_iterator.c
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_dataset.c  -fno-
 common -DPIC -o .libs/table_dataset.o
 table_dataset.c: In function 'netsnmp_table_data_set_helper_handler':
 table_dataset.c:514: warning: pointer targets in passing argument 2 of
 'netsnmp_table_get_or_create_row_stash' differ in signedness
 table_dataset.c:694: warning: pointer targets in assignment differ in
 signedness
 table_dataset.c: In function 'netsnmp_set_row_column':
 table_dataset.c:1255: warning: pointer targets in passing argument 2 of
 'memdup' differ in signedness
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_iterator.c  -fno-
 common -DPIC -o .libs/table_iterator.o
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_dataset.c -o
 table_dataset.o >/dev/null 2>&1
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_iterator.c -o
 table_iterator.o >/dev/null 2>&1
 /bin/sh ../../libtool  --mode=compile /usr/bin/gcc-4.0 -I../../include -I.
 -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/local/include
 -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9
 -Ddarwin9=darwin9  -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 table_row.lo table_row.c
 /bin/sh ../../libtool  --mode=compile /usr/bin/gcc-4.0 -I../../include -I.
 -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/local/include
 -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9
 -Ddarwin9=darwin9  -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 table_tdata.lo table_tdata.c
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_tdata.c  -fno-
 common -DPIC -o .libs/table_tdata.o
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_row.c  -fno-
 common -DPIC -o .libs/table_row.o
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_row.c -o
 table_row.o >/dev/null 2>&1
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 table_tdata.c -o
 table_tdata.o >/dev/null 2>&1
 /bin/sh ../../libtool  --mode=compile /usr/bin/gcc-4.0 -I../../include -I.
 -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/local/include
 -I/opt/local/include -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9
 -Ddarwin9=darwin9  -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 watcher.lo watcher.c
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 watcher.c  -fno-common
 -DPIC -o .libs/watcher.o
  /usr/bin/gcc-4.0 -I../../include -I. -I../../agent -I../../agent/mibgroup
 -I../../snmplib -I/opt/local/include -I/opt/local/include
 -DNETSNMP_ENABLE_IPV6 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9 -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 watcher.c -o watcher.o
 >/dev/null 2>&1
 /bin/sh ../../libtool  --mode=link /usr/bin/gcc-4.0 -DNETSNMP_ENABLE_IPV6
 -O2 -arch ppc -Udarwin9 -Ddarwin9=darwin9  -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   -rpath /opt/local/lib -version-info 16:2:1 -o
 libnetsnmphelpers.la all_helpers.lo baby_steps.lo bulk_to_next.lo
 cache_handler.lo debug_handler.lo instance.lo mode_end_call.lo
 multiplexer.lo null.lo old_api.lo read_only.lo row_merge.lo scalar.lo
 scalar_group.lo serialize.lo stash_cache.lo stash_to_next.lo table.lo
 table_array.lo table_container.lo table_data.lo table_dataset.lo
 table_iterator.lo table_row.lo table_tdata.lo watcher.lo
 ../libnetsnmpagent.la ../../snmplib/libnetsnmp.la -L/opt/local/lib
 -L/opt/local/lib
 libtool: link: cannot find the library `../libnetsnmpagent.la' or
 unhandled argument `../libnetsnmpagent.la'
 make[2]: *** [libnetsnmphelpers.la] Error 1
 make[1]: *** [subdirs] Error 1
 make: *** [subdirs] Error 1

 Error: Status 1 encountered during processing.

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


More information about the macports-tickets mailing list