Skip to contentSkip to conversation

sip/sip3

meta-oe Rudolf J Streif 2 participants 3 messages May 8, 2019 – May 9, 2019

lore
Share & tools
lore
#0 lore raw

With the recent update of sip/sip3 from 4.19.13 to 4.19.16 FILES has changed:

4.19.13:

|

FILES_python3-sip3 = "${libdir}/${PYTHON_DIR}${PYTHON_ABI}/site-packages/" FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}${PYTHON_ABI}/site-packages/.debug"|

4.19.16 (meta-openembedded @ 50108c18):

|

FILES_python-sip = "${libdir}/${PYTHON_DIR}/site-packages/" FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug"|

|

|

|

|

That causes an issue with PyQt5 which is installed in (python-pyqt5.inc, meta-qt5 @ f4531ec8):

echo "py_pylib_dir = %(sysroot)/${libdir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg

PYTHON_BASEVERSION = "3.7"
PYTHON_ABI = "m"

This can obviously be fixed on either end, but I am not quite sure what the right approach is.

Thanks,

Rudi

 -----
Rudolf J Streif
CEO/CTO ibeeto
+1.855.442.3396 x700

#1 lore raw
Quoted 30 lines · Rudolf J Streif

With the recent update of sip/sip3 from 4.19.13 to 4.19.16 FILES has changed:

4.19.13:

|

FILES_python3-sip3  = "${libdir}/${PYTHON_DIR}${PYTHON_ABI}/site-packages/" FILES_${PN}-dbg  += "${libdir}/${PYTHON_DIR}${PYTHON_ABI}/site-packages/.debug"|

4.19.16 (meta-openembedded @ 50108c18):

|

FILES_python-sip  =  "${libdir}/${PYTHON_DIR}/site-packages/" FILES_${PN}-dbg  +=  "${libdir}/${PYTHON_DIR}/site-packages/.debug"|

|

|

|

|

That causes an issue with PyQt5 which is installed in (python-pyqt5.inc, meta-qt5 @ f4531ec8):

Quoted 8 lines

echo "py_pylib_dir = %(sysroot)/${libdir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg

PYTHON_BASEVERSION = "3.7"
PYTHON_ABI = "m"

This can obviously be fixed on either end, but I am not quite sure what the right approach is.

Does this help?

https://github.com/meta-qt5/meta-qt5/pull/202

Thanks for seeing this. Having these tools across two layers is tricky. The problem is the pyqt can be either in a qt4 layer or a qt 5 later. And python 2/3 versions.

And the sip recipe really needs to spit out the module used for pyqt.

Philip

Quoted 14 lines

Thanks,

Rudi

 -----
Rudolf J Streif
CEO/CTO ibeeto
+1.855.442.3396 x700

#2 lore raw

Thank you, Philip. Yes, that worked fine. It's the solution I preferred.

:rjs

Quoted 65 lines · Philip Balister
Quoted 30 lines · Rudolf J Streif

With the recent update of sip/sip3 from 4.19.13 to 4.19.16 FILES has changed:

4.19.13:

|

FILES_python3-sip3  = "${libdir}/${PYTHON_DIR}${PYTHON_ABI}/site-packages/" FILES_${PN}-dbg  += "${libdir}/${PYTHON_DIR}${PYTHON_ABI}/site-packages/.debug"|

4.19.16 (meta-openembedded @ 50108c18):

|

FILES_python-sip  =  "${libdir}/${PYTHON_DIR}/site-packages/" FILES_${PN}-dbg  +=  "${libdir}/${PYTHON_DIR}/site-packages/.debug"|

|

|

|

|

That causes an issue with PyQt5 which is installed in (python-pyqt5.inc, meta-qt5 @ f4531ec8):

Quoted 8 lines

echo "py_pylib_dir = %(sysroot)/${libdir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg

PYTHON_BASEVERSION = "3.7"
PYTHON_ABI = "m"

This can obviously be fixed on either end, but I am not quite sure what the right approach is.

Does this help?

https://github.com/meta-qt5/meta-qt5/pull/202

Thanks for seeing this. Having these tools across two layers is tricky. The problem is the pyqt can be either in a qt4 layer or a qt 5 later. And python 2/3 versions.

And the sip recipe really needs to spit out the module used for pyqt.

Philip

Quoted 13 lines

Thanks,

Rudi

 -----
Rudolf J Streif
CEO/CTO ibeeto
+1.855.442.3396 x700

Signature · 4 lines
-----
Rudolf J Streif
CEO/CTO ibeeto
+1.855.442.3396 x700