gitg-3.17.1 fails to build in xenial

Bug #1699126 reported by Greemin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gitg (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Triaged
High
Unassigned

Bug Description

When I try to compile gitg-3.17.1 from "apt-get source" for Ubuntu 16.04 xenial.
./configure throws (after installing all dependencies):

"Requested 'libgit2-glib-1.0 < 0.24.0' but version of libgit2-glib is 0.24.0"

I tried to find a solution by asking here but it seems to be a deeper problem:
https://answers.launchpad.net/ubuntu/+source/gitg/+question/644294

Tags: ftbfs xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gitg (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting.

I can confirm this issue. I got the same error message when attempting to build gitg via `debuild -us -uc` on Ubuntu 16.04. Like one of the replies in the original question mentions, the root cause seems to be that libgit2-glib was updated to a newer version, which is incompatible with the build requirements for this package.

All packages should be buildable, but I'm not sure if there's an easy fix for this short of backporting a newer version of gitg or path (presumably) large part of it to support a newer version of the underlying library :/

tags: added: ftbfs xenial
Revision history for this message
Jeremy Bícha (jbicha) wrote :

You just need to patch configure.ac with something like this:

-LIBGIT2_GLIB_REQUIRED_MAX_VERSION=0.24.0
+LIBGIT2_GLIB_REQUIRED_MAX_VERSION=0.25.0

Changed in gitg (Ubuntu):
status: Confirmed → Fix Released
Changed in gitg (Ubuntu Xenial):
importance: Undecided → High
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.