Package: gpstrans
Version: 0.41-5
Severity: serious
Tags: sid + patch
Justification: FTBFS
User: debian-m...@lists.debian.org
Usertags: mips-patch
Hello,
Package gpstrans FTBFS on apha, mips, mips64el, mipsel, powerpc, ppc64, and
ppc64el
with following error:
getline.c:191:13: error: 'TIOCGETC' undeclared (first use in this function)
ioctl (0, TIOCGETC, &tch);
Previous version 0.41-4 was successfully built on all previously listed
architectures.
build logs:
https://buildd.debian.org/status/logs.php?pkg=gpstrans&ver=0.41-5&suite=sid
https://buildd.debian.org/status/logs.php?pkg=gpstrans&ver=0.41-4&suite=sid
Patch 04-fix-makefile.diff has not included POSIX macro for libgetline.a
library.
I have created and attached a patch resolving this issue.
Patch was tested on MIPS.
With this patch package was build successfully.
Please include this patch.
Thank you!
Regards,
Jurica
Description: re-enable POSIX macro for libgetline build
Changes to Makefile's in patch 04-fix-makefile.diff did not include POSIX macro.
Before gpstrans version 0.41-5 macro was defined in src/getline/Makefile.
Author: Jurica Stanojkovic <jurica.stanojko...@imgtec.com>
--- gpstrans-0.41.orig/src/Makefile
+++ gpstrans-0.41/src/Makefile
@@ -37,7 +37,7 @@ XFILES = gps/sendgpsinfo.o gps/dms.o gps
all: $(OFILES) $(HFILES)
@echo "Making all in ./getline"
- @(cd getline ; make CFLAGS="$(CFLAGS)" libgetline.a)
+ @(cd getline ; make CFLAGS="$(CFLAGS) -DPOSIX" libgetline.a)
@echo "Making all in ./gps"
@(cd gps ; make all CC="$(CC)" CFLAGS="$(CFLAGS)")
@echo "Making all in ./grid"