Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311899 - app-portage/gatt-0.6.4 fails tests due missing qt3 USE flag
Summary: app-portage/gatt-0.6.4 fails tests due missing qt3 USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Thomas Anderson (tanderson) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-29 10:59 UTC by Pacho Ramos
Modified: 2010-06-29 08:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (gatt-0.6.4:20100329-104231.log,46.65 KB, text/plain)
2010-03-29 11:00 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2010-03-29 10:59:25 UTC
I get:
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../ -DLIBEXECDIR=\""/usr/libexec/gatt"\"   -pthread -D_REENTRANT -I/usr/include/libthrowable-1.2 -I/usr/lib64/libthrowable-1.2/include   -march=native -O2 -pipe -Wall -Wextra -Winit-self -Wconversion -Wredundant-decls -MT t_package.o -MD -MP -MF ".deps/t_package.Tpo" -c -o t_package.o `test -f 'tests/t_package.cc' || echo './'`tests/t_package.cc; \
	then mv -f ".deps/t_package.Tpo" ".deps/t_package.Po"; else rm -f ".deps/t_package.Tpo"; exit 1; fi
x86_64-pc-linux-gnu-g++ -pthread -D_REENTRANT -I/usr/include/libthrowable-1.2 -I/usr/lib64/libthrowable-1.2/include   -march=native -O2 -pipe -Wall -Wextra -Winit-self -Wconversion -Wredundant-decls  -Wl,-O1 -o t_package  environment.o package.o bug.o regular_expressions.o configuration.o logger.o main.o use_flag.o exit_status.o arch.o backup_system.o use_set.o script_alike_file.o script_generator.o post_resolve_script_generator.o package_manager.o atom.o test_util.o t_package.o -pthread -lthrowable-1.2   -lboost_filesystem -lboost_regex -lboost_program_options actions/libactions.a pkg_cfg_files/libpkgcfgfiles.a util/libutil.a 
make[3]: Leaving directory `/var/tmp/portage/app-portage/gatt-0.6.4/work/gatt-0.6.4/src'
make  check-TESTS
make[3]: Entering directory `/var/tmp/portage/app-portage/gatt-0.6.4/work/gatt-0.6.4/src'
[stderr-test-msg (please ignore)]
[stdout-test-msg (please ignore)]
[stdout-test-msg (please ignore)]
[stderr-test-msg (please ignore)]
PASS: t_sh_exec
PASS: t_get_variable_from_file_using_bash
PASS: t_atom
PASS: t_regular_expressions
PASS: t_mapping
PASS: t_metafunctions
PASS: t_pkg_cfg_files
PASS: t_script_generator
PASS: t_script_alike_file
InvalidUseFlag:
  where: use_flag.cc:217 in
    void Gatt::UseFlag::initFromName()
  message:
    qt3: neither a global, nor a local USE flag
FAIL: t_use_set
PASS: t_pkg_use_file
PASS: t_backup_system
PASS: t_use_flag
PASS: t_package
======================================================
1 of 14 tests failed
Please report to http://sourceforge.net/projects/gatt/
======================================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-portage/gatt-0.6.4/work/gatt-0.6.4/src'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-portage/gatt-0.6.4/work/gatt-0.6.4/src'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-portage/gatt-0.6.4/work/gatt-0.6.4/src'
make: *** [check-recursive] Error 1
 * ERROR: app-portage/gatt-0.6.4 failed:
 *   Make check failed. See above for details.
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_test
 *   environment, line 2371:  Called _eapi0_src_test
 *     ebuild.sh, line  619:  Called die
 * The specific snippet of code:
 *   			hasq test $FEATURES && die "Make check failed. See above for details."
 * 
 * If you need support, post the output of 'emerge --info =app-portage/gatt-0.6.4',
 * the complete build log and the output of 'emerge -pqv =app-portage/gatt-0.6.4'.
 * The complete build log is located at '/var/log/portage/build/app-portage/gatt-0.6.4:20100329-104231.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-portage/gatt-0.6.4/temp/environment'.

My emerge --info:
Portage 2.1.7.17 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.13
Timestamp of tree: Sat, 27 Mar 2010 09:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.3
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests autoaddcvs ccache cvs distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/suka /usr/portage/local/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb branding bzip2 cairo cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups cxx daap dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gif glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick java jpeg kdehiddenvisibility kpathsea latex libnotify lyx lzma mad mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs t1lib tcpd threads thunar tiff truetype unicode usb v4l2 vcd vorbis webkit x264 xattr xcb xinetd xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2010-03-29 11:00:23 UTC
Created attachment 225631 [details]
build.log
Comment 2 Thomas Beierlein gentoo-dev 2010-05-01 16:30:28 UTC
In the meantime there fails a second test in stable chroot because x11-libs/gtk+-2.14.7-r2 gots removed from the tree on apr 23.

See below:

make  check-TESTS
make[3]: Entering directory `/var/tmp/portage/app-portage/gatt-0.6.4/work/gatt-0.6.4/src'
[stderr-test-msg (please ignore)]
[stdout-test-msg (please ignore)]
[stdout-test-msg (please ignore)]
[stderr-test-msg (please ignore)]
PASS: t_sh_exec
PASS: t_get_variable_from_file_using_bash
PackageDoesNotExist:
  where: package.cc:268 in
    void Gatt::Package::verifyThatPackageExistsAndStoreLocation()
  message:
    could not find "=x11-libs/gtk+-2.14.7-r2"; syncing might solve this issue
    and please check if you requested the correct package/version
FAIL: t_atom
PASS: t_regular_expressions
PASS: t_mapping
PASS: t_metafunctions
PASS: t_pkg_cfg_files
PASS: t_script_generator
PASS: t_script_alike_file
InvalidUseFlag:
  where: use_flag.cc:217 in
    void Gatt::UseFlag::initFromName()
  message:
    qt3: neither a global, nor a local USE flag
FAIL: t_use_set
PASS: t_pkg_use_file
PASS: t_backup_system
PASS: t_use_flag
PASS: t_package
======================================================
2 of 14 tests failed
Please report to http://sourceforge.net/projects/gatt/
======================================================

---
My emerge --info:
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 01 May 2010 16:00:02 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-24 13:20:51 UTC
Some tests were fixed in SVN a while ago.  Maybe Matthias can have a look at it.
Comment 4 Matthias Langer 2010-06-24 22:25:32 UTC
I'll take a look at it on the weekend; the problem is that some parts of the test suite are still relying on the "live" portage tree, which obviously is a bad idea.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-25 08:02:21 UTC
Can't we ship a test tar ball instead of the live tests on the portage tree?
Comment 6 Matthias Langer 2010-06-27 13:30:08 UTC
(In reply to comment #5)
> Can't we ship a test tar ball instead of the live tests on the portage tree?
> 

We are already doing this for quite some time for t_package and related tests; unfortunately I forgot that we also need this for use flag related tests. I've just fixed this in SVN. Until we have a new release I would suggest to just disable the failing test by removing it from the associated Makefile.am.
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-29 06:28:56 UTC
I did it the lazy way and restricted tests all together until we do a new release.  Thank you Matthias.
Comment 8 Pacho Ramos gentoo-dev 2010-06-29 08:21:58 UTC
OK, thanks for taking care :-)