Opened 10 years ago

Closed 10 years ago

#20433 closed defect (fixed)

ilmbase failed to build on Snow Leopard

Reported by: huahang.liu@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ilmbase

Description

OpenEXR and ilmbase won't compile on the newest Mac OS X Snow Leopard...

Change History (10)

comment:1 Changed 10 years ago by huahang.liu@…

Cc: huahang.liu@… added

Cc Me!

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Cc: waqar huahang.liu@… removed
Keywords: openexr ilmbase removed
Owner: changed from macports-tickets@… to waqar@…
Port: ilmbase added
Priority: HighNormal

comment:3 Changed 10 years ago by tobypeterson

Milestone: MacPorts 1.8.0
Version: 1.8.0

This report is pretty useless.

comment:4 in reply to:  3 ; Changed 10 years ago by huahang.liu@…

Replying to toby@…:

This report is pretty useless.

Please try it yourself on Snow Leopard before you say it's useless...

comment:5 in reply to:  4 Changed 10 years ago by jmroot (Joshua Root)

Replying to huahang.liu@…:

Please try it yourself on Snow Leopard before you say it's useless...

He didn't say there wasn't a bug...

comment:6 Changed 10 years ago by blb@…

Note that the vast majority of port maintainers don't have access to 10.6, so not seeing the log of the failure makes things less than easy.

comment:7 Changed 10 years ago by tobypeterson

Port: openexr removed
Summary: OpenEXR and ilmbase failed to build on Snow Leopardilmbase failed to build on Snow Leopard

Updating title - openexr depends on ilmbase, so I doubt that both are legitimately failing to build.

comment:8 in reply to:  7 Changed 10 years ago by huahang.liu@…

Replying to toby@…:

Updating title - openexr depends on ilmbase, so I doubt that both are legitimately failing to build.

I'm sorry. I didn't know MacPorts maintainers don't have access to Snow Leopard. Ok, so here is the error I got:

Making all in Half if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -Wno-long-double -MT eLut.o -MD -MP -MF ".deps/eLut.Tpo" -c -o eLut.o eLut.cpp; \

then mv -f ".deps/eLut.Tpo" ".deps/eLut.Po"; else rm -f ".deps/eLut.Tpo"; exit 1; fi

cc1plus: error: unrecognized command line option "-Wno-long-double"

So it seems that this compiler option "-Wno-long-double" is deprecated in Snow Leopard. I searched in IlmBase and OpenEXR's configure script and removed -Wno-long-double, and it compiles fine. Hope this modification will not have other bad side effects.

Thanks, Huahang

comment:9 Changed 10 years ago by tobypeterson

ilmbase fixed in r54404

comment:10 Changed 10 years ago by tobypeterson

Resolution: fixed
Status: newclosed

openexr fixed in r54406

Note: See TracTickets for help on using tickets.