I changed to 2_build/libraries/python-trinity/dbg-build-2.7 and added one sys.print to the configure script and it shows the directory in the python path
<!--
This is a comment.
Please fill in the required fields below.
The comments provide instructions on how to do so.
Note: You do not need to remove comments.
-->
## Basic information
- TDE version: 14.1
- Distribution: Debian Bullseye
- Hardware: amd64
<!--
Use SL/* labels to set the severity level.
Please do not set a milestone.
-->
## Description
when trying to build
```
touch build-2.7/build-stamp
dh_testdir
mkdir -p dbg-build-2.7
cd dbg-build-2.7 && python2.7-dbg ../configure.py \
-c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \
-e python2.7 \
-v /opt/trinity/share/sip-tqt/trinity -j 4
Error: Can't find pyqtconfig.py in sys.path - exiting
```
I changed to 2_build/libraries/python-trinity/dbg-build-2.7 and added one sys.print to the configure script and it shows the directory in the python path
```
python2.7-dbg ../configure.py
['/TDE/repo-master/tde/2_build/libraries/python-trinity', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages']
Error: Can't find pyqtconfig.py in sys.path - exiting
```
## Steps to reproduce
1. run standard build procedure
```
debuild -uc -us -b -j4
```
## Screenshots
<!-- If it seems useful, please provide provide one or more screenshots. -->
Are you sure you have built up-to-date sip-tqt and python-tqt? I have now tested building python-trinity on Bullseye (amd64) and it was both successful – normal as well as the debug variant.
Are you sure you have built up-to-date `sip-tqt` and `python-tqt`? I have now tested building `python-trinity` on Bullseye (amd64) and it was both successful – normal as well as the debug variant.
Yes, sip-tqt and python-tqt are compiled and installed right before python-trinity
I found out that in configure.py, when I use the python2.7 interpreter instead of python2.7-dbg, it configures and compiles fine. The problem is with python2.7-dbg not able to load the module.
There is no definition of RelWithDebInfo anywhere in debian/rules here or in the python sip and tqt package.
I don't know why it is failing here :/
Yes, sip-tqt and python-tqt are compiled and installed right before python-trinity
I found out that in configure.py, when I use the python2.7 interpreter instead of python2.7-dbg, it configures and compiles fine. The problem is with python2.7-dbg not able to load the module.
There is no definition of RelWithDebInfo anywhere in debian/rules here or in the python sip and tqt package.
I don't know why it is failing here :/
Basic information
Description
when trying to build
I changed to 2_build/libraries/python-trinity/dbg-build-2.7 and added one sys.print to the configure script and it shows the directory in the python path
Steps to reproduce
Screenshots
Are you sure you have built up-to-date
sip-tqt
andpython-tqt
? I have now tested buildingpython-trinity
on Bullseye (amd64) and it was both successful – normal as well as the debug variant.Yes, sip-tqt and python-tqt are compiled and installed right before python-trinity
I found out that in configure.py, when I use the python2.7 interpreter instead of python2.7-dbg, it configures and compiles fine. The problem is with python2.7-dbg not able to load the module.
There is no definition of RelWithDebInfo anywhere in debian/rules here or in the python sip and tqt package.
I don't know why it is failing here :/