Opened 12 years ago

Last modified 3 years ago

#45481 new defect

fltk @1.3.2: cannot initialize a parameter of type 'id<NSFileManagerDelegate>' with an rvalue of type 'FLDelegate *'

Reported by: bpabbott@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: yosemite Cc: Schamschula (Marius Schamschula)
Port: fltk

Description

The terminal output is below. The main.log is attached.

$ sudo port install fltk
--->  Computing dependencies for fltk
--->  Fetching archive for fltk
--->  Attempting to fetch fltk-1.3.2_2.darwin_14.x86_64.tbz2 from http://packages.macports.org/fltk
--->  Attempting to fetch fltk-1.3.2_2.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/fltk
--->  Attempting to fetch fltk-1.3.2_2.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/fltk
--->  Fetching distfiles for fltk
--->  Verifying checksums for fltk
--->  Extracting fltk
--->  Applying patches to fltk
--->  Configuring fltk
--->  Building fltk
Error: org.macports.build for port fltk returned: command execution failed
Please see the log file for port fltk for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_fltk/fltk/main.log

Attachments (1)

main.log (33.4 KB) - added by bpabbott@… 12 years ago.
main.log

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by bpabbott@…

Attachment: main.log added

main.log

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: yosemite added; Yosemite removed
Milestone: MacPorts 2.3.2
Summary: fltk doesn't build on Yosemitefltk @1.3.2: cannot initialize a parameter of type 'id<NSFileManagerDelegate>' with an rvalue of type 'FLDelegate *'

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

On Yosemite, use fltk-devel instead for now, until a new version of fltk is released.

comment:3 Changed 12 years ago by bpabbott@…

Thanks, fltk-devel installed for me.

comment:4 Changed 12 years ago by Schamschula (Marius Schamschula)

Cc: mschamschula@… added

Cc Me!

comment:5 Changed 12 years ago by deep.ray@…

I tried using fltk-devel but i faced the same issue as with fltk

ws127:sources deepray$ sudo port install fltk-devel
--->  Computing dependencies for fltk-devel
--->  Fetching archive for fltk-devel
--->  Attempting to fetch fltk-devel-1.3.x-r10201_0.darwin_14.x86_64.tbz2 from http://packages.macports.org/fltk-devel
--->  Attempting to fetch fltk-devel-1.3.x-r10201_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/fltk-devel
--->  Attempting to fetch fltk-devel-1.3.x-r10201_0.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/fltk-devel
--->  Fetching distfiles for fltk-devel
--->  Attempting to fetch fltk-1.3.x-r10201.tar.bz2 from http://fltk.org/pub/fltk/snapshots/
--->  Verifying checksums for fltk-devel                                             
--->  Extracting fltk-devel
--->  Applying patches to fltk-devel
--->  Configuring fltk-devel
--->  Building fltk-devel
Error: org.macports.build for port fltk-devel returned: command execution failed
Please see the log file for port fltk-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_aqua_fltk-devel/fltk-devel/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port fltk-devel failed

comment:6 Changed 3 years ago by barracuda156

Fails on PPC:

=== making src ===
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_fltk/fltk/work/fltk-1.3.8/src'
echo Compiling Fl_cocoa.mm...
echo Compiling Fl_Quartz_Printer.mm...
Compiling Fl_cocoa.mm...
/usr/bin/g++-4.2 -I.. -arch ppc -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  -pipe -Os -DFL_LIBRARY -x objective-c++ -c Fl_cocoa.mm -o Fl_cocoa.o
Compiling Fl_Quartz_Printer.mm...
/usr/bin/g++-4.2 -I.. -arch ppc -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  -pipe -Os -DFL_LIBRARY -x objective-c++ -c Fl_Quartz_Printer.mm -o Fl_Quartz_Printer.o
Fl_cocoa.mm:112: error: ‘NSPasteboardTypeTIFF’ was not declared in this scope
Fl_cocoa.mm:113: error: ‘NSPasteboardTypePDF’ was not declared in this scope
Fl_cocoa.mm:115: error: ‘NSPasteboardTypeString’ was not declared in this scope
Fl_cocoa.mm: In member function ‘void Fl_Window::fullscreen_x()’:
Fl_cocoa.mm:3090: warning: ‘FLWindow’ may not respond to ‘-setStyleMask:’
Fl_cocoa.mm:3090: warning: (Messages without a matching method signature
Fl_cocoa.mm:3090: warning: will be assumed to return ‘id’ and accept
Fl_cocoa.mm:3090: warning: ‘...’ as arguments.)
Fl_cocoa.mm: In member function ‘void Fl_Window::fullscreen_off_x(int, int, int, int)’:
Fl_cocoa.mm:3129: warning: ‘FLWindow’ may not respond to ‘-setStyleMask:’
Fl_cocoa.mm: In static member function ‘static void Fl_X::draw_layer_to_context(void*, CGContext*, int, int)’:
Fl_cocoa.mm:4778: warning: no ‘-renderInContext:’ method found
make[1]: *** [Fl_cocoa.o] Error 1
make[1]: *** Waiting for unfinished jobs....

comment:7 Changed 3 years ago by kencu (Ken)

looks like you have a completely different error than what this ticket is about, though:

Fl_cocoa.mm:112: error: ‘NSPasteboardTypeTIFF’ was not declared in this scope
Note: See TracTickets for help on using tickets.