Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28145 - source related compile error in ocaml 3.06 (needed by mldonkey)
Summary: source related compile error in ocaml 3.06 (needed by mldonkey)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-07 21:28 UTC by Benjamin Schulz
Modified: 2003-09-09 13:49 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 Benjamin Schulz 2003-09-07 21:28:10 UTC
emerge -u mldonkey leads in the package dev-lang/ocaml-3.06

cltkImg.c: In function `camltk_setimgdata_native':
cltkImg.c:102: too few arguments to function `Tk_PhotoPutBlock'
make[2]: *** [cltkImg.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/ocaml-3.06/work/ocaml-3.06/otherlibs/labltk/support'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/ocaml-3.06/work/ocaml-3.06/otherlibs/labltk'
make: *** [otherlibraries] Error 2

!!! ERROR: dev-lang/ocaml-3.06 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge dev-lang/ocaml-3.06





Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops 
-fforce-addr -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops 
-fforce-addr -fprefetch-loop-arrays"
DISTDIR="/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 crypt encode foomaticdb libg++ mad mikmod ncurses nls slang xv zlib sdl
gpm tcpd pam ssl python esd imlib motif -3dfx -3dnow acpi -alsa -apacha apm arts
avi -berkdb -bonobo -canna cdr -cjk cups dga doc -dvd emacs -firebird
footmaticdb -freewn -gb gd gdbm gif -gnome -gphoto2 -gps gtk gtk2 -gtkhtml
-guile icc icc-pgo -informix java -jikes -joystick jpeg kde -lirc libwww -matrox
mmx mozilla mpeg mule -nhc98 -oci8 -odbc oggvorbis opengl oss -pda pdflib
-pcmcia perl png plotutils -postgres qt quicktime readline -ruby -samba scanner
slp spell sse svga tetex tcltk tiff truetype usb -voodoo3 X wmf -Xaw3d -xinerama
xml xml2 -xmms -yeo ylib"
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2003-09-09 10:05:35 UTC
Hi Benjamin.

I see this is tk related. Please try emerging ocaml-3.06-r1.ebuild, which should have this fixed. I would like to unmask the -r1 upon getting test report[s].

George
Comment 2 Benjamin Schulz 2003-09-09 12:31:33 UTC
r1 worked completely....

thank you.
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2003-09-09 13:49:42 UTC
Thanks for testing, I have unmasked the -r1 ebuild.
Actually I just issued the -r2 (keymasked) to fix some outdated flags to head utility in ocaml code - a potential problem in the future. Nobody should see any difference (well, may be except some people on weird arches who already triggered this :)), but testing is always ppreciated ;).

Closing this bug now.

George