Ticket #35576 (new defect)
gettext: error: expected parameter declarator
| Reported by: | svenali@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.2 |
| Keywords: | Cc: | ||
| Port: | gettext |
Description (last modified by ryandesign@…) (diff)
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
comment:1 Changed 11 months ago by ryandesign@…
- Port set to gettext
- Owner changed from macports-tickets@… to ryandesign@…
- Type changed from update to defect
- Description modified (diff)
- Summary changed from Problems with updating gettext thru port update outdated to gettext: error: expected parameter declarator
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.