[Pkg-xen-devel] Bug#1002658: FTBFS with OCaml 4.13.1

Stéphane Glondu glondu at debian.org
Sun Dec 26 20:06:39 GMT 2021


Source: xen
Version: 4.14.3+32-g9de3671772-1
Severity: important
Tags: ftbfs

Dear Maintainer,

Your package FTBFS with OCaml 4.13.1 with the following error:
> x86_64-linux-gnu-gcc -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MP -MF .xentoollog_stubs.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -g -O2 -ffile-prefix-map=/tmp/build/xen-4.14.3+32-g9de3671772=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Werror -I/usr/lib/ocaml -Wno-declaration-after-statement -I/tmp/build/xen-4.14.3+32-g9de3671772/tools/ocaml/libs/xentoollog/../../../../tools/libs/toollog/include -I/tmp/build/xen-4.14.3+32-g9de3671772/tools/ocaml/libs/xentoollog/../../../../tools/include  -c -o xentoollog_stubs.o xentoollog_stubs.c
> xentoollog_stubs.c:57: error: "Some_val" redefined [-Werror]
>    57 | #define Some_val(v) Field(v,0)
>       | 
> In file included from /usr/lib/ocaml/caml/alloc.h:24,
>                  from xentoollog_stubs.c:23:
> /usr/lib/ocaml/caml/mlvalues.h:404: note: this is the location of the previous definition
>   404 | #define Some_val(v) Field(v, 0)
>       | 
> cc1: all warnings being treated as errors

Packages rebuilt with OCaml 4.13.1 are available at:

  https://ocaml.debian.net/transitions/ocaml-4.13.1/


Cheers,

-- 
Stéphane

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

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


More information about the Pkg-xen-devel mailing list