Source: jnettop
Version: 0.13.0-1
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

jnettop fails to cross build from source, because it uses AC_TRY_RUN to
check whether localhost is resolvable. In the event that this doesn't
work, it simply fails the build. In other words, this is a sanity check
that is not performable during cross compilation. The best we can do
here is skip it (for cross compilation only). Please consider applying
the attached patch.

Helmut
--- jnettop-0.13.0.orig/acinclude.m4
+++ jnettop-0.13.0/acinclude.m4
@@ -163,6 +163,8 @@
       AC_MSG_RESULT(no)
       AC_MSG_ERROR([can't figure out gethostbyname_r() since localhost doesn't resolve])
 
+      ],[
+      AC_MSG_RESULT(cross. assuming yes)
       ]
 )
 ])

Reply via email to