Opened 9 years ago

Closed 9 years ago

#50659 closed defect (fixed)

OpenSceneGraph upgrade to 3.4.0 fails on El Capitan

Reported by: dershow Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: elcapitan Cc: mkae (Marko Käning)
Port: OpenSceneGraph

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The upgrade of OpenSceneGraph from 3.2.1_2 to 3.4.0_0 fails.
This upgrade is from ticket: r145751
I have attached a build log file.

Attachments (1)

main.log (968.6 KB) - added by dershow 9 years ago.
Clean Build log

Download all attachments as: .zip

Change History (21)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

You've attached a log file from an unclean build attempt. Please sudo port clean OpenSceneGraph, then try again. If it fails again, please attach the new main.log file.

Changed 9 years ago by dershow

Attachment: main.log added

Clean Build log

comment:2 Changed 9 years ago by dershow

Could this be related to the the build problem: https://github.com/Homebrew/homebrew/issues/46372

comment:3 Changed 9 years ago by mkae (Marko Käning)

Could be, are you also on El Capitan?

If so, you should contact upstream and come back with advice on how to handle it on MacPorts.

I tested only on Yosemite...

comment:4 Changed 9 years ago by dershow

I am on El Capitan. So, the port now fails, and should be rolled back until it can be fixed.

comment:5 Changed 9 years ago by mkae (Marko Käning)

I can't do this immediately, but a viable way might be to revert the version bump and upgrade OSG's devel port to 3.4.0 instead...

Until then you could set up your own MacPorts tree and revert my update locally.

If you can manage that I would prefer that as the solution to this ticket, to be honest!!!

BTW, do you use OSG directly, or as a dependency for another port?

comment:6 Changed 9 years ago by mkae (Marko Käning)

Keywords: elcapitan added

comment:7 Changed 9 years ago by mkae (Marko Käning)

Summary: OpenSceneGraph upgrade to 3.4.0 failsOpenSceneGraph upgrade to 3.4.0 fails on El Capitan
Version: 2.3.4

comment:8 Changed 9 years ago by mkae (Marko Käning)

Dersh, which XCode version are you running on your end?

comment:9 Changed 9 years ago by dershow

OSG is a dependency for me. So, I have never really dealt with it directly at all. It was something that worked, and now is something that breaks other things. I am on Xcode 7.2.1.

comment:10 Changed 9 years ago by mkae (Marko Käning)

Can you upgrade XCode to 7.3?

I guess you're not suffering Build failures after upgrading to Xcode 7.2, but who knows...

Last edited 9 years ago by mkae (Marko Käning) (previous) (diff)

comment:11 Changed 9 years ago by dershow

Xcode 7.3 isn't out yet.

comment:12 in reply to:  11 Changed 9 years ago by mkae (Marko Käning)

Replying to dersh@…:

Xcode 7.3 isn't out yet.

Really? That section was written as if that newer version existed... Well, okay, if it doesn't (yet?!) then reverting the update seems the only way for now.

Can you setup your own local port tree to solve this issue?

comment:13 Changed 9 years ago by mkae (Marko Käning)

I can't commit anything for the next few days, so I can't help quickly here.

I think you setting up a local ports tree would be the way to go for now!!

Reporting the error upstream is recommended!!!

comment:14 Changed 9 years ago by dershow

7.3 is in beta, and I assume will be released soon.... For now, I'm just leaving the old version installed, since the upgrade failed, and doing upgrade to with "-n" to avoid it failing. Not the best solution, but for now it seems to be working.

comment:15 Changed 9 years ago by mkae (Marko Käning)

Okay, sounds good. If you could report upstream what the actual problem is, it would be awesome.

comment:16 Changed 9 years ago by dershow

I don't really know. From my perspective, macports worked fine to install OSG a while ago, then upgrading failed. I have posted the log file here, but have done nothing else with OSG, or attempted to build in any other way. I have no idea what OSG has as dependents or anything else.

comment:17 Changed 9 years ago by mkae (Marko Käning)

Okay, never mind. I'll deal with this in a few days time myself, once I've spotted the actual error message in your log. (Right now I am only on my mobile and have difficulties even downloading it - not to talk about skimming through the 1M large file!)

For which port do you actually need OSG?

Last edited 9 years ago by mkae (Marko Käning) (previous) (diff)

comment:18 Changed 9 years ago by dershow

Thanks. If I get a chance I will also try to go through the log to see if I can find anything specific. OSG is used by OpenModelica. This port is not hosted by Macports, but instead on their own servers. But, then it uses Macports to build and install. https://openmodelica.org/download/download-mac

Specifically the +modelica3d variant requires OSG.

comment:19 Changed 9 years ago by dershow

It seems that this was fixed with this rev https://trac.macports.org/changeset/146106 to 3.0.4_1

comment:20 Changed 9 years ago by mkae (Marko Käning)

Resolution: fixed
Status: newclosed

Great news.

Note: See TracTickets for help on using tickets.