Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126092 - app-text/ptex-3.1.5-r1: test fails
Summary: app-text/ptex-3.1.5-r1: test fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High trivial
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-13 16:01 UTC by Abraham Marin Perez
Modified: 2009-09-30 14:28 UTC (History)
1 user (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 Abraham Marin Perez 2006-03-13 16:01:33 UTC
When trying to merge ptex-3.1.5-r1 some errors occur during test. The funny thing is that many errors appear during the test, although they don't seem to be important or real problems since the test goes on; these errors give a message like this:

...
make[2]: [etrip] Error 1 (ignored)
...
make[2]: [etex-check] Error 1 (ignored)
...
make[2]: [trap] Error 1 (ignored)
...

But the one that really seems to make everything fails is the following:
./mf ./tests/online
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
(./tests/online.mfError: Can't open display:
make[2]: *** [mf-check] Error 1
make[2]: Leaving directory `/var/tmp/portage/ptex-3.1.5-r1/work/tetex-src-2.0.2/texk/web2c'
make[1]: *** [check] Error 1
make[1]: Leaving directory `/var/tmp/portage/ptex-3.1.5-r1/work/tetex-src-2.0.2/texk'
make: *** [check] Error 2


I keep every test log, just in case anyone'd find it necessary or useful.
Comment 1 Abraham Marin Perez 2006-03-13 16:02:06 UTC
emerge --info:

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.14
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp -fomit-frame-pointer -fforce-addr -frerun-loop-opt -floop-optimize -frerun-cse-after-loop -falign-functions=4"
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 /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 -fforce-addr -frerun-loop-opt -floop-optimize -frerun-cse-after-loop -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"LANG="es_ES.UTF-8@euro"
LC_ALL="es_ES.UTF-8@euro"
LINGUAS="es en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apache2 audiofile avi bash-completion bidi bitmap-fonts browserplugin bzip2 bzlib canna cdr cjk crypt cups curl dga directfb divx4linux doc dri dvb dvd dvdr eds emboss encode esd ethereal evo exif expat fam fbcon ffmpeg fftw flac foomaticdb freewnn ftp gb gcj gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib iodbc java jikes jpeg kde lcms libg++ libwww mad memlimit mikmod mime mmx mng motif mozilla mp3 mpeg msn nas nls nptl odbc offensive ogg oggvorbis openal opengl pam pcre pdflib perl png pnp posix ppds quicktime readline samba sdl sharedmem simplexml spell ssl svg svga sysvipc szip tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales videos vorbis wmf x86 xml xmms xv xvid zlib video_cards_nvidia linguas_es linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2006-03-14 02:16:10 UTC
This seems very much like bug 69439 for tetex.
The solution I used there was to:

inherit virtualx

and then in src_test() to use:

Xmake check || die

Could you try this solution and report back if it works.
Comment 3 Abraham Marin Perez 2006-03-18 12:09:19 UTC
Ok, that worked flawlessly, I guess it'll be included in Portage as happened with Bug 69439; good solutions solve more than one problem :-D.

Closing.
Comment 4 Martin Ehmsen (RETIRED) gentoo-dev 2006-03-19 05:59:29 UTC
Please don't close the bug fixed unless the problem has been fixed in CVS.
Did it work without:
fmtutil --fmtdir "${S}/texk/web2c" --all
or ptex equivalent in src_test()?
Comment 5 Abraham Marin Perez 2006-03-19 08:55:26 UTC
(In reply to comment #4)
> Please don't close the bug fixed unless the problem has been fixed in CVS.

Sorry about that, I didn't know we had to proceed this way.

> Did it work without:
> fmtutil --fmtdir "${S}/texk/web2c" --all
> or ptex equivalent in src_test()?

Do you mean without that line anywhere inside src_test()? This function didn't exist in the original ebuild, so I created it and added the command you indicated. Now test function is exactly the following:

src_test() {
    Xmake check || die
}

Did I answer your question?
Comment 6 MATSUU Takuto (RETIRED) gentoo-dev 2009-09-30 14:28:21 UTC
Added RESTRICT="test" in ptex-3.1.10_p20090610