Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812128 - app-emulation/xen-tools-4.15.0-r2 - configure: error: Ocaml tools enabled, but missing ocamlopt or ocamlfind
Summary: app-emulation/xen-tools-4.15.0-r2 - configure: error: Ocaml tools enabled, bu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-08 07:40 UTC by Toralf Förster
Modified: 2021-09-18 09:50 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.59 KB, text/plain)
2021-09-08 07:40 UTC, Toralf Förster
Details
app-emulation:xen-tools-4.15.0-r2:20210908-030749.log (app-emulation:xen-tools-4.15.0-r2:20210908-030749.log,10.48 KB, text/plain)
2021-09-08 07:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,464.84 KB, text/plain)
2021-09-08 07:40 UTC, Toralf Förster
Details
environment (environment,126.75 KB, text/plain)
2021-09-08 07:40 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.21 KB, application/x-bzip)
2021-09-08 07:40 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.62 KB, application/x-bzip)
2021-09-08 07:40 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.83 KB, application/x-bzip)
2021-09-08 07:40 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-09-08 07:40:10 UTC
checking for ocamlfind... ocamlfind
checking for gawk... /usr/bin/awk
configure: error: Ocaml tools enabled, but missing ocamlopt or ocamlfind
configure: error: ./configure failed for tools

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-emulation/xen-tools-4.15.0-r2/work/xen-4.15.0/config.log

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20210901-134826

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0
  [2]   rust-1.54.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit f249ef23a13decc0cf47274ec268696920ca55ee
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 8 02:36:31 2021 +0000

    2021-09-08 02:36:29 UTC

emerge -qpvO app-emulation/xen-tools
[ebuild  N    ] app-emulation/xen-tools-4.15.0-r2  USE="hvm ipxe ocaml pam qemu qemu-traditional rombios sdl -api -debug -doc -flask -ovmf -pygrub -python -screen -static-libs -system-ipxe -system-qemu -system-seabios" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-09-08 07:40:11 UTC
Created attachment 738193 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-08 07:40:12 UTC
Created attachment 738196 [details]
app-emulation:xen-tools-4.15.0-r2:20210908-030749.log
Comment 3 Toralf Förster gentoo-dev 2021-09-08 07:40:14 UTC
Created attachment 738199 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-09-08 07:40:16 UTC
Created attachment 738202 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-09-08 07:40:17 UTC
Created attachment 738205 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-09-08 07:40:18 UTC
Created attachment 738208 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-09-08 07:40:20 UTC
Created attachment 738211 [details]
temp.tar.bz2
Comment 8 Tomáš Mózes 2021-09-11 09:15:43 UTC
Builds here with USE=ocaml, cannot reproduce.
Comment 9 Toralf Förster gentoo-dev 2021-09-11 09:44:24 UTC
the attached  etc.portage.tar.bz2 shows:

$ grep ocaml *
23thrown_global_use_flags:*/*  mplayer mssql -musicbrainz neon netcdf ocaml -ocamlopt ofx opengl
24thrown_package_use_flags:dev-ml/stdlib-shims                      ocamlopt
Comment 10 Tomáš Mózes 2021-09-11 11:38:03 UTC
So we should depend on ocaml[ocamlopt].
Comment 11 Joonas Niilola gentoo-dev 2021-09-11 11:42:08 UTC
(In reply to Tomáš Mózes from comment #10)
> So we should depend on ocaml[ocamlopt].

Correct. You should also add bison and gettext as BDEPEND at least (more might be needed)

and I guess move perl to BDEPEND as well?
Comment 12 Toralf Förster gentoo-dev 2021-09-11 14:25:54 UTC
;)
Comment 13 Tomáš Mózes 2021-09-12 05:41:39 UTC
(In reply to Joonas Niilola from comment #11)
> (In reply to Tomáš Mózes from comment #10)
> > So we should depend on ocaml[ocamlopt].
> 
> Correct. You should also add bison and gettext as BDEPEND at least (more
> might be needed)
> 
> and I guess move perl to BDEPEND as well?

Thanks, this is done in https://github.com/gentoo/gentoo/pull/22270
Comment 14 Larry the Git Cow gentoo-dev 2021-09-18 09:50:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28338d3edcacf55d6f89baca2bf4ee08b9f48768

commit 28338d3edcacf55d6f89baca2bf4ee08b9f48768
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2021-09-11 10:58:52 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-09-18 09:49:58 +0000

    app-emulation/xen-tools: bump to 4.14.3/4.15.1
    
    Closes: https://bugs.gentoo.org/791172
    Closes: https://bugs.gentoo.org/791463
    Closes: https://bugs.gentoo.org/803581
    Closes: https://bugs.gentoo.org/812128
    Fixes: https://github.com/gentoo/gentoo/pull/21542
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-emulation/xen-tools/Manifest                  |   2 +
 app-emulation/xen-tools/files/gentoo-patches.conf |  28 ++
 app-emulation/xen-tools/xen-tools-4.14.3.ebuild   | 533 +++++++++++++++++++++
 app-emulation/xen-tools/xen-tools-4.15.1.ebuild   | 540 ++++++++++++++++++++++
 4 files changed, 1103 insertions(+)