Package: navit
Version: 0.5.3+dfsg.1-2+b1
Severity: important

Dear Maintainer,

Navit fails to connect to gpsd, giving the log messages below:
debug:vehicle_gpsd:vehicle_gpsd_try_open:Trying to connect to localhost:2947
error:vehicle_gpsd:vehicle_gpsd_try_open:Warning: gps_fd is 0, most likely you 
have used a gps.h incompatible to libgps
debug:vehicle_gpsd:vehicle_gpsd_try_open:Connected to gpsd fd=0 
evwatch=0x55b82d8e5460

xgps, gpsmon, cgps, and a test program work fine:
#include <stdio.h>
#include "gps.h"

int main()
{
        int ret;
        struct gps_data_t gps;

        ret = gps_open("localhost", "2947", &gps);
        printf("Opened FD %d, return code %d\n", gps.gps_fd, ret);

        return 0;
}
$ gcc foo.c -o foo -lgps
$ ./foo
Opened FD 3, return code 0

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 5.3.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, 
TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages navit depends on:
ii  libc6               2.29-6
ii  libdbus-1-3         1.12.16-2
ii  libdbus-glib-1-2    0.110-5
ii  libfontconfig1      2.13.1-2+b1
ii  libfreetype6        2.10.1-2
ii  libfribidi0         1.0.8-2
ii  libgarmin0          0~svn320-6
ii  libglib2.0-0        2.62.4-1
ii  libgps25            3.20-1
ii  libspeechd2         0.9.1-3
ii  navit-data          0.5.3+dfsg.1-2
ii  navit-gui-internal  0.5.3+dfsg.1-2+b1
ii  zlib1g              1:1.2.11.dfsg-1+b1

Versions of packages navit recommends:
ii  gpsd  3.20-1

Versions of packages navit suggests:
pn  maptool  <none>

-- Configuration Files:
/etc/navit/navit.xml changed [not included] (added port number explicitly)

-- no debconf information

Reply via email to