Opened 12 years ago

Closed 12 years ago

#35986 closed defect (fixed)

fltk 1.3.0 fails to build on Lion and earlier

Reported by: watsodw Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: lion snowleopard leopard tiger Cc: dershow
Port: fltk

Description

Upgrading to 1.3.0 fails. Log attached

Attachments (2)

main.log (27.2 KB) - added by watsodw 12 years ago.
main.2.log (242.3 KB) - added by watsodw 12 years ago.

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by watsodw

Attachment: main.log added

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

Cc: nomaintainer@… removed

It is not useful to Cc nomaintainer.

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

Cc: ryandesign@… added

It built fine for me on Mountain Lion, but I see you're on Snow Leopard. I can test this on Snow Leopard later today.

comment:3 Changed 12 years ago by dershow

Cc: dersh@… added

Cc Me!

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

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

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

Resolution: fixed
Status: assignedclosed
Summary: fltk 1.3.0 fails to buildfltk 1.3.0 fails to build on Lion and earlier

Changed 12 years ago by watsodw

Attachment: main.2.log added

comment:6 Changed 12 years ago by watsodw

Resolution: fixed
Status: closedreopened

But it's not fixed. Still won't upgrade or install. New log attached

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

Keywords: lion snowleopard leopard tiger added
Resolution: fixed
Status: reopenedclosed

Okay, the initial problem was that when I upgraded the port to 1.3.0 in r97414, I added a patch from upstream to fix the build on Mountain Lion, but in the process I broke the build on earlier OS versions. I fixed that in r97434 by backporting more of the upstream fix.

The new problem is that the build process for the "fluid" part of fltk incorrectly tries to link with a previously-installed version of the fltk library instead of the one that was just built, so this fails when the currently-installed version is incompatible, such as the very common case on 64-bit Macs running Snow Leopard or later when you have fltk @1.1.10_5 installed for i386 and then you want to upgrade to the new fltk @1.3.0_0 for x86_64. I fixed this in r97584 by changing the order of the link flags in the Makefile for fluid.

Note: See TracTickets for help on using tickets.