Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 212678
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Team for the ML programming language family <ml@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Juergen Rose <rose@rz.uni-potsdam.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ocaml-lablgl-1.02-tk8.5.patch ocaml-lablgl-1.02-tk8.5.patch patch Pacho Ramos 2008-03-08 17:40 0000 534 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 212678 depends on: Show dependency tree
Bug 212678 blocks: 173467
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-08 07:40 0000
root@vilm:/root(28)# emerge -vD1 lablgl
...
Calculating dependencies... done!
[ebuild  N    ] dev-ml/lablgl-1.03-r1  USE="ocamlopt tk -doc -glut" 0 kB 
[ebuild  N    ] dev-lang/swig-1.3.34  USE="guile java lua mono ocaml perl
python tcl tk -R -chicken -clisp -doc -mzscheme -php -pike -ruby" 0 kB 
...
ocamlc -c -w s -ccopt "-c -O -O2 -march=pentium4 -fomit-frame-pointer
-I../../src -ITogl  -I.  " ml_togl.c
cd Togl && make togl.o CC="ocamlc" CFLAGS='-c -ccopt "-c -O -O2 -march=pentium4
-fomit-frame-pointer -I../../src -ITogl  -I.   "'
make[2]: Entering directory
`/var/tmp/portage/dev-ml/lablgl-1.03-r1/work/lablgl-1.03/Togl/src/Togl'
ocamlc -c -ccopt "-c -O -O2 -march=pentium4 -fomit-frame-pointer -I../../src
-ITogl  -I.   " togl.c
togl.c:157: warning: data definition has no type or storage class
togl.c:157: warning: type defaults to 'int' in declaration of 'Sorry'
togl.c:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'will'
In file included from togl.c:166:
togl.h:141: warning: 'struct Togl' declared inside parameter list
togl.h:141: warning: its scope is only this definition or declaration, which is
probably not what you want
togl.h:142: warning: 'struct Togl' declared inside parameter list
...
togl.c:1255: error: 'TkWindow' undeclared (first use in this function)
...
togl.h:309: error: previous declaration of 'Togl_DumpToEpsFile' was here
make[2]: *** [togl.o] Error 2


Reproducible: Always




root@vilm:/root(30)# emerge --info
 * Overlay eclass overrides eclass from PORTDIR:
 * 
 *   '/usr/portage/local/layman/science/eclass/fortran.eclass'
 * 
 * It is best to avoid overridding eclasses from PORTDIR because it will
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you
 * are advised to run `emerge --regen` after each time that you run `emerge
 * --sync`. Set PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you
 * would like to disable this warning.
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.25-rc2
i686)
=================================================================
System uname: 2.6.25-rc2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Sat, 08 Mar 2008 00:00:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.4.4-r9, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext
-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ft
p.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
rsync://gd.tuwien.ac.at/opsys/linux/gentoo ftp://sunsite.inf
ormatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu"
LINGUAS="de fr"
PKGDIR="/usr/portage/packages/All"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exc
lude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage
/usr/local/portage/xeffects /usr/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amrr ao aotuv
apache2 asf atlas auctex audacious audiofile automount bash-comp
letion beagle berkdb bjam blas bluetooth bonobo boo boost bzip2 c++ cairo cdda
cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cr
an crypt cups curl daap dbus device-mapper dga dia divx djvu dlloader dmi dri
ds3490 dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf e
macs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg
fftw firefox fits flac fltk foomaticdb fortran fpx galago g
d gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnokii gnome
gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstrea
mer gtk guile hal hardened hddtemp hdf hdf5 hlapi http hvm iconv icq icu id3
imagemagick imap innodb ipv6 irda irmc isdnlog ithreads jabb
er java jbig john jpeg jpeg2k kerberos kexi keyring ladspa lame lapack latex
lcms ldap libgda libsamplerate lirc lm_sensors lua lzo lzw m
ad maildir math matroska matrox midi mmx mmxext mng mod mono motif mozdevelop
mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplaye
r mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network
networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs nu
marray numeric obex ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre
pda pdf perl plotutils plugins png posix postgres postscrip
t pppd preview-latex proj projectx pstricks python qhull quicktime readline
real reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool sam
ba sasl science sdl session slang slp smp sndfile snmp soup sox speex spell spl
sqlite sse sse2 ssl subtitles subversion suexec svg t1lib
 tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode
userlocales utempter v4l2 vorbis win32codecs wmf wxwindows x86 xat
tr xemacs xext xine xml xmlreader xmlrpc xorg xpm xv xvid xvmc zlib zvbi"
ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dm
ix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear
meter mulaw multi null plug rate route share shm softvol" AP
ACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd
authn_dbm authn_default authn_file authz_dbm authz_default authz
_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock dbd deflate dir disk_cache env expires ext_filter file_c
ache filter headers ident imagemap include info log_config logio mem_cache mime
mime_magic negotiation proxy proxy_ajp proxy_balancer pro
xy_connect proxy_http rewrite setenvif so speling status unique_id userdir
usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard m
ouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" V
IDEO_CARDS="mga vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Pacho Ramos 2008-03-08 17:40:55 0000 -------
Created an attachment (id=145574) [details]
ocaml-lablgl-1.02-tk8.5.patch

This patch from mandriva should fix this

------- Comment #2 From Alexis Ballier 2008-03-09 12:05:18 0000 -------
applied, thanks a lot!

be sure to rebuild dev-lang/ocaml-3.10.2 with the patch I've just comitted
otherwise lablgl will still fail because ocaml didnt detect tk8.5 and didnt
build labltk

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug