[MacPorts] #53021: octave @4.2.0_1: Another build failure

MacPorts noreply at macports.org
Tue Dec 6 15:14:52 CET 2016


#53021: octave @4.2.0_1: Another build failure
--------------------+---------------------------------
 Reporter:  mf2k    |      Owner:  MarcusCalhoun-Lopez
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  octave
--------------------+---------------------------------
 I am seeing a different build error than #53016 for octave on El Capitan.

 {{{
 :info:build In file included from
 /System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:18:0,
 :info:build                  from
 /System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,
 :info:build                  from
 /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,
 :info:build                  from
 /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35,
 :info:build                  from
 /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24,
 :info:build                  from libinterp/corefcn/cdisplay.c:32:
 :info:build
 /System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h:53:40:
 error: initializer element is not constant
 :info:build  static const CGFontIndex kCGGlyphMax = kCGFontIndexMax;
 :info:build                                         ^~~~~~~~~~~~~~~
 :info:build libinterp/corefcn/cdisplay.c: In function
 'octave_get_display_info':
 :info:build libinterp/corefcn/cdisplay.c:96:7: warning:
 'CGDisplayModeCopyPixelEncoding' is deprecated [-Wdeprecated-declarations]
 :info:build        CFStringRef pixelEncoding =
 CGDisplayModeCopyPixelEncoding (mode);
 :info:build        ^~~~~~~~~~~
 :info:build In file included from
 /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:39:0,
 :info:build                  from
 /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35,
 :info:build                  from
 /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24,
 :info:build                  from libinterp/corefcn/cdisplay.c:32:
 :info:build
 /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:174:34:
 note: declared here
 :info:build  CG_EXTERN CFStringRef __nullable
 CGDisplayModeCopyPixelEncoding(
 :info:build
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build make[2]: *** [libinterp/corefcn
 /libinterp_corefcn_libcorefcn_la-cdisplay.lo] Error 1
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53021>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list