Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71734 - dev-libs/expat-1.95.7 fails test phase due to dependency on dev-libs/check.
Summary: dev-libs/expat-1.95.7 fails test phase due to dependency on dev-libs/check.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-19 01:34 UTC by Ryan Hill (RETIRED)
Modified: 2004-11-20 00:45 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 Ryan Hill (RETIRED) gentoo-dev 2004-11-19 01:34:14 UTC
expat uses the 'check' unit test framework for its test suite.  if the maketest FEATURE is enabled and dev-libs/check is not present on the system, the emerge will fail.


Reproducible: Always
Steps to Reproduce:
1. emerge expat w/ maketest on and check framework not on the system.

Actual Results:  
>>> Test phase [check]: dev-libs/expat-1.95.7
gcc -O2 -march=pentium3 -fomit-frame-pointer -pipe -ffast-math -ftracer
-momit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wstrict-prototypes
-fexceptions -DHAVE_EXPAT_CONFIG_H   -I./lib -I. -o tests/runtests.o -c
tests/runtests.c
tests/runtests.c:14:2: #error This test suite requires the 'check' unit test
framework (http:
tests/runtests.c: In function `basic_setup':
tests/runtests.c:34: warning: implicit declaration of function `fail'
tests/runtests.c: In function `_xml_failure':
tests/runtests.c:58: warning: implicit declaration of function `_fail_unless'
tests/runtests.c: At top level:
tests/runtests.c:149: warning: return type defaults to `int'
tests/runtests.c:149: warning: function declaration isn't a prototype
tests/runtests.c:161: error: parse error before "START_TEST"
tests/runtests.c:162: warning: return type defaults to `int'
tests/runtests.c:162: warning: function declaration isn't a prototype
tests/runtests.c:162: error: redefinition of 'START_TEST'
tests/runtests.c:149: error: previous definition of 'START_TEST' was here
tests/runtests.c:170: error: parse error before "START_TEST"
tests/runtests.c:171: warning: return type defaults to `int'
tests/runtests.c:171: warning: function declaration isn't a prototype
tests/runtests.c:171: error: redefinition of 'START_TEST'
tests/runtests.c:162: error: previous definition of 'START_TEST' was here
tests/runtests.c:171: error: redefinition of 'START_TEST'
tests/runtests.c:162: error: previous definition of 'START_TEST' was here
tests/runtests.c:180: error: parse error before "START_TEST"
tests/runtests.c:181: warning: return type defaults to `int'
tests/runtests.c:181: warning: function declaration isn't a prototype
tests/runtests.c:181: error: redefinition of 'START_TEST'
tests/runtests.c:171: error: previous definition of 'START_TEST' was here
tests/runtests.c:181: error: redefinition of 'START_TEST'
tests/runtests.c:162: error: previous definition of 'START_TEST' was here
tests/runtests.c:189: error: parse error before "START_TEST"
tests/runtests.c:190: warning: return type defaults to `int'
tests/runtests.c:190: warning: function declaration isn't a prototype
tests/runtests.c:190: error: redefinition of 'START_TEST'
tests/runtests.c:181: error: previous definition of 'START_TEST' was here
tests/runtests.c:190: error: redefinition of 'START_TEST'
tests/runtests.c:162: error: previous definition of 'START_TEST' was here
tests/runtests.c:198: error: syntax error before "static"
tests/runtests.c:252: warning: return type defaults to `int'
tests/runtests.c:252: warning: function declaration isn't a prototype
tests/runtests.c:252: error: redefinition of 'START_TEST'
tests/runtests.c:190: error: previous definition of 'START_TEST' was here
tests/runtests.c:252: error: redefinition of 'START_TEST'
tests/runtests.c:162: error: previous definition of 'START_TEST' was here
tests/runtests.c:263: error: parse error before "START_TEST"
tests/runtests.c:264: warning: return type defaults to `int'
tests/runtests.c:264: warning: function declaration isn't a prototype
tests/runtests.c:264: error: redefinition of 'START_TEST'
t

[snip 9 pages]

tests/runtests.c:1379: error: `CK_NORMAL' undeclared (first use in this function)
tests/runtests.c:1380: error: `Suite' undeclared (first use in this function)
tests/runtests.c:1380: error: `s' undeclared (first use in this function)
tests/runtests.c:1381: error: `SRunner' undeclared (first use in this function)
tests/runtests.c:1381: error: `sr' undeclared (first use in this function)
tests/runtests.c:1381: warning: implicit declaration of function `srunner_create'
tests/runtests.c:1389: error: `CK_VERBOSE' undeclared (first use in this
function)
tests/runtests.c:1391: error: `CK_SILENT' undeclared (first use in this function)
tests/runtests.c:1406: warning: implicit declaration of function
`srunner_set_fork_status'
tests/runtests.c:1406: error: `CK_FORK' undeclared (first use in this function)
tests/runtests.c:1406: error: `CK_NOFORK' undeclared (first use in this function)
tests/runtests.c:1409: warning: implicit declaration of function
`srunner_run_all'
tests/runtests.c:1410: warning: implicit declaration of function
`srunner_ntests_failed'
tests/runtests.c:1411: warning: implicit declaration of function `srunner_free'
tests/runtests.c:1412: warning: implicit declaration of function `suite_free'
make: *** [tests/runtests.o] Error 1

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


Expected Results:  
a warm fuzzy glow inside.  and expat merging.

=[ /etc ]= # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1,
2.6.9-ck3 i686)
=================================================================
System uname: 2.6.9-ck3 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
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/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -ffast-math -ftracer
-momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -ffast-math -ftracer
-momit-leaf-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest nodoc sandbox sfperms"
GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/
ftp://gentoo.agsn.ca/ http://gentoo.mirrored.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa avi bash-completion berkdb cdr crypt fbcon fortran gdbm gif gpm
imlib java javascript jpeg mmx mozilla mpeg ncurses nptl odbc oggvorbis opengl
oss pam perl pic png pwdb python readline ruby sdl sse ssl tcpd unicode
userlocales xml xml2 zlib"
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2004-11-20 00:45:45 UTC
Already fixed.

emerge --sync