Dependency on libnm-glib0 missing

Bug #441334 reported by Stefan Osswald
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager-strongswan (Ubuntu)
Fix Released
Low
Fabrice Coutadeur

Bug Description

Binary package hint: network-manager-strongswan

/usr/lib/NetworkManager/libnm-strongswan-properties.so was linked against libnm_glib_vpn.so.0, but the package network-manager-strongswan does not depend on libnm-glib0.

The strongswan-nm package depends on libnm-glib2, which does not provide libnm_glib_vpn.so.0.

Using apt-get, network-manager-strongswan and its dependencies can be installed without errors, but in the VPN tab of nm-applet, the "add" button is disabled. After installing libnm-glib0, the button gets enabled and the VPN connections can be configured and established without problems.

Release: Ubuntu karmic 9.10 beta
Platform: amd64
Package versions: strongswan-nm 4.3.2-1ubuntu2, network-manager-strongswan 1.1.0-1, network-manager-gnome 0.8~a~git.20090923t220421.1ac8ffd-0ubuntu4

ProblemType: Bug
Architecture: amd64
Date: Sat Oct 3 14:20:00 2009
DistroRelease: Ubuntu 9.10
Package: network-manager-strongswan 1.1.0-1
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: network-manager-strongswan
Uname: Linux 2.6.31-11-generic x86_64

Revision history for this message
Stefan Osswald (s-osswald) wrote :
Revision history for this message
Nicolas Delvaux (malizor) wrote :

Confirmed.
But I don't have any "libnm-glib0" on my repositories, so network-manager-strongswan is unusable for me.

Changed in network-manager-strongswan (Ubuntu):
status: New → Confirmed
Revision history for this message
Stefan Osswald (s-osswald) wrote :

"libnm-glib0" has been removed from the repositories on 2009-10-05.

I had a closer look at the source package. The "network-manager-strongswan" source package fails to build on all architectures because the build dependency "libnm-glib-vpn-dev" is missing. This dependency is incorrect because the network manager package naming in Ubuntu differs from the package naming in Debian: In Ubuntu, the "network-manager-strongswan" package should build-depend on "libnm-glib-dev" instead of "libnm-glib-vpn-dev".

I tried this:
1.) Patch "Build-Depends" of network-manager-strongswan-1.1.1-1 source package (see attachment)
2.) Build and intall network-manager-strongswan binary package
3.) Rebuild and install strongswan-nm (without changes) to get DBUS bindings right

Now network-manager-strongswan does not need libnm-glib0 anymore and works for me.

Revision history for this message
Martin Willi (martinwilli) wrote :

I agree. Additionally, I have added missing shlibs and misc runtime dependencies (and updated standards-version). Requesting a sponsored upload.

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi Martin,

To reduce the diff with Debian, I prefer to use the 1.1.1-2 as the basis for the change.

I'll use the Stefan's diff on the top of your 1.1.1-2, if you're ok with that.

Fabrice

Changed in network-manager-strongswan (Ubuntu):
assignee: nobody → fabrice_sp (fabricesp)
importance: Undecided → Low
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager-strongswan - 1.1.1-2ubuntu1

---------------
network-manager-strongswan (1.1.1-2ubuntu1) karmic; urgency=low

  * debian/control: deleted build dependency on libnm-glib-vpn-dev as the
    content of this package is in libnm-glib-dev in Karmic. That fixes a
    FTBFS (Thanks Stefan Osswald) (LP: #441334)

 -- Fabrice Coutadeur <email address hidden> Sat, 24 Oct 2009 05:03:38 +0000

Changed in network-manager-strongswan (Ubuntu):
status: In Progress → 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.