← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1538419] Re: Cannot successfully compile a scope project after cleaning a scope project

 

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 <zoltan.balogh@xxxxxxxxxxxxx>  Mon, 21 Mar 2016
14:35:36 +0000

** Changed in: qtcreator-plugin-ubuntu (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1538419

Title:
  Cannot successfully compile a scope project after cleaning a scope
  project

Status in Ubuntu SDK IDE:
  Invalid
Status in unity-js-scopes:
  Fix Committed
Status in qtcreator-plugin-ubuntu package in Ubuntu:
  Fix Released

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'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-sdk-ide/+bug/1538419/+subscriptions