Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274616 - app-misc/anki-0.9.9.8.1 won't compile
Summary: app-misc/anki-0.9.9.8.1 won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 329091
  Show dependency tree
 
Reported: 2009-06-18 14:35 UTC by radim
Modified: 2010-07-20 11:22 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 radim 2009-06-18 14:35:31 UTC
app-misc/anki-0.9.9.8.1 won't compile

Reproducible: Always

Steps to Reproduce:
1.nice -n 19 emerge -avDu app-misc/anki
2.
3.

Actual Results:  
>>> Test phase [not enabled]: app-misc/anki-0.9.9.8.1

>>> Install anki-0.9.9.8.1 into /var/tmp/portage/app-misc/anki-0.9.9.8.1/image/ category app-misc
Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    import anki
  File "/var/tmp/portage/app-misc/anki-0.9.9.8.1/work/anki-0.9.9.8.1/libanki/anki/__init__.py", line 58, in <module>
    from anki.deck import DeckStorage
  File "/var/tmp/portage/app-misc/anki-0.9.9.8.1/work/anki-0.9.9.8.1/libanki/anki/deck.py", line 13, in <module>
    from anki.db import *
  File "/var/tmp/portage/app-misc/anki-0.9.9.8.1/work/anki-0.9.9.8.1/libanki/anki/db.py", line 26, in <module>
    from sqlalchemy import (Table, Integer, Float, Column, MetaData,
ImportError: No module named sqlalchemy
 * 
 * ERROR: app-misc/anki-0.9.9.8.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2422:  Called die
 * The specific snippet of code:
 *       python setup.py install --root="${D}" || die;
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-misc/anki-0.9.9.8.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/anki-0.9.9.8.1/temp/environment'.


Expected Results:  
sooth installation :-)

emerge --info
Portage 2.2_rc33 (!../usr/portage/profiles/default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 18 Jun 2009 10:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r9, 2.5.4-r2, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/nfs_portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="rsync://192.168.1.1/gentoo-portage/distfiles rsync://192.168.1.1/gentoo-portage/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs us"
PKGDIR="/mnt/nfs_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="/mnt/nfs_portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo faad fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jack java jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session slang spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs us" USERLAND="GNU" VIDEO_CARDS="i810 i915"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Heath Caldwell (RETIRED) gentoo-dev 2009-06-29 20:43:48 UTC
Try app-misc/anki-0.9.9.8.4 and let me know if it is fixed now.  Another user ran into a problem with sqlalchemy and said that it was fixed by depending on a newer version.

If not, which version of dev-python/sqlalchemy do you have installed, and which version of dev-python/pysqlite, or do you have dev-lang/python built with the sqlite USE flag?
Comment 2 radim 2009-06-30 09:20:24 UTC
app-misc/anki-0.9.9.8.4 still won't compille.

this is the result of emerge:

>>> Emerging (2 of 2) app-misc/anki-0.9.9.8.4
 * anki-0.9.9.8.4.tgz RMD160 SHA1 SHA256 size ;-) ...                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking anki-0.9.9.8.4.tgz to /var/tmp/portage/app-misc/anki-0.9.9.8.4/work
>>> Source unpacked in /var/tmp/portage/app-misc/anki-0.9.9.8.4/work
>>> Preparing source in /var/tmp/portage/app-misc/anki-0.9.9.8.4/work/anki-0.9.9.8.4 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-misc/anki-0.9.9.8.4/work/anki-0.9.9.8.4 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-misc/anki-0.9.9.8.4/work/anki-0.9.9.8.4 ...
>>> Source compiled.
>>> Test phase [not enabled]: app-misc/anki-0.9.9.8.4

>>> Install anki-0.9.9.8.4 into /var/tmp/portage/app-misc/anki-0.9.9.8.4/image/ category app-misc
Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    import anki
  File "/var/tmp/portage/app-misc/anki-0.9.9.8.4/work/anki-0.9.9.8.4/libanki/anki/__init__.py", line 58, in <module>
    from anki.deck import DeckStorage
  File "/var/tmp/portage/app-misc/anki-0.9.9.8.4/work/anki-0.9.9.8.4/libanki/anki/deck.py", line 13, in <module>
    from anki.db import *
  File "/var/tmp/portage/app-misc/anki-0.9.9.8.4/work/anki-0.9.9.8.4/libanki/anki/db.py", line 26, in <module>
    from sqlalchemy import (Table, Integer, Float, Column, MetaData,
ImportError: No module named sqlalchemy
 * 
 * ERROR: app-misc/anki-0.9.9.8.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2422:  Called die
 * The specific snippet of code:
 *       python setup.py install --root="${D}" || die;
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-misc/anki-0.9.9.8.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/anki-0.9.9.8.4/temp/environment'.

versions:
dev-python/sqlalchemy-0.5.3  USE="sqlite -doc -examples -firebird -mssql -mysql -postgres -test"
dev-python/pysqlite-2.5.5  USE="-examples"
dev-lang/python-2.6.2-r1  USE="berkdb gdbm ipv6 ncurses readline sqlite ssl threads tk xml -build -doc -examples -ucs2 -wininst"
Comment 3 Thomas Kahle (RETIRED) gentoo-dev 2010-07-20 10:39:30 UTC
Can you please check anki-0.9.9.8.6-r1 ? 
Comment 4 radim 2010-07-20 11:22:02 UTC
Thanks it works for me.