Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56624 - media-gfx/sane-backends-1.0.14-r3 compilation fails at sane.ind
Summary: media-gfx/sane-backends-1.0.14-r3 compilation fails at sane.ind
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-10 11:04 UTC by Miroslav Šulc
Modified: 2004-07-15 03:36 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 Miroslav Šulc gentoo-dev 2004-07-10 11:04:56 UTC
gcc -o umax_pp umax_pp.o ../backend/umax_pp_low.o  -L/usr/lib ../sanei/libsanei.a ../lib/liblib.a /usr/lib/libusb.so -lnsl /usr/lib/libjpeg.so /usr/lib/libieee1284.so /usr/lib/libgphoto2.so /usr/lib/libgphoto2_port.so -ldl /usr/lib/libexif.so -lm
gcc -c -O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/etc/sane.d          -DPATH_SANE_DATA_DIR=/usr/share         -DV_MAJOR=1 -DV_MINOR=0 -I/usr/include/gphoto2 -I/usr/include gamma4scanimage.c
gcc -o gamma4scanimage gamma4scanimage.o  -L/usr/lib -lm
gcc -c -O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPATH_SANE_CONFIG_DIR=/etc/sane.d          -DPATH_SANE_DATA_DIR=/usr/share         -DV_MAJOR=1 -DV_MINOR=0 -I/usr/include/gphoto2 -I/usr/include sane-desc.c
gcc -o sane-desc sane-desc.o  -L/usr/lib ../sanei/libsanei.a ../lib/liblib.a /usr/lib/libusb.so -lnsl /usr/lib/libjpeg.so /usr/lib/libieee1284.so /usr/lib/libgphoto2.so /usr/lib/libgphoto2_port.so -ldl /usr/lib/libexif.so -lm
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.14-r3/work/sane-backends-1.0.14/tools'
making all in doc
make[1]: Entering directory `/var/tmp/portage/sane-backends-1.0.14-r3/work/sane-backends-1.0.14/doc'
Generating index for sane.ps...
make[1]: *** [sane.ind] Error 1
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.14-r3/work/sane-backends-1.0.14/doc'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/sane-backends-1.0.14-r3 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge --oneshot -v sane-backends
2.
3.

Actual Results:  
The compilation error occurs.

Expected Results:  
Should compile without error.

# emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://download.startnet.klamovka.kosire.czf/gentoo-mirror/
http://10.15.6.1/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/
ftp://mirror.switch.ch/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo/
ftp://gentoo.mirrors.pair.com/ http://lug.mtu.edu/gentoo/
http://gentoo.seren.com/gentoo http://gentoo.tiscali.nl/gentoo/
http://ftp6.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.15.6.17/gentoo-portage"
USE="X X509 aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups curl
devmap directfb dvd encode esd ethereal fbcon flash foomaticdb freetds gd gdbm
gif gimpprint gphoto2 gpm gps gtk gtk2 gtkhtml guile imap imlib irda java
javascript jbig jpeg justify kde kerberos lcms leim libg++ libwww linguas_cs
lzw-tiff mad mcal mikmod mng motif mozilla mpeg ncurses nls oci8 ofx oggvorbis
opengl oss pam pcmcia pdflib perl png pnp ppds python qt quicktime quotes
readline samba scanner sdl skey slang slp snmp spell ssl svga tcpd tiff truetype
unicode usb video_cards_rage128 wifi wmf wsconvert x86 xml xml2 xmms xv zlib"
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-07-14 00:03:12 UTC
I can't reproduce the problem and the sane Makefile suppresses the real error message.

So please:

cd /var/tmp/portage/sane-backends-1.0.14-r3/work/sane-backends-1.0.14/doc
touch sane.ind
latex sane
makeindex sane.idx

to check what goes wrong.
Comment 2 Miroslav Šulc gentoo-dev 2004-07-14 00:12:15 UTC
So this is the result:

------------- RESULT ---------------------
# latex sane
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./sane.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.

! LaTeX Error: File `report.cls' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)

Enter file name:

! LaTeX Error: File `times.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:

! LaTeX Error: File `epsfig.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:

! LaTeX Error: File `changebar.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
(./html.sty)
Writing index file sane.idx
No file sane.aux.

! LaTeX Error: The font size command \normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.21 \begin{document}

?

! LaTeX Error: No counter 'changebargrey' defined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.29   \setcounter{changebargrey}{0}
                                       % black change bars
?
! Undefined control sequence.
l.32 \maketitle

?
! Undefined control sequence.
l.33 \tableofcontents

?
------------- END ---------------------

It would continue outputting errors if I press RETURN. I have also problems related to latex with t1lib installation :-(

As I don't know what the problem means, I cannot move on. Thank you for any help.
Comment 3 Miroslav Šulc gentoo-dev 2004-07-14 00:17:56 UTC
I wanted to find out what packages comes the latex utility from but 'qpkg -f /usr/bin/latex' returns nothing :-( I would try to rebuild the package that contains latex but I don't know which one it is.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2004-07-14 03:28:42 UTC
Looks like for whatever reason your LaTeX installation is very incomplete. Please emerge tetex to re-install it, then try again and tell me the result.
Comment 5 Miroslav Šulc gentoo-dev 2004-07-14 03:35:07 UTC
O.K. Thanks for now :-)
I have checked whether tetex is installed and it isn't. Maybe I have removed it through some clean command because no package said that tetex is required. It is little bit strange :-(
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2004-07-14 23:04:12 UTC
So I can close this bug?
Comment 7 Miroslav Šulc gentoo-dev 2004-07-14 23:08:02 UTC
I don't have tetex compiled but I think you can close this bug and I will eventually reopen it if the recompilation of tetex doesn't help.
Comment 8 Patrick Kursawe (RETIRED) gentoo-dev 2004-07-15 03:36:30 UTC
Ok, closing as invalid for now.