Can't build with phablet-tools

Bug #1308280 reported by Alan Pope 🍺🐧🐱 🦄 on 2014-04-15
8
This bug affects 1 person
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

Nicholas Skaggs (nskaggs) wrote :

I'm seeing build failures :-(

/ubuntu-filemanager-app/src/plugin/folderlistmodel/dirmodel.cpp:43:41: fatal error: taglib/attachedpictureframe.h: No such file or directory
 #include <taglib/attachedpictureframe.h>
                                         ^
compilation terminated.
make[2]: *** [src/plugin/folderlistmodel/CMakeFiles/folderlistmodel.dir/dirmodel.cpp.o] Error 1
make[1]: *** [src/plugin/folderlistmodel/CMakeFiles/folderlistmodel.dir/all] Error 2
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.

Nicholas Skaggs (nskaggs) wrote :

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 :

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-filemanager-app.qml:20 module "org.nemomobile.folderlistmodel" is not installed

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 :

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-filemanager-app, milestone alpha-1

Changed in ubuntu-filemanager-app:
status: Confirmed → Fix Committed
David Planella (dpm) on 2014-04-25
Changed in reminders-app:
status: Confirmed → Fix Committed
David Planella (dpm) on 2014-05-06
Changed in ubuntu-filemanager-app:
status: Fix Committed → Fix Released
Changed in reminders-app:
status: Fix Committed → Fix Released
Bartosz Kosiorek (gang65) wrote :

Hi.
I tried to builld filemanager and I have following error:

[ 73%] Building CXX object src/plugin/folderlistmodel/CMakeFiles/nemofolderlistmodel.dir/dirmodel.cpp.o
/home/a/dev/coreapps/ubuntu-filemanager-app/src/plugin/folderlistmodel/dirmodel.cpp:43:41: fatal error: taglib/attachedpictureframe.h: No such file or directory
 #include <taglib/attachedpictureframe.h>
                                         ^
compilation terminated.
make[2]: *** [src/plugin/folderlistmodel/CMakeFiles/nemofolderlistmodel.dir/dirmodel.cpp.o] Error 1
make[1]: *** [src/plugin/folderlistmodel/CMakeFiles/nemofolderlistmodel.dir/all] Error 2
make: *** [all] Error

Do you know how to resolve it?

David Planella (dpm) wrote :

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.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers