[MacPorts] #48558: Unable to install inventor in MacOS 10.8.5
#48558: Unable to install inventor in MacOS 10.8.5 ---------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ---------------------+-------------------------------- I have attached a file showing the output of "sudo port -d install inventor", along with the referenced log file. I am trying to install inventor on a MacBook Pro running MacOS 10.8.5. This is my first macport ticket, so please let me know what other information I should be submitting. -- Ticket URL: <https://trac.macports.org/ticket/48558> MacPorts <https://www.macports.org/> Ports system for OS X
#48558: Unable to install inventor in MacOS 10.8.5 ----------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by david@…): I looked into the problem, and I see the error that was produced by inconsistencies between inventor and coin. I have uninstalled inventor and coin. Now I get a different error when trying to cleanly install inventor. I am attaching two new port_inventor_errors.txt and inventor_main.log files. Sorry about the confusion. This is my first time having problems with macports. -- Ticket URL: <https://trac.macports.org/ticket/48558#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48558: Unable to install inventor in MacOS 10.8.5 -----------------------+------------------- Reporter: david@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: inventor | -----------------------+------------------- Changes (by mf2k@…): * owner: macports-tickets@… => css@… * port: => inventor Comment: In the future, please fill in the Port field and Cc the port maintainers ({{{port info --maintainers inventor}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/48558#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48558: Unable to install inventor in MacOS 10.8.5 -----------------------+---------------------- Reporter: david@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: inventor | -----------------------+---------------------- Changes (by css@…): * status: new => assigned Comment: Probably caused by this: {{{ :info:build ppp.c++:630:1: error: C++ requires a type specifier for all declarations :info:build main(int, char *argv[]) :info:build ^~~~ :info:build 1 warning and 1 error generated. :info:build make[2]: *** [ppp.o] Error 1 }}} This looks like an error resulting from code from much more lenient days of C++. Should be an easy fix, I'll take a look. -- Ticket URL: <https://trac.macports.org/ticket/48558#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48558: Unable to install inventor in MacOS 10.8.5 -----------------------+---------------------- Reporter: david@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: inventor | -----------------------+---------------------- Comment (by css@…): Replying to [comment:3 css@…]:
Should be an easy fix, I'll take a look.
Ugh ... it's pervasive: {{{ ./apps/converters/ivdowngrade/main.c++:main(int argc, char *argv[]) ./apps/demos/drop/drop.c++:main( int, char **argv ) ./apps/demos/gview/gview.c++:main(int argc, char **argv) ./apps/demos/maze/maze.c++:main(int argc, char *argv[]) ./apps/demos/noodle/noodle.c++:main(int argc, char **argv) ./apps/demos/qmorf/qmorf.c++:main(int argc, char **argv) ./apps/demos/qmorf/quadCube.c++:main(int argc, char **argv) ./apps/demos/qmorf/quadSheet.c++:main(int argc, char **argv) ./apps/demos/qmorf/quadSphere.c++:main(int argc, char **argv) ./apps/demos/revo/revo.c++:main(int, char **argv) ./apps/demos/SceneViewer/SceneViewer.c++:main(int argc, char **argv) ./apps/demos/textomatic/textomatic.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/02.1.HelloCone.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/02.2.EngineSpin.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/02.3.Trackball.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/02.4.Examiner.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/03.1.Molecule.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/03.2.Robot.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/03.3.Naming.c++:main(int , char **) ./apps/examples/Mentor/CXX/04.1.Cameras.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/04.2.Lights.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/05.1.FaceSet.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/05.2.IndexedFaceSet.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/05.3.TriangleStripSet.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/05.4.QuadMesh.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/05.5.Binding.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/05.6.TransformOrdering.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/06.1.Text.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/06.2.Simple3DText.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/06.3.Complex3DText.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/07.1.BasicTexture.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/07.2.TextureCoordinates.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/07.3.TextureFunction.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/08.1.BSCurve.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/08.2.UniCurve.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/08.3.BezSurf.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/08.4.TrimSurf.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/09.1.Print.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/09.2.Texture.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/09.3.Search.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/09.4.PickAction.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/09.5.GenSph.c++:main(int, char **) ./apps/examples/Mentor/CXX/10.1.addEventCB.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/10.2.setEventCB.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/10.3and4.MotifList.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/10.5.SelectionCB.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/10.6.PickFilterTopLevel.c++:main(int argc, char *argv[]) ./apps/examples/Mentor/CXX/10.7.PickFilterManip.c++:main(int , char *argv[]) ./apps/examples/Mentor/CXX/10.8.PickFilterNodeKit.c++:main(int , char *argv[]) ./apps/examples/Mentor/CXX/11.1.ReadFile.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/11.2.ReadString.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/12.1.FieldSensor.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/12.2.NodeSensor.c++:main(int , char **) ./apps/examples/Mentor/CXX/12.3.AlarmSensor.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/12.4.TimerSensor.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/13.1.GlobalFlds.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/13.2.ElapsedTime.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/13.3.TimeCounter.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/13.4.Gate.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/13.5.Boolean.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/13.6.Calculator.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/13.7.Rotor.c++:main(int argc, char **argv) ./apps/examples/Mentor/CXX/13.8.Blinker.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/14.1.FrolickingWords.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/14.2.Editors.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/14.3.Balance.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/15.1.ConeRadius.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/15.2.SliderBox.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/15.3.AttachManip.c++:main(int, char **argv) ./apps/examples/Mentor/CXX/15.4.Customize.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/16.1.Overlay.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/16.2.Callback.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/16.3.AttachEditor.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/16.4.OneWindow.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/16.5.Examiner.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/17.1.ColorIndex.c++:main(int , char **argv) ./apps/examples/Mentor/CXX/17.2.GLCallback.c++:main(int, char **) ./apps/examples/Mentor/CXX/17.3.GLFloor.c++:main(int, char **) ./apps/examples/Toolmaker/02.Nodes/newNodes.c++:main(int, char **argv) ./apps/examples/Toolmaker/04.Actions/printVolume.c++:main() ./apps/examples/Toolmaker/07.Nodekits/jumpingJackKitTest.c++:main(int, char **argv) ./apps/examples/Toolmaker/07.Nodekits/pyramidKitTest.c++:main(int, char **argv) ./apps/examples/Toolmaker/08.Manips/newManips.c++:main(int, char **argv) ./apps/examples/Toolmaker/09.Highlights/overlayTest.c++:main(int , char *argv[]) ./apps/examples/Toolmaker/09.Highlights/selectionTest.c++:main(int , char *argv[]) ./apps/examples/Toolmaker/10.Components/tumble.c++:main(int argc, char *argv[]) ./apps/examples/Toolmaker/11.Events/eventTest.c++:main(int , char *argv[]) ./apps/samples/4view/4view.c++:main(int argc, char **argv) ./apps/samples/clock/ivclock.c++:main(int argc, char **argv) ./apps/samples/ivNodeKitStructure/ivNodeKitStructure.c++:main(int argc, char **argv) ./apps/samples/ivToInclude/ivToIncludeFile.c++:main(int argc, char **argv) ./apps/samples/ivToInclude/testResults.c++:main( int argc, char **argv ) ./apps/samples/lod/details.c++:main(int argc, char *argv[]) ./apps/samples/manip/constrainManip.c++:main(int argc, char **argv) ./apps/samples/motif/menu.c++:main(unsigned int /*argc*/, char *argv[]) ./apps/samples/spaceball/spaceball.c++:main(unsigned int, char *argv[]) ./apps/samples/spaceball/spballViewer.c++:main(unsigned int argc, char *argv[]) ./apps/samples/twoDisplays/example.c++:main(int argc, char *argv[]) ./apps/samples/vortex/vortex.c++:main(int argc, char **argv) ./apps/samples/widgets/componentTest.c++:main(unsigned int argc, char *argv[]) ./apps/tools/ivAddVP/ivAddVP.c++:main(int argc, char **argv) ./apps/tools/ivcat/ivcat.c++:main(int argc, char **argv) ./apps/tools/ivfix/ivfix.c++:main(int argc, char **argv) ./apps/tools/ivinfo/ivinfo.c++:main(int argc, char *argv[]) ./apps/tools/ivnorm/ivnorm.c++:main(int argc, char **argv) ./apps/tools/ivperf/ivperf.c++:main(int argc, char **argv) ./apps/tools/ivview/ivview.c++:main(int argc, char **argv) ./doc/man/ivman/Main.c++:main(int argc, char *argv[]) ./lib/database/src/so/engines/SoCalcParse.c++:main() }}} Maybe I could do something as simple as `reinplace "s|^main|int main|"`? It's messy, but I have it almost working. There seems to be a problem with the `build.env` not passing the `DYLD_LIBRARY_PATH` variable. That's needed by the build process so some of the tools can use the dylib that's just been built. I thought this would take care of it: {{{ build.env DYLD_LIBRARY_PATH=${worksrcpath}/lib IVROOT=${destroot} destroot.env ${build.env} }}} But apparently not: {{{ (cd .. && ../../../../doc/man/ivman/ivman `../../../../doc/man/ivman/makeManDirs SbSphere`) > SbSphere.3iv dyld: Library not loaded: /opt/local/lib/libInventor.dylib Referenced from: /Users/css/.macports/opt/local/var/macports/build/_Users_Shared_macports_dports_devel_inventor/inventor/work/inventor/doc/man/man3/ivm/../../../../doc/man/ivman/ivman Reason: image not found }}} -- Ticket URL: <https://trac.macports.org/ticket/48558#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48558: Unable to install inventor in MacOS 10.8.5 -----------------------+---------------------- Reporter: david@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: inventor | -----------------------+---------------------- Comment (by css@…): Ugh, new OS security measures getting in the way ... see ticket:49418#comment:3:
I think the problem is that as of OS X 10.11 El Capitan, DYLD_* environment variables are not passed to subshells; this is a security measure. I have not examined vtk5's build system closely to see if a subshell is being used, but I assume that must be what's happening. We would then have to see if the subshell can be avoided somehow, or if the DYLD_LIBRARY_PATH environment variable can be set closer to the place where it's actually needed.
Seems to be exactly what's happening here. -- Ticket URL: <https://trac.macports.org/ticket/48558#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48558: Unable to install inventor in MacOS 10.8.5 -----------------------+---------------------- Reporter: david@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: inventor | -----------------------+---------------------- Comment (by css@…): I have everything compiled! Now I have to figure out getting X11 in place on El Capitan to test that Inventor actually ''works''. -- Ticket URL: <https://trac.macports.org/ticket/48558#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#48558: Unable to install inventor in MacOS 10.8.5 -----------------------+---------------------- Reporter: david@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: inventor | -----------------------+---------------------- Comment (by css@…): As of r144718 I can build and run inventor! Can you confirm this works for you on Mountain Lion? -- Ticket URL: <https://trac.macports.org/ticket/48558#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#48558: Unable to install inventor in MacOS 10.8.5 -----------------------+---------------------- Reporter: david@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: inventor | -----------------------+---------------------- Comment (by css@…): It looks like the automated builtbot builds failed due to openmotif needing the flat namespace variant. See #49379. -- Ticket URL: <https://trac.macports.org/ticket/48558#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#48558: Unable to install inventor in MacOS 10.8.5 -----------------------+---------------------- Reporter: david@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: inventor | -----------------------+---------------------- Comment (by belinda.marchand@…): I'm confused. I can't really see what the resolution is here. I've been having the same problem since the upgrade to El Capitan last year. A clean re-install of macports did not fix the problem so I assume whatever fixes addressed this above have not been pushed up? So, what's the local way of fixing this? -- Ticket URL: <https://trac.macports.org/ticket/48558#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts