[Pkg-utopia-maintainers] Bug#539888: nm-device.h needs nm-connection.h that is installed in an other package

Laurent Bigonville bigon at debian.org
Tue Aug 4 09:19:28 UTC 2009


Package: network-manager
Version: 0.7.1-1
Severity: serious

Hi,

Today I've tried to compile a software that is using nm, and I get a
FTBFS due to a missing header.

libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I.. -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -DG_LOG_DOMAIN=\"empathy\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/libxml2 -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gstreamer-0.10 -I/usr/include/geoclue -I/usr/include/dbus-1.0 -I/usr/include/libxml2 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libnm-glib -I/usr/include/NetworkManager -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wnested-externs -Wpointer-arith -Wno-sign-compare -Wno-pointer-sign -Wformat -Werror -g -O2 -g -Wall -O2 -c empathy-idle.c  -fPIC -DPIC -o .libs/empathy-idle.o
In file included from /usr/include/libnm-glib/nm-client.h:32,
                 from empathy-idle.c:29:
/usr/include/libnm-glib/nm-device.h:34:27: error: nm-connection.h: No such file or directory
In file included from /usr/include/libnm-glib/nm-client.h:33,
                 from empathy-idle.c:29:
/usr/include/libnm-glib/nm-active-connection.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nm_active_connection_get_scope'
make[4]: *** [empathy-idle.lo] Error 1

So it's look like nm-device.h needs nm-connection.h that is installed into an other package.

Build-depending against libnm-util-dev fix the FTBFS but I think there is missing a dependency (or the file should be moved)

Best Regards

Laurent Bigonville





More information about the Pkg-utopia-maintainers mailing list