[MacPorts] #31755: py27-pyside-tools fails configure: can't find python?
#31755: py27-pyside-tools fails configure: can't find python? -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-pyside-tools -------------------------------------+-------------------------------------- py27-pyside-tools fails configure: can't find python? -- Ticket URL: <https://trac.macports.org/ticket/31755> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31755: py27-pyside-tools fails configure: can't find python? -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-pyside-tools -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: mmoll@… (removed) * owner: macports-tickets@… => mmoll@… Comment: Interesting... the log says... {{{ :info:configure -- Using default python: }}} ...48,125 times, and then: {{{ :info:configure sh: line 1: 34253 Segmentation fault cmake -DCMAKE_INSTALL_PREFIX=/opt/macports -DCMAKE_OSX_ARCHITECTURES="x86_64;i386" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/macports/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/macports;/usr" -DCMAKE_MODULE_PATH=/opt/macports/share/cmake/modules -Wno-dev -DBUILD_TESTS:BOOL=FALSE -DPYTHON_EXECUTABLE=/opt/macports/bin/python2.7 -DSITE_PACKAGE=/opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages -DCMAKE_OSX_SYSROOT=/ }}} -- Ticket URL: <https://trac.macports.org/ticket/31755#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31755: py27-pyside-tools fails configure: can't find python? -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-pyside-tools -------------------------------------+-------------------------------------- Comment(by mmoll@…): This didn't used to happen. I had this version already installed. After uninstalling and trying to reinstall I get the same error. It seems like it get stuck in an infinite loop in the configure stage. It prints out this line thousands of times before it crashes: {{{ :info:configure -- Using default python: }}} Perhaps you can file a bug upstream at http://bugs.pyside.org/? -- Ticket URL: <https://trac.macports.org/ticket/31755#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31755: py27-pyside-tools fails configure: can't find python? -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-pyside-tools -------------------------------------+-------------------------------------- Comment(by david.w.watson@…): Replying to [comment:2 mmoll@…]:
This didn't used to happen. I had this version already installed. After uninstalling and trying to reinstall I get the same error. It seems like it get stuck in an infinite loop in the configure stage. It prints out this line thousands of times before it crashes: {{{ :info:configure -- Using default python: }}} Perhaps you can file a bug upstream at http://bugs.pyside.org/?
Reported on http://bugs.pyside.org/. -- Ticket URL: <https://trac.macports.org/ticket/31755#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31755: py27-pyside-tools fails configure: can't find python? -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py27-pyside-tools -------------------------------------+-------------------------------------- Comment(by chuck@…): Ran into this when updating PySide from 1.0.7 to 1.0.8 for Homebrew. Traced the problem down to a file in PySide, PySideConfig.cmake, which does not contain a default value for `SHIBOKEN_PYTHON_SUFFIX` which causes the file to include its self in an infinite loop. This occurs when the CMake file for pyside-tools calls `FIND_PACKAGE(PySide)`. Bug opened with a patch to fix the template used to generate PySideConfig.cmake: http://bugs.pyside.org/show_bug.cgi?id=1052 Alternatively, you could probably side-step this issue by passing `-DSHIBOKEN_PYTHON_SUFFIX='-python<desired version number>'` to cmake when configuring pyside-tools. -- Ticket URL: <https://trac.macports.org/ticket/31755#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31755: py27-pyside-tools fails configure: can't find python? --------------------------------------+------------------------------------- Reporter: david.w.watson@… | Owner: mmoll@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: py27-pyside-tools | --------------------------------------+------------------------------------- Changes (by mmoll@…): * status: new => closed * resolution: => fixed Comment: Fixed in latest version of pyside. -- Ticket URL: <https://trac.macports.org/ticket/31755#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts