Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323365 - dev-python/sqlalchemy-0.6.{1,3,4,7} fails tests
Summary: dev-python/sqlalchemy-0.6.{1,3,4,7} fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard: [IR]
Keywords:
: 341391 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-09 20:25 UTC by Patrick Lauer
Modified: 2012-02-20 09:01 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 Patrick Lauer gentoo-dev 2010-06-09 20:25:38 UTC
>>> Source compiled.
 * Testing of dev-python/sqlalchemy-0.6.1 with CPython 2.6...
Traceback (most recent call last):
  File "/usr/bin/nosetests-2.6", line 9, in <module>
    load_entry_point('nose==0.11.3', 'console_scripts', 'nosetests')()
  File "/usr/lib64/python2.6/site-packages/nose/core.py", line 117, in __init__
    **extra_args)
  File "/usr/lib64/python2.6/unittest.py", line 816, in __init__
    self.parseArgs(argv)
  File "/usr/lib64/python2.6/site-packages/nose/core.py", line 134, in parseArgs
    self.config.configure(argv, doc=self.usage())
  File "/usr/lib64/python2.6/site-packages/nose/config.py", line 273, in configure
    options, args = self._parseArgs(argv, cfg_files)
  File "/usr/lib64/python2.6/site-packages/nose/config.py", line 261, in _parseArgs
    return parser.parseArgsAndConfigFiles(argv[1:], cfg_files)
  File "/usr/lib64/python2.6/site-packages/nose/config.py", line 132, in parseArgsAndConfigFiles
    self._applyConfigurationToValues(self._parser, config, values)
  File "/usr/lib64/python2.6/site-packages/nose/config.py", line 118, in _applyConfigurationToValues
    name=name, filename=filename)
  File "/usr/lib64/python2.6/site-packages/nose/config.py", line 258, in warn_sometimes
    raise ConfigError(msg)
nose.config.ConfigError: Error reading config file 'setup.cfg': no such option 'with-sqlalchemy'
 * ERROR: dev-python/sqlalchemy-0.6.1 failed:
 *   Testing failed with CPython 2.6 in testing() function

Portage 2.2_rc67_p30 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34-gentoo x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r2, 3.1.2-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.8
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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"
SYNC="rsync://localhost/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri extras fortran gcj gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly objc 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="vga" 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, PORTDIR_OVERLAY
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-06-14 17:58:27 UTC
I can't reproduce this bug.
Comment 2 Patrick Lauer gentoo-dev 2010-06-16 06:38:27 UTC
Take an empty chroot, FEATURES="buildpkg" emerge -1 sqlalchemy; emerge -c; emerge --onlydeps -k sqlalchemy; emerge sqlalchemy

That should trigger it
Comment 3 Patrick Lauer gentoo-dev 2010-08-13 11:50:44 UTC
And 0.6.3 does it too :)
Comment 4 Brian Harring (RETIRED) gentoo-dev 2010-08-19 08:18:30 UTC
State the dev-python/nose version please...
Comment 5 Patrick Lauer gentoo-dev 2010-08-23 10:28:09 UTC
dev-python/nose-0.11.4  USE="test -doc -examples"
Comment 6 Johan Bergström 2010-08-23 11:18:29 UTC
After rebuilding sqlalchemy (0.6.3) into all my USE_PYTHON targets I no longer get this test fail.

Patrick, try to:
1. rebuild sqlalchemy without running tests
2. rebuild sqlalchemy and run tests
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-19 03:08:06 UTC
*** Bug 341391 has been marked as a duplicate of this bug. ***
Comment 8 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-12-18 09:02:55 UTC
(In reply to comment #6)
> After rebuilding sqlalchemy (0.6.3) into all my USE_PYTHON targets I no longer
> get this test fail.
> 
> Patrick, try to:
> 1. rebuild sqlalchemy without running tests
> 2. rebuild sqlalchemy and run tests

Right, tests succeed if sqlalchemy is installed.

And they still break if sqlalchemy is _not_ installed.

This suggests a serious brokenness, like system sqlite being used instead of the built one or something similar.
Comment 9 Arfrever Frehtes Taifersar Arahesis 2011-12-18 22:13:53 UTC
Could you test if this problem still occurs in dev-python/sqlalchemy-0.7.4 from Progress Overlay?
Comment 10 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-02-19 11:51:42 UTC
(In reply to comment #9)
> Could you test if this problem still occurs in dev-python/sqlalchemy-0.7.4 from
> Progress Overlay?

sqlalchemy-0.7.4 from _portage_ fixes the test failure for me. Should it get stabilized?
Comment 11 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-02-20 09:01:50 UTC
Should be fixed in 0.7.4, now stabilizing in bug 404981.