Cannot deploy scope to the phone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtcreator-plugin-ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
With the latest RTM phone software and latest SDK (updated chroots for armhf), I created a template scope application. However, I cannot deploy it onto my phone.
13:20:11: Running steps for project scopetest1...
13:20:11: Starting: "/usr/share/
Scanning dependencies of target hidden_files
[ 0%] Built target hidden_files
Scanning dependencies of target scope-static
[ 8%] Building CXX object src/CMakeFiles/
[ 16%] Building CXX object src/CMakeFiles/
[ 25%] Building CXX object src/CMakeFiles/
[ 33%] Building CXX object src/CMakeFiles/
[ 33%] Built target scope-static
Scanning dependencies of target scope
Linking CXX shared library libcom.
[ 33%] Built target scope
Scanning dependencies of target hidden_
[ 33%] Built target hidden_
Scanning dependencies of target gmock
[ 41%] Building CXX object tests/gmock/
[ 50%] Building CXX object tests/gmock/
Linking CXX static library libgmock.a
[ 50%] Built target gmock
Scanning dependencies of target gmock_main
[ 58%] Building CXX object tests/gmock/
[ 66%] Building CXX object tests/gmock/
[ 75%] Building CXX object tests/gmock/
Linking CXX static library libgmock_main.a
[ 75%] Built target gmock_main
Scanning dependencies of target gtest
[ 83%] Building CXX object tests/gmock/
Linking CXX static library libgtest.a
[ 83%] Built target gtest
Scanning dependencies of target gtest_main
[ 91%] Building CXX object tests/gmock/
Linking CXX static library libgtest_main.a
[ 91%] Built target gtest_main
Scanning dependencies of target scope-unit-tests
[100%] Building CXX object tests/unit/
Linking CXX executable scope-unit-tests
[100%] Built target scope-unit-tests
13:20:34: The process "/usr/share/
[ 0%] Built target hidden_files
[ 33%] Built target scope-static
[ 33%] Built target scope
[ 33%] Built target hidden_
[ 50%] Built target gmock
[ 75%] Built target gmock_main
[ 83%] Built target gtest
[ 91%] Built target gtest_main
[100%] Built target scope-unit-tests
Install the project...
-- Install configuration: ""
-- Installing: .ubuntu-
-- Installing: .ubuntu-
-- Installing: .ubuntu-
-- Installing: .ubuntu-
-- Installing: .ubuntu-
-- Installing: .ubuntu-
-- Installing: .ubuntu-
13:20:35: The process "/usr/share/
Successfully built package in './com.
13:20:35: The process "/usr/bin/click" exited normally.
13:20:35: The click package has been created in /home/liuxg/
= control =
Package: com.ubuntu.
Version: 0.1
Click-Version: 0.4
Architecture: all
Maintainer: XiaoGuo, Liu <email address hidden>
Installed-Size: 434
Description: scopetest1
= manifest =
{
"architecture": "all",
"description": "A simple Unity scope that accesses local content",
"framework": "ubuntu-sdk-14.04",
"hooks": {
}
},
"installed-
"maintainer": "XiaoGuo, Liu <email address hidden>",
"name": "com.ubuntu.
"title": "scopetest1",
"version": "0.1"
}
= md5sums =
53fc545c6f30f75
5753d1aee6c3b16
0ff0f14a2104335
7c4c236d9c45f47
40e53d9ca223d10
9f4c2f055fe2979
9f1d5be52fbbfae
= preinst =
#! /bin/sh
echo "Click packages may not be installed directly using dpkg."
echo "Use 'click install' instead."
exit 1
= hooks =
Traceback (most recent call last):
File "/usr/bin/
review_
File "/usr/lib/
ClickReview
File "/usr/lib/
control_file = self._extract_
File "/usr/lib/
fh = open_file_
File "/usr/lib/
orig = codecs.open(path, 'r', "UTF-8")
File "/usr/lib/
file = builtins.
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/clickrevi
= click-check-lint =
{
"error": {
"lint_
"
"text": "found binaries for architecture 'all': scopetest1/
}
},
"info": {
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "SKIPPED: architecture is 'all'"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK (run check-security for more checks)"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "Skipped, optional icon not present"
},
"lint_
"
"text": "OK (package domain=
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_md5sums": {
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_preinst": {
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_title": {
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
},
"lint_
"
"text": "OK"
}
},
"warn": {}
}
= click-check-
{
"error": {},
"info": {},
"warn": {}
}
= click-check-desktop =
{
"error": {},
"info": {
"desktop_
"
"text": "Skipped: could not find any desktop files"
}
},
"warn": {}
}
= click-check-
{
"error": {},
"info": {
"functional
"
"text": "OK (not QML)"
},
"functional
"
"text": "OK"
},
"functional
"
"text": "OK"
},
"functional
"
"text": "OK"
}
},
"warn": {}
}
= click-check-
{
"error": {},
"info": {},
"warn": {}
}
= click-check-
{
"error": {},
"info": {},
"warn": {}
}
= click-check-scope =
{
"error": {},
"info": {
"scope_
"
"text": "OK"
},
"scope_
"
"text": "OK"
}
},
"warn": {
"scope_
"
"text": "Unknown field in 'scopetest1/
}
}
}
= click-check-
{
"error": {
"security_
"
"text": "(REJECT) reserved policy group 'debug': not for production use"
},
"security_
"
"text": "found inappropriate policy groups: debug"
},
"security_
"
"text": "specified unsupported template 'ubuntu-
}
},
"info": {
"security_
"
"text": "OK"
},
"security_
"
"text": "OK"
},
"security_
"
"text": "OK"
},
"security_
"
"text": "OK"
},
"security_
"
"text": "OK"
},
"security_
"
"text": "OK"
},
"security_
"
"text": "1.1 != 1.2"
},
"security_
"
"text": "OK"
},
"security_
"
"text": "OK"
},
"security_
"
"text": "OK"
},
"security_
"
"text": "OK"
},
"security_
"
"text": "OK"
}
},
"warn": {}
}
= click-check-
{
"error": {},
"info": {},
"warn": {}
}
** Errors found **
/home/liuxg/
Error while building/deploying project scopetest1 (kit: UbuntuSDK for armhf (GCC ubuntu-
When executing step 'UbuntuSDK Click build'
13:20:36: Elapsed time: 00:25.
Same issue. I don't know why, but SDK always ITSELF adds "debug" policy group and itself rejects it.