Opened 11 years ago

Closed 11 years ago

#41219 closed defect (fixed)

zeroc-ice35 fails to build on Mavericks

Reported by: patrick.sizun@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: josephwinston (Joseph Winston)
Port: zeroc-ice35

Description

The zero-ice35 fails to build on OS X 10.9 Mavericks. The resulting main.log is attached.

Adding CPP11='yes' in the build options in the Portfile and removing $(cpp11suffix) from the db library path in the file cpp/config/Make.rules seems to resolve the problem.

Attachments (4)

main.log (469.9 KB) - added by patrick.sizun@… 11 years ago.
patch-ice.cpp.config.Make.rules.diff (880 bytes) - added by patrick.sizun@… 11 years ago.
Portfile-zeroc-ice35.diff (556 bytes) - added by patrick.sizun@… 11 years ago.
patch-ice.cpp.src.IceGrid.DescriptorHelper.h.diff (764 bytes) - added by patrick.sizun@… 11 years ago.

Download all attachments as: .zip

Change History (11)

Changed 11 years ago by patrick.sizun@…

Attachment: main.log added

comment:1 Changed 11 years ago by blair (Blair Zajac)

I'm getting a new MacBook Pro later this month and don't have a 10.9 system to do the build on.

If you can send in a patch, I can commit it in the mean time, which will need to support < 10.9 and >= 10.9.

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

Cc: blair@… removed
Keywords: mavericks added
Owner: changed from macports-tickets@… to blair@…

comment:3 in reply to:  1 Changed 11 years ago by patrick.sizun@…

Replying to blair@…:

If you can send in a patch, I can commit it in the mean time, which will need to support < 10.9 and >= 10.9.

Attached are the Portfile patch and the modified patch file that work on OS X 10.9.

I no longer have an OS X 10.8 system to test backward compatibiity.

Changed 11 years ago by patrick.sizun@…

comment:4 Changed 11 years ago by blair (Blair Zajac)

The diff on Portfile applies everywhere, I think we'll want to not set CPP11 for OS <= 10.8.

comment:5 Changed 11 years ago by josephwinston (Joseph Winston)

Cc: josephwinston@… added

Cc Me!

comment:6 Changed 11 years ago by patrick.sizun@…

Attached is another fix proposal based on http://www.zeroc.com/forums/bug-reports/6152-mavericks-build-failure-because-unexported-symbols.html#post26601

I can see no reason it should not apply to all OS releases.

Changed 11 years ago by patrick.sizun@…

Attachment: Portfile-zeroc-ice35.diff added

Changed 11 years ago by patrick.sizun@…

comment:7 Changed 11 years ago by blair (Blair Zajac)

Resolution: fixed
Status: newclosed

Thanks for the patch, I've applied it in r116709 and confirmed that it compiles on 10.9.1.

Note: See TracTickets for help on using tickets.