Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46703 - ocaml-3.07-r1 doesn't build
Summary: ocaml-3.07-r1 doesn't build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-03 10:05 UTC by Alexey Parshin
Modified: 2004-04-19 05:02 UTC (History)
0 users

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


Attachments
the output of # ./remove_DEBUG odoc_sig.ml (1.txt,55.76 KB, text/plain)
2004-04-04 19:34 UTC, Alexey Parshin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Parshin 2004-04-03 10:05:00 UTC
../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"
Comment 1 Matthieu Sozeau (RETIRED) gentoo-dev 2004-04-04 15:16:39 UTC
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 ?
Comment 2 Alexey Parshin 2004-04-04 19:34:32 UTC
Created attachment 28713 [details]
the output of # ./remove_DEBUG odoc_sig.ml
Comment 3 Alexey Parshin 2004-04-04 19:35:48 UTC
See the attachment ..
The version of sed is 4.0.9.
Comment 4 Matthieu Sozeau (RETIRED) gentoo-dev 2004-04-05 12:34:22 UTC
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 :)
Comment 5 Alexey Parshin 2004-04-05 20:27:45 UTC
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.
Comment 6 Rakotomandimby 2004-04-19 04:51:35 UTC
i emerged it (3.07-r1) on a sparc , without problem .
Comment 7 Matthieu Sozeau (RETIRED) gentoo-dev 2004-04-19 05:02:07 UTC
I added an export LC_ALL=C to be sure it builds whatever your environment is.