[Pkg-running-devel] Bug#693285: garmin-forerunner-tools: FTBFS on hurd

Ralf Treinen treinen at debian.org
Thu Nov 15 07:24:44 UTC 2012


Package: garmin-forerunner-tools
Version: 0.10-3
Severity: normal
Tags: patch, pending

garmin-forerunner-tools does not compile on hurd:

run.c: In function 'garmin_save_runs':
run.c:202:28: error: 'PATH_MAX' undeclared (first use in this function)
run.c:202:28: note: each undeclared identifier is reported only once for each function it appears in
run.c:202:23: warning: unused variable 'path' [-Wunused-variable]
make[3]: *** [run.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1

The problem is that PATH_MAX does not exist on hurd. The declaration of 
the variable has to be changed to char* in case the macro PATH_MAX is not
defined.

-Ralf.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages garmin-forerunner-tools depends on:
ii  libc6         2.13-36
ii  libusb-0.1-4  2:0.1.12-23+nmu1

garmin-forerunner-tools recommends no packages.

garmin-forerunner-tools suggests no packages.

-- no debconf information



More information about the Pkg-running-devel mailing list