Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482294 - app-text/calibre-1.0: !!! doins: /var/tmp/portage/app-text/calibre-1.0/image/usr/etc/bash_completion.d/calibre does not exist (missing dependency on dev-python/apsw)
Summary: app-text/calibre-1.0: !!! doins: /var/tmp/portage/app-text/calibre-1.0/image/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: InVCS
: 478058 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-24 06:52 UTC by tman
Modified: 2021-09-17 23:08 UTC (History)
8 users (show)

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


Attachments
/var/log/portage/app-text:calibre-1.0:20130824-064804.log (app-text:calibre-1.0:20130824-064804.log,69.11 KB, text/x-log)
2013-08-24 06:53 UTC, tman
Details
patch calibre-1.0.ebuild file (calibre-1_missing_apsw.patch,432 bytes, patch)
2013-08-24 07:55 UTC, Grigor Lekarov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2013-08-24 06:52:34 UTC
Compiling form /var/tmp/portage/app-text/calibre-1.0/work/calibre/src/calibre/gui2/dialogs/user_profiles.ui
        Compiling form /var/tmp/portage/app-text/calibre-1.0/work/calibre/src/calibre/gui2/viewer/config.ui
        Compiling form /var/tmp/portage/app-text/calibre-1.0/work/calibre/src/calibre/gui2/viewer/main.ui
        Compiling form /var/tmp/portage/app-text/calibre-1.0/work/calibre/src/calibre/gui2/viewer/bookmarkmanager.ui
Creating images.qrc

*
* Running install
*

INSTALL paths:
        LIB: /var/tmp/portage/app-text/calibre-1.0/image/usr/lib64/calibre
        SHARE: /var/tmp/portage/app-text/calibre-1.0/image/usr/share/calibre
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/ebook-device
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/ebook-meta
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/ebook-convert
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/ebook-polish
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/markdown-calibre
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/web2disk
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/calibre-server
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/lrf2lrs
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/lrs2lrf
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/calibre-debug
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/calibredb
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/calibre-parallel
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/calibre-customize
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/calibre-complete
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/fetch-ebook-metadata
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/calibre-smtp
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/calibre
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/lrfviewer
Installing binary: /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/ebook-viewer
Installing mount helper to /var/tmp/portage/app-text/calibre-1.0/image/usr/bin/calibre-mount-helper
Installing code to /var/tmp/portage/app-text/calibre-1.0/image/usr/lib64/calibre
Installing resources to /var/tmp/portage/app-text/calibre-1.0/image/usr/share/calibre
Setting up command-line completion...

____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________
        Traceback (most recent call last):
          File "/var/tmp/portage/app-text/calibre-1.0/work/calibre/src/calibre/linux.py", line 496, in setup_completion
            from calibre.gui2.main import option_parser as guiop
          File "/var/tmp/portage/app-text/calibre-1.0/work/calibre/src/calibre/gui2/main.py", line 7, in <module>
            import apsw
        ImportError: No module named apsw

Setting up desktop integration...
Installing calibre environment module: /var/tmp/portage/app-text/calibre-1.0/image/usr/lib64/python2.7/site-packages/init_calibre.py


calibre successfully installed. You can start it by running the command calibre

There were 1 warning(s):

* Setting up completion failed with error:

install: cannot stat ‘/var/tmp/portage/app-text/calibre-1.0/image/usr/etc/bash_completion.d/calibre’: No such file or directory
!!! doins: /var/tmp/portage/app-text/calibre-1.0/image/usr/etc/bash_completion.d/calibre does not exist
 * ERROR: app-text/calibre-1.0::gentoo failed (install phase):
 *   doins failed
 *
 * If you need support, post the output of `emerge --info '=app-text/calibre-1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/calibre-1.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-text:calibre-1.0:20130824-064804.log'.


Reproducible: Always




Portage 2.2.1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.10.9-gentoo x86_64)
=================================================================
System uname: Linux-3.10.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24696384 total,  22092908 free
KiB Swap:   25081852 total,  25081852 free
Timestamp of tree: Sat, 24 Aug 2013 06:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.2.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::gnome
sys-kernel/linux-headers: 3.10 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo qt mva gnome Techwolf luman lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/conf.d/consolefont /etc/conf.d/hostname /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/eix-sync.conf /etc/fstab /etc/hosts /etc/locale.gen /etc/make.conf /etc/timezone /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
Comment 1 tman 2013-08-24 06:53:51 UTC
Created attachment 356826 [details]
/var/log/portage/app-text:calibre-1.0:20130824-064804.log

seems to be it has a problem at install.
Comment 2 tman 2013-08-24 06:56:13 UTC
eselect python list
Available Python interpreters:
  [1]   python2.7
  [2]   python3.2 *
  [3]   python3.3
Comment 3 Grigor Lekarov 2013-08-24 07:55:55 UTC
Created attachment 356840 [details, diff]
patch calibre-1.0.ebuild file
Comment 4 Grigor Lekarov 2013-08-24 08:01:35 UTC
There is missing dependency to apsw. You can workaround this installing dev-python/apsw or you can apply the attached patch file. I hope that this will work on your environment.
Good luck!
Comment 5 Alan McKinnon 2013-08-24 09:49:42 UTC
(In reply to Grigor Lekarov from comment #4)
> There is missing dependency to apsw. You can workaround this installing
> dev-python/apsw or you can apply the attached patch file. I hope that this
> will work on your environment.
> Good luck!

Confirmed. Manually emerging apsw here allows calibre to install correctly
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-25 12:29:45 UTC

*** This bug has been marked as a duplicate of bug 478058 ***
Comment 7 Nikolaj Šujskij 2013-08-25 13:55:16 UTC
(In reply to Jeroen Roovers from comment #6)
> 
> *** This bug has been marked as a duplicate of bug 478058 ***

It doesn't seem all that duplicate to me.
Comment 8 Zac Medico gentoo-dev 2013-08-25 17:11:49 UTC
Thanks, this is fixed in cvs.
Comment 9 Zac Medico gentoo-dev 2021-09-17 23:08:16 UTC
*** Bug 478058 has been marked as a duplicate of this bug. ***