PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 1081 - pyside 1.0.9 build against Qt Simulator (QtSDK 1.1.4 (Qt 4.7.4)) fails near target PySide/QtSql.so
: pyside 1.0.9 build against Qt Simulator (QtSDK 1.1.4 (Qt 4.7.4)) fails near t...
Status: UNCONFIRMED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: PC Linux
: P5 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-12-02 19:21 EET by letters.random13
Modified: 2012-03-08 16:57 EET (History)
8 users (show)

See Also:


Attachments
modified build_and_install.sh (requires environment_sdk.sh) (1.53 KB, application/x-shellscript)
2011-12-02 19:21 EET, letters.random13
Details

Note You need to log in before you can comment on or make changes to this bug.
Description letters.random13 2011-12-02 19:21:56 EET
Created attachment 463 [details]
modified build_and_install.sh (requires environment_sdk.sh)

an attempt to build pyside 1.0.9 against QtSDK (1.1.4) fails with cryptic
message "make: *** [all] Error 2"
during or immediately after PySide/QtSql build stage. this occurs on both
ubuntu 11.04 and fedora 15/16 586 desktops (python 2.7.1/2.7.2).

the file:
https://github.com/PySide/BuildScripts/blob/master/environment.sh
suggests that building pyside against QtSDK is possible.
if this is not supported, then the final 11 lines of that file should be
deleted, and this bug report can be closed.

if it is supported, then below are some debugging output and comments...
i modified environment.sh (below) and build_and_install.sh (see attached, and
also http://lists.pyside.org/pipermail/pyside/2011-September/002903.html) and
attempted a build of pyside 1.0.9 against the latest version of QtSDK (~1.1.4)

-------modified environment_sdk.sh ---------------------
#!/bin/sh

export BUILD_TYPE=Release

# If you want to build a Debug release, make sure to have the
# debugging version of Python installed and uncomment this line:
#export BUILD_TYPE=Debug

# Get the Python version as "pythonx.y", e.g. "python2.6"
PYTHONXY=`python -V 2>&1 | sed -e 's/Python 2\.\([0-9]*\).*/python2.\1/'`

export PYSIDESANDBOXPATH=$HOME/pkg/pyside-sandbox
export PATH=$PYSIDESANDBOXPATH/bin:$PATH
export
PYTHONPATH=$PYSIDESANDBOXPATH/lib/$PYTHONXY/site-packages:$PYSIDESANDBOXPATH/lib64/$PYTHONXY/site-packages:$PYTHONPATH
export LD_LIBRARY_PATH=$PYSIDESANDBOXPATH/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$PYSIDESANDBOXPATH/lib/pkgconfig:$PKG_CONFIG_PATH
export DYLD_LIBRARY_PATH=$PYSIDESANDBOXPATH/lib:$DYLD_LIBRARY_PATH

############ #build against Qt SDK (Simulator) # ####################
#see
https://lizardo.wordpress.com/2010/08/26/running-pyside-applications-on-qt-simulator/

#
#tested on desktop:
#~/QtSDK/QtCreator/bin/qtcreator.sh -version
#Qt Creator 2.3.1 based on Qt 4.7.4
#Linux 2.6.41.1-1.fc15.i686 #1 SMP Fri Nov 11 21:50:36 UTC 2011 i686 i686 i386
GNU/Linux
#

QT_SDK_HOME=$HOME/QtSDK
QT_SDK_SIM=$QT_SDK_HOME/Simulator/Qt/gcc
QT_SDK_MOB=$QT_SDK_HOME/Simulator/Qt/gcc
export PATH=$QT_SDK_MOB/bin:$QT_SDK_SIM/bin:$PATH
export LD_LIBRARY_PATH=$QT_SDK_MOB/lib:$QT_SDK_SIM/lib:$LD_LIBRARY_PATH
----------end------------------------------

-----------------------------------
QtSDK version:
**********************************************************************************
Changelog Qt SDK 1.1.4
**********************************************************************************
- Qt Creator version 2.3.1
- Qt Simulator version 1.2
- Qt Mobility 1.2
- Qt for Desktop 4.7.4 and 4.8 RC
- Qt for Simulator 4.7.4
- Harmattan Beta 2
- Installer Framework 1.2.1

-----------------------------------------------

build_and_install_sdk.sh apparently proceeds fine thru all stages until
somewhere near PySide/QtSql build.
i added --debug to cmake and -d to make, but the output is still horribly
cryptic. i haven't found a simple means to turn off the build of QtSql, please
let me know if there is such an option (or better debug options).

---------------------
...
   Finished prerequisites of target file `PySide/QtSql.so'.
  Must remake target `PySide/QtSql.so'.
Need a job token; we don't have children
Putting child 0x0999da28 (PySide/QtSql.so) PID 31790 on the chain.
  Commands of `PySide/QtSql.so' are being run.
 Finished prerequisites of target file
`PySide/QtSql/CMakeFiles/QtSql.dir/build'.
The prerequisites of `PySide/QtSql/CMakeFiles/QtSql.dir/build' are being made.
Live child 0x0999da28 (PySide/QtSql.so) PID 31790
Linking CXX shared module ../QtSql.so
Reaping winning child 0x0999da28 PID 31790
Live child 0x0999da28 (PySide/QtSql.so) PID 31792
Reaping winning child 0x0999da28 PID 31792
Removing child 0x0999da28 PID 31792 from chain.
Considering target file `PySide/QtSql/CMakeFiles/QtSql.dir/build'.
 File `PySide/QtSql/CMakeFiles/QtSql.dir/build' does not exist.
  Considering target file `PySide/QtSql.so'.
  File `PySide/QtSql.so' was considered already.
 Finished prerequisites of target file
`PySide/QtSql/CMakeFiles/QtSql.dir/build'.
Must remake target `PySide/QtSql/CMakeFiles/QtSql.dir/build'.
Successfully remade target file `PySide/QtSql/CMakeFiles/QtSql.dir/build'.
Reaping winning child 0x0969a4a8 PID 31515
Live child 0x0969a4a8 (PySide/QtSql/CMakeFiles/QtSql.dir/all) PID 31797
[ 86%] Reaping winning child 0x0969a4a8 PID 31797
Live child 0x0969a4a8 (PySide/QtSql/CMakeFiles/QtSql.dir/all) PID 31798
Built target QtSql
Reaping winning child 0x0969a4a8 PID 31798
Removing child 0x0969a4a8 PID 31798 from chain.
Reaping losing child 0x081e3510 PID 26844
make: *** [all] Error 2
Removing child 0x081e3510 PID 26844 from chain.
Comment 1 Matti Airas 2012-03-08 16:57:40 EET
PySide is now a Qt-addon and uses Qt Project's JIRA tool for tracking bugs.
Please verify that the bug is still valid and re-submit it in the address
below:

https://bugreports.qt-project.org/

Sorry for the inconvenience!