Opened 7 weeks ago

#70978 new defect

dcc fails to build: Undefined symbols: "_grey_on"

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: dcc

Description

--->  Configuring dcc
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_dcc/dcc/work/dcc-2.3.169" && ./configure  --homedir=/opt/local/etc/dcc --bindir=/opt/local/bin --libexecdir=/opt/local/libexec/dcc --mandir=/opt/local/share/man --with-rundir=/opt/local/var/run/dcc --enable-64-bits --disable-dccm --with-uid=_rspamd --with-installroot=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_dcc/dcc/work/destroot  
creating cache ./config.cache
$Revision: 1.244 $
checking for cc... ccache /usr/bin/gcc-4.2
checking whether the C compiler (ccache /usr/bin/gcc-4.2 -pipe -Os -arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc) works... yes
checking whether the C compiler (ccache /usr/bin/gcc-4.2 -pipe -Os -arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether ccache /usr/bin/gcc-4.2 accepts -g... yes
checking how to run the C preprocessor... ccache /usr/bin/gcc-4.2 -E
checking for ranlib... ranlib
checking for pthread_mutex_lock... yes
checking for pthread_attr_setstacksize... yes
checking for msync(MS_ASYNC)... yes
checking for fstatfs()... BSD
checking for gcc __attribute__... yes
checking sizeof(long)... 4
checking for 64-bit void* pointers... no, 32-bit system?
checking for files larger than 4 GBytes... yes
checking for make... yes
checking whether make is gmake... yes
checking for xargs... /usr/bin/xargs
checking for wget... /opt/local/bin/wget
checking for perl... /opt/local/bin/perl
checking for sendmail... /opt/local/sbin/sendmail
checking for htpasswd... /opt/local/bin/htpasswd
checking for rrdtool... /opt/local/bin/rrdtool
checking for AF_LOCAL... yes
checking for AF_INET6... yes
checking for socklen_t... yes
checking for in_addr_t... yes
checking for sa_family_t... yes
checking for in_port_t... yes
checking for sa_len... yes
checking for sin6_scope_id... yes
checking for ANSI C header files... yes
checking for pid_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking need for string.h... no
checking whether time.h and sys/time.h may both be included... yes
checking for strings.h... yes
checking for paths.h... yes
checking for sys/cdefs.h... yes
checking for pthread.h... yes
checking for arpa/nameser.h... yes
checking for resolv.h... yes
checking for utime.h... yes
checking for ifaddrs.h... yes
checking for inttypes.h... yes
checking for histedit.h... yes
checking for vsyslog... yes
checking for getipnodebyname... yes
checking for getipnodebyaddr... yes
checking for freehostent... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for freeaddrinfo... yes
checking for gai_strerror... yes
checking for hstrerror... yes
checking for _res... yes
checking for res_init... yes
checking for res_query... yes
checking for dn_expand... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for inet_aton... yes
checking for gethostid... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for timegm... yes
checking for altzone... no
checking for futimes... yes
checking for setpgid... yes
checking for poll... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for getprogname... yes
checking for daemon... yes
checking for siginterrupt... yes
checking for eaccess... no
checking for getifaddrs... yes
checking for freeifaddrs... yes
checking for ffsl... yes
checking for builtin_ffsl()... yes
checking for el_init in -ledit... yes
checking for getifaddrs() replacement... NATIVE
checking for md5.h... no
checking for sysconf(_SC_PHYS_PAGES)+sysconf(_SC_PAGESIZE)... no
checking for sysctl(HW_PHYSMEM)... yes
checking for __progname... yes
checking use FD_SETSIZE to compute NUM_CWFS... 20
checking for sysctl(kern.boottime)... yes
checking for IPv6... yes
checking for Rsendto... no
updating cache ./config.cache
creating ./config.status
............................................................................................creating include/dcc_config.h
--->  Building dcc
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_dcc/dcc/work/dcc-2.3.169" && /usr/bin/make -j6   
==> dcclib
ccache /usr/bin/gcc-4.2   -I../include    -c -o dccif.o dccif.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o fnm.o fnm.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o get_port.o get_port.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o hstrerror.o hstrerror.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o inet_ntop.o inet_ntop.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o ipv6_conv.o ipv6_conv.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o lock_stubs.o lock_stubs.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o logbad.o logbad.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o mk_su.o mk_su.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o msg1.o msg1.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o parse_word.o parse_word.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o parse_srvr_nm.o parse_srvr_nm.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o strlcat.o strlcat.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o strlcpy.o strlcpy.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o su2str.o su2str.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o vsyslog.o vsyslog.c
ar qcs libdcc.a dccif.o fnm.o get_port.o hstrerror.o inet_ntop.o ipv6_conv.o lock_stubs.o logbad.o mk_su.o msg1.o parse_word.o parse_srvr_nm.o strlcat.o strlcpy.o su2str.o vsyslog.o
==> clntlib
ccache /usr/bin/gcc-4.2   -I../include    -c -o aop.o aop.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o ask.o ask.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o cdhome.o cdhome.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o ck.o ck.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o ck2str.o ck2str.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o ckbody.o ckbody.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o ckfuz1.o ckfuz1.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o ckfuz2.o ckfuz2.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o ckmime.o ckmime.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o ckparse.o ckparse.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o cktbls.o cktbls.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o ckwhite.o ckwhite.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o clnt_init.o clnt_init.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o clnt_send.o clnt_send.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o clnt_unthreaded.o clnt_unthreaded.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o escstr.o escstr.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o daemon.o daemon.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o dnsbl.o dnsbl.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o get_id.o get_id.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o get_secs.o get_secs.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o getifaddrs.o getifaddrs.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o hash_divisor.o hash_divisor.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o heap_debug.o heap_debug.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o helper.o helper.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o id2str.o id2str.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o inet_pton.o inet_pton.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o load_ids.o load_ids.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o lock_open.o lock_open.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o md5.o md5.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o mkstemp.o mkstemp.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o msg2.o msg2.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o op2str.o op2str.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o parse_log_opt.o parse_log_opt.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o parse_passwd.o parse_passwd.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o parse_whitefile.o parse_whitefile.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o print_info.o print_info.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o range.o range.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o select_poll.o select_poll.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o sign.o sign.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o restart.o restart.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o str2type.o str2type.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o str2cnt.o str2cnt.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o tgts2str.o tgts2str.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o type2str.o type2str.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o udp_bind.o udp_bind.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o xhdr.o xhdr.c
ar qcs libclnt.a aop.o ask.o cdhome.o ck.o ck2str.o ckbody.o ckfuz1.o ckfuz2.o ckmime.o ckparse.o cktbls.o ckwhite.o clnt_init.o clnt_send.o ckmime.o ckparse.o ckwhite.o clnt_init.o clnt_send.o clnt_unthreaded.o escstr.o daemon.o dnsbl.o get_id.o get_secs.o getifaddrs.o hash_divisor.o heap_debug.o helper.o id2str.o inet_pton.o load_ids.o lock_open.o md5.o mkstemp.o msg2.o op2str.o parse_log_opt.o parse_passwd.o parse_whitefile.o print_info.o range.o select_poll.o sign.o restart.o str2type.o str2cnt.o tgts2str.o type2str.o udp_bind.o xhdr.o
==> srvrlib
ccache /usr/bin/gcc-4.2   -I../include    -c -o boottime.o boottime.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o db.o db.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o flod.o flod.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o istmpfs.o istmpfs.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o read_rcd.o read_rcd.c
ccache /usr/bin/gcc-4.2   -I../include    -c -o ts2str.o ts2str.c
ar qcs libsrvr.a boottime.o db.o flod.o istmpfs.o read_rcd.o ts2str.o
==> dns-helper
ccache /usr/bin/gcc-4.2   -I../include    -c -o dns-helper.o dns-helper.c
ccache /usr/bin/gcc-4.2   dns-helper.o ../clntlib/libclnt.a ../dcclib/libdcc.a -lm -lresolv -ledit -ltermcap -o dns-helper
==> thrlib
ccache /usr/bin/gcc-4.2    -I../include    -c -o clnt_threaded.o clnt_threaded.c
ccache /usr/bin/gcc-4.2    -I../include    -c -o cmn.o cmn.c
ccache /usr/bin/gcc-4.2    -I../include    -c -o reply.o reply.c
ccache /usr/bin/gcc-4.2    -I../include    -c -o totals.o totals.c
ar qcs libthr.a clnt_threaded.o cmn.o reply.o totals.o
==> cdcc
ccache /usr/bin/gcc-4.2   -I../include    -c -o cdcc.o cdcc.c
ccache /usr/bin/gcc-4.2   cdcc.o ../clntlib/libclnt.a ../dcclib/libdcc.a -lm -lresolv -ledit -ltermcap -o cdcc
==> ck2ip
ccache /usr/bin/gcc-4.2   -I../include    -c -o ck2ip.o ck2ip.c
ccache /usr/bin/gcc-4.2   ck2ip.o ../clntlib/libclnt.a ../dcclib/libdcc.a -lm -lresolv -ledit -ltermcap -o ck2ip
==> dbclean
ccache /usr/bin/gcc-4.2 -I../srvrlib   -I../include    -c -o dbclean.o dbclean.c
ccache /usr/bin/gcc-4.2   dbclean.o ../srvrlib/libsrvr.a ../clntlib/libclnt.a ../dcclib/libdcc.a -lm -lresolv -ledit -ltermcap -o dbclean
==> dccd
ccache /usr/bin/gcc-4.2 -I../srvrlib   -I../include    -c -o dccd.o dccd.c
ccache /usr/bin/gcc-4.2 -I../srvrlib   -I../include    -c -o iflod.o iflod.c
ccache /usr/bin/gcc-4.2 -I../srvrlib   -I../include    -c -o oflod.o oflod.c
ccache /usr/bin/gcc-4.2 -I../srvrlib   -I../include    -c -o rl.o rl.c
ccache /usr/bin/gcc-4.2 -I../srvrlib   -I../include    -c -o work.o work.c
dccd.c: In function ‘main’:
dccd.c:679: warning: ‘daemon’ is deprecated (declared at /usr/include/stdlib.h:289)
ccache /usr/bin/gcc-4.2   dccd.o iflod.o oflod.o rl.o work.o ../srvrlib/libsrvr.a ../clntlib/libclnt.a ../dcclib/libdcc.a -lm -lresolv -ledit -ltermcap -o dccd
Undefined symbols:
  "_grey_on", referenced from:
      _grey_on$non_lazy_ptr in dccd.o
      _grey_on$non_lazy_ptr in iflod.o
      _grey_on$non_lazy_ptr in oflod.o
      _grey_on$non_lazy_ptr in rl.o
      _grey_on$non_lazy_ptr in work.o
      _grey_on$non_lazy_ptr in libsrvr.a(flod.o)
      _grey_on$non_lazy_ptr in libsrvr.a(db.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [dccd] Error 1
==> dblist
ccache /usr/bin/gcc-4.2 -I../srvrlib   -I../include    -c -o dblist.o dblist.c
ccache /usr/bin/gcc-4.2   dblist.o ../srvrlib/libsrvr.a ../clntlib/libclnt.a ../dcclib/libdcc.a -lm -lresolv -ledit -ltermcap -o dblist
Undefined symbols:
  "_grey_on", referenced from:
      _grey_on$non_lazy_ptr in dblist.o
      _grey_on$non_lazy_ptr in libsrvr.a(db.o)
      _grey_on$non_lazy_ptr in libsrvr.a(flod.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [dblist] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.