[Merge] lp:~phablet-team/mediaplayer-app/snap-it-up into lp:mediaplayer-app

Scott Sweeny scott.sweeny at canonical.com
Wed Sep 7 18:43:18 UTC 2016


Review: Needs Fixing

`snapcraft cleanbuild` fails with:

cmake /root/parts/mediaplayer-app/src -DCMAKE_INSTALL_PREFIX= -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_LIBRARY_PATH=/usr/lib
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:1 (project):
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:1 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/root/parts/mediaplayer-app/build/CMakeFiles/CMakeOutput.log".
See also "/root/parts/mediaplayer-app/build/CMakeFiles/CMakeError.log".
Command '['/bin/sh', '/tmp/tmp0xjubywb', 'cmake', '/root/parts/mediaplayer-app/src', '-DCMAKE_INSTALL_PREFIX=', '-DCMAKE_INSTALL_PREFIX:PATH=/usr', '-DCMAKE_LIBRARY_PATH=/usr/lib']' returned non-zero exit status 1
Command '['lxc', 'exec', 'snapcraft-slowly-happy-sponge', '--', 'snapcraft', 'snap', '--output', 'mediaplayer-app_0.20.5-1_amd64.snap']' returned non-zero exit status 1

I've solved this in my snaps by adding `build-essential` to `build-packages` but you could probably get away with just explicitly adding g++ or equivalent.
-- 
https://code.launchpad.net/~phablet-team/mediaplayer-app/snap-it-up/+merge/305045
Your team Ubuntu Phablet Team is subscribed to branch lp:mediaplayer-app.



More information about the Ubuntu-reviews mailing list