[Slackbuilds-users] Trouble building calibre

Larry Hajali larryhaja at gmail.com
Tue Apr 17 02:45:48 UTC 2012


It seems like calibre isn't compatible with the new cssutils I
upgraded recently.  It also looks like Slackware -current is still
using python 2.6 and so it doesn't look like calibre will be
upgradeable in the near future.  In order to get calibre to build I
had to downgrade cssutils to 0.9.7.  I will be submitting a new build
for cssutils and downgrade to version 0.9.7.

In the mean time, you should downgrade cssutils to 0.9.7 or use
AlienBobs calibre package.  His package is newer then the one on SBo.

--Larry

On Mon, Apr 16, 2012 at 2:41 PM, Ben Mendis <dragonwisard at gmail.com> wrote:
> Hello Larry and list,
>
> I'm having trouble building the calibre package. I have reproduced this
> problem on both Slackware64-13.37 and Slackware64-current. (Yes, I know
> -current isn't supported.)
>
> Here's the error message.
> 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 "/tmp/SBo/calibre/setup/__init__.py", line 159, in run_all
>     self.run_cmd(self, opts)
>   File "/tmp/SBo/calibre/setup/__init__.py", line 152, in run_cmd
>     self.run_cmd(scmd, opts)
>   File "/tmp/SBo/calibre/setup/__init__.py", line 155, in run_cmd
>     cmd.run(opts)
>   File "/tmp/SBo/calibre/setup/gui.py", line 36, in run
>     self.build_forms()
>   File "/tmp/SBo/calibre/setup/gui.py", line 59, in build_forms
>     from calibre.gui2 import build_forms
>   File "/tmp/SBo/calibre/src/calibre/gui2/__init__.py", line 19, in <module>
>     from calibre.ebooks.metadata.meta import get_metadata,
> metadata_from_formats
>   File "/tmp/SBo/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 "/tmp/SBo/calibre/src/calibre/customize/ui.py", line 14, in <module>
>     from calibre.customize.builtins import plugins as builtin_plugins
>   File "/tmp/SBo/calibre/src/calibre/customize/builtins.py", line 446, in
> <module>
>     from calibre.ebooks.pdb.input import PDBInput
>   File "/tmp/SBo/calibre/src/calibre/ebooks/pdb/__init__.py", line 24, in
> <module>
>     from calibre.ebooks.pdb.palmdoc.writer import Writer as palmdoc_writer
>   File "/tmp/SBo/calibre/src/calibre/ebooks/pdb/palmdoc/writer.py", line 15,
> in <module>
>     from calibre.ebooks.txt.txtml import TXTMLizer
>   File "/tmp/SBo/calibre/src/calibre/ebooks/txt/txtml.py", line 16, in
> <module>
>     from calibre.ebooks.oeb.stylizer import Stylizer
>   File "/tmp/SBo/calibre/src/calibre/ebooks/oeb/stylizer.py", line 19, in
> <module>
>     from cssutils.css import CSSStyleRule, CSSPageRule, CSSStyleDeclaration,
> \
> ImportError: cannot import name CSSValueList
>
> It looks like it's having an issue with cssutils. I have installed cssutils
> using the SlackBuild on SBo (using sbopkg).
>
> Any tips would be appreciated.
> Thanks,
> Ben


More information about the SlackBuilds-users mailing list