Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68878

Summary: [QA] emerge of tetex-2.0.2-r3 fails with maketest in FEATURES (BibTex fails to find/open some database files)
Product: Gentoo Linux Reporter: schaedpq
Component: Current packagesAssignee: Text-Markup Team (OBSOLETE) <text-markup+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: brant, hramrach, mail
Priority: Low    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 124511    
Bug Blocks:    

Description schaedpq 2004-10-25 12:03:28 UTC
Attempting to emerge app-text/tetex-2.0.2-r3 with the maketest FEATURE throws an error during the test phase (make check), see below.
I can only reproduce this error, if tetex is not installed before the emerge. If tetex is already installed, "emerge -b tetex" is succesful even with "maketest" in FEATURES.


Reproducible: Always
Steps to Reproduce:
1. emerge -C tetex
2. insert "maketest" into FEATURES
3. emerge tetex

Actual Results:  
emerge aborts during the test phase

Expected Results:  
emerging the ebuild correctly

This is the output of "emerge -b tetex":

...
...
>>> Test phase [check]: app-text/tetex-2.0.2-r3
cd texk; TEXMF=/var/tmp/portage/tetex-2.0.2-r3/work/tetex-src-2.0.2/texmf
TEXMFCNF=/var/tmp/portage/tetex-2.0.2-r3/work/tetex-src-2.0.2/texmf/web2c make check
...
...
make[2]: Entering directory
`/var/tmp/portage/tetex-2.0.2-r3/work/tetex-src-2.0.2/texk/web2c'
test -f tests/exampl.aux || \
  cp ./tests/exampl.aux tests/exampl.aux
TEXMFCNF=../kpathsea/texmf.cnf BSTINPUTS=./tests ./bibtex tests/exampl
This is BibTeX, Version 0.99c (Web2C 7.4.5)
The top-level auxiliary file: tests/exampl.aux
I couldn't open database file xampl.bib
---line 1 of file tests/exampl.aux
 : \bibdata{xampl
 :               }
I'm skipping whatever remains of this command
The style file: apalike.bst
I found no database files---while reading file tests/exampl.aux
Warning--I didn't find a database entry for "whole-journal"
Warning--I didn't find a database entry for "whole-set"
Warning--I didn't find a database entry for "whole-collection"
Warning--I didn't find a database entry for "whole-proceedings"
Warning--I didn't find a database entry for "book-full"
(There were 2 error messages)
make[2]: *** [bibtex-check] Error 2
make[2]: Leaving directory
`/var/tmp/portage/tetex-2.0.2-r3/work/tetex-src-2.0.2/texk/web2c'
make[1]: *** [check] Error 1
make[1]: Leaving directory
`/var/tmp/portage/tetex-2.0.2-r3/work/tetex-src-2.0.2/texk'
make: *** [check] Error 2

!!! ERROR: app-text/tetex-2.0.2-r3 failed.
!!! Function src_test, Line 520, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.

# emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.4.27-hardened-r2 i686)
=================================================================
System uname: 2.4.27-hardened-r2 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -mcpu=athlon-xp -O2 -fomit-frame-pointer -pipe -Wall"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.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/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/postfix/sample /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks maketest sandbox strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage"
USE="3dnow X alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups dga
divx4linux dlloader dri dvd dvdr dvdread encode f77 fbcon foomaticdb gdbm gif
glx gtk gtk2 hardened imap imlib java jpeg kde lcms ldap libg++ libwww mad
matrox mikmod mmx motif mozcalendar mozsvg mpeg mysql ncurses nls oggvorbis
opengl oss pam pdflib perl plotutils png python qt qtmt quicktime readline samba
scanner sdl slang spell ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xprint
xv zlib"

# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/specs
Configured with: /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++ --enable-threads=posix --enable-long-long
--disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext --disable-multilib --enable-__cxa_atexit
--enable-clocale=generic
Thread model: posix
gcc version 3.3.4 20040623 (Gentoo Hardened Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-11-14 20:53:08 UTC
Priority is low at the moment, but I'll fix it after tetex-3 is released.
Thanks for the bug report.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-29 02:30:36 UTC
*** Bug 100665 has been marked as a duplicate of this bug. ***
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2006-12-01 00:14:12 UTC
Done in -r9, and tetex-3 is out and stable.