Bug 97239 - fdutils fails to build with USE=doc, error mentions texi2dvi and etex.fmt
Bug#: 97239 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: DUPLICATE Assigned To: dragonheart@gentoo.org Reported By: Martin.vGagern@gmx.net
Component: Applications
URL: 
Summary: fdutils fails to build with USE=doc, error mentions texi2dvi and etex.fmt
Keywords:  
Status Whiteboard: 
Opened: 2005-06-27 12:06 0000
Description:   Opened: 2005-06-27 12:06 0000
Should this USE flag really be tetex, or more likely doc? This is not really
"tetex support" added, but rather tetex used to build documentation.
Anyway, this texing fails, and I'm not sure which package would be to blame.
Remerging tetex did not solve the problem.

Reproducible: Always
Steps to Reproduce:
1. USE=tetex emerge fdutils

Actual Results:  
make[1]: Entering directory `/var/tmp/portage/fdutils-5.5/work/fdutils-5.5/doc'
makeinfo -I . ./fdutils.texi
.//formatlist.texi:224: warning: @strong{Note...} produces a spurious
cross-reference in Info; reword to avoid that.
i686-pc-linux-gnu-gcc -march=prescott -O2    texi-linearize.c   -o texi-linearize
./texi-linearize . fdutils.texi > Fdutils.texi
texi2dvi Fdutils.texi
This is e-TeX, Version 3.141592-2.2 (Web2C 7.5.4)
---! /var/lib/texmf/web2c/etex.fmt was written by pdfetex
(Fatal format file error; I'm stymied)
/usr/bin/texi2dvi: texinfo.tex appears to be broken, quitting.
make[1]: *** [Fdutils.dvi] Error 1
make[1]: Leaving directory `/var/tmp/portage/fdutils-5.5/work/fdutils-5.5/doc'
make: *** [comp-doc] Error 2


Expected Results:  
package emerged cleanly, with sensible CFLAGS and LDFLAGS for suid binaries.

"USE=-tetex emerge fdutils" works except for this message:
QA Notice: /usr/bin/fdmount is setXid, dynamically linked and using lazy bindings.
This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge fdutils

According to "equery b /var/lib/texmf/web2c/etex.fmt", this file does not belong
to any package. /var/lib/texmf is owned by the following packages:
app-text/tetex-3.0-r2 (/var/lib/texmf/web2c)
app-text/jadetex-3.13-r1 (/var/lib/texmf/web2c)

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12 i686)
=================================================================
System uname: 2.6.12 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
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.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=prescott -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ rsync://ftp.snt.utwente.nl/gentoo
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 apm arts auctex avi bash-completion
bcmath berkdb bigger-fonts bitmap-fonts bzip2 bzlib c++ cairo cdparanoia cdr
chroot crypt css cups curl dba dhcp divx4linux dnd doc dts dv dvd emboss encode
escreen esd ethereal exif faad fam fastcgi fbcon ffmpeg fftw flac flatfile
foomaticdb fortran ftp gcc-libffi gcj gd gdbm gif gimp gimpprint gnutls gpm
graphviz gs gtk gtk2 guile imagemagick imlib ipv6 java jpeg junit kde latex ldap
libg++ libwww lirc lzo lzw mad maildir mailwrapper mikmod mime mjpeg mmx motif
mozilla moznocompose mozxmlterm mp3 mpeg mpeg2 mplayer mpm-worker mule mysql
ncurses net network nls no-old-linux nptl odbc ogg oggvorbis opengl operanom2
oss pam pdf pdflib perl php pic pie plotutils png postgres povray procmail
python qt quicktime rdesktop readline real recode samba sasl savedconfig sdl
slang smime sndfile sockets sox spell sse sse2 ssl svga tcltk tcpd tetex threads
tiff tokenizer transcode translator truetype truetype-fonts type1 type1-fonts
unicode usb userlocales utf8 v4l v4l2 vorbis wmf xanim xchattext xemacs xine xml
xml2 xmms xv xvid xvmc zlib linguas_en linguas_de userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #1 From Jakub Moc (RETIRED) 2005-06-27 12:46:57 0000 -------
Missing metadata.xml, this package needs a maintainer.

@Martin: There are some suggestions in Bug 91905, you might give them a try.

------- Comment #2 From Martin von Gagern 2005-06-27 13:19:21 0000 -------
Merging tetex-2.* is not an option for me. I'd rather do without the docs.
I'm still wondering why this etex.fmt is not listed as belonging to any package.

------- Comment #3 From Daniel Black 2005-07-16 03:48:44 0000 -------
changed tetex USE to doc. 

------- Comment #4 From Martin von Gagern 2005-07-16 11:37:46 0000 -------
OK, renaming the USE flag is good, but does not resolve the core of this bug.
I still get this texi2dvi error message, if I set USE=doc.

------- Comment #5 From Garrett Skjelstad 2005-09-27 21:26:19 0000 -------
I get the exact same errors on mine, I added the stupid 100mb tetex and it
still
didn't fix it. ... with any luck hopefully someone will figure this one out.

------- Comment #6 From Geoff Leach 2005-12-21 00:06:47 0000 -------
I also get the texidvi problem - although when building
media-libs/allegro-4.2.0 rather than fdutils. Searching b.g.o for 'texidvi'
finds this bug ...

Should probably open a bug for texi2dvi/etex/tetex as that is where the problem
really is. 

------- Comment #7 From Geoff Leach 2005-12-22 05:08:25 0000 -------
Also see bug 101465

------- Comment #8 From Alexandre Buisse (RETIRED) 2006-01-05 06:01:38 0000 -------

*** This bug has been marked as a duplicate of 98029 ***