Opened 15 years ago

Closed 13 years ago

#18355 closed defect (wontfix)

fltk universal variant not building.

Reported by: Indy@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: universal Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), cgtobi@…, anthony_oro@…
Port: fltk

Description (last modified by blb@…)

With universal variants for jpeg libpng and zlib installed doing a port install fltk +universal gives errors:

--->  Building fltk
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_fltk/work/fltk-1.1.9" && make all " returned error 2
Command output: Fl_mac.cxx:2118: error: 'SetWindowBounds' was not declared in this scope
Fl_mac.cxx:2120: error: 'InvalWindowRect' was not declared in this scope
Fl_mac.cxx:2122: error: 'MoveWindow' was not declared in this scope
Fl_mac.cxx: In member function 'void Fl_Window::make_current()':
Fl_mac.cxx:2147: error: 'NewRgn' was not declared in this scope
Fl_mac.cxx:2151: error: 'GetWindowPort' was not declared in this scope
Fl_mac.cxx:2151: error: 'SetPort' was not declared in this scope
Fl_mac.cxx:2163: error: 'SetOrigin' was not declared in this scope
Fl_mac.cxx:2165: error: 'SetRectRgn' was not declared in this scope
Fl_mac.cxx:2172: error: 'NewRgn' was not declared in this scope
Fl_mac.cxx:2175: error: 'DiffRgn' was not declared in this scope
Fl_mac.cxx:2176: error: 'DisposeRgn' was not declared in this scope
Fl_mac.cxx:2188: error: 'SetPortClipRegion' was not declared in this scope
Fl_mac.cxx: In static member function 'static void Fl::copy(const char*, int, int)':
Fl_mac.cxx:2286: error: 'ClearCurrentScrap' was not declared in this scope
Fl_mac.cxx:2287: error: 'GetCurrentScrap' was not declared in this scope
Fl_mac.cxx:2296: error: 'PutScrapFlavor' was not declared in this scope
Fl_mac.cxx: In static member function 'static void Fl::paste(Fl_Widget&, int)':
Fl_mac.cxx:2306: error: 'GetCurrentScrap' was not declared in this scope
Fl_mac.cxx:2307: error: 'GetScrapFlavorSize' was not declared in this scope
Fl_mac.cxx:2315: error: 'GetScrapFlavorData' was not declared in this scope
Fl_mac.cxx: In function 'void MacDestroyWindow(Fl_Window*, OpaqueWindowPtr*)':
Fl_mac.cxx:2449: error: 'DisposeWindow' was not declared in this scope
Fl_mac.cxx: In function 'void MacMapWindow(Fl_Window*, OpaqueWindowPtr*)':
Fl_mac.cxx:2454: error: 'ShowWindow' was not declared in this scope
Fl_mac.cxx: In function 'void MacUnmapWindow(Fl_Window*, OpaqueWindowPtr*)':
Fl_mac.cxx:2464: error: 'HideWindow' was not declared in this scope
lipo: can't figure out the architecture type of: /var/tmp//cc8QiR8o.out
make[1]: *** [Fl.o] Error 1
make: *** [all] Error 1

Attachments (2)

fltk.log (23.8 KB) - added by Indy@… 15 years ago.
log of 'port -d install fltk +universal'
Debug_macports_fltk_universal.txt (156.8 KB) - added by miranda.louise.82@… 13 years ago.
LOG fltk universal install fails

Download all attachments as: .zip

Change History (20)

comment:1 Changed 15 years ago by Indy@…

Cc: Indy@… added

Cc Me!

comment:2 Changed 15 years ago by Indy@…

Also, fltk shows a universal variant and it seems that x86_64 versions of fltk do build.

comment:3 Changed 15 years ago by blb@…

Description: modified (diff)
Owner: changed from macports-tickets@… to alakazam@…

comment:4 Changed 15 years ago by alakazam@…

Status: newassigned

Can you attach the full output of port -d build fltk ?

comment:5 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

Changed 15 years ago by Indy@…

Attachment: fltk.log added

log of 'port -d install fltk +universal'

comment:6 Changed 15 years ago by alakazam@…

r47230: added "universal_variant no" for now; maybe we can come up with an actual solution later. I can't test universal builds though, but can help out people who want to get this working.

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:8 Changed 15 years ago by alakazam@…

Resolution: wontfix
Status: assignedclosed

Closing this since no one has asked for/worked on universal support for FLTK in six months.

comment:9 Changed 15 years ago by cgtobi@…

I would be interested in getting universal support for FLTK. I can test on ppc G4 (Tiger) and Intel (Leopard).

comment:10 Changed 15 years ago by cgtobi@…

Cc: cgtobi@… added

Cc Me!

comment:11 Changed 13 years ago by anthony_oro@…

I am also interested in Universal support (i386/ppc) for FLTK.

comment:12 Changed 13 years ago by anthony_oro@…

Cc: anthony_oro@… added

Cc Me!

comment:13 Changed 13 years ago by michaelld (Michael Dickens)

If you want "fltk +universal", try out "fltk-devel +universal" and see if it works for your needs.

comment:14 Changed 13 years ago by anthony_oro@…

Just to let you know, I was able to build universals.

I set the following flags in macports.conf: build_arch i386, universal_archs ppc i386, macosx_deployment_target 10.4

Then I commented out the following line in opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/fltk/Portfile: universal_variant no

Just thought it may be useful to let you know...

Changed 13 years ago by miranda.louise.82@…

LOG fltk universal install fails

comment:15 Changed 13 years ago by miranda.louise.82@…

Hello, I too am unable to build fltk universal, I have tried all solutions given above but to no avail. I have attached my logfile (Debug_macports_fltk_universal.txt)

Thank you in advance!

comment:16 Changed 13 years ago by miranda.louise.82@…

Resolution: wontfix
Status: closedreopened

comment:17 Changed 13 years ago by jmroot (Joshua Root)

Cc: Indy@… removed
Owner: changed from alakazam@… to macports-tickets@…
Status: reopenednew

comment:18 Changed 13 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed

Yes, fltk has no universal variant. It also has no maintainer, and nobody has provided a patch. Until at least one of those things changes, this is staying closed.

Note: See TracTickets for help on using tickets.