py25-pyqt4 build fails

Ryan Schmidt ryandesign at macports.org
Thu Mar 5 20:08:16 PST 2009


On Mar 5, 2009, at 19:00, Artie Ziff wrote:

>>> You can force the activation to overwrite the existing files:
>>> sudo port -f activate py25-pyqt4
>>
>> Actually it was probably put there by an earlier failed install
>> because of the python25 framework bug.
>>
>> See
>> <http://trac.macports.org/ticket/16068>
>> and
>> <http://trac.macports.org/ticket/16334>
>>
>> The port does work after you force the install, but the registry gets
>> all messed up - macports thinks py25-pyqt4 is active but a "port
>> contents py25-pyqt4" yields nothing. This is why I'm all for fixing
>> the framework bug even if it means users having to reinstall all
>> py25-* ports.
>>
>
>
> Thank you for the info, everyone!
> I do not mind rebuilding all python 2.5 stuff. It's no problem to  
> build
> at night.
>
> Is there a recommended way to work around the issue?
>
> For me, this `sudo port -f activate py25-pyqt4` yields a large pile of
> the following:
>
> Warning: File /opt/local/share/sip/PyQt4/QtXmlPatterns/qxmlquery.sip
> already exists.  Moving to:
> /opt/local/share/sip/PyQt4/QtXmlPatterns/qxmlquery.sip.mp_1236301109.
> Warning: File
> /opt/local/share/sip/PyQt4/QtXmlPatterns/qxmlresultitems.sip already
> exists.  Moving to:
> /opt/local/share/sip/PyQt4/QtXmlPatterns/ 
> qxmlresultitems.sip.mp_1236301109.
> Warning: File
> /opt/local/share/sip/PyQt4/QtXmlPatterns/qxmlserializer.sip already
> exists.  Moving to:
> /opt/local/share/sip/PyQt4/QtXmlPatterns/ 
> qxmlserializer.sip.mp_1236301109.

Yes, that is what forcing does. It moves the conflicting files out of  
the way.


> Error: port activate failed: Not a directory

That sounds like the trying-to-install-into-a-symlink issue.





More information about the macports-users mailing list