[MacPorts] #27193: pyqt4 hang at configure

MacPorts noreply at macports.org
Tue Nov 9 19:03:52 PST 2010


#27193: pyqt4 hang at configure
---------------------------------------+------------------------------------
 Reporter:  matteobachetti@…           |       Owner:  michaelld@…           
     Type:  defect                     |      Status:  new                   
 Priority:  Normal                     |   Milestone:                        
Component:  ports                      |     Version:  1.9.1                 
 Keywords:                             |        Port:  py26-pyqt4            
---------------------------------------+------------------------------------

Comment(by michaelld@…):

 So the issue is that the SIP python code is creating a table of "X = Y"
 variables found in the QMake spec files being used (in this case,
 mac-g++).  The SIP code does handle "X += Z" (appending), but it does not
 handle "X = Z $$X" (prepending) -- the latter just overwrites any previous
 "X =" value.  So, I'm creating a patch to handle the prepending case, with
 some sense of robustness hopefully.  I'll check it in tomorrow.

 The infinite loop is caused because the original "QMAKE_CXX =
 /usr/bin/g++-4.2" is overwritten by "QMAKE_CXX = $(CCACHE) $$QMAKE_CXX"
 and then SIP does variable substitution on the $$QMAKE_CXX -> "$(CCACHE)
 $$QMAKE_CXX", and keeps doing this until it eventually runs out of memory.

-- 
Ticket URL: <https://trac.macports.org/ticket/27193#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list