Bug 46703 - ocaml-3.07-r1 doesn't build
|
Bug#:
46703
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: ml@gentoo.org
|
Reported By: alexeyp@tts-sf.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: ocaml-3.07-r1 doesn't build
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-04-03 10:05 0000
|
../ocamlcomp.sh -pp './remove_DEBUG' -I ../parsing -I ../utils -I ../typing -I
../driver -I ../bytecomp -I ../tools -I ../toplevel/ -I ../stdlib -I
../otherlibs/str -I ../otherlibs/dynlink -I ../otherlibs/unix -I
../otherlibs/num -I ../otherlibs/graph -warn-error A -c odoc_sig.ml
File "odoc_sig.ml", line 1302, characters 16-17:
Syntax error
make[1]: *** [odoc_sig.cmo] Error 2
make[1]: Leaving directory
`/var/tmp/portage/ocaml-3.07-r1/work/ocaml-3.07/ocamldoc'
make: *** [ocamldoc] Error 2
!!! ERROR: dev-lang/ocaml-3.07-r1 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)
screamer root # emerge info
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo)
=================================================================
System uname: 2.6.4-gentoo i686 AMD Athlon(TM) MP 2000+
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-mp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-mp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aim alsa amd apache2 apm arts autofs avantgo avi berkdb cddb cdr
client crypt cups dga directfb dvd dvdr encode esd fax fbdev ffmpeg flac fltk
foomaticdb freetype fs gd gdbm gif glut gnome gpm gtk gtk2 icq imap imlib
informix jabber java javascript joystick jpeg kde lesstif libg++ libwww mad
maildir mbox mcal mdb mikmod mmx mng motif mozcalendar mozilla mpeg mpeg4 msn
music mysql ncurses neXt net netcdf nls nvidia oci8 offensive oggvorbis opengl
oss pam pcap pda pdflib perl php png postgres ppds pthreads python qt quicktime
readline rplay samba scanner sdl slang snmp spell ssl svga tcltk tcpd tiff
transcode truetype type1 usb virus-scan wmf x86 xine xml2 xmms xv xvid yahoo
zlib zvbi"
It seems the ./remove_DEBUG script doesn't work well on your box, could you
please go the the /var/tmp/portage/ocaml-3.07-r1/work/ocaml-3.07/ocamldoc
directory and send the output of # ./remove_DEBUG odoc_sig.ml ? Also what
version of sed have you installed ?
See the attachment ..
The version of sed is 4.0.9.
It seems your locale settings are making the sed script fail. What are your
$LC_ALL and $LANG set to ? If something non-standard, you can try
# LC_ALL=C LANG= emerge ocaml
and tell me how it works :)
The locale stuff worked - I've emerged the ocaml package. It's still a question
why since I never changed local settings :( In my case both LC_ALL and LANG are
not defined.
i emerged it (3.07-r1) on a sparc , without problem .
I added an export LC_ALL=C to be sure it builds whatever your environment is.