Summary: | OCaml doesn't build with tcl/tk 8.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Witrant <mike.pub> |
Component: | [OLD] Development | Assignee: | Stanislav Brabec <utx> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | ogunden |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://caml.inria.fr/archives/200304/msg00385.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael Witrant
2003-07-20 07:10:23 UTC
OCaml doesn't support tcl/tk 8.4 yet. According to the message[1] in the OCaml mailing list, only the CVS version works. [1] http://caml.inria.fr/archives/200304/msg00385.html Reproducible: Always Steps to Reproduce: 1. export USE="tcltk" 2. emerge dev-lang/tk 3. emerge dev-lang/ocaml Actual Results: cltkImg.c: Dans la fonction « camltk_setimgdata_native »: cltkImg.c:102: pas assez d'argument pour la fonction « Tk_PhotoPutBlock » make[2]: *** [cltkImg.o] Erreur 1 Sorry, this is the french error. "LC_ALL=C emerge ocaml" didn't change that to english (why?). You'll find the english error in this message from the OCaml mailing list: http://caml.inria.fr/archives/200304/msg00385.html Expected Results: Should build... The ebuild should either apply a patch taken from the CVS version of OCaml, or block the build when tk 8.4 is installed. Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu x/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/mnt/debian/tmp/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/mnt/debian/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 apm avi crypt cups encode foomaticdb gif jpeg libwww mad mikmod mpeg nc urses pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang re adline ggi tcltk guile mysql X sdl gpm tcpd pam ssl perl python esd imlib oggvor bis opengl mozilla gphoto2 cdr mmx 3dnow fbcon oss libg++ nls -arts -svga -qt -k de -motif gtk gnome java ruby" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" 3.07 beta1 was released 2003-07-22. Can we solve the problem by updating to it? Yes, version 3.07 beta 1 solves the tk8.4 problem. Actually, I was wrong in my initial report. I thought tk 8.4 was in the main portage tree, because it really is in my system (I made a custom ebuild for tk8.4 months ago). So I changed the severity from blocker to enhancement, since this bug doesn't appear by default. A new masked 3.07beta1 ebuild could solve the problem for people using tcl/tk 8.4. have you tried ocaml-3.06-r1 (~x86)? it seems to be applying the necessary patch: epatch ${FILESDIR}/ocaml-3.06-tcltk-8.4compat-patch.bz2 if you haven't already, please test this and see if it fixes? Yes, it works. Sorry for this wrong bug report. Looks like it has been fixed since may. |