xentoollog_stubs.c:57: error: "Some_val" redefined [-Werror] 57 | #define Some_val(v) Field(v,0) | In file included from /usr/lib64/ocaml/caml/alloc.h:24, from xentoollog_stubs.c:23: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20211006-080015 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 0a558788bfd9eecc6911033aef239f06b57c8ec1 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Oct 14 06:36:29 2021 +0000 2021-10-14 06:36:28 UTC emerge -qpvO app-emulation/xen-tools [ebuild N ] app-emulation/xen-tools-4.15.1 USE="hvm ipxe ocaml pam qemu qemu-traditional rombios -api -debug -doc -ovmf -pygrub -python -screen -sdl (-selinux) -static-libs -system-ipxe -system-qemu -system-seabios" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Created attachment 744873 [details] emerge-info.txt
Created attachment 744876 [details] app-emulation:xen-tools-4.15.1:20211014-070942.log.bz2
Created attachment 744879 [details] emerge-history.txt
Created attachment 744882 [details] environment
Created attachment 744885 [details] etc.portage.tar.bz2
Created attachment 744888 [details] logs.tar.bz2
Created attachment 744891 [details] temp.tar.bz2
Seems related to newer OCamls.
Think https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=2d1a35f1e6c2113a6322fdb758a198608c90e4bd might fix it?
(In reply to Sam James from comment #9) > Think > https://xenbits.xen.org/gitweb/?p=xen.git;a=commit; > h=2d1a35f1e6c2113a6322fdb758a198608c90e4bd might fix it? Yes it does, thanks.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdbfdb8dd89d3b47067b235218955a15c0dd2ed commit fcdbfdb8dd89d3b47067b235218955a15c0dd2ed Author: Tomáš Mózes <hydrapolic@gmail.com> AuthorDate: 2021-10-20 12:40:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-21 04:19:53 +0000 app-emulation/xen-tools: fix building with ocaml-4.12 Closes: https://bugs.gentoo.org/818100 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-emulation/xen-tools/Manifest | 1 + .../files/xen-tools-4.15.1-ocaml-4.12.patch | 101 ++++ app-emulation/xen-tools/xen-tools-4.15.1-r2.ebuild | 556 +++++++++++++++++++++ 3 files changed, 658 insertions(+)