New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32599 (reopened defect)

Opened 5 months ago

Last modified 2 months ago

blt is missing includes and fails to compile with clang

Reported by: fsalgado@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang Cc: ryandesign@…, yannick.heinrich@…, neumann@…, jeremyhu@…
Port: blt

Description

blt doesn’t install due to compilation errors.

Attachments

main.log Download (101.0 KB) - added by fsalgado@… 5 months ago.
log file resulting from the install action.
Portfile-blt2.5-incomplete Download (1.6 KB) - added by neumann@… 2 months ago.

Change History

Changed 5 months ago by fsalgado@…

log file resulting from the install action.

follow-up: ↓ 2   Changed 5 months ago by ryandesign@…

  • owner changed from macports-tickets@… to markd@…
  • keywords lion clang added; blt;Lion;10.7.2 removed
  • milestone MacPorts 2.0.4 deleted

I see you're using clang. Does it help if you use a different compiler?

in reply to: ↑ 1 ; follow-up: ↓ 3   Changed 5 months ago by fsalgado@…

Replying to ryandesign@…:

I see you're using clang. Does it help if you use a different compiler?

it’s the automatic installation from ports. is there a way to “choose” another complier on this automated set-up?

thanks

in reply to: ↑ 2   Changed 5 months ago by ryandesign@…

  • cc ryandesign@… added

Replying to fsalgado@…:

it’s the automatic installation from ports.

Right. And in this case, MacPorts' choice may not have been the best one for this port. Once you figure out if one of the other compilers works, we can fix the port to automatically choose that instead.

is there a way to “choose” another complier on this automated set-up?

Instructions are in the problem hotlist.

  Changed 4 months ago by ryandesign@…

  • cc yannick.heinrich@… added

Has duplicate #32935.

Did using a different compiler help? Let us know so we can fix the port.

  Changed 4 months ago by ryandesign@…

  • cc neumann@… added
  • status changed from new to closed
  • resolution set to fixed

Has duplicate #33146 which says apple-gcc-4.2 works, but we want to use llvm-gcc-4.2 instead if that works.  This mailing list post says that llvm-gcc-4.2 does work, so I've changed the port in r89711 to use that.

  Changed 2 months ago by jeremyhu@…

  • status changed from closed to reopened
  • keywords lion removed
  • resolution fixed deleted

This is a bug in the project. They are missing includes. Please fix the project rather than working around it by choosing a different compiler.

  Changed 2 months ago by jeremyhu@…

  • cc jeremyhu@… added

Cc Me!

  Changed 2 months ago by jeremyhu@…

  • summary changed from blt on OSX 10.7 Lion: generates 2 errors during compilation to blt is missing includes and fails to compile with clang

  Changed 2 months ago by markd@…

Does anyone know if BLT actually works for any apps on Tcl 8.5 even if it can be made to compile? The one port I have that needs it is quite broken on BLT/Tcl 8.5. I had thought it was simply broken on TCL 8.5, but it looks like freebsd apparently supports it on TCL 8.5.  http://www.freebsd.org/cgi/ports.cgi?query=blt&stype=all

  Changed 2 months ago by neumann@…

I stepped over the blt port, while i was testing the effects of a threaded tcl on depending ports. I have no blt apps around. As it looks to me the current blt port is not usable, the demos are not working, at least the blt::tile support seems missing. While browsing around, it seems that the way to go is to use blt 2.5  http://pdqi.com/w/pw/pdqi/Wize/Blt. I made a quick attempt to provide a portfile for 2.5 (see attachment), but currently it seems to fail to find the tcl and tk library during the destroot step - most likely for an macports expert a trivial task. Maybe the provided incomplete port helps to reduce some typing.

Changed 2 months ago by neumann@…

Note: See TracTickets for help on using tickets.