Description of problem: Building PyQt from sources I got the problem, that build.py (configure script) recognizes "sip" directory in sources as it would "sip" code generator (which actually is in /usr/bin/). I have . in my PATH variable near to the beginning, so it appears before /usr/bin, where sip is situated. In sources there is "sip" directory, so build.py script determines that this DIRECTORY is my acute sip code generaror and fails to execute it. Here is part of its output: .... ****************************************************************************** /home/users/vsysoltx/tc_4/WORK_DIR/BUILD/PyQt-3.3.2/sip will be used as the SIP code generator. ****************************************************************************** ****************************************************************************** Error: /home/users/vsysoltx/tc_4/WORK_DIR/BUILD/PyQt-3.3.2/sip failed with an exit code of 127. ... You should fix the build.py not do such an error. It is quite easy to check wheteher something file or directory in searchPath function and skip directories. I would fix it and send you the patch but I unfortunately don't know python. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. export PATH=.:$PATH 2. Try to build PyQt from SRPMS Actual results: build.py fails Expected results: Succesfully built package Additional info: I'll attach the full log. I use may be quite old version of PyQt package (3.3.2, got this quite long ago). As soon as RH9.0 is released I will use new one. Just check that there is no such error in it.
Created attachment 90743 [details] Log produced by `rpmbuild -bc --define "_topdir $(pwd)" SPECS/PyQt.spec`
it's fixed in PyQt-3.6-2 or newer