Stéphane Glondu
2021-Dec-26 20:06 UTC
[Pkg-xen-devel] Bug#1002658: FTBFS with OCaml 4.13.1
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 errorsPackages 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
Hans van Kranenburg
2021-Dec-27 16:45 UTC
[Pkg-xen-devel] Bug#1002658: Bug#1002658: FTBFS with OCaml 4.13.1
Hi St?phane, On 12/26/21 9:06 PM, St?phane Glondu wrote:> [...] > > Your package FTBFS with OCaml 4.13.1 with the following error: >> [...] >> 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 errorsThanks for the report. There is an upstream fix for the ocaml redefinition issues, so that's at least a good thing. This fix is already in the released Xen 4.16, but not in Xen 4.14 that is in unstable now. https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=2d1a35f1e6c2113a6322fdb758a198608c90e4bd We're currently preparing the upload of the new Xen 4.16 to Debian experimental->unstable. So, either when that one reaches unstable, or, also, when we have to do another intermediate Xen 4.14 upload to unstable first (e.g. some more urgent security fixes), we can resolve this. Let me know if you have specific wishes around deadline etc for completing the ocaml transition. It doesn't take much effort for us to do a -2 upload to unstable which only will include the above upstream fix as change. So, when we would get into the critical path of progress in your work, feel free to ask for that. Thanks, Hans
Debian Bug Tracking System
2022-Feb-19 21:24 UTC
[Pkg-xen-devel] Bug#1002658: marked as done (FTBFS with OCaml 4.13.1)
Your message dated Sat, 19 Feb 2022 21:20:52 +0000 with message-id <E1nLX9w-000CU2-Fs at fasolo.debian.org> and subject line Bug#1002658: fixed in xen 4.16.0+51-g0941d6cb-1 has caused the Debian Bug report #1002658, regarding FTBFS with OCaml 4.13.1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 1002658: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002658 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: =?utf-8?q?St=C3=A9phane_Glondu?= <glondu at debian.org> Subject: FTBFS with OCaml 4.13.1 Date: Sun, 26 Dec 2021 21:06:39 +0100 Size: 5186 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20220219/2421bc71/attachment.eml> -------------- next part -------------- An embedded message was scrubbed... From: Debian FTP Masters <ftpmaster at ftp-master.debian.org> Subject: Bug#1002658: fixed in xen 4.16.0+51-g0941d6cb-1 Date: Sat, 19 Feb 2022 21:20:52 +0000 Size: 9306 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20220219/2421bc71/attachment-0001.eml>