Source: gpsbabel Version: 1.6.0+ds-5 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
gpsbabel fails to cross build from source for a new reason: configure.ac gained AC_RUN_IFELSE invocations to check whether we need an -rpath for qt libraries. This property cannot be tested during cross compilation and makes the configuration fail. Given that we usually don't want an -rpath (at least in distro builds), I propose that we assume that an -rpath is not needed during cross compilation. It can still be specified as a configure parameter. The attached patch makes configuration and build succeed, but it keeps failing on help2man. See #912089 for more details on help2man. Please close this bug when fixing the AC_RUN_IFELSE part anyway. Helmut
--- gpsbabel-1.6.0+ds.orig/configure.ac +++ gpsbabel-1.6.0+ds/configure.ac @@ -364,7 +364,8 @@ [AC_MSG_RESULT(rpath required)], [AC_MSG_FAILURE(loader cannot find Qt library) LDFLAGS="$OLDFLAGS"] - )] + )], + [AC_MSG_RESULT(cross. assuming rpath not needed)] ) CPPFLAGS="$OCPPFLAGS" LIBS="$OLIBS"