[MacPorts] #20194: Unable to upgrade port

MacPorts noreply at macports.org
Mon Jul 6 09:53:30 PDT 2009


#20194: Unable to upgrade port
-----------------------------+----------------------------------------------
 Reporter:  dimik@…          |       Owner:  macports-tickets@…                   
     Type:  defect           |      Status:  new                                  
 Priority:  Normal           |   Milestone:                                       
Component:  ports            |     Version:  1.7.1                                
 Keywords:                   |        Port:                                       
-----------------------------+----------------------------------------------

Comment(by dimik@…):

 error again
 {{{
 dimik at dhcp217-167:~# sudo port selfupdate

 MacPorts base version 1.710 installed
 Downloaded MacPorts base version 1.710

 The MacPorts installation is not outdated so it was not updated
 dimik at dhcp217-167:~# sudo port clean --all cyrus-sasl2 screen
 --->  Cleaning cyrus-sasl2
 --->  Cleaning screen
 dimik at dhcp217-167:~# sudo port upgrade outdated
 --->  Fetching cyrus-sasl2
 --->  Attempting to fetch cyrus-sasl-2.1.23.tar.gz from
 http://arn.se.distfiles.macports.org/cyrus-sasl2
 --->  Verifying checksum(s) for cyrus-sasl2
 --->  Extracting cyrus-sasl2
 --->  Applying patches to cyrus-sasl2
 --->  Configuring cyrus-sasl2
 --->  Building cyrus-sasl2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.23" && make
 all " returned error 2
 Command output: if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..
 -I../include -I../include   -I/opt/local/include -I/opt/local/include
 -Wall -W -O2 -MT pluginviewer.o -MD -MP -MF ".deps/pluginviewer.Tpo" \
           -c -o pluginviewer.o `test -f 'pluginviewer.c' || echo
 './'`pluginviewer.c; \
         then mv -f ".deps/pluginviewer.Tpo" ".deps/pluginviewer.Po"; \
         else rm -f ".deps/pluginviewer.Tpo"; exit 1; \
         fi
 pluginviewer.c: In function 'sasl_my_log':
 pluginviewer.c:171: warning: unused parameter 'context'
 pluginviewer.c: In function 'sasl_getopt':
 pluginviewer.c:220: warning: unused parameter 'context'
 pluginviewer.c:221: warning: unused parameter 'plugin_name'
 pluginviewer.c: In function 'main':
 pluginviewer.c:440: warning: passing argument 2 of 'getsubopt' from
 incompatible pointer type
 pluginviewer.c:465: warning: passing argument 2 of 'getsubopt' from
 incompatible pointer type
 pluginviewer.c:494: warning: passing argument 2 of 'getsubopt' from
 incompatible pointer type
 pluginviewer.c:676: warning: pointer targets in passing argument 8 of
 'sasl_listmech' differ in signedness
 pluginviewer.c:769: warning: pointer targets in passing argument 8 of
 'sasl_listmech' differ in signedness
 pluginviewer.c: At top level:
 pluginviewer.c:138: warning: 'ip_subopts' defined but not used
 pluginviewer.c:283: warning: 'osfail' defined but not used
 /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0  -Wall -W -O2
 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o
 pluginviewer  pluginviewer.o ../lib/libsasl2.la   -lresolv -lresolv  -lpam
 /usr/bin/gcc-4.0 -Wall -W -O2 -L/opt/local/lib -Wl,-rpath,/opt/local/lib
 -L/opt/local/lib -o .libs/pluginviewer pluginviewer.o -L../lib/.libs
 -lsasl2 -ldl -lresolv -lresolv -lpam -lresolv -lresolv -lpam
 Undefined symbols:
   "_auxprop_plugin_info", referenced from:
       _main in pluginviewer.o
       _main in pluginviewer.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[2]: *** [pluginviewer] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: Unable to upgrade port: 1
 --->  Fetching screen
 --->  Attempting to fetch screen-4.0.3.tar.gz from
 http://arn.se.distfiles.macports.org/screen
 --->  Attempting to fetch 18 from
 http://arn.se.distfiles.macports.org/screen
 --->  Attempting to fetch vproc_priv.h from
 http://arn.se.distfiles.macports.org/screen
 --->  Verifying checksum(s) for screen
 --->  Extracting screen
 --->  Applying patches to screen
 --->  Configuring screen
 --->  Building screen
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_screen/work/screen-4.0.3"
 && make all " returned error 2
 Command output: vproc_priv.h:101: warning: parameter names (without types)
 in function declaration
 vproc_priv.h:101: warning: data definition has no type or storage class
 vproc_priv.h:102: error: syntax error before '__OSX_AVAILABLE_STARTING'
 vproc_priv.h:102: warning: parameter names (without types) in function
 declaration
 vproc_priv.h:102: warning: data definition has no type or storage class
 vproc_priv.h:103: error: syntax error before '__OSX_AVAILABLE_STARTING'
 vproc_priv.h:103: warning: parameter names (without types) in function
 declaration
 vproc_priv.h:103: warning: data definition has no type or storage class
 vproc_priv.h:104: error: syntax error before '__OSX_AVAILABLE_STARTING'
 vproc_priv.h:104: warning: parameter names (without types) in function
 declaration
 vproc_priv.h:104: warning: data definition has no type or storage class
 vproc_priv.h:106: error: syntax error before '__OSX_AVAILABLE_STARTING'
 vproc_priv.h:106: warning: parameter names (without types) in function
 declaration
 vproc_priv.h:106: warning: data definition has no type or storage class
 vproc_priv.h:107: error: syntax error before '__OSX_AVAILABLE_STARTING'
 vproc_priv.h:107: warning: parameter names (without types) in function
 declaration
 vproc_priv.h:107: warning: data definition has no type or storage class
 vproc_priv.h:108: error: syntax error before '__OSX_AVAILABLE_STARTING'
 vproc_priv.h:108: warning: parameter names (without types) in function
 declaration
 vproc_priv.h:108: warning: data definition has no type or storage class
 vproc_priv.h:109: error: syntax error before '__OSX_AVAILABLE_STARTING'
 vproc_priv.h:109: warning: parameter names (without types) in function
 declaration
 vproc_priv.h:109: warning: data definition has no type or storage class
 vproc_priv.h:110: error: syntax error before '__OSX_AVAILABLE_STARTING'
 vproc_priv.h:110: warning: parameter names (without types) in function
 declaration
 vproc_priv.h:110: warning: data definition has no type or storage class
 vproc_priv.h:111: error: syntax error before '__OSX_AVAILABLE_STARTING'
 vproc_priv.h:111: warning: parameter names (without types) in function
 declaration
 vproc_priv.h:111: warning: data definition has no type or storage class
 make: *** [screen.o] Error 1

 Error: Unable to upgrade port: 1
 }}}

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


More information about the macports-tickets mailing list