Opened 12 years ago
Closed 11 years ago
#35576 closed defect (worksforme)
gettext: error: expected parameter declarator
Reported by: | svenali@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | gettext |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hello,
I've tried to upgrade the outdated. I updated from MacPorts 2.0.3 to 2.1.2. After that I made an
sudo port upgrade outdated
Curiosly gettext-0.18 is installed but he tried to update it to version 0.17. Compilation breakes. I've cleaned everything and now following error message is shown:
<snip> :info:build stpncpy.c:33:1: error: expected parameter declarator :info:build __stpncpy (char *dest, const char *src, size_t n) :info:build ^ :info:build stpncpy.c:27:20: note: expanded from macro '__stpncpy' :info:build # define __stpncpy stpncpy :info:build ^ :info:build /usr/include/secure/_string.h:110:5: note: expanded from macro 'stpncpy' :info:build ((__darwin_obsz0 (dest) != (size_t) -1) \ :info:build ^ :info:build /usr/include/secure/_common.h:38:63: note: expanded from macro '__darwin_obsz0' :info:build #define __darwin_obsz0(object) __builtin_object_size (object, 0) :info:build ^ :info:build stpncpy.c:33:1: error: expected ')' :info:build __stpncpy (char *dest, const char *src, size_t n) :info:build ^ :info:build stpncpy.c:27:20: note: expanded from macro '__stpncpy' :info:build # define __stpncpy stpncpy :info:build ^ :info:build /usr/include/secure/_string.h:110:5: note: expanded from macro 'stpncpy' :info:build ((__darwin_obsz0 (dest) != (size_t) -1) \ :info:build ^ :info:build /usr/include/secure/_common.h:38:63: note: expanded from macro '__darwin_obsz0' :info:build #define __darwin_obsz0(object) __builtin_object_size (object, 0) :info:build ^ :info:build stpncpy.c:33:1: note: to match this '(' :info:build __stpncpy (char *dest, const char *src, size_t n) :info:build ^ :info:build stpncpy.c:27:20: note: expanded from macro '__stpncpy' :info:build # define __stpncpy stpncpy :info:build ^ :info:build /usr/include/secure/_string.h:110:5: note: expanded from macro 'stpncpy' :info:build ((__darwin_obsz0 (dest) != (size_t) -1) \ :info:build ^ :info:build /usr/include/secure/_common.h:38:54: note: expanded from macro '__darwin_obsz0' :info:build #define __darwin_obsz0(object) __builtin_object_size (object, 0) :info:build ^ :info:build stpncpy.c:33:1: error: expected ')' <snap>
Thank you very much!
regards,
Sven
Change History (2)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | gettext added |
Summary: | Problems with updating gettext thru port update outdated → gettext: error: expected parameter declarator |
Type: | update → defect |
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing due to lack of response.
Note: See
TracTickets for help on using
tickets.
The version of gettext in MacPorts is 0.18.1.1 and has been for awhile, and builds fine for me on all OS X versions; I don't know why you're seeing 0.17 or 0.18. Please "sudo port clean gettext", "sudo port selftupdate", and then try again, and attach the main.log file if it fails again.