[MacPorts] #43241: gnumeric build fails

MacPorts noreply at macports.org
Sat Apr 5 09:47:08 PDT 2014


#43241: gnumeric build fails
-------------------------+--------------------------------
  Reporter:  jwhowse4@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.1
Resolution:              |   Keywords:
      Port:  gnumeric    |
-------------------------+--------------------------------

Comment (by devans@…):

 Using autoreconf apparently updated CFLAGS which uncovered the following
 flaw in the source code (as seen in your log):


 {{{
 :info:build analysis-frequency.c:155:38: error: format string is not a
 string literal [-Werror,-Wformat-nonliteral]
 :info:build                         dao_set_cell_printf (dao, col, 1,
 format, col);
 :info:build
 ^~~~~~
 :info:build 1 error generated.
 :info:build make[4]: *** [analysis-frequency.lo] Error 1
 :info:build make[4]: *** Waiting for unfinished jobs....
 :info:build analysis-histogram.c:329:38: error: format string is not a
 string literal [-Werror,-Wformat-nonliteral]
 :info:build                         dao_set_cell_printf (dao, col, 1,
 format, col - to_col);
 :info:build
 ^~~~~~
 :info:build 1 error generated.
 :info:build make[4]: *** [analysis-histogram.lo] Error 1
 }}}

 I've added a work-around in r118597 which suppresses the fatal error but
 this really should be reported upstream for correction in the code base.

 This builds correctly on the buildbots but that only tests the default
 +x11 case.

 Let me know if this fixes your problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/43241#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list