Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349334 - app-text/calibre-0.7.33 fails installation in temp directory
Summary: app-text/calibre-0.7.33 fails installation in temp directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 00:25 UTC by Massimo Balestra
Modified: 2010-12-23 00:25 UTC (History)
0 users

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


Attachments
/var/tmp/portage/app-text/calibre-0.7.33/temp/build.log (build.log,24.02 KB, text/plain)
2010-12-22 00:26 UTC, Massimo Balestra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Balestra 2010-12-22 00:25:27 UTC
I am trying to install app-text/calibre-0.7.33. It runs the compilation well but when it starts to run the local install (still in the complie phase) it raises the following errors:
Traceback (most recent call last):
  File "setup.py", line 99, in <module>
    sys.exit(main())
  File "setup.py", line 85, in main
    command.run_all(opts)
  File "/var/tmp/portage/app-text/calibre-0.7.33/work/calibre/setup/__init__.py", line 159, in run_all
    self.run_cmd(self, opts)
  File "/var/tmp/portage/app-text/calibre-0.7.33/work/calibre/setup/__init__.py", line 152, in run_cmd
    self.run_cmd(scmd, opts)
  File "/var/tmp/portage/app-text/calibre-0.7.33/work/calibre/setup/__init__.py", line 155, in run_cmd
    cmd.run(opts)
  File "/var/tmp/portage/app-text/calibre-0.7.33/work/calibre/setup/gui.py", line 36, in run
    self.build_forms()
  File "/var/tmp/portage/app-text/calibre-0.7.33/work/calibre/setup/gui.py", line 59, in build_forms
    from calibre.gui2 import build_forms
  File "/var/tmp/portage/app-text/calibre-0.7.33/work/calibre/src/calibre/gui2/__init__.py", line 19, in <module>
    from calibre.ebooks.metadata.meta import get_metadata, metadata_from_formats
  File "/var/tmp/portage/app-text/calibre-0.7.33/work/calibre/src/calibre/ebooks/metadata/meta.py", line 11, in <module>
    from calibre.customize.ui import get_file_type_metadata, set_file_type_metadata
  File "/var/tmp/portage/app-text/calibre-0.7.33/work/calibre/src/calibre/customize/ui.py", line 14, in <module>
    from calibre.customize.builtins import plugins as builtin_plugins
  File "/var/tmp/portage/app-text/calibre-0.7.33/work/calibre/src/calibre/customize/builtins.py", line 424, in <module>
    from calibre.ebooks.pdb.input import PDBInput
  File "/var/tmp/portage/app-text/calibre-0.7.33/work/calibre/src/calibre/ebooks/pdb/__init__.py", line 26, in <module>
    from calibre.ebooks.pdb.ereader.writer import Writer as ereader_writer
  File "/var/tmp/portage/app-text/calibre-0.7.33/work/calibre/src/calibre/ebooks/pdb/ereader/writer.py", line 19, in <module>
    import Image
ImportError: No module named Image
 * ERROR: app-text/calibre-0.7.33 failed:
 *   Installation failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_install
 *   environment, line 4812:  Called distutils_src_install '--bindir=/var/tmp/po                                                    rtage/app-text/calibre-0.7.33/image/usr/bin' '--sharedir=/var/tmp/portage/app-te                                                    xt/calibre-0.7.33/image/usr/share'
 *   environment, line 1360:  Called die
 * The specific snippet of code:
 *               "$(PYTHON)" "${setup_file}" "${DISTUTILS_GLOBAL_OPTIONS[@]}" in                                                    stall --root="${D}" --no-compile "$@" || die "Installation failed";
 *
 * If you need support, post the output of 'emerge --info =app-text/calibre-0.7.                                                    33',
 * the complete build log and the output of 'emerge -pqv =app-text/calibre-0.7.3                                                    3'.
 * The complete build log is located at '/var/tmp/portage/app-text/calibre-0.7.3                                                    3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/calibre-                                                    0.7.33/temp/environment'.
 * S: '/var/tmp/portage/app-text/calibre-0.7.33/work/calibre'



Reproducible: Always

Steps to Reproduce:
1.  emerge app-text/calibre




emerge --info =app-text/calibre-0.7.33
Portage 2.1.9.25 (default/linux/x86/10.0/desktop, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-gentoo-r5 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Pentium-R-_4_CPU_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 21 Dec 2010 14:00:20 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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 -march=i686 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.wetzlmayr.com/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.osuosl.org/ ftp://mirror.its.uidaho.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.cs.uni.edu/ ftp://mirror.datapipe.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US it eo"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 apm audiofile bash-completion berkdb branding bzip2 cairo cdr cli clutter consolekit cracklib crypt css cups cxx dbus device-mapper doc dri dts dv dvd dvdr eds emboss enca encode evo exif extras fam ffmpeg firefox flac fontconfig fortran ftp gd gdbm gif gimp glx gnome gnutls gpm gstreamer gtk guile gzip iconv ieee1394 ipod ipv6 ithreads jadetex jpeg kde kdrive lcms libnotify libwww mad mikmod mmx mng modules mp3 mp4 mpeg mplayer msn mudflap mysql ncurses networking nls nptl nptlonly ogg opengl openmp oss pam pango pcre pdf perl php png policykit ppds pppd python qt3support qt4 quicktime rar readline sasl scanner sdl semantic-desktop session sip snmp sockets spell sql sqlite ssl startup-notification svg sysfs tcpd threads tiff tk tls truetype udev unicode unrar unzip usb v4l v4l2 vnc vorbis wav weather webkit wifi win32codecs x264 x86 xcb xine xml xorg xscreensaver xulrunner xv xvid yahoo yv12 zip zlib" ALSA_CARDS="intel8x0" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US it eo" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

emerge -pqv =app-text/calibre-0.7.33
[ebuild  N    ] app-text/calibre-0.7.33  USE="bash-completion"
Comment 1 Massimo Balestra 2010-12-22 00:26:34 UTC
Created attachment 257726 [details]
/var/tmp/portage/app-text/calibre-0.7.33/temp/build.log

The build.log of the installation
Thanks
Comment 2 Zac Medico gentoo-dev 2010-12-22 16:41:22 UTC
A common cause of ImportError is that you need to run python-updater. Have you updated python recently?
Comment 3 Massimo Balestra 2010-12-23 00:25:54 UTC
Yes! That solved the problem.
Thank you very much. I take a note for the future to run python-update sometimes.