[MacPorts] #26064: ncftp fails to build: conflicting types for getdomainname

MacPorts noreply at macports.org
Fri Aug 13 09:44:52 PDT 2010


#26064: ncftp fails to build: conflicting types for getdomainname
-----------------------------------+----------------------------------------
 Reporter:  macports@…             |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.9.1                                
 Keywords:                         |        Port:  ncftp                                
-----------------------------------+----------------------------------------
 This is on MacOS 10.6.4 on a MacBook Pro.

 The relevant portion of the log is:

 {{{
 :info:build Compiling PWrite.c.
 :info:build   /usr/bin/gcc-4.2 -D_REENTRANT -pipe -O2 -arch x86_64 -Wno-
 format-y2k -static-libgcc
 :info:build    -DMACOSX -DHAVE_CONFIG_H -DMACOSX
 -I/opt/local/var/macports/build/_opt_mports_trun
 :info:build   k_dports_net_ncftp/work/ncftp-3.2.4
 -I/opt/local/var/macports/build/_opt_mports_tru
 :info:build   nk_dports_net_ncftp/work/ncftp-3.2.4/libncftp
 -I/opt/local/var/macports/build/_opt_
 :info:build   mports_trunk_dports_net_ncftp/work/ncftp-3.2.4/sio
 -I/opt/local/var/macports/build/
 :info:build   _opt_mports_trunk_dports_net_ncftp/work/ncftp-3.2.4/Strn
 -I/opt/local/include DNSUt
 :info:build   il.c -c:info:build   DNSUtil.c:22: error: conflicting types
 for 'getdomainname'
 :info:build   /usr/include/unistd.h:531: error: previous declaration of
 'getdomainname' was here
 :info:build
 :info:build make[1]: *** [DNSUtil.o] Error 1
 }}}

 Complete build log attached.

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


More information about the macports-tickets mailing list