Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278057 - Add dev-libs/expat as dependancy of dev-util/hgsvn
Summary: Add dev-libs/expat as dependancy of dev-util/hgsvn
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 14:19 UTC by zvasylvv
Modified: 2009-07-18 16:55 UTC (History)
0 users

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 zvasylvv 2009-07-16 14:19:42 UTC
dev-libs/expat should be added as run-time dependancy of dev-util/hgsvn. Hgsvn does not work if dev-libs/expat is missed


vv@crusader /tmp $ hgimportsvn svn://svn.zapatec.net/trunk
* svn 'info' '--xml' 'svn://svn.zapatec.net/trunk'
Traceback (most recent call last):
  File "/usr/bin/hgimportsvn", line 8, in <module>
    load_entry_point('hgsvn==0.1.6', 'console_scripts', 'hgimportsvn')()
  File "//usr/lib/python2.5/site-packages/hgsvn/run/hgimportsvn.py", line 51, in main
    svn_info = get_svn_info(svn_url, options.svn_rev)
  File "//usr/lib/python2.5/site-packages/hgsvn/svnclient.py", line 137, in get_svn_info
    fail_if_stderr=True)
  File "//usr/lib/python2.5/site-packages/hgsvn/common.py", line 209, in run_svn
    args=args, bulk_args=bulk_args, fail_if_stderr=fail_if_stderr)
  File "//usr/lib/python2.5/site-packages/hgsvn/common.py", line 149, in run_command
    return _run_raw_command(cmd, map(_transform_arg, args), fail_if_stderr)
  File "//usr/lib/python2.5/site-packages/hgsvn/common.py", line 123, in _run_raw_command
    % (pipe.returncode, cmd_string, err))
hgsvn.errors.ExternalCommandFailed: External program failed (return code 127): svn 'info' '--xml' 'svn://svn.zapatec.net/trunk'
svn: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory

vv@crusader /tmp $ 


Reproducible: Always
Comment 1 Wormo (RETIRED) gentoo-dev 2009-07-17 06:33:58 UTC
Actually, that was a call to external command "svn info --xml" which failed.
Subversion does have dev-libs/expat as a dependency, so I'm not sure why expat would not be installed.

Could you please post output of 'emerge --info' and 'emerge -pv subversion'?
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-07-18 16:53:46 UTC
I bet it's because expat was upgraded from 1.9.xx to 2.x and .so version number was changed from .0 to .1 and revdep-rebuild hasn't been runned.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-07-18 16:55:13 UTC
As "emerge expat" says,

        ewarn "Please note that the soname of the library changed!"
        ewarn "If you are upgrading from a previous version you need"
        ewarn "to fix dynamic linking inconsistencies by executing:"
        ewarn "revdep-rebuild --library libexpat.so.0"