Opened 9 years ago

Closed 9 years ago

#48891 closed defect (wontfix)

fltk fails to build, El Capitan GM

Reported by: joseph.c.slater@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: elcapitan Cc:
Port: fltk

Description

I have dev tools 7 (GM) installed, command line, license approved, etc., but it won't build. I'm a bit too novice to identify the failure point. I've attached the log, though.

Attachments (1)

main.log (94.0 KB) - added by joseph.c.slater@… 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by joseph.c.slater@…

Attachment: main.log added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Keywords: elcapitan added; El Capitan removed
Owner: changed from macports-tickets@… to michaelld@…

In the future, please Cc the port maintainers (port info --maintainers fltk), if any.

comment:2 Changed 9 years ago by michaelld (Michael Dickens)

The error is:

910	:info:build /usr/bin/clang++ -I.. -arch x86_64    -Os -Wno-deprecated-declarations -Wall -Wunused -Wno-format-y2k  -fPIC -fno-exceptions -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I/opt/local/include -pipe -Os -arch x86_64 -stdlib=libc++ -DFL_LIBRARY -c fl_plastic.cxx -o fl_plastic.o
911	:info:build fl_line_style.cxx:38:13: error: elaborated type refers to a typedef
912	:info:build static enum CGLineCap fl_quartz_line_cap_ = kCGLineCapButt;
913	:info:build             ^
914	:info:build /System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:33:26: note: declared here
915	:info:build typedef CF_ENUM(int32_t, CGLineCap) {
916	:info:build                          ^
917	:info:build /System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:127:88: note: expanded from macro 'CF_ENUM'
918	:info:build #define CF_ENUM(...) __CF_ENUM_GET_MACRO(__VA_ARGS__, __CF_NAMED_ENUM, __CF_ANON_ENUM)(__VA_ARGS__)
919	:info:build                                                                                        ^
920	:info:build /System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:110:45: note: expanded from macro '__CF_NAMED_ENUM'
921	:info:build #define __CF_NAMED_ENUM(_type, _name) _type _name; enum

So, it looks like Apple has changed the way a type is defined. Or, something like that.

comment:3 Changed 9 years ago by michaelld (Michael Dickens)

Can you try the following:

sudo port clean fltk
sudo port install fltk-devel

and see if that works? Maybe the devel version is more up to date with respect to 10.11 ...

comment:4 Changed 9 years ago by michaelld (Michael Dickens)

Resolution: wontfix
Status: newclosed

OP reports off-ticket that fltk-devel does work. I'm not going to back-port fem devel to release. Folks wanting to use fltk on 10.11 should use the devel version for now. I'm closing as "wontfix" for this reason.

Note: See TracTickets for help on using tickets.