Bug 139617 - app-text/active-dvi-1.6.0 emerge error with the file "misc.ml"
Bug#: 139617 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: text-markup@gentoo.org Reported By: bnadav@yahoo.com
Component: Ebuilds
URL: 
Summary: app-text/active-dvi-1.6.0 emerge error with the file "misc.ml"
Keywords:  
Status Whiteboard: 
Opened: 2006-07-07 16:27 0000
Description:   Opened: 2006-07-07 16:27 0000
similar to bugzilla Bug 74162, but newer, for active-dvi-1.6.0 and not for
1.4.0.

Actual results:
When I try to emerge active-dvi-1.6.0 I get the next error message during
compilation:
ocamlc -warn-error A -g -I /usr/lib/ocaml/site-packages/camlimages -c
scratch.mli
ocamlc -warn-error A -g -I /usr/lib/ocaml/site-packages/camlimages -c
thumbnails.mli
ocamlc -warn-error A -g -I /usr/lib/ocaml/site-packages/camlimages -c
dviview.mli
ocamlopt.opt -warn-error A -inline 9 -I /usr/lib/ocaml/site-packages/camlimages
-c misc.ml
ocamlopt.opt -warn-error A -inline 9 -I /usr/lib/ocaml/site-packages/camlimages
-c timeout.ml
File "misc.ml", line 117, characters 5-6:
Warning Y: unused variable l.
File "misc.ml", line 183, characters 6-9:
Warning Y: unused variable len.
File "misc.ml", line 195, characters 6-41:
Warning X: this statement never returns (or has an unsound type.)

Error: error-enabled warnings (3 occurrences)
make: *** [misc.cmx] Error 2
make: *** Waiting for unfinished jobs....

!!! ERROR: app-text/active-dvi-1.6.0 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  active-dvi-1.6.0.ebuild, line 78:   Called die

Expected results: 
Where it should compile the package. 

Additional spesifications:

             Configuration summary

Language:    ocaml version 3.09.2
Camlimages:  true
LablTk:      true
GS:           version 8.15.2 at /usr/bin/gs
Resources:   /usr/share/texmf/tex/latex/advi/
Hevea:       nope
Xinerama:    true

Thanks you.
Nadi

------- Comment #1 From nadi 2006-07-07 16:28:30 0000 -------
Portage 2.1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r4,
2.6.15-suspend2-r8 i686)
=================================================================
System uname: 2.6.15-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apm avi berkdb bitmap-fonts cli crypt css cups dhcp
dlloader dpms dri dvd dvdr dvdread eds emacs emboss encode foomaticdb fortran
gdbm gif gimp gpm gstreamer gtk gtk2 imap imlib isdnlog jpeg kde kdeenablefinal
latex libg++ libwww mad madwifi mikmod mmx motif moznoirc moznomail mozsvg mp3
mpeg mpeg2 mpeg4 ncurses nls ogg oggvorbis opengl pam password pcre pdflib perl
png ppds pppd python qt qt3 qt4 readline reflection sdl session sftp
sftplogging spell spl sse2 ssl svg tcl tcltk tcpd tetex tiff toolbar transcode
truetype truetype-fonts type1-fonts vorbis wifi win32codecs xinerama xml2 xmms
xorg xscreensaver xv zlib elibc_glibc input_devices_keyboard
input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #2 From Jakub Moc (RETIRED) 2006-07-07 16:42:41 0000 -------
This has exactly nothing in common with Gentoo bugzilla product. Kindly read
the descriptions when filing bugs.

------- Comment #3 From Alexandre Buisse (RETIRED) 2006-07-08 02:27:43 0000 -------
It's fixed in active-dvi-1.6.0-r1 that I just commited. Looks like ocaml-3.09
is more restrictive than it used to be.

Thanks for the report.