[MacPorts] #39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf ----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: sinf recursion | Port: OpenSceneGraph ----------------------------+-------------------------------- The OpenSceneGraph port has a runtime infinite recursion bug when the function sinf is called, as well as other math functions. This is described here: http://forum.openscenegraph.org/viewtopic.php?t=9121 I prepared the attached fix. -- Ticket URL: <https://trac.macports.org/ticket/39006> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Changes (by larryv@…): * keywords: sinf recursion => haspatch -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Comment (by poyart@…): Updated with the proper patch-include-osg-Math.diff file, sorry about the mistake. -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Comment (by ryandesign@…): If this is not a build error, but a runtime error, then the revision must be increased so that existing users are prompted to upgrade. -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Comment (by poyart@…): There is no "revision" line in the Portfile, should one be added? -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:4 poyart@…]:
There is no "revision" line in the Portfile, should one be added?
Yes, and set it to “1”. -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Comment (by poyart@…): Patch updated, revision line added. -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Changes (by mk@…): * status: new => closed * resolution: => fixed Comment: Done in r106211 -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Changes (by mk@…): * status: closed => reopened * resolution: fixed => Comment: After having built the software I only now manage to test it, but I seem to be unable to let it open up a display window: {{{ $ osgviewer robot.osg View::setUpViewAcrossAllScreens() : Error, no WindowSystemInterface available, cannot create windows. Viewer::realize() - failed to set up any windows View::setUpViewAcrossAllScreens() : Error, no WindowSystemInterface available, cannot create windows. Viewer::realize() - failed to set up any windows }}} Any idea what I am missing? -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Comment (by macsforever2000@…): What windowing system is it supposed to use? Given the license, it would seem to be wxWidgets, yet there is no dependency on it. Maybe a dependency on wxWidgets30 would be useful. Also the port may need to be modified to recognize it. -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Comment (by mk@…): robot.osg is one of the many test files from OSG's standard test files downloaded from its website at == http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-3.0/d... /OpenSceneGraph-Data-3.0.0.zip == -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Comment (by poyart@…): The error described in comment #9 can be fixed by building with: {{{ sudo port install openscenegraph configure.args="-DOSG_WINDOWING_SYSTEM=Cocoa" }}} Is there a way to make that option be the default? Also, this bug is related to the sinf error. This is a different problem. Maybe the sinf bug should be closed and another one opened. -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#39006: OpenSceneGraph @3.0.1 Runtime error - infinite recursion on sinf -----------------------------+-------------------------------- Reporter: poyart@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: haspatch Port: OpenSceneGraph | -----------------------------+-------------------------------- Changes (by mk@…): * status: reopened => closed * resolution: => fixed Comment: Thanks for the hint, poyart! Done in r106454 -- Ticket URL: <https://trac.macports.org/ticket/39006#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts