Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107216 - dev-lang/ocaml-3.08.3 fails to compile
Summary: dev-lang/ocaml-3.08.3 fails to compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-25 15:19 UTC by andrew Fabbro
Modified: 2006-03-25 05:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andrew Fabbro 2005-09-25 15:19:45 UTC
../../boot/ocamlrun ../../tools/ocamlmklib -ocamlc '../../ocamlcomp.sh -I
../unix' -o threads -oc vmthreads thread.cmo mutex.cmo condition.cmo event.cmo
threadUnix.cmo
ln -s ../../stdlib/pervasives.mli pervasives.mli
../../ocamlcomp.sh -I ../unix -c -warn-error A ../../stdlib/pervasives.mli
ln -s ../../stdlib/pervasives.cmi pervasives.cmi
../../ocamlcomp.sh -I ../unix -warn-error A -nopervasives -c pervasives.ml
The files ../../stdlib/string.cmi and pervasives.cmi
make inconsistent assumptions over interface Pervasives
make[1]: *** [pervasives.cmo] Error 2
make[1]: Leaving directory
`/noncrit/portage_tempdir/portage/ocaml-3.08.3/work/ocaml-3.08.3/otherlibs/threads'
make: *** [otherlibraries] Error 2

!!! ERROR: dev-lang/ocaml-3.08.3 failed.
!!! Function src_compile, Line 59, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Note - same problem occurs with a blank CFLAGS.


Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.11.7y i686)
=================================================================
System uname: 2.6.11.7y i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/noncrit/portage_tempdir"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm arts avi berkdb bitmap-fonts cdr clearpasswd crypt cups
curl doc eds emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 imagemagick imap imlib innodb ipv6 java jpeg junit kde libg++
libwww mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls nocd ogg
oggvorbis opengl oss pam passfile pdflib perl php png postgres python qt
quicktime readline samba sdl slang snmp spell sse ssl svga tcpd tetex tiff
truetype truetype-fonts type1-fonts vorbis xine xml xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Matthieu Sozeau (RETIRED) gentoo-dev 2005-09-25 23:42:57 UTC
Try with MAKEOPTS=-j1. 
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2006-03-25 05:03:36 UTC
agreed, probably a parallel make error