[MacPorts] #22469: could not build di on Snow Leopard

MacPorts noreply at macports.org
Tue Nov 10 23:51:12 PST 2009


#22469: could not build di on Snow Leopard
---------------------------+------------------------------------------------
 Reporter:  su@…           |       Owner:  macports-tickets@…                   
     Type:  defect         |      Status:  new                                  
 Priority:  Normal         |   Milestone:                                       
Component:  ports          |     Version:  1.8.1                                
 Keywords:  di-4.13        |        Port:  di-4.13                              
---------------------------+------------------------------------------------
 When i try to build di on Snow Leopard i get :

 {{{
 $ sudo port install di
 --->  Computing dependencies for di
 --->  Building di
 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_di/work/di-4.13"
 && ./Build " returned error 2
 Command output: di.c:2078:75: error: macro "__darwin_obsz" passed 3
 arguments, but takes just 1
 di.c:2077: error: expected expression before ')' token
 di.c:2077: warning: passing argument 3 of '__builtin___snprintf_chk' makes
 integer from pointer without a cast
 di.c:2077: warning: passing argument 4 of '__builtin___snprintf_chk' with
 different width due to prototype
 di.c:2077: warning: null argument where non-null required (argument 5)
 di.c:2077: warning: too many arguments for format
 di.c:2084:78: error: macro "__darwin_obsz" passed 3 arguments, but takes
 just 1
 di.c:2083: error: expected expression before ')' token
 di.c:2083: warning: passing argument 3 of '__builtin___snprintf_chk' makes
 integer from pointer without a cast
 di.c:2083: warning: passing argument 4 of '__builtin___snprintf_chk' with
 different width due to prototype
 di.c:2083: warning: null argument where non-null required (argument 5)
 di.c:2083: warning: too many arguments for format
 di.c: In function 'checkZone':
 di.c:2576: warning: unused variable 'idx'
 di.c:2575: warning: unused variable 'i'
 di.c: In function 'setDispBlockSize':
 di.c:2789: warning: passing argument 3 of 'strncmp' with different width
 due to prototype
 di.c:2813:50: error: macro "__darwin_obsz" passed 3 arguments, but takes
 just 1
 di.c:2811: error: '__darwin_obsz' undeclared (first use in this function)
 di.c:2811: warning: passing argument 3 of '__builtin___snprintf_chk' makes
 integer from pointer without a cast
 di.c:2811: warning: passing argument 4 of '__builtin___snprintf_chk' as
 integer rather than floating due to prototype
 di.c:2811: warning: null argument where non-null required (argument 5)
 di.c:2811: warning: too many arguments for format
 di.c:2838:63: error: macro "__darwin_obsz" passed 3 arguments, but takes
 just 1
 di.c:2837: error: expected expression before ')' token
 di.c:2837: warning: passing argument 3 of '__builtin___snprintf_chk' makes
 integer from pointer without a cast
 di.c:2837: warning: passing argument 4 of '__builtin___snprintf_chk' as
 integer rather than floating due to prototype
 di.c:2837: warning: null argument where non-null required (argument 5)
 di.c:2837: warning: too many arguments for format
 make: *** [di.o] Error 1

 Error: Status 1 encountered during processing.

 }}}

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


More information about the macports-tickets mailing list