Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121460 - sqlite 3.3.3 breaks trac
Summary: sqlite 3.3.3 breaks trac
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Julien Allanos (RETIRED)
URL:
Whiteboard:
Keywords:
: 121541 121565 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-03 11:12 UTC by Kristian
Modified: 2006-02-06 14:16 UTC (History)
5 users (show)

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


Attachments
pysqlite hacked for 2.0.7 (pysqlite-2.0.7.ebuild,1.32 KB, text/plain)
2006-02-04 11:20 UTC, Martin Capitanio
Details
setuptools-0.6_alpha9 needed for any *.egg packaged stuff (setuptools-0.6_alpha9.ebuild,991 bytes, text/plain)
2006-02-04 11:28 UTC, Martin Capitanio
Details
pysqlite-2.1.3 - unstable (but working) branch (pysqlite-2.1.3.ebuild,1.48 KB, text/plain)
2006-02-04 11:31 UTC, Martin Capitanio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian 2006-02-03 11:12:35 UTC
the update from sqlite-3.2.7-r1 to sqlite-3.3.3 broke trac (www-apps/trac). downgrade fixed this.

apache2/error_log:
 PythonHandler trac.web.modpython_frontend: Warning: You can only execute one statement at a time.
 PythonHandler trac.web.modpython_frontend: Traceback (most recent call last):
 PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n    result = object(req)
 PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 199, in handler\n    env = get_environment(mpr, project_opts)
 PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 335, in get_environment\n    return _open_environment(env_path, threaded)
 PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 51, in _open_environment\n    env_cache[env_path] = open_environment(env_path)
 PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/env.py", line 375, in open_environment\n    if env.needs_upgrade():
 PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/env.py", line 281, in needs_upgrade\n    if participant.environment_needs_upgrade(db):
 PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/env.py", line 334, in environment_needs_upgrade\n    dbver = self.env.get_version(db)
 PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/env.py", line 204, in get_version\n    cursor.execute("SELECT value FROM system WHERE name='database_version'")
 PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/db.py", line 219, in execute\n    args or [])
 PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/trac/db.py", line 211, in _rollback_on_error\n    return function(self, *args, **kwargs)
 PythonHandler trac.web.modpython_frontend: Warning: You can only execute one statement at a time.

Portage 2.1_pre4-r1 (hardened/x86/2.6, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.zie.pg.gda.pl http://ftp.gentoo.skynet.be/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi acpi4linux alsa apache2 apm asf audiofile avi bcmath berkdb bitmap-fonts bluetooth bzip2 cdr cgi clamav clamd cli cpudetection crypt css ctype cups curl dba dbus devmap dga djbfft dvb dvd dvdr ecc eds encode escreen esd examples exif expat fam fb fbcon ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif gimp gimpprint glut gmail gmailtimestamps gnutls gpgme gphoto2 gpm gstreamer gtalk gtk gtk2 hal hardened idea imagemagick imap ipv6 isdn java javascript jp2 jpeg junit lcms ldap libcaca libclamav lm_sensors logitech-mouse lufsusermount mad maildir matroska md5sum menubar mhash mjpeg mmx mmxext mng mono motif mozdevelop moznocompose moznoirc moznomail mozp3p mozsvg mp3 mpeg mpeg4 mplayer mppe-mppc mysql mythtv ncurses nls nsplugin ntlm oav offensive ogg oggvorbis opengl oss pam pam-mysql pcap pear perl php pic png pnp postfix python qt quicktime rc5 readline real recode reiserfs samba sasl sblive scanner sdl serial session slang smime sms snortsam soap sockets spamassassin speedo spell sqlite sse sse2 ssl svg svga sysvipc tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l2 vcd vim-with-x virus-scan vorbis win32codecs xanim xcomposite xinerama xml xml2 xmms xprint xscreensaver xsl xv xvid xvmc zlib elibc_glibc fcdsl_cards_fcdsl kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Sebastian Bergmann (RETIRED) gentoo-dev 2006-02-04 09:42:00 UTC
*** Bug 121565 has been marked as a duplicate of this bug. ***
Comment 2 Martin Capitanio 2006-02-04 11:16:57 UTC
I put here now all my hacked ebuilds needed for succesfully
run trac & sqlite-3.3.3.

See also http://projects.edgewall.com/trac/ticket/2719

m.c.
Comment 3 Martin Capitanio 2006-02-04 11:20:17 UTC
Created attachment 78874 [details]
pysqlite hacked for 2.0.7
Comment 4 Martin Capitanio 2006-02-04 11:28:48 UTC
Created attachment 78875 [details]
setuptools-0.6_alpha9 needed for any *.egg packaged stuff

package masked - put it in /etc/portage/package.unmask

# Rob Cakebread <pythonhead@gentoo.org> (14 Oct 2005)
# Masked for testing
dev-python/setuptools
Comment 5 Martin Capitanio 2006-02-04 11:31:27 UTC
Created attachment 78876 [details]
pysqlite-2.1.3 - unstable (but working) branch
Comment 6 Marien Zwart (RETIRED) gentoo-dev 2006-02-05 15:36:15 UTC
*** Bug 121541 has been marked as a duplicate of this bug. ***
Comment 7 Marien Zwart (RETIRED) gentoo-dev 2006-02-05 15:43:42 UTC
I just added setuptools-0.6_alpha9 and pysqlite-2.0.7 to the tree. They are still in package.mask but will probably be unmasked very soon now. These ebuilds use a new setuptools switch (--single-version-externally-managed) which makes installing setuptools stuff from ebuilds quite a lot prettier (no more .pth hacks!).

Can people please test these two ebuilds? If everything works and I get setuptools tested both setuptools and pysqlite-2.0.7 should be unmasked pretty soon.
Comment 8 Martin Capitanio 2006-02-06 13:35:35 UTC
your new setuptools eb. is broken here (latest ~x86)

it works with my 'hacked' pysqlite-2.1.3 ebuild but not
with both (my and your) pysqlite-2.0.7 eb.

(the setuptools ebuild postet here is o.k. for allof them) 

>>> Compiling source in /var/tmp/portage/pysqlite-2.0.7/work/pysqlite-2.0.7 ...
TypeError: expected sequence of 2 WordLists (1 provided)
Exiting due to error.  Use "--traceback" to diagnose.
Please report errors to <docutils-users@lists.sf.net>.
Include "--traceback" output, Docutils version (0.3.9),
Python version (2.4.2), your OS type & version, and the
command line used.
Building documentation file install-source.html.
Building documentation file usage-guide.html.

!!! ERROR: dev-python/pysqlite-2.0.7 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  ebuild.sh, line 1609:   Called distutils_src_compile

m.c.
Comment 9 Marien Zwart (RETIRED) gentoo-dev 2006-02-06 14:16:35 UTC
(In reply to comment #8)
> your new setuptools eb. is broken here (latest ~x86)
> TypeError: expected sequence of 2 WordLists (1 provided)

That is bug 121873. Worked around it for now by blocking that version of silvercity when USE=doc and explicitly disabling doc building when USE=-doc.

Thanks for testing. I've added some small fixes to the ebuild, removed it from package.mask, and filed bug 121873 to get everything keyworded on everything pysqlite was previously keyworded for.

I would prefer not to add an ebuild for the 2.1 branch. File a new bug if you really need this.

Closing, since the 3.3.3 breakage should be fixed now.