[MacPorts] #49515: Compile error on mavericks inside cleaned port

MacPorts noreply at macports.org
Thu Oct 29 13:55:39 PDT 2015


#49515: Compile error on mavericks inside cleaned port
---------------------------+--------------------------------
 Reporter:  j.bugzilla2@…  |      Owner:  macports-tickets@…
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:  2.3.4
 Keywords:  mav            |       Port:  glib2
---------------------------+--------------------------------
 With several packages installed and in regular use on my OSX 10.9.5
 machine, I upgraded MacPorts to 2.3.4 and attempted to upgrade all
 outdated ports. Most installed using binary archives or compiled as they
 always have. One triggered an upgrade of glib2. The attached file shows
 the specific errors. It was generated by a clean/upgrade pair.

 The obviously interesting part of the log is excerpted here:
 {{{
 :info:build gcocoanotificationbackend.c:115:52: error: array subscript is
 not an integer
 :info:build       const char *action = [[notification
 userInfo][@"default"] UTF8String];
 :info:build                                                    ^~~~~~~~~~~
 :info:build gcocoanotificationbackend.c:122:52: error: array subscript is
 not an integer
 :info:build       const char *action = [[notification
 userInfo][@"button0"] UTF8String];
 :info:build                                                    ^~~~~~~~~~~
 :info:build gcocoanotificationbackend.c:161:16: error: array subscript is
 not an integer
 :info:build       user_info[@"default"] = action_name;
 :info:build                ^~~~~~~~~~~
 :info:build gcocoanotificationbackend.c:181:20: error: array subscript is
 not an integer
 :info:build           user_info[@"button0"] = action_name;
 :info:build                    ^~~~~~~~~~~
 :info:build 4 errors generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/49515>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list