Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446308 - app-emulation/xen-tools-4.2.0-r1 - /bin/sh: ocamlopt: command not found
Summary: app-emulation/xen-tools-4.2.0-r1 - /bin/sh: ocamlopt: command not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Delaney (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-06 20:56 UTC by Leeman Strout
Modified: 2013-01-23 12:29 UTC (History)
2 users (show)

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


Attachments
build log (build.log,459.30 KB, text/plain)
2012-12-06 20:58 UTC, Leeman Strout
Details
build environment (environment,198.09 KB, text/plain)
2012-12-06 20:58 UTC, Leeman Strout
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leeman Strout 2012-12-06 20:56:38 UTC
emerge of xen-tools-4.2.0-r1 fails looking for ocamlopt

# emerge -pqv '=dev-lang/ocaml-4.00.1'                              [binary   R   ] dev-lang/ocaml-4.00.1  USE="ncurses -X -emacs -latex -ocamlopt -tk -xemacs"

# emerge -pqv '=app-emulation/xen-tools-4.2.0-r1'
[ebuild     U ] app-emulation/xen-tools-4.2.0-r1 [4.1.2-r3] USE="hvm qemu -api -custom-cflags -debug -doc -flask -pygrub -screen -static-libs% -xend (-selinux%)"


make[6]: Entering directory `/var/tmp/portage/app-emulation/xen-tools-4.2.0-r1/work/xen-4.2.0/tools/ocaml/libs/mmap'
 MLI      xenmmap.cmi
 MLC      xenmmap.cmo
 MLA      xenmmap.cma
 CC       xenmmap_stubs.o
 MKLIB    libxenmmap_stubs.a
 MLOPT    xenmmap.cmx
/bin/sh: ocamlopt: command not found
make[6]: *** [xenmmap.cmx] Error 127
make[6]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.2.0-r1/work/xen-4.2.0/tools/ocaml/libs/mmap'
Comment 1 Leeman Strout 2012-12-06 20:57:37 UTC
# emerge --info '=app-emulation/xen-tools-4.2.0-r1'

emerge: there are no ebuilds to satisfy "=app-emulation/xen-tools-4.2.0-r1".
Comment 2 Leeman Strout 2012-12-06 20:58:32 UTC
Created attachment 331682 [details]
build log
Comment 3 Leeman Strout 2012-12-06 20:58:47 UTC
Created attachment 331684 [details]
build environment
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-12-07 11:33:07 UTC
> emerge: there are no ebuilds to satisfy "=app-emulation/xen-tools-4.2.0-r1".

Why does it show this message? Is your `eix` out of date or isn't your portage in sync somehow?

1. Try `emerge --sync` and then `emerge --search app-emulation/xen-tools` to see more up-to-date data, paste the output here.

2. Post the output of `emerge -pv =app-emulation/xen-tools-4.2.0-r1`, if that doesn't work, try `emerge -pv app-emulation/xen-tools`.

3. Post the output of just `emerge --info` without a package atom behind it as well.
Comment 5 Leeman Strout 2012-12-07 14:15:44 UTC
Number of files: 162251
Number of files transferred: 673
Total file size: 270.01M bytes
Total transferred file size: 3.05M bytes
Literal data: 3.05M bytes
Matched data: 0 bytes
File list size: 3.83M
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 54.05K
Total bytes received: 7.04M

sent 54.05K bytes  received 7.04M bytes  179.54K bytes/sec
total size is 270.01M  speedup is 38.07

# emerge --search app-emulation/xen-tools
Searching...
[ Results for search key : app-emulation/xen-tools ]
[ Applications found : 0 ]

# emerge --search xen-tools
Searching...
[ Results for search key : xen-tools ]
[ Applications found : 1 ]

*  app-emulation/xen-tools
      Latest version available: 4.2.0-r1
      Latest version installed: 4.1.2-r3
      Size of files: 20,170 kB
      Homepage:      http://xen.org/
      Description:   Xend daemon and tools
      License:       GPL-2


# emerge -pv =app-emulation/xen-tools-4.2.0-r1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] app-emulation/xen-tools-4.2.0-r1 [4.1.2-r3] USE="hvm qemu -api -custom-cflags -debug -doc -flask -pygrub -screen -static-libs% -xend (-selinux%)" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB


# emerge --info
Portage 2.1.11.33 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.16.0, 3.6.5-gentoo x86_64)
=================================================================
System uname: Linux-3.6.5-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
Timestamp of tree: Fri, 07 Dec 2012 14:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p39
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.10.2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.6
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.5
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi amd64 bash-completion bzip2 cli cracklib cxx dbus fam hal hvm iconv ithreads libnotify logrotate mmx multilib ncurses nls nptl nptlonly ntp pam pcf pcre perl pmu python readline session sse sse2 ssl ssse3 startup-notification svg tcpd unicode xvmc zlib" ELIBC="glibc" GRUB_PLATFORMS="pc" KERNEL="linux" LINGUAS="en_US en" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2012-12-08 13:50:24 UTC
well, 

# emerge -pv =app-emulation/xen-tools-4.2.0-r1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] app-emulation/xen-tools-4.2.0-r1 [4.1.2-r3] USE="hvm qemu -api -custom-cflags -debug -doc -flask -pygrub -screen -static-libs% -xend (-selinux%)" 0 kB

displays that you have by rights already emerge dev-lang/ocaml

In my system though;

 Installed versions:  3.12.1(07:36:27 27/10/12)(X gdbm ncurses ocamlopt -emacs -latex -tk -xemacs).
and that's from a good while ago.

So try downgrading to a 3.12.1 and report if it fixes.
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2012-12-17 08:07:07 UTC
care to reply on this?
Comment 8 Leeman Strout 2012-12-17 19:37:34 UTC
Downgrading changed nothing, identical error, identical location in the build.
Comment 9 Leeman Strout 2012-12-17 20:02:51 UTC
Just tried to recompile ocaml w/ +ocamlopt and it failed so I'll be submitting a bug on that.  Plan was to see if xen-tools would compile with that enabled.
Comment 10 Leeman Strout 2012-12-23 01:44:01 UTC
With a recompiled ocaml-4.00.1 +ocamlopt, xen-tools-4.2.0 compiles without issue.