Can NOT deploy to Harmattan Simulator



  • Hello, everyone,

    I have encountered a strange problem while I deployed the compiled project onto Harmattan Simulator. For the reason to save the disk space in C drive, I have to install Qt SDK v1.1.3 onto E drive.

    The sample projects could be built successfully, however, the deployment of the projects has failed due to a error. The detailed error info is described as follows,

    Running build steps for project calculator...
    Configuration unchanged, skipping qmake step.
    Starting: "E:\os\qtsdk\madde\bin\make.exe" -w
    make: Entering directory /c/Dev/00_MeeGo/demos/calculator' make: Nothing to be done forfirst'.
    make: Leaving directory `/c/Dev/00_MeeGo/demos/calculator'
    The process "E:\os\qtsdk\madde\bin\make.exe" exited normally.
    Creating package file ...
    Package Creation: Running command 'e:/os/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us'.
    dpkg-buildpackage: set CFLAGS to default value: -g -O2
    dpkg-buildpackage: set CPPFLAGS to default value:
    dpkg-buildpackage: set LDFLAGS to default value:
    dpkg-buildpackage: set FFLAGS to default value: -g -O2
    dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
    dpkg-buildpackage: source package calculator
    dpkg-buildpackage: source version 0.0.1
    dpkg-buildpackage: source changed by unknown <>
    which: pgp: unknown command
    dpkg-buildpackage: host architecture armel
    debian/rules build
    dh_testdir

    qmake PREFIX=/usr# Uncomment this line for use without Qt Creator

    touch configure-stamp
    dh_testdir

    Add here commands to compile the package.

    /usr/bin/make # Uncomment this line for use without Qt Creator

    #docbook-to-man debian/calculator.sgml > calculator.1
    touch build-stamp
    debian/rules binary
    dh_testdir
    dh_testroot
    dh_clean -k
    dh_installdirs

    Add here commands to install the package into debian/calculator.

    /usr/bin/make INSTALL_ROOT="/c/Dev/00_MeeGo/demos/calculator"/debian/calculator install
    make[1]: Entering directory /c/Dev/00_MeeGo/demos/calculator' cp -f -r c:/Dev/00_MeeGo/demos/calculator/qml /c/Dev/00_MeeGo/demos/calculator/debian/calculator/opt/calculator/qml/ install -m 755 -p "calculator" "/c/Dev/00_MeeGo/demos/calculator/debian/calculator/opt/calculator/bin/calculator" make[1]: Leaving directory/c/Dev/00_MeeGo/demos/calculator'
    dh_testdir
    dh_testroot
    dh_installchangelogs
    dh_installdocs
    dh_installexamples
    dh_installman
    dh_link
    dh_strip
    dh_compress
    dh_fixperms
    dh_installdeb
    dh_shlibdeps # Uncomment this line for use without Qt Creator
    dh_gencontrol
    dpkg-shlibdeps: warning: symbol __aeabi_unwind_cpp_pr1@GCC_3.5 used by debian/calculator/opt/calculator/bin/calculator found in none of the libraries.
    dpkg-shlibdeps: warning: symbol __aeabi_unwind_cpp_pr0@GCC_3.5 used by debian/calculator/opt/calculator/bin/calculator found in none of the libraries.
    dpkg-shlibdeps: warning: dependency on libgcc_s.so.1 could be avoided if "debian/calculator/opt/calculator/bin/calculator" were not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided if "debian/calculator/opt/calculator/bin/calculator" were not uselessly linked against it (they use none of its symbols).
    dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
    dh_md5sums
    dh_builddeb
    Use of uninitialized value in undef operator at /madbin/dpkg-buildpackage line 369.
    dpkg-genchanges -b -u.. >../calculator_0.0.1_armel.changes
    dpkg-genchanges: binary-only upload - not including any source code
    dpkg-buildpackage: binary only upload (no source included)
    Package created.
    Installing package to sysroot ...
    c:\Users\test\C;e:\os\qtsdk\madde\Dev\00_MeeGo\demos\calculator\calculator_0.0.1_armel.deb: No such file or directory
    e:\os\qtsdk\madde\targets\harmattan-nokia-meego-api\bin\ar.exe: Cannot find package name (in debian control file).

    Error while building project calculator (target: Harmattan)
    When executing build step 'Deploying Debian package with SFTP'

    After checking the above error message, and found the problem is,

    "Installing package to sysroot ...
    c:\Users\test\C;e:\os\qtsdk\madde\Dev\00_MeeGo\demos\calculator\calculator_0.0.1_armel.deb: No such file or directory
    e:\os\qtsdk\madde\targets\harmattan-nokia-meego-api\bin\ar.exe: Cannot find package name (in debian control file)."

    Somehow the path of target Debian package is changed to a invalid one, i.e., the actual path of Debian package is "c:\Dev\00_MeeGo\calculator\calculator_0.0.1_armel.deb", however, somehow a additional path("e:\os\qtsdk\madde") was forced to add the begin of the correct path. (BTW, the QtSDK v1.3.3 was installed in "e:\os\qtsdk".)

    Anybody could help me? I really appreciate your help! Thanks!



  • Bug report is filed here and solution is stated below : "bug report":https://bugreports.qt.nokia.com/browse/QTCREATORBUG-6419


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.