New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22469 (closed defect: fixed)

Opened 2 years ago

Last modified 13 months ago

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

di.log Download (20.5 KB) - added by snc@… 2 years ago.

Change History

Changed 2 years ago by macsforever2000@…

  • owner changed from macports-tickets@… to mww@…
  • keywords di-4.13 removed
  • port changed from di-4.13 to di

Changed 2 years ago by snc@…

Changed 2 years ago by snc@…

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

Changed 13 months ago by jmr@…

  • status changed from new to closed
  • resolution set to fixed

Seems to have been fixed via #25938.

Note: See TracTickets for help on using tickets.