Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-1614

"Packaging Error: Could not copy " message when building for Maemo PR 1.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.1.0
    • Qt Creator 1.3.85 (2.0.0-rc1)
    • Remote Linux
    • None
    • - Kubuntu Linux Lucid Lynx (10.04) 32 bits, Kernel 2.6.32-22-generic, gcc 4.4.3-4ubuntu5
    • 608fcf3123de88e9a634dddac4976bdf0723977b

    Description

      When I try building an application for Maemo PR 1.2 that the main ".pro" file is a TEMPLATE
      of type 'subdirs', a PACKAGING ERROR occurs while copying the executable.

      I have tried creating a couple of applications with the 'subdirs' TEMPLATE (that contains a subdir called "src" and the
      source+header files inside) and the error persists.

      To demonstrate the error I've copied the "ANIMATEDTILES" demo and created
      a simple project structure for it:

      animatedtiles/
      animatedtiles.pro <-- modified
      src/
      src.pro <-- modified
      main.cpp
      images/
      ..........
      ...........

      The 'main.cpp' and the image files remain unchanged.
      But the '.pro' files were changed to the following:

      • animatedtiles.pro
        ---------
        TEMPLATE = subdirs
        SUBDIRS = src
        ---------
      • src.pro
        ---------
        TARGET = animatedtiles
        SOURCES = main.cpp
        RESOURCES = animatedtiles.qrc
        ---------

      This is build log for the Maemo on the Nokia Qt SDK 1.0 RC:
      """""""""""""""""""""""""""""""""""""""
      ........
      ...........
      Creating package file ...
      Package Creation: Running command 'dh_make -s -n -p animatedtiles_0.1'.
      Package Creation: Running command 'dh_installdirs'.
      Packaging Error: Could not copy '/home/fred/Sources/animatedtiles-build/animatedtiles' to '/home/fred/Sources/animatedtiles-build/debian/animatedtiles//usr/local/bin/animatedtiles'.
      Error while building project animatedtiles (target: Maemo)
      When executing build step ''
      """""""""""""""""""""""""""""""""""""""

      I've noticed that the Package Creation is now a default build step for the Maemo target.
      Is it possible to remove this step?

      The full build log is attached: build-log.txt

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            fred.duarte Frederico Simas Duarte
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes