Opened 9 years ago

Closed 9 years ago

#48410 closed defect (fixed)

OpenSceneGraph broken port

Reported by: dershow Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: arto@…, Veence (Vincent)
Port: OpenSceneGraph

Description (last modified by mf2k (Frank Schima))

I had OpenSceneGraph 3.2.1_1 installed. I also had its dependent gdal installed (version 1.11.2_2) I just upgraded gdal to 2.0.0_0, and Macports then scanned for link errors and found that OpenSceneGraph port was broken, and it attempted to rebuild. But, the rebuild fails. The broken part is that this component of OpenSceneGraph:

/opt/local/lib/osgPlugins-3.2.1/osgdb_gdal.so

Links against this, provided by gdal 1:

/opt/local/lib/libgdal.1.dylib

I have attached the log of the attempted rebuild that is failing.

Attachments (1)

main.log (949.4 KB) - added by dershow 9 years ago.

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by dershow

Attachment: main.log added

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

In the future, please use WikiFormatting.

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

Description: modified (diff)

comment:3 Changed 9 years ago by arto@…

Cc: arto@… added

Cc Me!

comment:4 Changed 9 years ago by arto@…

Based on the discussion on the mailing list, this port was probably broken by the major upgrade of the gdal dependency in changeset r138789.

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

Cc: vince@… added

The person who committed the gdal update should commit the revbump of the ports that link with the gdal library.

comment:6 Changed 9 years ago by Veence (Vincent)

I wasn’t even faintly aware that OSG depended on GDAL. OSG uses a now deprecated API, I’ll see if I can commit a patch.

comment:7 Changed 9 years ago by dershow

It looks like this is a known issue with OSG 3.2.1 (Vince, you probably found exactly the same thing). And, it is fixed in OSG 3.2.2rc3 So, one option might be to bump OSG to this version. But, that would likely mean another bump soon, when 3.2.2 is no longer a candidate, but an actual release. Note that this is also discussed here for 3.3.4 which is a major release jump.

comment:8 Changed 9 years ago by Veence (Vincent)

What can be done is to import the new version of the file and use it as a patch. That might work

comment:9 Changed 9 years ago by gjolleyrogers (Garry Jolley-Rogers)

cc me

comment:10 Changed 9 years ago by Veence (Vincent)

Should be fixed in r138937. Please update and try again.

comment:11 Changed 9 years ago by dershow

That did it. I haven't tested the features of OSG, but it does build now. Thanks!

comment:12 Changed 9 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.