Can't build with phablet-tools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Ubuntu File Manager App |
High
|
Unassigned | ||
| Ubuntu Notes app |
High
|
Unassigned |
Bug Description
Core apps which rely on cmake for building currently can utilize both Qtcreator and click-buddy and related tools to build the project. However, click-buddy and qtcreator expect separate layouts, including different manifest files which are not compatible with each other.
The result is the affected apps will not build with click-buddy at the moment. A proposal to fix this issue needs to not break the qtcreator build capability.
Related branches
- Carlos Jose Mazieri: Approve on 2014-04-21
-
Diff: 203 lines (+47/-39)5 files modifiedCMakeLists.txt (+10/-13)
click/CMakeLists.txt (+8/-0)
click/apparmor.json (+4/-3)
click/manifest.json.in (+8/-8)
src/app/main.cpp (+17/-15)
- Nicholas Skaggs (community): Disapprove on 2014-04-25
- Leo Arias (community): Approve on 2014-04-24
-
Diff: 184 lines (+44/-36)5 files modifiedCMakeLists.txt (+24/-23)
click/CMakeLists.txt (+8/-0)
click/manifest.json.in (+7/-7)
src/app/main.cpp (+4/-2)
tests/autopilot/reminders/tests/__init__.py (+1/-4)
- Nicholas Skaggs (community): Approve on 2014-04-24
- Carlos Jose Mazieri: Approve on 2014-04-24
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration) on 2014-04-24
-
Diff: 37 lines (+8/-4)2 files modifiedCMakeLists.txt (+5/-1)
manifest.json (+3/-3)
Nicholas Skaggs (nskaggs) wrote : | #1 |
Nicholas Skaggs (nskaggs) wrote : | #2 |
My build issue was because of not having build deps installed in my chroot.. d'oh. The underlying reason here is the manifest file contains the revno of 'latest' instead of a number. In general, the modifications to the cmake build break click-buddy and phablet tools.
Nicholas Skaggs (nskaggs) wrote : | #3 |
After playing around with reverting these changes I can see the resulting clicks are exactly the same. Still, file manager doesn't run on devices, complaining of missing the plugin.
ubuntu-
summary: |
- Can't setup autopilot + Can't build with phablet-tools |
Changed in ubuntu-filemanager-app: | |
status: | New → Confirmed |
importance: | Undecided → High |
Nicholas Skaggs (nskaggs) wrote : | #4 |
The summary of this bug is that qtcreator and click-buddy need separate layouts, including different manifest files which are not compatible with each other. There doesn't seem to yet be an easy way to allow both to build projects easily, so enabling qtcreator builds breaks click tools and vice-versa. This should track the affected apps.
The long-term solution is to get everyone on the same page, as far as tooling goes. In the short-term, it would be nice to figure out a workaround for these issues.
Changed in reminders-app: | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
description: | updated |
Fix committed into lp:ubuntu-filemanager-app at revision 163, scheduled for release in ubuntu-
Changed in ubuntu-filemanager-app: | |
status: | Confirmed → Fix Committed |
Changed in reminders-app: | |
status: | Confirmed → Fix Committed |
Changed in ubuntu-filemanager-app: | |
status: | Fix Committed → Fix Released |
Changed in reminders-app: | |
status: | Fix Committed → Fix Released |
Bartosz Kosiorek (gang65) wrote : | #6 |
Hi.
I tried to builld filemanager and I have following error:
[ 73%] Building CXX object src/plugin/
/home/a/
#include <taglib/
compilation terminated.
make[2]: *** [src/plugin/
make[1]: *** [src/plugin/
make: *** [all] Error
Do you know how to resolve it?
David Planella (dpm) wrote : | #7 |
Hi Bartosz,
Yes, please read the README file in the source directory, which explains you which dependencies you need to install to build the file manager app.
I'm seeing build failures :-(
/ubuntu- filemanager- app/src/ plugin/ folderlistmodel /dirmodel. cpp:43: 41: fatal error: taglib/ attachedpicture frame.h: No such file or directory attachedpicture frame.h>
^ folderlistmodel /CMakeFiles/ folderlistmodel .dir/dirmodel. cpp.o] Error 1 folderlistmodel /CMakeFiles/ folderlistmodel .dir/all] Error 2
#include <taglib/
compilation terminated.
make[2]: *** [src/plugin/
make[1]: *** [src/plugin/
make: *** [all] Error 2
Usage: click build [options] DIRECTORY
You don't have to use phablet-test-setup, so I'm curious if the tests run or not.