Opened 13 years ago

Closed 13 years ago

#31755 closed defect (fixed)

py27-pyside-tools fails configure: can't find python?

Reported by: watsodw Owned by: mamoll (Mark Moll)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: py27-pyside-tools

Description

py27-pyside-tools fails configure: can't find python?

Attachments (1)

main.log (2.0 MB) - added by watsodw 13 years ago.

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by watsodw

Attachment: main.log added

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

Cc: mmoll@… removed
Owner: changed from macports-tickets@… to mmoll@…

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=/

comment:2 Changed 13 years ago by mamoll (Mark Moll)

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/?

comment:3 in reply to:  2 Changed 13 years ago by watsodw

Replying to 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/.

comment:4 Changed 13 years ago 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.

comment:5 Changed 13 years ago by mamoll (Mark Moll)

Resolution: fixed
Status: newclosed

Fixed in latest version of pyside.

Note: See TracTickets for help on using tickets.