GNOME Bugzilla – Bug 605267
src/main.c and src/ui.c indirectly include gnokii.h but don't set CFLAGS for it
Last modified: 2018-08-17 18:49:30 UTC
src/main.c and src/ui.c include libgsm/phonemgr-utils.h that in turns includes <gnokii.h> but src/Makefile.am doesn't use LIBGSM_CFLAGS so this works only if gnokii.h is installed in a directory searched by default by the compiler (like /usr/local/include and /usr/include). Expected behaviour is not to include gnokii.h indirectly because main.c and ui.c don't need it. Output showing failure to find gnokii.h (libgnokii was installed with --prefix=$HOME and gnokii.pc was copied where pkg-config could find it): make all-am make[3]: Entering directory `/home/daniele/phonemgr/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gnome-bluetooth -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/evolution-data-server-2.28 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/gtkspell-2.0 -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATA_DIR="\"/usr/share/gnome-phone-manager\"" -DVERSION="\"0.65\"" -DPACKAGE="\"gnome-phone-manager\"" -I./../libgsm -I./../libgsm -I./../cut-n-paste/e-contact-entry -I./../cut-n-paste/e-contact-entry -I./../cut-n-paste/gconf-bridge -I./../cut-n-paste/gconf-bridge -I./src -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c In file included from main.c:29: ./../libgsm/phonemgr-utils.h:27:20: error: gnokii.h: No such file or directory
gnome-phone-manager is not under active development anymore since 2013. Its codebase has been archived: https://gitlab.gnome.org/Archive/phonemgr/commits/master Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.