Cannot successfully compile a scope project after cleaning a scope project
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.
Candidate: 3.5.0+15.
Version table:
*** 3.5.0+15.
500 http://
100 /var/lib/
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/
-- Check for working C compiler: /var/lib/
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /var/lib/
-- Check for working CXX compiler: /var/lib/
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Installation started.
Creating '/home/
Creating '/home/
Setting 'PATH=/
Cleaning up symlinks ...
Installation complete.
-- Found Gettext: /var/lib/
-- Found Intltool: /var/lib/
-- Configuring done
-- Build files have been written to: /home/liuxg/
CMake Error at CMakeLists.txt:37 (add_custom_
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-
Related branches
- Benjamin Zeller: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 38 lines (+2/-2)2 files modifiedshare/qtcreator/templates/wizards/ubuntu/scope-14.10/CMakeLists.txt (+1/-1)
share/qtcreator/templates/wizards/ubuntu/scope/CMakeLists.txt (+1/-1)
- Alexandre Abreu (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 18 lines (+1/-1)1 file modifiedqtc-templates/scope-js/CMakeLists.txt (+1/-1)
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 |
This bug was fixed in the package qtcreator- plugin- ubuntu - 3.5.0+16. 04.20160321. 1-0ubuntu1
--------------- plugin- ubuntu (3.5.0+ 16.04.20160321. 1-0ubuntu1) xenial; urgency=medium
qtcreator-
[ Marcus Tomlinson ]
* Don't expect .pot file to exist, this breaks CMake when no
translations are present (LP: #1538419)
[ Zoltán Balogh ] architecture instead of uname to discover arch type
* Use dpkg --print-
(LP: #1558413)
-- Zoltan Balogh <email address hidden> Mon, 21 Mar 2016 14:35:36 +0000