patkaiist/swatches

Failed to build with liftoff

Closed this issue · 2 comments

AppCenter failed to build with liftoff. Here is the log:

DEPS_CFLAGS:INTERNAL=
DEPS_CFLAGS_I:INTERNAL=
DEPS_CFLAGS_OTHER:INTERNAL=
DEPS_FOUND:INTERNAL=
DEPS_INCLUDEDIR:INTERNAL=
DEPS_LIBDIR:INTERNAL=
DEPS_LIBS:INTERNAL=
DEPS_LIBS_L:INTERNAL=
DEPS_LIBS_OTHER:INTERNAL=
DEPS_LIBS_PATHS:INTERNAL=
DEPS_PREFIX:INTERNAL=
DEPS_STATIC_CFLAGS:INTERNAL=
DEPS_STATIC_CFLAGS_I:INTERNAL=
DEPS_STATIC_CFLAGS_OTHER:INTERNAL=
DEPS_STATIC_LIBDIR:INTERNAL=
DEPS_STATIC_LIBS:INTERNAL=
DEPS_STATIC_LIBS_L:INTERNAL=
DEPS_STATIC_LIBS_OTHER:INTERNAL=
DEPS_STATIC_LIBS_PATHS:INTERNAL=
DEPS_VERSION:INTERNAL=
DEPS_glib-2.0_INCLUDEDIR:INTERNAL=
DEPS_glib-2.0_LIBDIR:INTERNAL=
DEPS_glib-2.0_PREFIX:INTERNAL=
DEPS_glib-2.0_VERSION:INTERNAL=
DEPS_granite_INCLUDEDIR:INTERNAL=
DEPS_granite_LIBDIR:INTERNAL=
DEPS_granite_PREFIX:INTERNAL=
DEPS_granite_VERSION:INTERNAL=
DEPS_gtk+-3.0_INCLUDEDIR:INTERNAL=
DEPS_gtk+-3.0_LIBDIR:INTERNAL=
DEPS_gtk+-3.0_PREFIX:INTERNAL=
DEPS_gtk+-3.0_VERSION:INTERNAL=
//Details about finding PkgConfig
FIND_PACKAGE_MESSAGE_DETAILS_PkgConfig:INTERNAL=[/usr/bin/pkg-config][v0.29.1()]
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1

dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var returned exit code 1
debian/rules:13: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I: copying local configuration
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/liftoff/build//96 and its subdirectories

If you need help with this issue please stop by the gitter channel.

Affects: 0.1.3 release

Sorry about the horrible log. It's cut down so we don't spam a huge log for you, but the error didn't occure at the bottom. There is a houston bug about making it better. Anyway, I ran houston locally to get a better error log for you and ended up with this:

dpkg-source: info: building com.github.keyilan.swatches in com.github.keyilan.swatches_0.1.3.dsc
 debian/rules build
dh build 
   dh_testdir
   dh_update_autotools_config
   dh_auto_configure
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for modules 'gtk+-3.0;granite;glib-2.0'
--   No package 'granite' found
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
  CMakeLists.txt:18 (pkg_check_modules)


-- Configuring incomplete, errors occurred!

I think you need to change the granite dependency to libgranite-dev like how spice-up has it. Let me know if it's still an issue.

Thanks much.