libgusb-dev is missing libjson-glib-dev dependency

Bug #2015952 reported by Marco Trevisan (Treviño)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libgusb (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)

Bug Description

Packages depending on libgusb-dev are broken right now, for example libfprint:

Determining dependency 'gusb' with pkg-config executable '/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]:
Called `/usr/bin/pkg-config --modversion gusb` -> 1
stderr:
Package json-glib-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `json-glib-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'json-glib-1.0', required by 'gusb', not found

In practice we're missing this change:
 - https://salsa.debian.org/efi-team/libgusb/-/commit/0b82db8fc0333e9d16e3e0eb9c7fa77b6d47f34c

While also https://salsa.debian.org/efi-team/libgusb/-/commit/d234a8ca7dde5c8d2b0b031270156ea4933e7724 would be nice to be included to prevent this to happen again.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

This is fixed in the attached patch, including the two mentioned commits

tags: added: rls-ll-tracking
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Marco, uploaded

Changed in libgusb (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libgusb - 0.4.5-1ubuntu1

---------------
libgusb (0.4.5-1ubuntu1) lunar; urgency=medium

  [ Simon McVittie ]
  * d/control: Add missing dependency libgusb-dev -> libjson-glib-dev
    (LP: #2015952)
  * Add a superficial autopkgtest for libgusb-dev
    This checks whether the -dev package has all the required dependencies
    to link a simple program with libgusb.

 -- Marco Trevisan (Treviño) <email address hidden> Wed, 12 Apr 2023 06:37:28 +0200

Changed in libgusb (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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