[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#868849: src:orpie: FTBFS with ocaml 4.05.0



Package: src:orpie
Version: 1.5.2-1
Severity: important

Dear Maintainer,

orpie FTBFS with ocaml 4.05.0. Relevant log:

> [...]
> cd gsl && ocamlc.opt -ccopt "-I/usr/include  -g -O2 -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_error.c
> In file included from mlgsl_error.c:9:0:
> mlgsl_error.c: In function 'ml_gsl_raise_exn':
> /usr/lib/ocaml/caml/memory.h:236:12: error: 'caml__frame' undeclared (first use in this function)
>      (void) caml__frame, \
>             ^
> /usr/lib/ocaml/caml/memory.h:309:3: note: in expansion of macro 'CAMLxparam2'
>    CAMLxparam2 (x, y)
>    ^~~~~~~~~~~
> mlgsl_error.c:37:3: note: in expansion of macro 'CAMLlocal2'
>    CAMLlocal2(exn_msg, exn_arg);
>    ^~~~~~~~~~
> /usr/lib/ocaml/caml/memory.h:236:12: note: each undeclared identifier is reported only once for each function it appears in
>      (void) caml__frame, \
>             ^
> /usr/lib/ocaml/caml/memory.h:309:3: note: in expansion of macro 'CAMLxparam2'
>    CAMLxparam2 (x, y)
>    ^~~~~~~~~~~
> mlgsl_error.c:37:3: note: in expansion of macro 'CAMLlocal2'
>    CAMLlocal2(exn_msg, exn_arg);
>    ^~~~~~~~~~
> Makefile:219: recipe for target 'gsl/mlgsl_error.o' failed
> make[1]: *** [gsl/mlgsl_error.o] Error 2
> make[1]: Leaving directory '/tmp/orpie-1.5.2'
> debian/rules:21: recipe for target 'build-stamp' failed
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

From a cursory look, CAMLxparam2 should be CAMLparam2.


Cheers,

-- 
Stéphane


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply to: