Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124924 - dev-ml/lablgl-1.00 ebuild is broken
Summary: dev-ml/lablgl-1.00 ebuild is broken
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-04 02:33 UTC by Patrizio Bassi
Modified: 2007-04-17 19:56 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 Patrizio Bassi 2006-03-04 02:33:45 UTC
that's a shared lib not found (i have to investigate why...

..however the ebuild doesn't stop or die...and continues...
failing in install.

togl.c:2904: warning: operation on ‘i’ may be undefined
make[2]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/Togl/src/Togl'
ocamlmklib -o togl ml_togl.o    Togl/togl.o -lGL -lGLU -lglut  -L/usr/X11R6/lib -lXext -lXmu -lX11
ocamlc -c -w s -I +labltk -I ../../src togl.mli
ocamlc -c -w s -I +labltk -I ../../src togl.ml
ocamlmklib -o togl togl.cmo -lGL -lGLU -lglut  -L/usr/X11R6/lib -lXext -lXmu -lX11
ocamlmktop  -I . -I +labltk -I ../../src -o lablgltop \
  labltk.cma lablgl.cma togl.cma
Error on dynamically loaded library: libglut.so.3: cannot open shared object file: No such file or directory
make[1]: *** [lablgltop] Error 2
make[1]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/Togl/src'
make: *** [togl] Error 2
cd src && make all LIBDIR="`ocamlc -where`"
make[1]: Entering directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/src'
cd LablGlut/src && make
make[1]: Entering directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/LablGlut/src'
ocamlc -c -w s -ccopt "-c -O -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math  -I/usr/X11R6/include -I../../src" wrap_gl.c
ocamlc -c -w s -ccopt "-c -O -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math  -I/usr/X11R6/include -I../../src" wrap_glut.c
wrap_glut.c: In function ‘ml_glutGetColor’:
wrap_glut.c:68: warning: implicit declaration of function ‘caml_copy_double’
wrap_glut.c: In function ‘ml_glutInit’:
wrap_glut.c:131: warning: implicit declaration of function ‘caml_copy_string’
wrap_glut.c: In function ‘ml_glutBitmapLength’:
wrap_glut.c:369: warning: pointer targets in passing argument 2 of ‘glutBitmapLength’ differ in signedness
wrap_glut.c: In function ‘ml_glutStrokeLength’:
wrap_glut.c:375: warning: pointer targets in passing argument 2 of ‘glutStrokeLength’ differ in signedness
wrap_glut.c: At top level:
wrap_glut.c:315: warning: ‘streq’ defined but not used
ocamlmklib -o lablglut wrap_gl.o        wrap_glut.o  -lGL -lGLU -lglut -L/usr/X11R6/lib -lXext -lXmu -lX11
ocamlc -c -w s  glut.mli
ocamlc -c -w s  glut.ml
ocamlmklib -o lablglut glut.cmo  -lGL -lGLU -lglut -L/usr/X11R6/lib -lXext -lXmu -lX11
ocamlmktop  -I . -I ../../src  -o lablgluttop \
  lablglut.cma lablgl.cma
Error on dynamically loaded library: libglut.so.3: cannot open shared object file: No such file or directory
make[1]: *** [lablgluttop] Error 2
make[1]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/LablGlut/src'
make: *** [glut] Error 2
>>> Source compiled.
>>> Test phase [not enabled]: dev-ml/lablgl-1.00

>>> Install lablgl-1.00 into /var/tmp/portage/lablgl-1.00/image/ category dev-ml
make[1]: Entering directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00'
cd src && make install
make[2]: Entering directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/src'
if test -d "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"; then : ; else mkdir -p "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"; fi
cp raw.cmi gl.cmi               glLight.cmi     glList.cmi      glMap.cmi glMat.cmi     glMisc.cmi      glPix.cmi       glClear.cmi glTex.cmi       glDraw.cmi      glFunc.cmi      gluMisc.cmi gluNurbs.cmi        gluQuadric.cmi  gluTess.cmi     gluMat.cmi glArray.cmi "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"
cp raw.mli gl.mli               glLight.mli     glList.mli      glMap.mli glMat.mli     glMisc.mli      glPix.mli       glClear.mli glTex.mli       glDraw.mli      glFunc.mli      gluMisc.mli gluNurbs.mli        gluQuadric.mli  gluTess.mli     gluMat.mli glArray.mli "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"
cp liblablgl.a lablgl.cma "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"
cd "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL" && ranlib liblablgl.a
if test -f dlllablgl.so; then cp dlllablgl.so "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/stublibs"; fi
make[2]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/src'
cd Togl/src && make install
make[2]: Entering directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/Togl/src'
make[2]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/Togl/src'
cd LablGlut/src && make install
make[2]: Entering directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/LablGlut/src'
make[3]: Entering directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/LablGlut/src'
if test -d "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"; then : ; else mkdir -p "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"; fi
cp glut.cmi "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"
cp glut.mli "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"
cp liblablglut.a lablglut.cma "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL"
cd "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/lablGL" && ranlib liblablglut.a
make[4]: Entering directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/LablGlut/src'
cp dlllablglut.so "/var/tmp/portage/lablgl-1.00/image//usr/lib/ocaml/stublibs"
make[4]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/LablGlut/src'
cp lablglut "/var/tmp/portage/lablgl-1.00/image//usr/bin"
cp: impossibile fare stat di `lablglut': No such file or directory
make[3]: *** [real-install] Error 1
make[3]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/LablGlut/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/LablGlut/src'
make[1]: *** [real-install] Error 2
make[1]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00'
make: *** [install] Error 2

!!! ERROR: dev-ml/lablgl-1.00 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_install
  ebuild.sh, line 1067:   Called src_install

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Patrizio Bassi 2006-03-04 02:38:34 UTC
just a notice...going in the ebuild tmp dir and compiling manually fixed the compilation problem and the merge worked, but the ebuild problem is still there.
Comment 2 Matthieu Sozeau (RETIRED) gentoo-dev 2006-03-04 04:05:21 UTC
Please give me your 'emerge info' output.
Comment 3 Patrizio Bassi 2006-03-04 09:22:28 UTC
i don't think it's usefull...however

System uname: 2.6.16-rc2-git1 i686 Pentium III (Katmai)
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.5-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/myportage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X X509 Xaw3d a52 aac aalib accessibility acl acpi activefilter adns alsa apache2 apm arts asf audiofile avi bash-completion berkdb bidi bitmap-fonts bootsplash browserplugin bzip2 cairo caps cdda cddb cdio cdparanoia cdr cgi chroot clamav cli client codecs crypt css cups curl dba dbus dga dhcp directfb djbfft dri edl eds emboss encode ethereal exif expat extraengine faac faad fam fbcon ffmpeg fftw firefox flac flash foomaticdb foreign-package fortran gcj gd gdbm geometry ggi gif gimp gimpprint glut glx gnokii gnome gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile h264 hal iconv idea idn imagemagick imap imlib innodb ipod irda irmc jack java javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kerberos kqemu lame lcd lcms ldap libcaca libclamav libg++ libgda libusb libwww lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb mikmod mime mmx mmx2 mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mpeg4 mplayer msn msnextras mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin oav odbc ogg oggvorbis openal opengl openssl operanom2 oss pam pcre pda pdf pdflib pdo pear perl php png pnp postgres ppds pthreads python qemu-fast qhull qt quicktime quotas readline real rrdtool rtc ruby samba scanner sdl server session sftplogging sguil slang slp snortsam soap sockets socks5 softmmu softquota spamassassin speex spell sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales vidix vorbis win32codecs wmf wsconvert wxwindows x264 xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvm xvmc zlib elibc_glibc kernel_linux linguas_it userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, MAKEOPTS

Comment 4 Alexandre Buisse (RETIRED) gentoo-dev 2006-11-03 02:36:42 UTC
Is this still being an issue with the new ocaml versions (3.09.2 and 3.09.3)?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-04-08 19:37:46 UTC
See above and get back to us, please.
Comment 6 Patrizio Bassi 2007-04-17 19:56:33 UTC
works!