Code review comment for lp:~mzanetti/reminders-app/switch-to-cmake

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

This fails to deploy/build for me because cmake isn't pre-installed by "run_on_ubuntu_touch.sh -s" I guess?

alan@deep-thought:/tmp/switch-to-cmake$ ./run_on_ubuntu_touch.sh -s
adbd is already running as root
ssh start/running, process 3020
Transferring code..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
sending incremental file list

sent 11638 bytes received 77 bytes 23430.00 bytes/sec
total size is 3231629 speedup is 275.85
Setting up environment for building reminders-app...
/home/alan/.ssh/known_hosts updated.
Original contents retained as /home/alan/.ssh/known_hosts.old
9 KB/s (399 bytes in 0.041s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
libboost-dev is already the newest version.
libssl-dev is already the newest version.
qt5-default is already the newest version.
qtbase5-dev is already the newest version.
qtdeclarative5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
sending incremental file list

sent 11638 bytes received 77 bytes 23430.00 bytes/sec
total size is 3231629 speedup is 275.85
alan@deep-thought:/tmp/switch-to-cmake$ ./run_on_ubuntu_touch.sh
adbd is already running as root
start: Job is already running: ssh
Transferring code..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
sending incremental file list

sent 11638 bytes received 77 bytes 23430.00 bytes/sec
total size is 3231629 speedup is 275.85
Building..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
Connection to 127.0.0.1 closed.
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
bash: cmake: command not found
Connection to 127.0.0.1 closed.
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
make: *** No targets specified and no makefile found. Stop.
Connection to 127.0.0.1 closed.
Running..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
bash: cd: reminders-app/builddir/src/app/: No such file or directory
Connection to 127.0.0.1 closed.
alan@deep-thought:/tmp/switch-to-cmake$ adb shell
root@ubuntu-phablet:/# sudo apt-get ^C
root@ubuntu-phablet:/# apt-get install cmake
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  cmake-data
Suggested packages:
  codeblocks eclipse
The following NEW packages will be installed:
  cmake cmake-data
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 3002 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty/main cmake-data all 2.8.12.1-1ubuntu3 [675 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ trusty/main cmake armhf 2.8.12.1-1ubuntu3 [2328 kB]
Fetched 3002 kB in 3s (851 kB/s)
Selecting previously unselected package cmake-data.
(Reading database ... 65038 files and directories currently installed.)
Unpacking cmake-data (from .../cmake-data_2.8.12.1-1ubuntu3_all.deb) ...
Selecting previously unselected package cmake.
Unpacking cmake (from .../cmake_2.8.12.1-1ubuntu3_armhf.deb) ...
Setting up cmake-data (2.8.12.1-1ubuntu3) ...
Setting up cmake (2.8.12.1-1ubuntu3) ...

alan@deep-thought:/tmp/switch-to-cmake$ ./run_on_ubuntu_touch.sh
adbd is already running as root
start: Job is already running: ssh
Transferring code..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
sending incremental file list

sent 11638 bytes received 77 bytes 23430.00 bytes/sec
total size is 3231629 speedup is 275.85
Building..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
Connection to 127.0.0.1 closed.
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/phablet/reminders-app/builddir
Connection to 127.0.0.1 closed.
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
Scanning dependencies of target libthrift
Scanning dependencies of target evernote-sdk-cpp
[ 1%] [ 3%] Building CXX object 3rdParty/libthrift/CMakeFiles/libthrift.dir/Thrift.cpp.o
Building CXX object 3rdParty/evernote-sdk-cpp/CMakeFiles/evernote-sdk-cpp.dir/src/Errors_constants.cpp.o

... etc

« Back to merge proposal