FTBFS with Debug enabled #3

Open
opened 2 years ago by deloptes · 2 comments
Collaborator

Basic information

  • TDE version: 14.1
  • Distribution: Debian Bullseye
  • Hardware: amd64

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

<!-- 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. -->
Owner

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.
Poster
Collaborator

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 :/
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/pytde#3
Loading…
There is no content yet.