Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315395 - app-pda/synce-sync-engine-0.14 missing dep on dev-libs/libxslt[python]
Summary: app-pda/synce-sync-engine-0.14 missing dep on dev-libs/libxslt[python]
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Iain Buchanan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-15 06:55 UTC by Andrew Evans
Modified: 2010-12-19 00:22 UTC (History)
2 users (show)

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


Attachments
add python USE flag to libxslt RDEPEND specification (synce-sync-engine-0.14.ebuild.patch,773 bytes, patch)
2010-04-15 06:56 UTC, Andrew Evans
Details | Diff
add python USE flag to libxslt and libxml2 RDEPEND specifications (synce-sync-engine-0.14.ebuild.patch,831 bytes, patch)
2010-04-15 07:01 UTC, Andrew Evans
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Evans 2010-04-15 06:55:06 UTC
app-pda/synce-sync-engine-0.14 merged successfully on my system but failed at runtime with this error:

$ sync-engine 
Traceback (most recent call last):
  File "/usr/bin/sync-engine", line 45, in <module>
    import SyncEngine.config as Config
  File "/usr/lib64/python2.6/site-packages/SyncEngine/config.py", line 30, in <module>
    import xml2util
  File "/usr/lib64/python2.6/site-packages/SyncEngine/xml2util.py", line 13, in <module>
    import libxslt
  File "//usr/lib64/python2.6/site-packages/libxslt.py", line 52, in <module>
ImportError: No module named libxsltmod

This is because I have dev-libs/libxslt merged with the python use flag disabled:

$ equery uses libxslt
[ Legend : U - flag is set in make.conf       ]
[        : I - package is installed with flag ]
[ Colors : set, unset                         ]
 * Found these USE flags for dev-libs/libxslt-1.1.26:
 U I
 - - crypt  : Add support for encryption -- using mcrypt or gpg where applicable
 - - debug  : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - python : Adds support/bindings for the Python language

The synce-sync-engine ebuild should express this runtime dependency to catch this problem at emerge dependency resolution time.
Comment 1 Andrew Evans 2010-04-15 06:56:06 UTC
Created attachment 227847 [details, diff]
add python USE flag to libxslt RDEPEND specification
Comment 2 Andrew Evans 2010-04-15 07:01:14 UTC
Created attachment 227849 [details, diff]
add python USE flag to libxslt and libxml2 RDEPEND specifications

Missed the fact that libxml2 needs to be built with Python support too.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-12-19 00:22:12 UTC
Removed from tree (bug 340007 for future restoration).