Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818100 - app-emulation/xen-tools-4.15.1 - xentoollog_stubs.c:57: error: Some_val redefined [-Werror]
Summary: app-emulation/xen-tools-4.15.1 - xentoollog_stubs.c:57: error: Some_val redef...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2021-10-14 07:33 UTC by Toralf Förster
Modified: 2021-10-21 04:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.87 KB, text/plain)
2021-10-14 07:33 UTC, Toralf Förster
Details
app-emulation:xen-tools-4.15.1:20211014-070942.log.bz2 (app-emulation:xen-tools-4.15.1:20211014-070942.log.bz2,86.01 KB, application/x-bzip)
2021-10-14 07:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,495.44 KB, text/plain)
2021-10-14 07:33 UTC, Toralf Förster
Details
environment (environment,128.36 KB, text/plain)
2021-10-14 07:33 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,35.65 KB, application/x-bzip)
2021-10-14 07:33 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,15.48 KB, application/x-bzip)
2021-10-14 07:33 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,114.87 KB, application/x-bzip)
2021-10-14 07:33 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-10-14 07:33:34 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-10-14 07:33:35 UTC
Created attachment 744873 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-10-14 07:33:36 UTC
Created attachment 744876 [details]
app-emulation:xen-tools-4.15.1:20211014-070942.log.bz2
Comment 3 Toralf Förster gentoo-dev 2021-10-14 07:33:38 UTC
Created attachment 744879 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-10-14 07:33:40 UTC
Created attachment 744882 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-10-14 07:33:41 UTC
Created attachment 744885 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-10-14 07:33:42 UTC
Created attachment 744888 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-10-14 07:33:43 UTC
Created attachment 744891 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-14 07:34:45 UTC
Seems related to newer OCamls.
Comment 10 Tomáš Mózes 2021-10-20 12:44:25 UTC
(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.
Comment 11 Larry the Git Cow gentoo-dev 2021-10-21 04:20:21 UTC
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(+)