Cannot successfully compile a scope project after cleaning a scope project

Bug #1538419 reported by XiaoGuo, Liu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu SDK IDE
Invalid
Undecided
Unassigned
unity-js-scopes
Fix Committed
High
Marcus Tomlinson
qtcreator-plugin-ubuntu (Ubuntu)
Fix Released
High
Marcus Tomlinson

Bug Description

I am now developing scopes on ubuntu 15.04. I follow a Javascript scope template wizard, and create a template scope project. Initially, the project can be successfully built without any problem. However, if I right click mouse to select "clean", the .pot project will be deleted during the clean process. Then after that, I cannot compile the project any more. I run "CMake" again, it complains the missing .pot file.

My ubuntu SDK IDE version is:

liuxg@liuxg:~$ apt-cache policy ubuntu-sdk-ide
ubuntu-sdk-ide:
  Installed: 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1
  Candidate: 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1
  Version table:
 *** 3.5.0+15.10.20151024-0ubuntu1~97+201511170914~ubuntu15.04.1 0
        500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status

The same problem happens to C++ scope template as well. After cleaning the project, the scope project cannot be running any more.

=============================================================================
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/bin/arm-linux-gnueabihf-gcc
-- Check for working C compiler: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/bin/arm-linux-gnueabihf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/bin/arm-linux-gnueabihf-g++
-- Check for working CXX compiler: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/bin/arm-linux-gnueabihf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Installation started.
Creating '/home/liuxg/scope/jsscope1/src/node_modules/node' symlink ...
Creating '/home/liuxg/scope/jsscope1/src/node_modules/node-gyp' symlink ...
Setting 'PATH=/home/liuxg/scope/jsscope1/src/node_modules:/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/local/bin:/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/bin:/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/bin' ...
Cleaning up symlinks ...
Installation complete.
-- Found Gettext: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/bin/msgmerge (found version "0.19.2")
-- Found Intltool: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/bin/intltool-update (found version "0.51.0")
-- Configuring done
-- Build files have been written to: /home/liuxg/scope/build-jsscope1-UbuntuSDK_for_armhf_GCC_ubuntu_sdk_15_04_vivid-Default
CMake Error at CMakeLists.txt:37 (add_custom_target):
  Cannot find source file:

    po/jsscope1.pot

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

Command returned 1: schroot -c 'click-ubuntu-sdk-15.04-armhf-ucca-1000-{d33ba330-8539-4f76-9f5e-cd8657334bf8}' --run-session -- env DEB_HOST_ARCH_CPU=arm DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_TARGET_MULTIARCH=arm-linux-gnueabihf DEB_HOST_ARCH_ENDIAN=little DEB_TARGET_GNU_CPU=arm DEB_BUILD_ARCH_OS=linux DEB_BUILD_ARCH_BITS=64 DEB_HOST_ARCH=armhf DEB_BUILD_ARCH=amd64 DEB_BUILD_MULTIARCH=x86_64-linux-gnu DEB_HOST_GNU_SYSTEM=linux-gnueabihf DEB_TARGET_ARCH_ENDIAN=little DEB_HOST_GNU_TYPE=arm-linux-gnueabihf DEB_HOST_ARCH_OS=linux DEB_TARGET_ARCH_BITS=32 DEB_TARGET_GNU_TYPE=arm-linux-gnueabihf DEB_BUILD_ARCH_ENDIAN=little DEB_HOST_ARCH_BITS=32 DEB_TARGET_ARCH=armhf DEB_TARGET_ARCH_OS=linux DEB_BUILD_ARCH_CPU=amd64 DEB_TARGET_GNU_SYSTEM=linux-gnueabihf DEB_TARGET_ARCH_CPU=arm DEB_HOST_GNU_CPU=arm DEB_BUILD_GNU_SYSTEM=linux-gnu DEB_BUILD_GNU_CPU=x86_64 DEB_HOST_MULTIARCH=arm-linux-gnueabihf cmake /home/liuxg/scope/jsscope1 '-GCodeBlocks - Unix Makefiles'

Related branches

Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote :
description: updated
Changed in ubuntu-sdk-ide:
status: New → Confirmed
assignee: nobody → Marcus Tomlinson (marcustomlinson)
Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Confirmed
assignee: nobody → Marcus Tomlinson (marcustomlinson)
Changed in ubuntu-sdk-ide:
assignee: Marcus Tomlinson (marcustomlinson) → nobody
status: Confirmed → Invalid
Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: Confirmed → In Progress
Changed in unity-js-scopes (Ubuntu):
status: New → In Progress
Changed in unity-js-scopes (Ubuntu):
assignee: nobody → Marcus Tomlinson (marcustomlinson)
Changed in qtcreator-plugin-ubuntu (Ubuntu):
importance: Undecided → High
Changed in unity-js-scopes (Ubuntu):
importance: Undecided → High
no longer affects: unity-js-scopes (Ubuntu)
Changed in unity-js-scopes:
status: New → In Progress
assignee: nobody → Marcus Tomlinson (marcustomlinson)
importance: Undecided → High
Changed in unity-js-scopes:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator-plugin-ubuntu - 3.5.0+16.04.20160321.1-0ubuntu1

---------------
qtcreator-plugin-ubuntu (3.5.0+16.04.20160321.1-0ubuntu1) xenial; urgency=medium

  [ Marcus Tomlinson ]
  * Don't expect .pot file to exist, this breaks CMake when no
    translations are present (LP: #1538419)

  [ Zoltán Balogh ]
  * Use dpkg --print-architecture instead of uname to discover arch type
    (LP: #1558413)

 -- Zoltan Balogh <email address hidden> Mon, 21 Mar 2016 14:35:36 +0000

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.