question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with Houston CI and Granite

See original GitHub issue

Houston CI has been giving me some issues with Notifier ever since I added in Granite.
It is saying that it can’t find the package “granite,” and I’m not sure if this is a bug that other devs are seeing, or if I have a mistake in my CMakeLists.txt file.
Travis CI allows me to see that these errors started when I introduced Granite.
The last passing build had no mention of Granite, and the first failing build had mention of Granite.


Loki's CI Error:
Loki Code


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'
--   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:62 (pkg_check_modules)
-- Configuring incomplete, errors occurred



Juno's CI Error:
Juno Code


cd obj-x86_64-linux-gnu && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- 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
-- Detecting C compile features
-- Detecting C compile features - 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
-- 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'
--   No package 'granite' found
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593 (_pkg_check_modules_internal)
  CMakeLists.txt:62 (pkg_check_modules)
-- Configuring incomplete, errors occurred!


Notifier’s CMakeLists.txt


Granite is mentioned as a required dependency on line 62.
All compiles well client side.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Timecraftcommented, Jun 24, 2018

Just` checked Sequeler’s Debian Control file, and that seems to be the case! Thanks so much Mr. Foré!

1reaction
danirabbitcommented, Jun 24, 2018

It looks like you haven’t added granite to your build dependencies in your Debian control file 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Houston's Flood Is a Design Problem - The Atlantic
One problem is that people care about flooding, because it's dramatic and catastrophic. They don't care about stormwater management, which is ...
Read more >
Double Jeopardy in Houston - Union of Concerned Scientists
There is compelling evidence that people of color and those living in poverty are exposed to higher levels of en- vironmental pollution than...
Read more >
Welcome to the City of Houston eGovernment Center
311 Help and Info Animal Adoptions Trash / Recycling Health Department Housing Parks and Recreation Open Data Report Fraud / Waste View More...
Read more >
Cy-Fair - Community Impact
The CI Breakdown Podcast · Houston tackles illegal dumping issues; study reveals high rates of local subsidence · Chip shortage fuels expensive Houston...
Read more >
HOUSTON-GALVESTON, TEXAS
Extensive subsidence, caused mainly by ground-water pumping but also by oil and gas extraction, has increased the frequency of flooding, caused extensive damage ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found