Package: librep
Version: 0.92.5-2
Tags: patch

librep FTBFS on hppa with this error:
EPLISPDIR=../lisp REP_DL_LOAD_PATH=../src/.libexec REPDOCFILE=../doc-strings 
../src/rep --batch -l rep.vm.compiler \
  -f compile-batch rep-xgettext.jl \
&& mv rep-xgettext.jlc rep-xgettext && chmod +x rep-xgettext
 ** error: --with-stack-direction is incorrect; it should be 1

Full log:
https://buildd.debian.org/status/fetch.php?pkg=librep&arch=hppa&ver=0.92.5-2&stamp=1458412716

Attached patch fixes it, by detecting the "hppa" and "metag" architectures 
where the stack grows upwards.
Actually, those two are the only ones of all currently Linux architectures, 
where the stack grows up.

Can you please apply this patch to the next upload (and ideally push it 
upstream) ?
 
Thanks,
Helge
 
diff -up ./configure.in.org ./configure.in
--- ./configure.in.org	2016-03-19 20:10:34.207567510 +0100
+++ ./configure.in	2016-03-19 20:17:49.612460597 +0100
@@ -545,6 +545,10 @@ if test "${with_stack_direction}" = unkn
       AC_MSG_RESULT([assuming downwards])
       with_stack_direction="-1"
       ;;
+    hppa*|metag*)
+      AC_MSG_RESULT([assuming upwards])
+      with_stack_direction="1"
+      ;;
     dnl any other known stack directions..?
   esac
 fi

Reply via email to