Opened 14 years ago

Closed 13 years ago

#22469 closed defect (fixed)

could not build di on Snow Leopard

Reported by: su@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: di

Description

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.

Attachments (1)

di.log (20.5 KB) - added by nerdling (Jeremy Lavergne) 14 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Keywords: di-4.13 removed
Owner: changed from macports-tickets@… to mww@…
Port: di added; di-4.13 removed

Changed 14 years ago by nerdling (Jeremy Lavergne)

Attachment: di.log added

comment:2 Changed 14 years ago by nerdling (Jeremy Lavergne)

I've attached a full debug log; I also see the build failure.

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Seems to have been fixed via #25938.

Note: See TracTickets for help on using tickets.