Missing build dependency for libvirt-bin: libgcrypt11-dev

Bug #932889 reported by nutznboltz
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Debian)
Fix Released
Unknown
libvirt (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The libvirt-bin ("libvirt") package will not compile until the libgcrypt11-dev package is installed but running "apt-get build-dep libvirt-bin" does not install the libgcrypt11-dev package because the libvirt package debian/control file does not include it as a build dependency.

Reproducing:

1. Install Ubuntu 12.04
2. apt-get source libvirt-bin
3. apt-get build-dep libvirt-bin
4. apt-get install devscripts
5. cd libvirt-0.9.8
6. debuild -i -uc -us -b

Unexpected results:

libvirt-0.9.8/./src/libvirt.c:22:20: fatal error: gcrypt.h: No such file or directory

7. apt-get install libgcrypt11-dev
8. debuild -i -uc -us -b

works.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libvirt-bin (not installed)
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic-pae 3.2.6
Uname: Linux 3.2.0-16-generic-pae i686
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Wed Feb 15 11:49:18 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120201.2)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

tags: added: testcase
Changed in libvirt (Ubuntu):
importance: Undecided → High
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for taking the time to report this bug. I couldn't reproduce the bug here, and I noticed that libgcrypt11-dev is in the Depends for libgnutls-dev, which *is* in libvirt's Build-depends. However, as libvirt explicitly needs that include file, libgcrypt11-dev should indeed be added to the build-deps.

Changed in libvirt (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 0.9.8-2ubuntu10

---------------
libvirt (0.9.8-2ubuntu10) precise; urgency=low

  * debian/control: add libgcrypt11-dev to build-depends (LP: #932889)
 -- Serge Hallyn <email address hidden> Wed, 15 Feb 2012 13:13:09 -0600

Changed in libvirt (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
nutznboltz (nutznboltz-deactivatedaccount) wrote :

The reason I know this is I am running gnutls26 with libnettle4.
Thanks for fixing it here too.

description: updated
Changed in libvirt (Debian):
status: Unknown → New
Revision history for this message
nutznboltz (nutznboltz-deactivatedaccount) wrote :

@serge-hallyn Thanks for opening the Debian bug report. I was going to do it when I got back to where I have a Debian VM that can send SMTP.

Also the reason I use gnutls with nettle not libgcrypt is stated in LP: #926350

Changed in libvirt (Debian):
status: New → Fix Committed
Changed in libvirt (Debian):
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.