Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 159237
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Team for the ML programming language family <ml@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Piotr JaroszyƄski <peper@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dev-lang:ocaml-3.08.4:20070417-120653.log dev-lang:ocaml-3.08.4:20070417-120653.log text/plain Daniel Black 2007-04-17 13:15 0000 5.67 KB Details
dev-lang:ocaml-3.09.3:20070417-132801.log hopefully a useful logthis time text/plain Daniel Black 2007-04-17 13:34 0000 479.70 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 159237 depends on: Show dependency tree
Bug 159237 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-27 12:36 0000
dev-lang/ocaml-3.09.3 doesn't provide "ocamlopt" command which is needed to
compile findlib. Simple workaround is to use previous version of ocaml(tested
with 3.09.2)
I am not sure whether it's a findlib or ocaml problem.

------- Comment #1 From Daniel Black 2007-04-17 12:12:57 0000 -------
dev-ml/findlib-1.1.2_p1, dev-ml/findlib-1.0.4-r1 not compatible with
dev-lang/ocaml-3.09.3 either.

------- Comment #2 From Alexandre Buisse (RETIRED) 2007-04-17 12:18:47 0000 -------
ocaml should provide ocamlopt if you are on a supported arch, no matter if you
are using 3.09.3 or any other version. If it isn't installed, then there is a
problem with your ocaml emerge. Please try reemerging and posting the log here.
Also attach emerge --info.

------- Comment #3 From Daniel Black 2007-04-17 13:15:15 0000 -------
Created an attachment (id=116506) [details]
dev-lang:ocaml-3.08.4:20070417-120653.log

(In reply to comment #2)
> ocaml should provide ocamlopt
/usr/bin/ocamlopt.opt not close enough?

> if you are on a supported arch, no matter if you
> are using 3.09.3 or any other version.

Not sure how supported 2007.0 profile is :-)
 $ emerge --info
directories: No such file or directory
Portage 2.1.2.2 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r0,
2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4200+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 08 Mar 2007 00:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS=" -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect digest distcc distlocks keepwork
metadata-transfer nostrip sandbox sfperms splitdebug strict stricter test
verify-rdepend"
GENTOO_MIRRORS=""
LDFLAGS=" -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/dan/gentoo/gentoo-x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aac acpi adns alsa amd64 ares bash-completion berkdb
bitmap-fonts bzip2 cairo caps cli cracklib crypt cups curl dbus divx4linux dri
drm ecc emerald encode ethereal extensions fastcgi fla flac fortran fpx gd gif
gimp gimpprint glitz gmp gnutls gphoto2 graphviz gs gtk hal hardened hpn i8x0
iconv idn ilbc imagemagick imlib ipv6 isdnlog javacomm jbig jpeg jpeg2k kde
kdeenablefinal kdehiddenvisibility kerberos l7filter lcms libg++ libgda lzo lzw
mad mbox midi mmx mng mp3 mpeg mysql nptl nptlonly ntlm ogg oggvorbis openal
openexr opengl operanom2 pam pango pcre perl php png postgres ppds pppd python
qt qt3 qt4 readline reflection restrict-javascript samba session sguil slp
smime socks5 sox speex spell spl sse sse2 ssl svg svgz test tga theora tiff
true-type truetype truetype-fonts type1-fonts unicode usb vhosts vorbis wmf
x264 xine xinerama xml xml2 xorg xscreensaver zlib zrtp" ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nv vesa
nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
PORTAGE_RSYNC_EXTRA_OPTS

> If it isn't installed, then there is a
> problem with your ocaml emerge. Please try reemerging and posting the log here.
> Also attach emerge --info.
> 

------- Comment #4 From Alexandre Buisse (RETIRED) 2007-04-17 13:28:04 0000 -------
ocaml provides four compiler executables on supported architectures (which
includes amd64): to bytecode (instructions for a virtual machine) and to native
code:
-ocamlc compiles to bytecode and is in bytecode
-ocamlc.opt compiles to bytecode and is in native code
-ocamlopt compiles to native code and is in bytecode
-ocamlopt.opt compiles to native code and is in native code

So if you have ocamlopt.opt, you should have ocamlopt as well. A quick and
dirty fix would be to link ocamlopt.opt to ocamlopt, and I expect it would work
fine. 

I think something messed up in the installation phase, so please attach the
full log and not only the ewarn/elog part (by the way, there is a patch in
bugzilla for the executable stack problem).

/Alexandre

------- Comment #5 From Daniel Black 2007-04-17 13:34:15 0000 -------
Created an attachment (id=116507) [details]
hopefully a useful logthis time

------- Comment #6 From Alexis Ballier 2007-05-11 19:43:45 0000 -------
that's because you were running src_test and make bootstrap deletes ocamlopt...
hopefully this will be fixed now


  11 May 2007; Alexis Ballier <aballier@gentoo.org> ocaml-3.09.3.ebuild,
  ocaml-3.09.3-r1.ebuild:
  Dont run make bootstrap for src_test, it deletes ocamlopt, upstream does not
  provide a clean test suite, if we want one we definitely should not use make
  bootstrap, closes bug #159237 and bug #177706

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug