Unable to build on Ubuntu 18.04
Hi,
maybe I'm doing something wrong, but I'm stuck at building dekko.
I'm using Ubuntu 18.04 bionic, so I guess, I have a sufficiently new qt version
dpkg --list qt5-default
[...]
ii qt5-default:amd64 5.9.5+dfsg-0ubuntu1 amd64
I have lxc setup.
First attempt of running
./setup-dev-env
gives me
E: Unable to locate package ubuntu-sdk-libs
E: Unable to locate package libconnectivity-qt1-dev
E: Unable to locate package qtscript5-private-dev
E: Unable to locate package qtbase5-dbg
E: Unable to locate package qtbase5-dev-tools-dbg
E: Unable to locate package qtbase5-dbg
so, for the moment I have removed those from the script. Now it runs through and ends in
Trying to detect gcc...
Profile 'gcc' created for '/usr/bin/gcc'.
Trying to detect clang...
Profile 'clang' created for '/usr/bin/clang'.
Creating profile 'dekkoqt5'.
Setting profile 'gcc' as the base profile for this profile.
Skipping prl file '/usr/lib/x86_64-linux-gnu/libQt5Bootstrap.prl', because it cannot be opened (No such file or directory).
Skipping prl file '/usr/lib/x86_64-linux-gnu/libQt5WebKitWidgets.prl', because it cannot be opened (No such file or directory).
Skipping prl file '/usr/lib/x86_64-linux-gnu/libQt5WebKit.prl', because it cannot be opened (No such file or directory).
Now I try
$ ./run-dekko2
Build graph does not yet exist for configuration 'debug'. Starting from scratch.
Resolving project for configuration debug
ERROR: Cannot open '/home/peter/docs/devel/dekko/upstream/maz-db/MazDB.qbs'.
I guess, I'm doing it wrong.
Taking a step back I guess the building can't work straight out, because on bionic, I'm not gonna get the touch sdk, so I need some kind of lxd/clickable, so I look into setup-click-env and that relies on clickable setup-lxd which doesn't work with latest clickable anymore, because that does docker now.
However, since it looks that setup-click-env/build-click do rely on clickable anyway, maybe I'm lucky with a lazy clickable --sdk 16.04, but no, it ain't that easy
clickable --sdk 16.04
No clickable.json was found, using defaults and cli args
Auto detected template to be "pure"
Copied files to temp directory for click building
Successfully built package in './dekko2.dekkoproject_0.1.6_armhf.click'.
adb: error: cannot stat '/home/peter/docs/devel/dekko/build/dekko2.dekkoproject_0.1.6_all.click': No such file or directory
Command 'adb push /home/peter/docs/devel/dekko/build/dekko2.dekkoproject_0.1.6_all.click /home/phablet/' returned non-zero exit status 1.