On 02/05/2014 05:09 PM, David C. Rankin wrote:
On 02/05/2014 04:58 PM, Slávek Banko wrote:
On Wednesday 05 of February 2014 23:56:31 David C. Rankin wrote:
On 02/05/2014 04:34 PM, David C. Rankin wrote:
What broke?
This package built fine 10 days ago? It doesn't even begin to build now. Just the error:
Traceback (most recent call last): File "configure.py", line 31, in <module> from sip4_tqt import sipconfig ImportError: No module named sip4_tqt
Huh?
Or should it be what broke sip4_tqt. sip4_tqt built without error, but damnit, it isn't working anymore -- what changed? why is there no module named sip4_tqt for python_tqt to find??
Try patches from bug 1790.
Slavek
I've read through it until I'm blue in the face and I can't figure out what it means to my build script. How are you building it? Obviously my build for python-sip and python2-sip build but are now completely broken. I'm building with:
CFLAGS="${CFLAGS} -I/usr/include/tqt -I${TDEDIR}/include -I${QTDIR}/include"
cd ${srcdir}
## copy source for Python build cp -r ${pkgbase#*-} sipPy3
## Python version msg "Running python configure.py (python3 based sip)...." cd ${srcdir}/sipPy3 python configure.py CFLAGS="${CFLAGS}" msg "Building - tde-sip (python3 based sip)..." make $NUMJOBS
## Python2 version msg "Running python2 configure.py (sip4-tqt)...." cd ${srcdir}/${pkgbase#*-} python2 configure.py CFLAGS="${CFLAGS}" msg "Building - ${pkgbase}..." make $NUMJOBS
}
# python-sip package_tde-sip() { cd "${srcdir}/sipPy3" make -j1 DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }
# python2-sip package_tde-sip4-tqt() { cd "${srcdir}/${pkgbase#*-}" make -j1 DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Provided by tde-sip rm "${pkgdir}/usr/bin/sip" }
But the resulting packages DO NOT WORK for python-tqt. How does the build need to change to accommodate 1790? I really don't understand what 1790 did??
Let's do it this way... Is this not the right content for python-sip and python2-sip?
tde-sip-R14preRC1-1-i686.pkg.tar.xz usr/include/python3.3m/sip.h usr/share/licenses/tde-sip/LICENSE usr/bin/sip usr/lib/python3.3/site-packages/sip.so usr/lib/python3.3/site-packages/sipconfig.py usr/lib/python3.3/site-packages/sipdistutils.py
tde-sip4-tqt-R14preRC1-1-i686.pkg.tar.xz usr/include/python2.7/sip.h usr/share/licenses/tde-sip4-tqt/LICENSE usr/lib/python2.7/site-packages/sip.so usr/lib/python2.7/site-packages/sipconfig.py usr/lib/python2.7/site-packages/sipdistutils.py
If these are right, then it is just python-tqt that is broken