Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74162 - active-dvi doesn't compile
Summary: active-dvi doesn't compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
: 144991 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-11 21:45 UTC by Andras BALI
Modified: 2008-07-09 15:10 UTC (History)
3 users (show)

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 Andras BALI 2004-12-11 21:45:20 UTC
When I try to emerge active-dvi, I get the following error message:

Reproducible: Always
Steps to Reproduce:
1. emerge active-dvi


Actual Results:  
------------------------------------------------- Configuration finished
Language:    ocaml version 3.08.2
cdk_config:  false
Camlimages:  true
CamlTk:      true
GS:           version 7.07.1 at /usr/bin/gs
Resources:   /usr/share/texmf/tex/latex/advi/
------------------------------------------------------------------------
Makefile:223: .depend: No such file or directory
ocamldep *.mli config.ml timeout.ml misc.ml graphicsY11.ml options.ml busy.ml
rc.ml gterm.ml scratch.ml launch.ml userfile.ml input.ml symbol.ml search.ml
shot.ml drawimage.ml dvicolor.ml table.ml pkfont.ml ttfont.ml jfm.ml font.ml
glyph.ml devfont.ml units.ml dimension.ml gs.ml transimpl.ml embed.ml grdev.ml
dvi.ml addons.ml driver.ml ageometry.ml thumbnails.ml dviview.ml main.ml > .depend
File "input.ml", line 60, characters 9-19:
Integer literal exceeds the range of representable integers of type int
File "dvi.ml", line 210, characters 9-19:
Integer literal exceeds the range of representable integers of type int
make: *** [.depend] Error 2

!!! ERROR: app-text/active-dvi-1.4.0 failed.
!!! Function src_compile, Line 73, Exitcode 2


Expected Results:  
Should compile.

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-nitro1 i686)
=================================================================
System uname: 2.6.9-nitro1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 23 2004, 16:14:47)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.9.3, 1.5, 1.6.3, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms userpriv"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/trunk /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X alsa audiofile avi berkdb bitmap-fonts bonobo cddb
cdparanoia cdr crypt cups curl curlwrappers divx4linux dvd dvdread edl eds
encode escreen esd evo exif f77 fam fbcon flac foomaticdb fortran freetype ftp
gdbm gif gimpprint gnome gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal icq
imagemagick imap imlib jabber java javascript jce jpeg lcms ldap libg++ libwww
live lua lufsusermount lzo lzw lzw-tiff mad maildir matroska mbox mikmod mmx mng
motif mozcalendar mozilla mozsvg mozxmlterm mp3 mpeg mplayer msn mysql ncurses
network nntp nptl nvidia oggvorbis opengl oscar oss pam pcap pcre pda pdf pdflib
perl png ppds python quicktime readline rtc samba sdl slang sockets softmmu
spell sse ssl stroke svg t1lib tcltk tetex theora tiff truetype usb v4l v4l2
videos wmf x86 xine xml xml2 xmms xosd xpm xsl xv xvid xvmc yahoo zlib zvbi"
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-08 04:01:35 UTC
Sorry for the delay. Does MAKEOPTS=-j1 solve the problem?
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-08 05:10:35 UTC
I confirmed the problem (with gcc-3.4.3), but active-dvi-1.6.0.ebuild
doesn't have this issue. Please run `emerge --sync` and try that version.
Comment 3 Andras BALI 2005-02-08 08:46:01 UTC
Okay it compiles now, thanks. BTW do you have any idea why I get these error messages when I try to view a DVI file?

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 aer12
mktexpk: don't know how to create bitmap font for aer12.
kpathsea: Appending font creation commands to missfont.log.
Warning: file aer12.pk is not found
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 aer12
mktexpk: don't know how to create bitmap font for aer12.
kpathsea: Appending font creation commands to missfont.log.
Warning: file aer12.pk is not found
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 aer17
mktexpk: don't know how to create bitmap font for aer17.
kpathsea: Appending font creation commands to missfont.log.
Warning: file aer17.pk is not found
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 aer17
mktexpk: don't know how to create bitmap font for aer17.
kpathsea: Appending font creation commands to missfont.log.
Warning: file aer17.pk is not found

And no letters are displayed. Xdvi, dvips and others work fine. missfont.log contains:

mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 aer12
mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 aer12
mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 aer17
mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 aer17
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-12 06:52:38 UTC
Could you attach the file you actually failed to display with active-dvi?
(Also, which version of tetex are you using?)
Comment 5 Andras BALI 2005-02-12 07:02:36 UTC
It seems to be caused by \usepackage{ae}. For example:

\documentclass{article}
\usepackage{ae}
\begin{document}
\section{Foobar}
Lorem ipsum dolor sit amet
\end{document}

I'm using tetex-2.0.2-r5.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-08-24 11:03:03 UTC
*** Bug 144991 has been marked as a duplicate of this bug. ***
Comment 7 Emiliano Vavassori 2007-02-25 15:25:59 UTC
(In reply to comment #3)
> And no letters are displayed. Xdvi, dvips and others work fine. missfont.log
> contains:

Probably, you need to add to active-dvi config file the specifications for ae-fonts.

I discourage the use of ae.sty, anyway...
Comment 8 Efrem Vitali 2007-05-04 17:28:42 UTC
I am having the same problem with 1.4.0 and 1.6.0 (unmasked):

------------------------------------------------- Configuration finished
Language: ocaml version 3.09.3
cdk_config: false
Camlimages: true
CamlTk: false
GS: version 8.15.3 at /usr/bin/gs
Resources: /usr/lib/advi/
------------------------------------------------------------------------
Makefile:223: .depend: No such file or directory
ocamldep *.mli config.ml timeout.ml misc.ml graphicsY11.ml options.ml busy.ml rc.ml gterm.ml scratch.ml launch.ml userfile.ml input.ml symbol.ml search.ml shot.ml drawimage.ml dvicolor.ml table.ml pkfont.ml ttfont.ml jfm.ml font.ml glyph.ml devfont.ml units.ml dimension.ml gs.ml transimpl.ml embed.ml grdev.ml dvi.ml addons.ml driver.ml ageometry.ml thumbnails.ml dviview.ml main.ml > .depend
File "input.ml", line 60, characters 9-19:
Integer literal exceeds the range of representable integers of type int
File "dvi.ml", line 210, characters 9-19:
Integer literal exceeds the range of representable integers of type int
make: *** [.depend] Error 2

!!! ERROR: app-text/active-dvi-1.4.0 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3105: Called src_compile
active-dvi-1.4.0.ebuild, line 73: Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-text/active-dvi-1.4.0/temp/build.log'.



And for 1.6.0 (unmasked):

------------------------------------------------- Configuration finished

             Configuration summary

Language:    ocaml version 3.09.3
Camlimages:  true
LablTk:      false
GS:           version 8.15.3 at /usr/bin/gs
Resources:   /usr/lib/advi/
Hevea:       nope
Xinerama:    true
------------------------------------------------------------------------
Makefile:244: .depend: No such file or directory
ocamldep *.mli config.ml misc.ml timeout.ml ageometry.ml options.ml rc.ml userfile.ml graphicsY11.ml global_options.ml busy.ml gradient.ml gterm.ml launch.ml dvicolor.ml shot.ml laser_pointer.ml symbol.ml input.ml table.ml pkfont.ml ttfont.ml jfm.ml search.ml font.ml glyph.ml devfont.ml units.ml dimension.ml dvi.ml drawimage.ml gs.ml transimpl.ml embed.ml grdev.ml addons.ml scratch.ml cdvi.ml driver.ml thumbnails.ml dviview.ml main.ml > .depend
gcc -MM -I/usr/lib/ocaml -DHAVE_XINERAMA -I/usr/X11R6/include -O -fno-defer-pop -Wall -Wno-unused events.c grwm.c grY11.c \
                | sed -e 's|/usr/lib/ocaml/[^ ]*||' >> .depend
chmod a+w .depend
ocamlc -warn-error A -g -ccopt "-DHAVE_XINERAMA -I/usr/X11R6/include -O -fno-defer-pop -Wall -Wno-unused" -c events.c
ocamlc -warn-error A -g -ccopt "-DHAVE_XINERAMA -I/usr/X11R6/include -O -fno-defer-pop -Wall -Wno-unused" -c grwm.c
ocamlc -warn-error A -g -ccopt "-DHAVE_XINERAMA -I/usr/X11R6/include -O -fno-defer-pop -Wall -Wno-unused" -c grY11.c
grY11.c: In function 'caml_gr_origin':
grY11.c:208: warning: pointer targets in passing argument 6 of 'XGetGeometry' differ in signedness
grY11.c:208: warning: pointer targets in passing argument 7 of 'XGetGeometry' differ in signedness
grY11.c:208: warning: pointer targets in passing argument 8 of 'XGetGeometry' differ in signedness
grY11.c:208: warning: pointer targets in passing argument 9 of 'XGetGeometry' differ in signedness
grY11.c:210: warning: pointer targets in passing argument 6 of 'XQueryTree' differ in signedness
grY11.c: In function 'caml_gr_set_named_atom_property':
grY11.c:308: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness
grY11.c: In function 'get_position_against_root':
grY11.c:345: warning: pointer targets in passing argument 6 of 'XQueryTree' differ in signedness
ocamlopt.opt -warn-error A -inline 9 -I /usr/lib/ocaml/site-packages/camlimages -c config.ml
ocamlc -warn-error A -g -I /usr/lib/ocaml/site-packages/camlimages -c misc.mli
ocamlopt.opt -warn-error A -inline 9 -I /usr/lib/ocaml/site-packages/camlimages -c misc.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

!!! ERROR: app-text/active-dvi-1.6.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3105:   Called src_compile
  active-dvi-1.6.0.ebuild, line 78:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-text/active-dvi-1.6.0/temp/build.log'.

Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2008-06-05 15:36:18 UTC
Does the problem still exist?
Comment 10 Alexis Ballier gentoo-dev 2008-07-09 15:10:13 UTC
(In reply to comment #9)
> Does the problem still exist?
> 

probably an old ocaml / active-dvi bug