Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59357 - dev-libs/expat-1.95.6-r1and 1.95.7 failes "make check" from implicit src_test
Summary: dev-libs/expat-1.95.6-r1and 1.95.7 failes "make check" from implicit src_test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-04 02:16 UTC by Daniel Black (RETIRED)
Modified: 2004-09-09 06:58 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 Daniel Black (RETIRED) gentoo-dev 2004-08-04 02:16:26 UTC
with portage-2.0.51_pre15 make check and make test are implicitly called before src_install. Make check is called here at it fails. The file check.h doesn't appear in the tarball.

1.95.7 also failes and gives the error that it requires version 0.8 from http://check.sourceforge.net/

>>> Test phase [check]: dev-libs/expat-1.95.6-r1

extract from compile:

gcc -march=pentium3 -O2 -pipe -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions   -I./lib -I. -o tests/runtests.o -c tests/runtests.c
distcc[7646] ERROR: compile on localhost failed
tests/runtests.c:2:19: check.h: No such file or directory
distcc[7644] ERROR: compile on 10.10.10.10 failed
make: *** [tests/runtests.o] Error 1

!!! ERROR: dev-libs/expat-1.95.6-r1 failed.
!!! Function src_test, Line 497, Exitcode 0
!!! Make check failed. See above for details.
!

bash-2.05b# emerge info
Portage 2.0.51_pre15 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11 i686 Celeron (Coppermine))
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1,sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -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/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="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs distcc maketest sandbox sign userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo             http://premium.planetmirror.com/pub/gentoo             http://gentoo.oregonstate.edu           http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 apm arts artswrappersuid avi berkdb bonobo cdr crypt cups encode ethereal fam fastcgi flash foomaticdb gd gif gtk gtkhtml guile imagemagick imlib java jpeg kde kerberos libgda libwww mad mbox mikmod mmx motif mozilla mpeg mysql nptl ntlm oggvorbis openal operanom2 pam pdflib perl php png ppds python qt quicktime readline samba sdl slp socks5 sox spell sse ssl svga tcltk tetex tiff truetype usb vhosts x86 xinerama xml xml2 xv zlib"
Comment 1 Aaron Peterson 2004-08-04 13:28:16 UTC
works for me... ~x86 gcc 2.4.1... 

obviously wasn't working for me earlier, because I joined this bug... but can this be closed?
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-08-04 18:07:55 UTC
Do you have dev-libs/check installed? If so it will probably work.

I'm thinking a few packages use a contained version of expat. e.g.

/usr/lib/mozilla-1.3/include/expat/xmlparse.h. hmm odd
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2004-09-08 23:31:26 UTC
Dan,

Try the new ebuild for a solution and get back to me if it doesn't work. Closing this out cause it's the fix. Re-open as necessary.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2004-09-09 06:58:42 UTC
Works good. Thanks for the fix.